@aws-sdk/client-emr-containers 3.750.0 → 3.751.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/dist-cjs/index.js CHANGED
@@ -21,6 +21,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  // src/index.ts
22
22
  var src_exports = {};
23
23
  __export(src_exports, {
24
+ AllowAWSToRetainLogs: () => AllowAWSToRetainLogs,
24
25
  CancelJobRunCommand: () => CancelJobRunCommand,
25
26
  CertificateProviderType: () => CertificateProviderType,
26
27
  ConfigurationFilterSensitiveLog: () => ConfigurationFilterSensitiveLog,
@@ -265,6 +266,10 @@ var EMRContainersServiceException = class _EMRContainersServiceException extends
265
266
 
266
267
  // src/models/models_0.ts
267
268
 
269
+ var AllowAWSToRetainLogs = {
270
+ DISABLED: "DISABLED",
271
+ ENABLED: "ENABLED"
272
+ };
268
273
  var CertificateProviderType = {
269
274
  PEM: "PEM"
270
275
  };
@@ -1913,6 +1918,7 @@ var paginateListVirtualClusters = (0, import_core.createPaginator)(EMRContainers
1913
1918
  paginateListManagedEndpoints,
1914
1919
  paginateListSecurityConfigurations,
1915
1920
  paginateListVirtualClusters,
1921
+ AllowAWSToRetainLogs,
1916
1922
  CertificateProviderType,
1917
1923
  InternalServerException,
1918
1924
  ValidationException,
@@ -1,5 +1,9 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { EMRContainersServiceException as __BaseException } from "./EMRContainersServiceException";
3
+ export const AllowAWSToRetainLogs = {
4
+ DISABLED: "DISABLED",
5
+ ENABLED: "ENABLED",
6
+ };
3
7
  export const CertificateProviderType = {
4
8
  PEM: "PEM",
5
9
  };
@@ -61,6 +61,10 @@ declare const CreateManagedEndpointCommand_base: {
61
61
  * },
62
62
  * ],
63
63
  * monitoringConfiguration: { // MonitoringConfiguration
64
+ * managedLogs: { // ManagedLogs
65
+ * allowAWSToRetainLogs: "ENABLED" || "DISABLED",
66
+ * encryptionKeyArn: "STRING_VALUE",
67
+ * },
64
68
  * persistentAppUI: "ENABLED" || "DISABLED",
65
69
  * cloudWatchMonitoringConfiguration: { // CloudWatchMonitoringConfiguration
66
70
  * logGroupName: "STRING_VALUE", // required
@@ -70,6 +70,10 @@ declare const DescribeJobRunCommand_base: {
70
70
  * // },
71
71
  * // ],
72
72
  * // monitoringConfiguration: { // MonitoringConfiguration
73
+ * // managedLogs: { // ManagedLogs
74
+ * // allowAWSToRetainLogs: "ENABLED" || "DISABLED",
75
+ * // encryptionKeyArn: "STRING_VALUE",
76
+ * // },
73
77
  * // persistentAppUI: "ENABLED" || "DISABLED",
74
78
  * // cloudWatchMonitoringConfiguration: { // CloudWatchMonitoringConfiguration
75
79
  * // logGroupName: "STRING_VALUE", // required
@@ -75,6 +75,10 @@ declare const DescribeManagedEndpointCommand_base: {
75
75
  * // },
76
76
  * // ],
77
77
  * // monitoringConfiguration: { // MonitoringConfiguration
78
+ * // managedLogs: { // ManagedLogs
79
+ * // allowAWSToRetainLogs: "ENABLED" || "DISABLED",
80
+ * // encryptionKeyArn: "STRING_VALUE",
81
+ * // },
78
82
  * // persistentAppUI: "ENABLED" || "DISABLED",
79
83
  * // cloudWatchMonitoringConfiguration: { // CloudWatchMonitoringConfiguration
80
84
  * // logGroupName: "STRING_VALUE", // required
@@ -78,6 +78,10 @@ declare const ListJobRunsCommand_base: {
78
78
  * // },
79
79
  * // ],
80
80
  * // monitoringConfiguration: { // MonitoringConfiguration
81
+ * // managedLogs: { // ManagedLogs
82
+ * // allowAWSToRetainLogs: "ENABLED" || "DISABLED",
83
+ * // encryptionKeyArn: "STRING_VALUE",
84
+ * // },
81
85
  * // persistentAppUI: "ENABLED" || "DISABLED",
82
86
  * // cloudWatchMonitoringConfiguration: { // CloudWatchMonitoringConfiguration
83
87
  * // logGroupName: "STRING_VALUE", // required
@@ -85,6 +85,10 @@ declare const ListManagedEndpointsCommand_base: {
85
85
  * // },
86
86
  * // ],
87
87
  * // monitoringConfiguration: { // MonitoringConfiguration
88
+ * // managedLogs: { // ManagedLogs
89
+ * // allowAWSToRetainLogs: "ENABLED" || "DISABLED",
90
+ * // encryptionKeyArn: "STRING_VALUE",
91
+ * // },
88
92
  * // persistentAppUI: "ENABLED" || "DISABLED",
89
93
  * // cloudWatchMonitoringConfiguration: { // CloudWatchMonitoringConfiguration
90
94
  * // logGroupName: "STRING_VALUE", // required
@@ -73,6 +73,10 @@ declare const StartJobRunCommand_base: {
73
73
  * },
74
74
  * ],
75
75
  * monitoringConfiguration: { // MonitoringConfiguration
76
+ * managedLogs: { // ManagedLogs
77
+ * allowAWSToRetainLogs: "ENABLED" || "DISABLED",
78
+ * encryptionKeyArn: "STRING_VALUE",
79
+ * },
76
80
  * persistentAppUI: "ENABLED" || "DISABLED",
77
81
  * cloudWatchMonitoringConfiguration: { // CloudWatchMonitoringConfiguration
78
82
  * logGroupName: "STRING_VALUE", // required
@@ -1,5 +1,17 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { EMRContainersServiceException as __BaseException } from "./EMRContainersServiceException";
3
+ /**
4
+ * @public
5
+ * @enum
6
+ */
7
+ export declare const AllowAWSToRetainLogs: {
8
+ readonly DISABLED: "DISABLED";
9
+ readonly ENABLED: "ENABLED";
10
+ };
11
+ /**
12
+ * @public
13
+ */
14
+ export type AllowAWSToRetainLogs = (typeof AllowAWSToRetainLogs)[keyof typeof AllowAWSToRetainLogs];
3
15
  /**
4
16
  * @public
5
17
  * @enum
@@ -373,6 +385,22 @@ export interface ContainerLogRotationConfiguration {
373
385
  */
374
386
  maxFilesToKeep: number | undefined;
375
387
  }
388
+ /**
389
+ * <p>The entity that provides configuration control over managed logs.</p>
390
+ * @public
391
+ */
392
+ export interface ManagedLogs {
393
+ /**
394
+ * <p>Determines whether Amazon Web Services can retain logs.</p>
395
+ * @public
396
+ */
397
+ allowAWSToRetainLogs?: AllowAWSToRetainLogs | undefined;
398
+ /**
399
+ * <p>The Amazon resource name (ARN) of the encryption key for logs.</p>
400
+ * @public
401
+ */
402
+ encryptionKeyArn?: string | undefined;
403
+ }
376
404
  /**
377
405
  * @public
378
406
  * @enum
@@ -402,6 +430,11 @@ export interface S3MonitoringConfiguration {
402
430
  * @public
403
431
  */
404
432
  export interface MonitoringConfiguration {
433
+ /**
434
+ * <p>The entity that controls configuration for managed logs.</p>
435
+ * @public
436
+ */
437
+ managedLogs?: ManagedLogs | undefined;
405
438
  /**
406
439
  * <p>Monitoring configurations for the persistent application UI. </p>
407
440
  * @public
@@ -1,5 +1,11 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { EMRContainersServiceException as __BaseException } from "./EMRContainersServiceException";
3
+ export declare const AllowAWSToRetainLogs: {
4
+ readonly DISABLED: "DISABLED";
5
+ readonly ENABLED: "ENABLED";
6
+ };
7
+ export type AllowAWSToRetainLogs =
8
+ (typeof AllowAWSToRetainLogs)[keyof typeof AllowAWSToRetainLogs];
3
9
  export declare const CertificateProviderType: {
4
10
  readonly PEM: "PEM";
5
11
  };
@@ -111,6 +117,10 @@ export interface ContainerLogRotationConfiguration {
111
117
  rotationSize: string | undefined;
112
118
  maxFilesToKeep: number | undefined;
113
119
  }
120
+ export interface ManagedLogs {
121
+ allowAWSToRetainLogs?: AllowAWSToRetainLogs | undefined;
122
+ encryptionKeyArn?: string | undefined;
123
+ }
114
124
  export declare const PersistentAppUI: {
115
125
  readonly DISABLED: "DISABLED";
116
126
  readonly ENABLED: "ENABLED";
@@ -121,6 +131,7 @@ export interface S3MonitoringConfiguration {
121
131
  logUri: string | undefined;
122
132
  }
123
133
  export interface MonitoringConfiguration {
134
+ managedLogs?: ManagedLogs | undefined;
124
135
  persistentAppUI?: PersistentAppUI | undefined;
125
136
  cloudWatchMonitoringConfiguration?:
126
137
  | CloudWatchMonitoringConfiguration
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.750.0",
4
+ "version": "3.751.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-emr-containers",