@aws-sdk/client-emr-containers 3.347.0 → 3.348.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.
package/README.md CHANGED
@@ -9,11 +9,11 @@ AWS SDK for JavaScript EMRContainers Client for Node.js, Browser and React Nativ
9
9
  <p>Amazon EMR on EKS provides a deployment option for Amazon EMR that allows
10
10
  you to run open-source big data frameworks on Amazon Elastic Kubernetes Service (Amazon EKS).
11
11
  With this deployment option, you can focus on running analytics workloads while Amazon EMR on EKS builds, configures, and manages containers for open-source applications.
12
- For more information about Amazon EMR on EKS concepts and tasks, see <a href="https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/emr-eks.html">What is
12
+ For more information about Amazon EMR on EKS concepts and tasks, see <a href="https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/emr-eks.html">What is
13
13
  shared id="EMR-EKS"/></a>.</p>
14
14
  <p>
15
- <i>Amazon EMR containers</i> is the API name for Amazon EMR on EKS.
16
- The <code>emr-containers</code> prefix is used in the following scenarios: </p>
15
+ <i>Amazon EMR containers</i> is the API name for Amazon EMR on EKS. The <code>emr-containers</code> prefix is used in the following
16
+ scenarios: </p>
17
17
  <ul>
18
18
  <li>
19
19
  <p>It is the prefix in the CLI commands for Amazon EMR on EKS. For example,
