@aws-sdk/client-m2 3.231.0 → 3.232.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@ exports.ruleSet = {
6
6
  parameters: {
7
7
  Region: {
8
8
  builtIn: "AWS::Region",
9
- required: false,
9
+ required: true,
10
10
  documentation: "The AWS region used to dispatch the request.",
11
11
  type: "String",
12
12
  },
@@ -56,15 +56,6 @@ exports.ruleSet = {
56
56
  },
57
57
  ],
58
58
  },
59
- {
60
- fn: "parseURL",
61
- argv: [
62
- {
63
- ref: "Endpoint",
64
- },
65
- ],
66
- assign: "url",
67
- },
68
59
  ],
69
60
  type: "tree",
70
61
  rules: [
@@ -181,6 +181,7 @@ var ApplicationLifecycle;
181
181
  ApplicationLifecycle["CREATED"] = "Created";
182
182
  ApplicationLifecycle["CREATING"] = "Creating";
183
183
  ApplicationLifecycle["DELETING"] = "Deleting";
184
+ ApplicationLifecycle["DELETING_FROM_ENVIRONMENT"] = "Deleting From Environment";
184
185
  ApplicationLifecycle["FAILED"] = "Failed";
185
186
  ApplicationLifecycle["READY"] = "Ready";
186
187
  ApplicationLifecycle["RUNNING"] = "Running";
@@ -263,6 +264,7 @@ var EnvironmentLifecycle;
263
264
  EnvironmentLifecycle["CREATING"] = "Creating";
264
265
  EnvironmentLifecycle["DELETING"] = "Deleting";
265
266
  EnvironmentLifecycle["FAILED"] = "Failed";
267
+ EnvironmentLifecycle["UPDATING"] = "Updating";
266
268
  })(EnvironmentLifecycle = exports.EnvironmentLifecycle || (exports.EnvironmentLifecycle = {}));
267
269
  const AlternateKeyFilterSensitiveLog = (obj) => ({
268
270
  ...obj,
@@ -38,6 +38,7 @@ const serializeAws_restJson1CreateApplicationCommand = async (input, context) =>
38
38
  ...(input.definition != null && { definition: serializeAws_restJson1Definition(input.definition, context) }),
39
39
  ...(input.description != null && { description: input.description }),
40
40
  ...(input.engineType != null && { engineType: input.engineType }),
41
+ ...(input.kmsKeyId != null && { kmsKeyId: input.kmsKeyId }),
41
42
  ...(input.name != null && { name: input.name }),
42
43
  ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
43
44
  });
@@ -118,6 +119,7 @@ const serializeAws_restJson1CreateEnvironmentCommand = async (input, context) =>
118
119
  highAvailabilityConfig: serializeAws_restJson1HighAvailabilityConfig(input.highAvailabilityConfig, context),
119
120
  }),
120
121
  ...(input.instanceType != null && { instanceType: input.instanceType }),
122
+ ...(input.kmsKeyId != null && { kmsKeyId: input.kmsKeyId }),
121
123
  ...(input.name != null && { name: input.name }),
122
124
  ...(input.preferredMaintenanceWindow != null && { preferredMaintenanceWindow: input.preferredMaintenanceWindow }),
123
125
  ...(input.publiclyAccessible != null && { publiclyAccessible: input.publiclyAccessible }),
@@ -1138,6 +1140,9 @@ const deserializeAws_restJson1GetApplicationCommand = async (output, context) =>
1138
1140
  if (data.environmentId != null) {
1139
1141
  contents.environmentId = (0, smithy_client_1.expectString)(data.environmentId);
1140
1142
  }
1143
+ if (data.kmsKeyId != null) {
1144
+ contents.kmsKeyId = (0, smithy_client_1.expectString)(data.kmsKeyId);
1145
+ }
1141
1146
  if (data.lastStartTime != null) {
1142
1147
  contents.lastStartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastStartTime)));
1143
1148
  }
@@ -1561,6 +1566,9 @@ const deserializeAws_restJson1GetEnvironmentCommand = async (output, context) =>
1561
1566
  if (data.instanceType != null) {
1562
1567
  contents.instanceType = (0, smithy_client_1.expectString)(data.instanceType);
1563
1568
  }
1569
+ if (data.kmsKeyId != null) {
1570
+ contents.kmsKeyId = (0, smithy_client_1.expectString)(data.kmsKeyId);
1571
+ }
1564
1572
  if (data.loadBalancerArn != null) {
1565
1573
  contents.loadBalancerArn = (0, smithy_client_1.expectString)(data.loadBalancerArn);
1566
1574
  }
@@ -3,7 +3,7 @@ export const ruleSet = {
3
3
  parameters: {
4
4
  Region: {
5
5
  builtIn: "AWS::Region",
6
- required: false,
6
+ required: true,
7
7
  documentation: "The AWS region used to dispatch the request.",
8
8
  type: "String",
9
9
  },
@@ -53,15 +53,6 @@ export const ruleSet = {
53
53
  },
54
54
  ],
55
55
  },
56
- {
57
- fn: "parseURL",
58
- argv: [
59
- {
60
- ref: "Endpoint",
61
- },
62
- ],
63
- assign: "url",
64
- },
65
56
  ],
66
57
  type: "tree",
