import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient"; import type { GetEnvironmentInput, GetEnvironmentOutput } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetEnvironmentCommand}. */ export interface GetEnvironmentCommandInput extends GetEnvironmentInput { } /** * @public * * The output of {@link GetEnvironmentCommand}. */ export interface GetEnvironmentCommandOutput extends GetEnvironmentOutput, __MetadataBearer { } declare const GetEnvironmentCommand_base: { new (input: GetEnvironmentCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetEnvironmentCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Gets an Amazon DataZone environment.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DataZoneClient, GetEnvironmentCommand } from "@aws-sdk/client-datazone"; // ES Modules import * // const { DataZoneClient, GetEnvironmentCommand } = require("@aws-sdk/client-datazone"); // CommonJS import * // import type { DataZoneClientConfig } from "@aws-sdk/client-datazone"; * const config = {}; // type is DataZoneClientConfig * const client = new DataZoneClient(config); * const input = { // GetEnvironmentInput * domainIdentifier: "STRING_VALUE", // required * identifier: "STRING_VALUE", // required * }; * const command = new GetEnvironmentCommand(input); * const response = await client.send(command); * // { // GetEnvironmentOutput * // projectId: "STRING_VALUE", // required * // id: "STRING_VALUE", * // domainId: "STRING_VALUE", // required * // createdBy: "STRING_VALUE", // required * // createdAt: new Date("TIMESTAMP"), * // updatedAt: new Date("TIMESTAMP"), * // name: "STRING_VALUE", // required * // description: "STRING_VALUE", * // environmentProfileId: "STRING_VALUE", * // awsAccountId: "STRING_VALUE", * // awsAccountRegion: "STRING_VALUE", * // provider: "STRING_VALUE", // required * // provisionedResources: [ // ResourceList * // { // Resource * // provider: "STRING_VALUE", * // name: "STRING_VALUE", * // value: "STRING_VALUE", // required * // type: "STRING_VALUE", // required * // }, * // ], * // status: "ACTIVE" || "CREATING" || "UPDATING" || "DELETING" || "CREATE_FAILED" || "UPDATE_FAILED" || "DELETE_FAILED" || "VALIDATION_FAILED" || "SUSPENDED" || "DISABLED" || "EXPIRED" || "DELETED" || "INACCESSIBLE", * // environmentActions: [ // EnvironmentActionList * // { // ConfigurableEnvironmentAction * // type: "STRING_VALUE", // required * // auth: "IAM" || "HTTPS", * // parameters: [ // ConfigurableActionParameterList // required * // { // ConfigurableActionParameter * // key: "STRING_VALUE", * // value: "STRING_VALUE", * // }, * // ], * // }, * // ], * // glossaryTerms: [ // GlossaryTerms * // "STRING_VALUE", * // ], * // userParameters: [ // CustomParameterList * // { // CustomParameter * // keyName: "STRING_VALUE", // required * // description: "STRING_VALUE", * // fieldType: "STRING_VALUE", // required * // defaultValue: "STRING_VALUE", * // isEditable: true || false, * // isOptional: true || false, * // isUpdateSupported: true || false, * // }, * // ], * // lastDeployment: { // Deployment * // deploymentId: "STRING_VALUE", * // deploymentType: "CREATE" || "UPDATE" || "DELETE", * // deploymentStatus: "IN_PROGRESS" || "SUCCESSFUL" || "FAILED" || "PENDING_DEPLOYMENT", * // failureReason: { // EnvironmentError * // code: "STRING_VALUE", * // message: "STRING_VALUE", // required * // }, * // messages: [ // DeploymentMessagesList * // "STRING_VALUE", * // ], * // isDeploymentComplete: true || false, * // }, * // provisioningProperties: { // ProvisioningProperties Union: only one key present * // cloudFormation: { // CloudFormationProperties * // templateUrl: "STRING_VALUE", // required * // }, * // }, * // deploymentProperties: { // DeploymentProperties * // startTimeoutMinutes: Number("int"), * // endTimeoutMinutes: Number("int"), * // }, * // environmentBlueprintId: "STRING_VALUE", * // environmentConfigurationId: "STRING_VALUE", * // environmentConfigurationName: "STRING_VALUE", * // }; * * ``` * * @param GetEnvironmentCommandInput - {@link GetEnvironmentCommandInput} * @returns {@link GetEnvironmentCommandOutput} * @see {@link GetEnvironmentCommandInput} for command's `input` shape. * @see {@link GetEnvironmentCommandOutput} for command's `response` shape. * @see {@link DataZoneClientResolvedConfig | config} for DataZoneClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

* * @throws {@link InternalServerException} (server fault) *

The request has failed because of an unknown error, exception or failure.

* * @throws {@link ResourceNotFoundException} (client fault) *

The specified resource cannot be found.

* * @throws {@link ThrottlingException} (client fault) *

The request was denied due to request throttling.

* * @throws {@link ValidationException} (client fault) *

The input fails to satisfy the constraints specified by the Amazon Web Services service.

* * @throws {@link UnauthorizedException} (client fault) *

You do not have permission to perform this action.

* * @throws {@link DataZoneServiceException} *

Base exception class for all service exceptions from DataZone service.

* * * @public */ export declare class GetEnvironmentCommand extends GetEnvironmentCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetEnvironmentInput; output: GetEnvironmentOutput; }; sdk: { input: GetEnvironmentCommandInput; output: GetEnvironmentCommandOutput; }; }; }