@@ -147,11 +147,11 @@ export interface EMRContainers {
147
147
  * <p>Amazon EMR on EKS provides a deployment option for Amazon EMR that allows
148
148
  * you to run open-source big data frameworks on Amazon Elastic Kubernetes Service (Amazon EKS).
149
149
  * With this deployment option, you can focus on running analytics workloads while Amazon EMR on EKS builds, configures, and manages containers for open-source applications.
150
- * For more information about Amazon EMR on EKS concepts and tasks, see <a href="https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/emr-eks.html">What is
150
+ * For more information about Amazon EMR on EKS concepts and tasks, see <a href="https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/emr-eks.html">What is
151
151
  * shared id="EMR-EKS"/></a>.</p>
152
152
  * <p>
153
- * <i>Amazon EMR containers</i> is the API name for Amazon EMR on EKS.
154
- * The <code>emr-containers</code> prefix is used in the following scenarios: </p>
153
+ * <i>Amazon EMR containers</i> is the API name for Amazon EMR on EKS. The <code>emr-containers</code> prefix is used in the following
154
+ * scenarios: </p>
155
155
  * <ul>
156
156
  * <li>
157
157
  * <p>It is the prefix in the CLI commands for Amazon EMR on EKS. For example,
@@ -168,11 +168,11 @@ export interface EMRContainersClientResolvedConfig extends EMRContainersClientRe
168
168
  * <p>Amazon EMR on EKS provides a deployment option for Amazon EMR that allows
169
169
  * you to run open-source big data frameworks on Amazon Elastic Kubernetes Service (Amazon EKS).
170
170
  * With this deployment option, you can focus on running analytics workloads while Amazon EMR on EKS builds, configures, and manages containers for open-source applications.
171
- * For more information about Amazon EMR on EKS concepts and tasks, see <a href="https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/emr-eks.html">What is
171
+ * For more information about Amazon EMR on EKS concepts and tasks, see <a href="https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/emr-eks.html">What is
172
172
  * shared id="EMR-EKS"/></a>.</p>
173
173
  * <p>
174
- * <i>Amazon EMR containers</i> is the API name for Amazon EMR on EKS.
175
- * The <code>emr-containers</code> prefix is used in the following scenarios: </p>
174
+ * <i>Amazon EMR containers</i> is the API name for Amazon EMR on EKS. The <code>emr-containers</code> prefix is used in the following
175
+ * scenarios: </p>
176
176
  * <ul>
177
177
  * <li>
178
178
  * <p>It is the prefix in the CLI commands for Amazon EMR on EKS. For example,
@@ -23,9 +23,8 @@ export interface CreateManagedEndpointCommandOutput extends CreateManagedEndpoin
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Creates a managed endpoint. A managed endpoint is a gateway that connects Amazon EMR Studio to
27
- * Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual
28
- * cluster.</p>
26
+ * <p>Creates a managed endpoint. A managed endpoint is a gateway that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can
27
+ * communicate with your virtual cluster.</p>
29
28
  * @example
30
29
  * Use a bare-bones client and the command you need to make an API call.
31
30
  * ```javascript
@@ -66,6 +65,10 @@ export interface CreateManagedEndpointCommandOutput extends CreateManagedEndpoin
66
65
  * s3MonitoringConfiguration: { // S3MonitoringConfiguration
67
66
  * logUri: "STRING_VALUE", // required
68
67
  * },
68
+ * containerLogRotationConfiguration: { // ContainerLogRotationConfiguration
69
+ * rotationSize: "STRING_VALUE", // required
70
+ * maxFilesToKeep: Number("int"), // required
71
+ * },
69
72
  * },
70
73
  * },
71
74
  * clientToken: "STRING_VALUE", // required
@@ -23,9 +23,8 @@ export interface DeleteManagedEndpointCommandOutput extends DeleteManagedEndpoin
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Deletes a managed endpoint. A managed endpoint is a gateway that connects Amazon EMR Studio to
27
- * Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual
28
- * cluster.</p>
26
+ * <p>Deletes a managed endpoint. A managed endpoint is a gateway that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can
27
+ * communicate with your virtual cluster.</p>
29
28
  * @example
30
29
  * Use a bare-bones client and the command you need to make an API call.
31
30
  * ```javascript
@@ -74,6 +74,10 @@ export interface DescribeJobRunCommandOutput extends DescribeJobRunResponse, __M
74
74
  * // s3MonitoringConfiguration: { // S3MonitoringConfiguration
75
75
  * // logUri: "STRING_VALUE", // required
76
76
  * // },
77
+ * // containerLogRotationConfiguration: { // ContainerLogRotationConfiguration
78
+ * // rotationSize: "STRING_VALUE", // required
79
+ * // maxFilesToKeep: Number("int"), // required
80
+ * // },
77
81
  * // },
78
82
  * // },
79
83
  * // jobDriver: { // JobDriver
@@ -24,8 +24,7 @@ export interface DescribeManagedEndpointCommandOutput extends DescribeManagedEnd
24
24
  /**
25
25
  * @public
26
26
  * <p>Displays detailed information about a managed endpoint. A managed endpoint is a gateway
27
- * that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with
28
- * your virtual cluster.</p>
27
+ * that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual cluster.</p>
29
28
  * @example
30
29
  * Use a bare-bones client and the command you need to make an API call.
31
30
  * ```javascript
@@ -80,6 +79,10 @@ export interface DescribeManagedEndpointCommandOutput extends DescribeManagedEnd
80
79
  * // s3MonitoringConfiguration: { // S3MonitoringConfiguration
81
80
  * // logUri: "STRING_VALUE", // required
82
81
  * // },
82
+ * // containerLogRotationConfiguration: { // ContainerLogRotationConfiguration
83
+ * // rotationSize: "STRING_VALUE", // required
84
+ * // maxFilesToKeep: Number("int"), // required
85
+ * // },
83
86
  * // },
84
87
  * // },
85
88
  * // serverUrl: "STRING_VALUE",
@@ -82,6 +82,10 @@ export interface ListJobRunsCommandOutput extends ListJobRunsResponse, __Metadat
82
82
  * // s3MonitoringConfiguration: { // S3MonitoringConfiguration
83
83
  * // logUri: "STRING_VALUE", // required
84
84
  * // },
85
+ * // containerLogRotationConfiguration: { // ContainerLogRotationConfiguration
86
+ * // rotationSize: "STRING_VALUE", // required
87
+ * // maxFilesToKeep: Number("int"), // required
88
+ * // },
85
89
  * // },
86
90
  * // },
87
91
  * // jobDriver: { // JobDriver
@@ -24,8 +24,7 @@ export interface ListManagedEndpointsCommandOutput extends ListManagedEndpointsR
24
24
  /**
25
25
  * @public
26
26
  * <p>Lists managed endpoints based on a set of parameters. A managed endpoint is a gateway
27
- * that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with
28
- * your virtual cluster.</p>
27
+ * that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual cluster.</p>
29
28
  * @example
30
29
  * Use a bare-bones client and the command you need to make an API call.
31
30
  * ```javascript
@@ -90,6 +89,10 @@ export interface ListManagedEndpointsCommandOutput extends ListManagedEndpointsR
90
89
  * // s3MonitoringConfiguration: { // S3MonitoringConfiguration
91
90
  * // logUri: "STRING_VALUE", // required
92
91
  * // },
92
+ * // containerLogRotationConfiguration: { // ContainerLogRotationConfiguration
93
+ * // rotationSize: "STRING_VALUE", // required
94
+ * // maxFilesToKeep: Number("int"), // required
95
+ * // },
93
96
  * // },
94
97
  * // },
95
98
  * // serverUrl: "STRING_VALUE",
@@ -77,6 +77,10 @@ export interface StartJobRunCommandOutput extends StartJobRunResponse, __Metadat
77
77
  * s3MonitoringConfiguration: { // S3MonitoringConfiguration
78
78
  * logUri: "STRING_VALUE", // required
79
79
  * },
80
+ * containerLogRotationConfiguration: { // ContainerLogRotationConfiguration
81
+ * rotationSize: "STRING_VALUE", // required
82
+ * maxFilesToKeep: Number("int"), // required
83
+ * },
80
84
  * },
81
85
  * },
82
86
  * tags: { // TagMap
@@ -23,14 +23,15 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Assigns tags to resources. A tag is a label that you assign to an Amazon Web Services resource. Each tag
27
- * consists of a key and an optional value, both of which you define. Tags enable you to
28
- * categorize your Amazon Web Services resources by attributes such as purpose, owner, or environment. When
29
- * you have many resources of the same type, you can quickly identify a specific resource
30
- * based on the tags you've assigned to it. For example, you can define a set of tags for your
31
- * Amazon EMR on EKS clusters to help you track each cluster's owner and stack level.
32
- * We recommend that you devise a consistent set of tag keys for each resource type. You can
33
- * then search and filter the resources based on the tags that you add.</p>
26
+ * <p>Assigns tags to resources. A tag is a label that you assign to an Amazon Web Services
27
+ * resource. Each tag consists of a key and an optional value, both of which you define. Tags
28
+ * enable you to categorize your Amazon Web Services resources by attributes such as purpose,
29
+ * owner, or environment. When you have many resources of the same type, you can quickly
30
+ * identify a specific resource based on the tags you've assigned to it. For example, you can
31
+ * define a set of tags for your Amazon EMR on EKS clusters to help you track each
32
+ * cluster's owner and stack level. We recommend that you devise a consistent set of tag keys
33
+ * for each resource type. You can then search and filter the resources based on the tags that
34
+ * you add.</p>
34
35
  * @example
35
36
  * Use a bare-bones client and the command you need to make an API call.
36
37
  * ```javascript
@@ -2,11 +2,11 @@
2
2
  * <p>Amazon EMR on EKS provides a deployment option for Amazon EMR that allows
3
3
  * you to run open-source big data frameworks on Amazon Elastic Kubernetes Service (Amazon EKS).
4
4
  * With this deployment option, you can focus on running analytics workloads while Amazon EMR on EKS builds, configures, and manages containers for open-source applications.
5
- * For more information about Amazon EMR on EKS concepts and tasks, see <a href="https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/emr-eks.html">What is
5
+ * For more information about Amazon EMR on EKS concepts and tasks, see <a href="https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/emr-eks.html">What is
6
6
  * shared id="EMR-EKS"/></a>.</p>
7
7
  * <p>
8
- * <i>Amazon EMR containers</i> is the API name for Amazon EMR on EKS.
9
- * The <code>emr-containers</code> prefix is used in the following scenarios: </p>
8
+ * <i>Amazon EMR containers</i> is the API name for Amazon EMR on EKS. The <code>emr-containers</code> prefix is used in the following
9
+ * scenarios: </p>
10
10
  * <ul>
11
11
  * <li>
12
12
  * <p>It is the prefix in the CLI commands for Amazon EMR on EKS. For example,
@@ -218,6 +218,20 @@ export interface CloudWatchMonitoringConfiguration {
218
218
  */
219
219
  logStreamNamePrefix?: string;
220
220
  }