67
58
  rules: [
@@ -169,6 +169,7 @@ export var ApplicationLifecycle;
169
169
  ApplicationLifecycle["CREATED"] = "Created";
170
170
  ApplicationLifecycle["CREATING"] = "Creating";
171
171
  ApplicationLifecycle["DELETING"] = "Deleting";
172
+ ApplicationLifecycle["DELETING_FROM_ENVIRONMENT"] = "Deleting From Environment";
172
173
  ApplicationLifecycle["FAILED"] = "Failed";
173
174
  ApplicationLifecycle["READY"] = "Ready";
174
175
  ApplicationLifecycle["RUNNING"] = "Running";
@@ -251,6 +252,7 @@ export var EnvironmentLifecycle;
251
252
  EnvironmentLifecycle["CREATING"] = "Creating";
252
253
  EnvironmentLifecycle["DELETING"] = "Deleting";
253
254
  EnvironmentLifecycle["FAILED"] = "Failed";
255
+ EnvironmentLifecycle["UPDATING"] = "Updating";
254
256
  })(EnvironmentLifecycle || (EnvironmentLifecycle = {}));
255
257
  export const AlternateKeyFilterSensitiveLog = (obj) => ({
256
258
  ...obj,
@@ -33,6 +33,7 @@ export const serializeAws_restJson1CreateApplicationCommand = async (input, cont
33
33
  ...(input.definition != null && { definition: serializeAws_restJson1Definition(input.definition, context) }),
34
34
  ...(input.description != null && { description: input.description }),
35
35
  ...(input.engineType != null && { engineType: input.engineType }),
36
+ ...(input.kmsKeyId != null && { kmsKeyId: input.kmsKeyId }),
36
37
  ...(input.name != null && { name: input.name }),
37
38
  ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
38
39
  });
@@ -110,6 +111,7 @@ export const serializeAws_restJson1CreateEnvironmentCommand = async (input, cont
110
111
  highAvailabilityConfig: serializeAws_restJson1HighAvailabilityConfig(input.highAvailabilityConfig, context),
111
112
  }),
112
113
  ...(input.instanceType != null && { instanceType: input.instanceType }),
114
+ ...(input.kmsKeyId != null && { kmsKeyId: input.kmsKeyId }),
113
115
  ...(input.name != null && { name: input.name }),
114
116
  ...(input.preferredMaintenanceWindow != null && { preferredMaintenanceWindow: input.preferredMaintenanceWindow }),
115
117
  ...(input.publiclyAccessible != null && { publiclyAccessible: input.publiclyAccessible }),
@@ -1094,6 +1096,9 @@ export const deserializeAws_restJson1GetApplicationCommand = async (output, cont
1094
1096
  if (data.environmentId != null) {
1095
1097
  contents.environmentId = __expectString(data.environmentId);
1096
1098
  }
1099
+ if (data.kmsKeyId != null) {
1100
+ contents.kmsKeyId = __expectString(data.kmsKeyId);
1101
+ }
1097
1102
  if (data.lastStartTime != null) {
1098
1103
  contents.lastStartTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.lastStartTime)));
1099
1104
  }
