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 { CreateEnvironmentInput, CreateEnvironmentOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link CreateEnvironmentCommand}. */ export interface CreateEnvironmentCommandInput extends CreateEnvironmentInput { } /** * @public * * The output of {@link CreateEnvironmentCommand}. */ export interface CreateEnvironmentCommandOutput extends CreateEnvironmentOutput, __MetadataBearer { } declare const CreateEnvironmentCommand_base: { new (input: CreateEnvironmentCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateEnvironmentCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Create an Amazon DataZone environment.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DataZoneClient, CreateEnvironmentCommand } from "@aws-sdk/client-datazone"; // ES Modules import * // const { DataZoneClient, CreateEnvironmentCommand } = 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 = { // CreateEnvironmentInput * projectIdentifier: "STRING_VALUE", // required * domainIdentifier: "STRING_VALUE", // required * description: "STRING_VALUE", * name: "STRING_VALUE", // required * environmentProfileIdentifier: "STRING_VALUE", * userParameters: [ // EnvironmentParametersList * { // EnvironmentParameter * name: "STRING_VALUE", * value: "STRING_VALUE", * }, * ], * glossaryTerms: [ // GlossaryTerms * "STRING_VALUE", * ], * environmentAccountIdentifier: "STRING_VALUE", * environmentAccountRegion: "STRING_VALUE", * environmentBlueprintIdentifier: "STRING_VALUE", * deploymentOrder: Number("int"), * environmentConfigurationId: "STRING_VALUE", * environmentConfigurationName: "STRING_VALUE", * }; * const command = new CreateEnvironmentCommand(input); * const response = await client.send(command); * // { // CreateEnvironmentOutput * // 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 CreateEnvironmentCommandInput - {@link CreateEnvironmentCommandInput} * @returns {@link CreateEnvironmentCommandOutput} * @see {@link CreateEnvironmentCommandInput} for command's `input` shape. * @see {@link CreateEnvironmentCommandOutput} 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 ConflictException} (client fault) *

There is a conflict while performing 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 CreateEnvironmentCommand extends CreateEnvironmentCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateEnvironmentInput; output: CreateEnvironmentOutput; }; sdk: { input: CreateEnvironmentCommandInput; output: CreateEnvironmentCommandOutput; }; }; }