221
+ /**
222
+ * @public
223
+ * <p>The settings for container log rotation.</p>
224
+ */
225
+ export interface ContainerLogRotationConfiguration {
226
+ /**
227
+ * <p>The file size at which to rotate logs. Minimum of 2KB, Maximum of 2GB.</p>
228
+ */
229
+ rotationSize: string | undefined;
230
+ /**
231
+ * <p>The number of files to keep in container after rotation.</p>
232
+ */
233
+ maxFilesToKeep: number | undefined;
234
+ }
221
235
  /**
222
236
  * @public
223
237
  * @enum
@@ -258,6 +272,10 @@ export interface MonitoringConfiguration {
258
272
  * <p>Amazon S3 configuration for monitoring log publishing.</p>
259
273
  */
260
274
  s3MonitoringConfiguration?: S3MonitoringConfiguration;
275
+ /**
276
+ * <p>Enable or disable container log rotation.</p>
277
+ */
278
+ containerLogRotationConfiguration?: ContainerLogRotationConfiguration;
261
279
  }
262
280
  /**
263
281
  * @public
@@ -333,7 +351,8 @@ export type ContainerProviderType = (typeof ContainerProviderType)[keyof typeof
333
351
  */
334
352
  export interface ContainerProvider {
335
353
  /**
336
- * <p>The type of the container provider. Amazon EKS is the only supported type as of now.</p>
354
+ * <p>The type of the container provider. Amazon EKS is the only supported type as of
355
+ * now.</p>
337
356
  */
338
357
  type: ContainerProviderType | string | undefined;
339
358
  /**
@@ -586,11 +605,11 @@ export type VirtualClusterState = (typeof VirtualClusterState)[keyof typeof Virt
586
605
  /**
587
606
  * @public
588
607
  * <p>This entity describes a virtual cluster. A virtual cluster is a Kubernetes namespace
589
- * that Amazon EMR is registered with. Amazon EMR uses virtual clusters to run jobs and host
590
- * endpoints. Multiple virtual clusters can be backed by the same physical cluster. However,
591
- * each virtual cluster maps to one namespace on an Amazon EKS cluster. Virtual clusters do not
592
- * create any active resources that contribute to your bill or that require lifecycle
593
- * management outside the service.</p>
608
+ * that Amazon EMR is registered with. Amazon EMR uses virtual clusters to run
609
+ * jobs and host endpoints. Multiple virtual clusters can be backed by the same physical
610
+ * cluster. However, each virtual cluster maps to one namespace on an Amazon EKS
611
+ * cluster. Virtual clusters do not create any active resources that contribute to your bill
612
+ * or that require lifecycle management outside the service.</p>
594
613
  */
595
614
  export interface VirtualCluster {
596
615
  /**
@@ -835,8 +854,8 @@ export interface ListVirtualClustersRequest {
835
854
  */
836
855
  containerProviderId?: string;
837
856
  /**
838
- * <p>The container provider type of the virtual cluster. Amazon EKS is the only supported type as of
839
- * now.</p>
857
+ * <p>The container provider type of the virtual cluster. Amazon EKS is the only
858
+ * supported type as of now.</p>
840
859
  */
841
860
  containerProviderType?: ContainerProviderType | string;
842
861
  /**
@@ -74,6 +74,10 @@ export interface CloudWatchMonitoringConfiguration {
74
74
  logGroupName: string | undefined;
75
75
  logStreamNamePrefix?: string;
76
76
  }
77
+ export interface ContainerLogRotationConfiguration {
78
+ rotationSize: string | undefined;
79
+ maxFilesToKeep: number | undefined;
80
+ }
77
81
  export declare const PersistentAppUI: {
78
82
  readonly DISABLED: "DISABLED";
79
83
  readonly ENABLED: "ENABLED";
@@ -87,6 +91,7 @@ export interface MonitoringConfiguration {
87
91
  persistentAppUI?: PersistentAppUI | string;
88
92
  cloudWatchMonitoringConfiguration?: CloudWatchMonitoringConfiguration;
89
93
  s3MonitoringConfiguration?: S3MonitoringConfiguration;
94
+ containerLogRotationConfiguration?: ContainerLogRotationConfiguration;
90
95
  }
91
96
  export interface CreateManagedEndpointResponse {
92
97
  id?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-emr-containers",
3
3
  "description": "AWS SDK for JavaScript Emr Containers Client for Node.js, Browser and React Native",
4
- "version": "3.347.0",
4
+ "version": "3.348.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",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.347.0",
24
+ "@aws-sdk/client-sts": "3.348.0",
25
25
  "@aws-sdk/config-resolver": "3.347.0",
26
- "@aws-sdk/credential-provider-node": "3.347.0",
26
+ "@aws-sdk/credential-provider-node": "3.348.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.347.0",
28
28
  "@aws-sdk/hash-node": "3.347.0",
29
29
  "@aws-sdk/invalid-dependency": "3.347.0",
@@ -38,7 +38,7 @@
38
38
  "@aws-sdk/middleware-stack": "3.347.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.347.0",
40
40
  "@aws-sdk/node-config-provider": "3.347.0",
41
- "@aws-sdk/node-http-handler": "3.347.0",
41
+ "@aws-sdk/node-http-handler": "3.348.0",
42
42
  "@aws-sdk/smithy-client": "3.347.0",
43
43
  "@aws-sdk/types": "3.347.0",
44
44
  "@aws-sdk/url-parser": "3.347.0",