@@ -1511,6 +1516,9 @@ export const deserializeAws_restJson1GetEnvironmentCommand = async (output, cont
1511
1516
  if (data.instanceType != null) {
1512
1517
  contents.instanceType = __expectString(data.instanceType);
1513
1518
  }
1519
+ if (data.kmsKeyId != null) {
1520
+ contents.kmsKeyId = __expectString(data.kmsKeyId);
1521
+ }
1514
1522
  if (data.loadBalancerArn != null) {
1515
1523
  contents.loadBalancerArn = __expectString(data.loadBalancerArn);
1516
1524
  }
@@ -47,7 +47,7 @@ export declare class M2 extends M2Client {
47
47
  cancelBatchJobExecution(args: CancelBatchJobExecutionCommandInput, cb: (err: any, data?: CancelBatchJobExecutionCommandOutput) => void): void;
48
48
  cancelBatchJobExecution(args: CancelBatchJobExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelBatchJobExecutionCommandOutput) => void): void;
49
49
  /**
50
- * <p>Creates a new application with given parameters. Requires an existing environment and
50
+ * <p>Creates a new application with given parameters. Requires an existing runtime environment and
51
51
  * application definition file.</p>
52
52
  */
53
53
  createApplication(args: CreateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<CreateApplicationCommandOutput>;
@@ -60,7 +60,7 @@ export declare class M2 extends M2Client {
60
60
  createDataSetImportTask(args: CreateDataSetImportTaskCommandInput, cb: (err: any, data?: CreateDataSetImportTaskCommandOutput) => void): void;
61
61
  createDataSetImportTask(args: CreateDataSetImportTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDataSetImportTaskCommandOutput) => void): void;
62
62
  /**
63
- * <p>Creates and starts a deployment to deploy an application into an environment.</p>
63
+ * <p>Creates and starts a deployment to deploy an application into a runtime environment.</p>
64
64
  */
65
65
  createDeployment(args: CreateDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<CreateDeploymentCommandOutput>;
66
66
  createDeployment(args: CreateDeploymentCommandInput, cb: (err: any, data?: CreateDeploymentCommandOutput) => void): void;
@@ -78,16 +78,16 @@ export declare class M2 extends M2Client {
78
78
  deleteApplication(args: DeleteApplicationCommandInput, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
79
79
  deleteApplication(args: DeleteApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
80
80
  /**
81
- * <p>Deletes a specific application from a specified environment where it has been previously
82
- * deployed. You cannot delete an environment using DeleteEnvironment, if any application has
81
+ * <p>Deletes a specific application from the specific runtime environment where it was previously
82
+ * deployed. You cannot delete a runtime environment using DeleteEnvironment if any application has
83
83
  * ever been deployed to it. This API removes the association of the application with the
84
- * environment so you can delete the environment smoothly.</p>
84
+ * runtime environment so you can delete the environment smoothly.</p>
85
85
  */
86
86
  deleteApplicationFromEnvironment(args: DeleteApplicationFromEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApplicationFromEnvironmentCommandOutput>;
87
87
  deleteApplicationFromEnvironment(args: DeleteApplicationFromEnvironmentCommandInput, cb: (err: any, data?: DeleteApplicationFromEnvironmentCommandOutput) => void): void;
88
88
  deleteApplicationFromEnvironment(args: DeleteApplicationFromEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApplicationFromEnvironmentCommandOutput) => void): void;
89
89
  /**
90
- * <p>Deletes a specific environment. The environment cannot contain deployed applications. If
90
+ * <p>Deletes a specific runtime environment. The environment cannot contain deployed applications. If
91
91
  * it does, you must delete those applications before you delete the environment.</p>
92
92
  */
93
93
  deleteEnvironment(args: DeleteEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEnvironmentCommandOutput>;
@@ -137,7 +137,7 @@ export declare class M2 extends M2Client {
137
137
  getEnvironment(args: GetEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEnvironmentCommandOutput) => void): void;
138
138
  /**
139
139
  * <p>Lists the applications associated with a specific Amazon Web Services account. You can provide the
140
- * unique identifier of a specific environment in a query parameter to see all applications
140
+ * unique identifier of a specific runtime environment in a query parameter to see all applications
141
141
  * associated with that environment.</p>
142
142
  */
143
143
  listApplications(args: ListApplicationsCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationsCommandOutput>;
@@ -151,7 +151,7 @@ export declare class M2 extends M2Client {
151
151
  listApplicationVersions(args: ListApplicationVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationVersionsCommandOutput) => void): void;
152
152
  /**
153
153
  * <p>Lists all the available batch job definitions based on the batch job resources uploaded
154
- * during the application creation. The listed batch job definitions can then be used to start
154
+ * during the application creation. You can use the batch job definitions in the list to start
155
155
  * a batch job.</p>
156
156
  */
157
157
  listBatchJobDefinitions(args: ListBatchJobDefinitionsCommandInput, options?: __HttpHandlerOptions): Promise<ListBatchJobDefinitionsCommandOutput>;
@@ -172,7 +172,7 @@ export declare class M2 extends M2Client {
172
172
  listDataSetImportHistory(args: ListDataSetImportHistoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDataSetImportHistoryCommandOutput) => void): void;
173
173
  /**
174
174
  * <p>Lists the data sets imported for a specific application. In Amazon Web Services Mainframe Modernization, data sets are
175
- * associated with applications deployed on environments. This is known as importing data
175
+ * associated with applications deployed on runtime environments. This is known as importing data
176
176
  * sets. Currently, Amazon Web Services Mainframe Modernization can import data sets into catalogs using <a href="https://docs.aws.amazon.com/m2/latest/APIReference/API_CreateDataSetImportTask.html">CreateDataSetImportTask</a>.</p>
177
177
  */
178
178
  listDataSets(args: ListDataSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListDataSetsCommandOutput>;
@@ -242,7 +242,7 @@ export declare class M2 extends M2Client {
242
242
  updateApplication(args: UpdateApplicationCommandInput, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
243
243
  updateApplication(args: UpdateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
244
244
  /**
245
- * <p>Updates the configuration details for a specific environment.</p>
245
+ * <p>Updates the configuration details for a specific runtime environment.</p>
246
246
  */
247
247
  updateEnvironment(args: UpdateEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEnvironmentCommandOutput>;
248
248
  updateEnvironment(args: UpdateEnvironmentCommandInput, cb: (err: any, data?: UpdateEnvironmentCommandOutput) => void): void;
@@ -8,7 +8,7 @@ export interface CreateApplicationCommandInput extends CreateApplicationRequest
8
8
  export interface CreateApplicationCommandOutput extends CreateApplicationResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Creates a new application with given parameters. Requires an existing environment and
11
+ * <p>Creates a new application with given parameters. Requires an existing runtime environment and
12
12
  * application definition file.</p>
13
13
  * @example
14
14
  * Use a bare-bones client and the command you need to make an API call.
@@ -8,7 +8,7 @@ export interface CreateDeploymentCommandInput extends CreateDeploymentRequest {
8
8
  export interface CreateDeploymentCommandOutput extends CreateDeploymentResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Creates and starts a deployment to deploy an application into an environment.</p>
11
+ * <p>Creates and starts a deployment to deploy an application into a runtime environment.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
14
14
  * ```javascript
@@ -8,10 +8,10 @@ export interface DeleteApplicationFromEnvironmentCommandInput extends DeleteAppl
8
8
  export interface DeleteApplicationFromEnvironmentCommandOutput extends DeleteApplicationFromEnvironmentResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Deletes a specific application from a specified environment where it has been previously
12
- * deployed. You cannot delete an environment using DeleteEnvironment, if any application has
11
+ * <p>Deletes a specific application from the specific runtime environment where it was previously
12
+ * deployed. You cannot delete a runtime environment using DeleteEnvironment if any application has
13
13
  * ever been deployed to it. This API removes the association of the application with the
14
- * environment so you can delete the environment smoothly.</p>
14
+ * runtime environment so you can delete the environment smoothly.</p>
15
15
  * @example
16
16
  * Use a bare-bones client and the command you need to make an API call.
17
17
  * ```javascript
@@ -8,7 +8,7 @@ export interface DeleteEnvironmentCommandInput extends DeleteEnvironmentRequest
8
8
  export interface DeleteEnvironmentCommandOutput extends DeleteEnvironmentResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Deletes a specific environment. The environment cannot contain deployed applications. If
11
+ * <p>Deletes a specific runtime environment. The environment cannot contain deployed applications. If
12
12
  * it does, you must delete those applications before you delete the environment.</p>
13
13
  * @example
14
14
  * Use a bare-bones client and the command you need to make an API call.
@@ -9,7 +9,7 @@ export interface ListApplicationsCommandOutput extends ListApplicationsResponse,
9
9
  }
10
10
  /**
11
11
  * <p>Lists the applications associated with a specific Amazon Web Services account. You can provide the
12
- * unique identifier of a specific environment in a query parameter to see all applications
12
+ * unique identifier of a specific runtime environment in a query parameter to see all applications
13
13
  * associated with that environment.</p>
14
14
  * @example
15
15
  * Use a bare-bones client and the command you need to make an API call.
@@ -9,7 +9,7 @@ export interface ListBatchJobDefinitionsCommandOutput extends ListBatchJobDefini
9
9
  }
10
10
  /**
11
11
  * <p>Lists all the available batch job definitions based on the batch job resources uploaded
12
- * during the application creation. The listed batch job definitions can then be used to start
12
+ * during the application creation. You can use the batch job definitions in the list to start
13
13
  * a batch job.</p>
14
14
  * @example
15
15
  * Use a bare-bones client and the command you need to make an API call.
@@ -9,7 +9,7 @@ export interface ListDataSetsCommandOutput extends ListDataSetsResponse, __Metad
9
9
  }
10
10
  /**
11
11
  * <p>Lists the data sets imported for a specific application. In Amazon Web Services Mainframe Modernization, data sets are
12
- * associated with applications deployed on environments. This is known as importing data
12
+ * associated with applications deployed on runtime environments. This is known as importing data
13
13
  * sets. Currently, Amazon Web Services Mainframe Modernization can import data sets into catalogs using <a href="https://docs.aws.amazon.com/m2/latest/APIReference/API_CreateDataSetImportTask.html">CreateDataSetImportTask</a>.</p>
14
14
  * @example
15
15
  * Use a bare-bones client and the command you need to make an API call.
@@ -8,7 +8,7 @@ export interface UpdateEnvironmentCommandInput extends UpdateEnvironmentRequest
8
8
  export interface UpdateEnvironmentCommandOutput extends UpdateEnvironmentResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Updates the configuration details for a specific environment.</p>
11
+ * <p>Updates the configuration details for a specific runtime environment.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
14
14
  * ```javascript
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region?: string;
15
+ Region: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;
@@ -234,6 +234,10 @@ export interface CreateApplicationRequest {
234
234
  * handles deleting the clientToken after it expires. </p>
235
235
  */
236
236
  clientToken?: string;
237
+ /**
238
+ * <p>The identifier of a customer managed key.</p>
239
+ */
240
+ kmsKeyId?: string;
237
241
  }
238
242
  export interface CreateApplicationResponse {
239
243
  /**
@@ -403,8 +407,7 @@ export interface DataSet {
403
407
  */
404
408
  datasetName: string | undefined;
405
409
  /**
406
- * <p>The type of dataset. Possible values include VSAM, IS, PS, GDG, PO, PS, UNKNOWN
407
- * etc.</p>
410
+ * <p>The type of dataset. The only supported value is VSAM.</p>
408
411
  */
409
412
  datasetOrg: DatasetOrgAttributes | undefined;
410
413
  /**
@@ -510,7 +513,7 @@ export interface CreateDataSetImportTaskResponse {
510
513
  }
511
514
  export interface CreateDeploymentRequest {
512
515
  /**
513
- * <p>The identifier of the environment where this application will be deployed.</p>
516
+ * <p>The identifier of the runtime environment where you want to deploy this application.</p>
514
517
  */
515
518
  environmentId: string | undefined;
516
519
  /**
@@ -612,7 +615,7 @@ export interface ApplicationVersionSummary {
612
615
  creationTime: Date | undefined;
613
616
  }
614
617
  /**
615
- * <p>A subset of the attributes about a log group. In CloudWatch a log group is a group of log
618
+ * <p>A subset of the attributes that describe a log group. In CloudWatch a log group is a group of log
616
619
  * streams that share the same retention, monitoring, and access control settings.</p>
617
620
  */
618
621
  export interface LogGroupSummary {
@@ -630,6 +633,7 @@ export declare enum ApplicationLifecycle {
630
633
  CREATED = "Created",
631
634
  CREATING = "Creating",
632
635
  DELETING = "Deleting",
636
+ DELETING_FROM_ENVIRONMENT = "Deleting From Environment",
633
637
  FAILED = "Failed",
634
638
  READY = "Ready",
635
639
  RUNNING = "Running",
@@ -672,7 +676,7 @@ export interface GetApplicationResponse {
672
676
  engineType: EngineType | string | undefined;
673
677
  /**
674
678
  * <p>The list of log summaries. Each log summary includes the log type as well as the log
675
- * group identifier. These are CloudWatch logs. The Amazon Web Services Mainframe Modernization application log is pushed to CloudWatch
679
+ * group identifier. These are CloudWatch logs. Amazon Web Services Mainframe Modernization pushes the application log to CloudWatch
676
680
  * under the customer's account.</p>
677
681
  */
678
682
  logGroups?: LogGroupSummary[];
@@ -681,8 +685,7 @@ export interface GetApplicationResponse {
681
685
  */
682
686
  creationTime: Date | undefined;
683
687
  /**
684
- * <p>The timestamp when the application was last started. Null until the application has
685
- * started running for the first time.</p>
688
+ * <p>The timestamp when you last started the application. Null until the application runs for the first time.</p>
686
689
  */
687
690
  lastStartTime?: Date;
688
691
  /**
@@ -690,7 +693,7 @@ export interface GetApplicationResponse {
690
693
  */
691
694
  tags?: Record<string, string>;
692
695
  /**
693
- * <p>The identifier of the environment where the application will be deployed.</p>
696
+ * <p>The identifier of the runtime environment where you want to deploy the application.</p>
694
697
  */
695
698
  environmentId?: string;
696
699
  /**
@@ -700,7 +703,7 @@ export interface GetApplicationResponse {
700
703
  targetGroupArns?: string[];
701
704
  /**
702
705
  * <p>The Amazon Resource Name (ARN) for the network load balancer listener created in your
703
- * Amazon Web Services account. Amazon Web Services Mainframe Modernization creates this listener on your behalf the first time you deploy an
706
+ * Amazon Web Services account. Amazon Web Services Mainframe Modernization creates this listener for you the first time you deploy an
704
707
  * application.</p>
705
708
  */
706
709
  listenerArns?: string[];
@@ -717,6 +720,10 @@ export interface GetApplicationResponse {
717
720
  * <p>The reason for the reported status.</p>
718
721
  */
719
722
  statusReason?: string;
723
+ /**
724
+ * <p>The identifier of a customer managed key.</p>
725
+ */
726
+ kmsKeyId?: string;
720
727
  }
721
728
  export interface GetApplicationVersionRequest {
722
729
  /**
@@ -743,7 +750,7 @@ export interface GetApplicationVersionResponse {
743
750
  description?: string;
744
751
  /**
745
752
  * <p>The content of the application definition. This is a JSON object that contains the
746
- * resource configuration/definitions that identify an application.</p>
753
+ * resource configuration and definitions that identify an application.</p>
747
754
  */
748
755
  definitionContent: string | undefined;
749
756
  /**
@@ -928,8 +935,7 @@ export interface GetDataSetDetailsResponse {
928
935
  */
929
936
  dataSetName: string | undefined;
930
937
  /**
931
- * <p>The type of data set. Possible values include VSAM, IS, PS, GDG, PO, PS, or
932
- * unknown.</p>
938
+ * <p>The type of data set. The only supported value is VSAM.</p>
933
939
  */
934
940
  dataSetOrg?: DatasetDetailOrgAttributes;
935
941
  /**
@@ -937,7 +943,7 @@ export interface GetDataSetDetailsResponse {
937
943
  */
938
944
  recordLength?: number;
939
945
  /**
940
- * <p>The locaion where the data set is stored.</p>
946
+ * <p>The location where the data set is stored.</p>
941
947
  */
942
948
  location?: string;
943
949
  /**
@@ -1116,8 +1122,7 @@ export interface ApplicationSummary {
1116
1122
  */
1117
1123
  environmentId?: string;
1118
1124
  /**
1119
- * <p>The timestamp when the application was last started. Null until the application has
1120
- * started running for the first time.</p>
1125
+ * <p>The timestamp when you last started the application. Null until the application runs for the first time.</p>
1121
1126
  */
1122
1127
  lastStartTime?: Date;
1123
1128
  /**
@@ -1125,14 +1130,14 @@ export interface ApplicationSummary {
1125
1130
  */
1126
1131
  versionStatus?: ApplicationVersionLifecycle | string;
1127
1132
  /**
1128
- * <p>Indicates whether there is an ongoing deployment or if the application has ever deployed
1133
+ * <p>Indicates either an ongoing deployment or if the application has ever deployed
1129
1134
  * successfully.</p>
1130
1135
  */
1131
1136
  deploymentStatus?: ApplicationDeploymentLifecycle | string;
1132
1137
  }
1133
1138
  export interface ListApplicationsResponse {
1134
1139
  /**
1135
- * <p>Returns a list of summary details for all the applications in an environment.</p>
1140
+ * <p>Returns a list of summary details for all the applications in a runtime environment.</p>
1136
1141
  */
1137
1142
  applications: ApplicationSummary[] | undefined;
1138
1143
  /**
@@ -1413,8 +1418,7 @@ export interface DataSetSummary {
1413
1418
  */
1414
1419
  dataSetName: string | undefined;
1415
1420
  /**
1416
- * <p>The type of data set. Possible values include VSAM, IS, PS, GDG, PO, PS, or
1417
- * unknown.</p>
1421
+ * <p>The type of data set. The only supported value is VSAM.</p>
1418
1422
  */
1419
1423
  dataSetOrg?: string;
1420
1424
  /**
@@ -1436,7 +1440,7 @@ export interface DataSetSummary {
1436
1440
  }
1437
1441
  export interface ListDataSetsResponse {
1438
1442
  /**
1439
- * <p>The list of data sets, containing ionformation including the creating time, the data set
1443
+ * <p>The list of data sets, containing information including the creation time, the data set
1440
1444
  * name, the data set organization, the data set format, and the last time the data set was
1441
1445
  * referenced or updated.</p>
1442
1446
  */
@@ -1476,7 +1480,7 @@ export interface DeploymentSummary {
1476
1480
  */
1477
1481
  applicationId: string | undefined;
1478
1482
  /**
1479
- * <p>The unique identifier of the environment.</p>
1483
+ * <p>The unique identifier of the runtime environment.</p>
1480
1484
  */
1481
1485
  environmentId: string | undefined;
1482
1486
  /**
@@ -1668,7 +1672,7 @@ export interface FsxStorageConfiguration {
1668
1672
  mountPoint: string | undefined;
1669
1673
  }
1670
1674
  /**
1671
- * <p>Defines the storage configuration for an environment.</p>
1675
+ * <p>Defines the storage configuration for a runtime environment.</p>
1672
1676
  */
1673
1677
  export declare type StorageConfiguration = StorageConfiguration.EfsMember | StorageConfiguration.FsxMember | StorageConfiguration.$UnknownMember;
1674
1678
  export declare namespace StorageConfiguration {
@@ -1702,39 +1706,39 @@ export declare namespace StorageConfiguration {
1702
1706
  }
1703
1707
  export interface CreateEnvironmentRequest {
1704
1708
  /**
1705
- * <p>The unique identifier of the environment.</p>
1709
+ * <p>The name of the runtime environment. Must be unique within the account.</p>
1706
1710
  */
1707
1711
  name: string | undefined;
1708
1712
  /**
1709
- * <p>The type of instance for the environment.</p>
1713
+ * <p>The type of instance for the runtime environment.</p>
1710
1714
  */
1711
1715
  instanceType: string | undefined;
1712
1716
  /**
1713
- * <p>The description of the environment.</p>
1717
+ * <p>The description of the runtime environment.</p>
1714
1718
  */
1715
1719
  description?: string;
1716
1720
  /**
1717
- * <p>The engine type for the environment.</p>
1721
+ * <p>The engine type for the runtime environment.</p>
1718
1722
  */
1719
1723
  engineType: EngineType | string | undefined;
1720
1724
  /**
1721
- * <p>The version of the engine type for the environment.</p>
1725
+ * <p>The version of the engine type for the runtime environment.</p>
1722
1726
  */
1723
1727
  engineVersion?: string;
1724
1728
  /**
1725
- * <p>The list of subnets associated with the VPC for this environment.</p>
1729
+ * <p>The list of subnets associated with the VPC for this runtime environment.</p>
1726
1730
  */
1727
1731
  subnetIds?: string[];
1728
1732
  /**
1729
- * <p>The list of security groups for the VPC associated with this environment.</p>
1733
+ * <p>The list of security groups for the VPC associated with this runtime environment.</p>
1730
1734
  */
1731
1735
  securityGroupIds?: string[];
1732
1736
  /**
1733
- * <p>Optional. The storage configurations for this environment.</p>
1737
+ * <p>Optional. The storage configurations for this runtime environment.</p>
1734
1738
  */
1735
1739
  storageConfigurations?: StorageConfiguration[];
1736
1740
  /**
1737
- * <p>Specifies whether the environment is publicly accessible.</p>
1741
+ * <p>Specifies whether the runtime environment is publicly accessible.</p>
1738
1742
  */
1739
1743
  publiclyAccessible?: boolean;
1740
1744
  /**
@@ -1742,11 +1746,11 @@ export interface CreateEnvironmentRequest {
1742
1746
  */
1743
1747
  highAvailabilityConfig?: HighAvailabilityConfig;
1744
1748
  /**
1745
- * <p>The tags for the environment.</p>
1749
+ * <p>The tags for the runtime environment.</p>
1746
1750
  */
1747
1751
  tags?: Record<string, string>;
1748
1752
  /**
1749
- * <p>Configures a desired maintenance window for the environment. If you do not provide a
1753
+ * <p>Configures the maintenance window you want for the runtime environment. If you do not provide a
1750
1754
  * value, a random system-generated value will be assigned.</p>
1751
1755
  */
1752
1756
  preferredMaintenanceWindow?: string;
@@ -1758,10 +1762,14 @@ export interface CreateEnvironmentRequest {
1758
1762
  * deleting the clientToken after it expires. </p>
1759
1763
  */
1760
1764
  clientToken?: string;
1765
+ /**
1766
+ * <p>The identifier of a customer managed key.</p>
1767
+ */
1768
+ kmsKeyId?: string;
1761
1769
  }
1762
1770
  export interface CreateEnvironmentResponse {
1763
1771
  /**
1764
- * <p>The identifier of this environment.</p>
1772
+ * <p>The unique identifier of the runtime environment.</p>
1765
1773
  */
1766
1774
  environmentId: string | undefined;
1767
1775
  }
@@ -1797,7 +1805,7 @@ export interface MaintenanceSchedule {
1797
1805
  */
1798
1806
  export interface PendingMaintenance {
1799
1807
  /**
1800
- * <p>The maintenance schedule for the engine version.</p>
1808
+ * <p>The maintenance schedule for the runtime engine version.</p>
1801
1809
  */
1802
1810
  schedule?: MaintenanceSchedule;
1803
1811
  /**
@@ -1809,11 +1817,12 @@ export declare enum EnvironmentLifecycle {
1809
1817
  AVAILABLE = "Available",
1810
1818
  CREATING = "Creating",
1811
1819
  DELETING = "Deleting",
1812
- FAILED = "Failed"
1820
+ FAILED = "Failed",
1821
+ UPDATING = "Updating"
1813
1822
  }
1814
1823
  export interface GetEnvironmentResponse {
1815
1824
  /**
1816
- * <p>The name of the runtime environment. </p>
1825
+ * <p>The name of the runtime environment. Must be unique within the account.</p>
1817
1826
  */
1818
1827
  name: string | undefined;
1819
1828
  /**
@@ -1895,7 +1904,7 @@ export interface GetEnvironmentResponse {
1895
1904
  */
1896
1905
  statusReason?: string;
1897
1906
  /**
1898
- * <p>Configures a desired maintenance window for the environment. If you do not provide a
1907
+ * <p>Configures the maintenance window you want for the runtime environment. If you do not provide a
1899
1908
  * value, a random system-generated value will be assigned.</p>
1900
1909
  */
1901
1910
  preferredMaintenanceWindow?: string;
@@ -1903,32 +1912,36 @@ export interface GetEnvironmentResponse {
1903
1912
  * <p>Indicates the pending maintenance scheduled on this environment.</p>
1904
1913
  */
1905
1914
  pendingMaintenance?: PendingMaintenance;
1915
+ /**
1916
+ * <p>The identifier of a customer managed key.</p>
1917
+ */
1918
+ kmsKeyId?: string;
1906
1919
  }
1907
1920
  export interface ListEnvironmentsRequest {
1908
1921
  /**
1909
- * <p>A pagination token to control the number of environments displayed in the list.</p>
1922
+ * <p>A pagination token to control the number of runtime environments displayed in the list.</p>
1910
1923
  */
1911
1924
  nextToken?: string;
1912
1925
  /**
1913
- * <p>The maximum number of environments to return.</p>
1926
+ * <p>The maximum number of runtime environments to return.</p>
1914
1927
  */
1915
1928
  maxResults?: number;
1916
1929
  /**
1917
- * <p>The name of the environment.</p>
1930
+ * <p>The names of the runtime environments. Must be unique within the account.</p>
1918
1931
  */
1919
1932
  names?: string[];
1920
1933
  /**
1921
- * <p>The engine type for the environment.</p>
1934
+ * <p>The engine type for the runtime environment.</p>
1922
1935
  */
1923
1936
  engineType?: EngineType | string;
1924
1937
  }
1925
1938
  /**
1926
- * <p>Contains a subset of the possible environment attributes. Used in the environment
1939
+ * <p>Contains a subset of the possible runtime environment attributes. Used in the environment
1927
1940
  * list.</p>
1928
1941
  */
1929
1942
  export interface EnvironmentSummary {
1930
1943
  /**
1931
- * <p>The name of the environment.</p>
1944
+ * <p>The name of the runtime environment.</p>
1932
1945
  */
1933
1946
  name: string | undefined;
1934
1947
  /**
@@ -1940,15 +1953,15 @@ export interface EnvironmentSummary {
1940
1953
  */
1941
1954
  environmentId: string | undefined;
1942
1955
  /**
1943
- * <p>The instance type of the environment.</p>
1956
+ * <p>The instance type of the runtime environment.</p>
1944
1957
  */
1945
1958
  instanceType: string | undefined;
1946
1959
  /**
1947
- * <p>The status of the environment</p>
1960
+ * <p>The status of the runtime environment</p>
1948
1961
  */
1949
1962
  status: EnvironmentLifecycle | string | undefined;
1950
1963
  /**
1951
- * <p>The target platform for the environment.</p>
1964
+ * <p>The target platform for the runtime environment.</p>
1952
1965
  */
1953
1966
  engineType: EngineType | string | undefined;
1954
1967
  /**
@@ -1956,18 +1969,18 @@ export interface EnvironmentSummary {
1956
1969
  */
1957
1970
  engineVersion: string | undefined;
1958
1971
  /**
1959
- * <p>The timestamp when the environment was created.</p>
1972
+ * <p>The timestamp when the runtime environment was created.</p>
1960
1973
  */
1961
1974
  creationTime: Date | undefined;
1962
1975
  }
1963
1976
  export interface ListEnvironmentsResponse {
1964
1977
  /**
1965
- * <p>Returns a list of summary details for all the environments in your account. </p>
1978
+ * <p>Returns a list of summary details for all the runtime environments in your account. </p>
1966
1979
  */
1967
1980
  environments: EnvironmentSummary[] | undefined;
1968
1981
  /**
1969
1982
  * <p>A pagination token that's returned when the response doesn't contain all the
1970
- * environments.</p>
1983
+ * runtime environments.</p>
1971
1984
  */
1972
1985
  nextToken?: string;
1973
1986
  }
@@ -1977,24 +1990,24 @@ export interface UpdateEnvironmentRequest {
1977
1990
  */
1978
1991
  environmentId: string | undefined;
1979
1992
  /**
1980
- * <p>The desired capacity for the environment to update.</p>
1993
+ * <p>The desired capacity for the runtime environment to update.</p>
1981
1994
  */
1982
1995
  desiredCapacity?: number;
1983
1996
  /**
1984
- * <p>The instance type for the environment to update.</p>
1997
+ * <p>The instance type for the runtime environment to update.</p>
1985
1998
  */
1986
1999
  instanceType?: string;
1987
2000
  /**
1988
- * <p>The version of the runtime engine for the environment.</p>
2001
+ * <p>The version of the runtime engine for the runtime environment.</p>
1989
2002
  */
1990
2003
  engineVersion?: string;
1991
2004
  /**
1992
- * <p>Configures a desired maintenance window for the environment. If you do not provide a
2005
+ * <p>Configures the maintenance window you want for the runtime environment. If you do not provide a
1993
2006
  * value, a random system-generated value will be assigned.</p>
1994
2007
  */
1995
2008
  preferredMaintenanceWindow?: string;
1996
2009
  /**
1997
- * <p>Indicates whether to update the environment during the maintenance window. The default
2010
+ * <p>Indicates whether to update the runtime environment during the maintenance window. The default
1998
2011
  * is false. Currently, Amazon Web Services Mainframe Modernization accepts the <code>engineVersion</code> parameter only if
1999
2012
  * <code>applyDuringMaintenanceWindow</code> is true. If any parameter other than
2000
2013
  * <code>engineVersion</code> is provided in <code>UpdateEnvironmentRequest</code>, it will
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
27
27
  defaultSigningName: string;
28
28
  };
29
29
  export interface EndpointParameters extends __EndpointParameters {
30
- Region?: string;
30
+ Region: string;
31
31
  UseDualStack?: boolean;
32
32
  UseFIPS?: boolean;
33
33
  Endpoint?: string;
@@ -113,6 +113,7 @@ export interface CreateApplicationRequest {
113
113
  definition: Definition | undefined;
114
114
  tags?: Record<string, string>;
115
115
  clientToken?: string;
116
+ kmsKeyId?: string;
116
117
  }
117
118
  export interface CreateApplicationResponse {
118
119
  applicationArn: string | undefined;
@@ -292,6 +293,7 @@ export declare enum ApplicationLifecycle {
292
293
  CREATED = "Created",
293
294
  CREATING = "Creating",
294
295
  DELETING = "Deleting",
296
+ DELETING_FROM_ENVIRONMENT = "Deleting From Environment",
295
297
  FAILED = "Failed",
296
298
  READY = "Ready",
297
299
  RUNNING = "Running",
@@ -318,6 +320,7 @@ export interface GetApplicationResponse {
318
320
  listenerPorts?: number[];
319
321
  loadBalancerDnsName?: string;
320
322
  statusReason?: string;
323
+ kmsKeyId?: string;
321
324
  }
322
325
  export interface GetApplicationVersionRequest {
323
326
  applicationId: string | undefined;
@@ -718,6 +721,7 @@ export interface CreateEnvironmentRequest {
718
721
  tags?: Record<string, string>;
719
722
  preferredMaintenanceWindow?: string;
720
723
  clientToken?: string;
724
+ kmsKeyId?: string;
721
725
  }
722
726
  export interface CreateEnvironmentResponse {
723
727
  environmentId: string | undefined;
@@ -742,6 +746,7 @@ export declare enum EnvironmentLifecycle {
742
746
  CREATING = "Creating",
743
747
  DELETING = "Deleting",
744
748
  FAILED = "Failed",
749
+ UPDATING = "Updating",
745
750
  }
746
751
  export interface GetEnvironmentResponse {
747
752
  name: string | undefined;
@@ -765,6 +770,7 @@ export interface GetEnvironmentResponse {
765
770
  statusReason?: string;
766
771
  preferredMaintenanceWindow?: string;
767
772
  pendingMaintenance?: PendingMaintenance;
773
+ kmsKeyId?: string;
768
774
  }
769
775
  export interface ListEnvironmentsRequest {
770
776
  nextToken?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-m2",
3
3
  "description": "AWS SDK for JavaScript M2 Client for Node.js, Browser and React Native",
4
- "version": "3.231.0",
4
+ "version": "3.232.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",