diff --git a/clients/client-mwaa/src/commands/CreateEnvironmentCommand.ts b/clients/client-mwaa/src/commands/CreateEnvironmentCommand.ts index 0ca9ca70ab16..6e471ccb4f39 100644 --- a/clients/client-mwaa/src/commands/CreateEnvironmentCommand.ts +++ b/clients/client-mwaa/src/commands/CreateEnvironmentCommand.ts @@ -103,6 +103,7 @@ export interface CreateEnvironmentCommandOutput extends CreateEnvironmentOutput, * WebserverAccessMode: "STRING_VALUE", * MinWorkers: Number("int"), * Schedulers: Number("int"), + * EndpointManagement: "STRING_VALUE", * }; * const command = new CreateEnvironmentCommand(input); * const response = await client.send(command); diff --git a/clients/client-mwaa/src/commands/GetEnvironmentCommand.ts b/clients/client-mwaa/src/commands/GetEnvironmentCommand.ts index 20088e00fe29..edbe597f1f19 100644 --- a/clients/client-mwaa/src/commands/GetEnvironmentCommand.ts +++ b/clients/client-mwaa/src/commands/GetEnvironmentCommand.ts @@ -124,6 +124,10 @@ export interface GetEnvironmentCommandOutput extends GetEnvironmentOutput, __Met * // WebserverAccessMode: "STRING_VALUE", * // MinWorkers: Number("int"), * // Schedulers: Number("int"), + * // WebserverVpcEndpointService: "STRING_VALUE", + * // DatabaseVpcEndpointService: "STRING_VALUE", + * // CeleryExecutorQueue: "STRING_VALUE", + * // EndpointManagement: "STRING_VALUE", * // }, * // }; * diff --git a/clients/client-mwaa/src/models/models_0.ts b/clients/client-mwaa/src/models/models_0.ts index 93a8f5497007..81733070fe48 100644 --- a/clients/client-mwaa/src/models/models_0.ts +++ b/clients/client-mwaa/src/models/models_0.ts @@ -73,6 +73,20 @@ export class ResourceNotFoundException extends __BaseException { } } +/** + * @public + * @enum + */ +export const EndpointManagement = { + CUSTOMER: "CUSTOMER", + SERVICE: "SERVICE", +} as const; + +/** + * @public + */ +export type EndpointManagement = (typeof EndpointManagement)[keyof typeof EndpointManagement]; + /** * @public * @enum @@ -291,7 +305,8 @@ export interface CreateEnvironmentInput { * @public *

The Apache Airflow version for your environment. If no value is specified, it defaults to the latest version. * For more information, see Apache Airflow versions on Amazon Managed Workflows for Apache Airflow (MWAA).

- *

Valid values: 1.10.12, 2.0.2, 2.2.2, 2.4.3, 2.5.1, 2.6.3, 2.7.2.

+ *

Valid values: 1.10.12, 2.0.2, 2.2.2, 2.4.3, 2.5.1, 2.6.3, 2.7.2 + *

*/ AirflowVersion?: string; @@ -315,7 +330,7 @@ export interface CreateEnvironmentInput { /** * @public - *

The Apache Airflow Web server access mode. For more information, see Apache Airflow access modes.

+ *

Defines the access mode for the Apache Airflow web server. For more information, see Apache Airflow access modes.

*/ WebserverAccessMode?: WebserverAccessMode; @@ -338,6 +353,15 @@ export interface CreateEnvironmentInput { * */ Schedulers?: number; + + /** + * @public + *

Defines whether the VPC endpoints configured for the environment are created, and managed, by the customer or by Amazon MWAA. If set to SERVICE, Amazon MWAA will create and manage the required VPC endpoints in + * your VPC. If set to CUSTOMER, you must create, and manage, the VPC endpoints for your VPC. If you choose to create an environment in a shared VPC, you must set this value to CUSTOMER. + * In a shared VPC deployment, the environment will remain in PENDING status until you create the VPC endpoints. If you do not take action to + * create the endpoints within 72 hours, the status will change to CREATE_FAILED. You can delete the failed environment and create a new one.

+ */ + EndpointManagement?: EndpointManagement; } /** @@ -580,6 +604,7 @@ export const EnvironmentStatus = { CREATING_SNAPSHOT: "CREATING_SNAPSHOT", DELETED: "DELETED", DELETING: "DELETING", + PENDING: "PENDING", ROLLING_BACK: "ROLLING_BACK", UNAVAILABLE: "UNAVAILABLE", UPDATE_FAILED: "UPDATE_FAILED", @@ -604,7 +629,8 @@ export interface Environment { /** * @public - *

The status of the Amazon MWAA environment. Valid values:

+ *

The status of the Amazon MWAA environment.

+ *

Valid values:

*