@aws-sdk/client-emr-containers 3.554.0 → 3.562.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.
Files changed (35) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +176 -0
  3. package/dist-es/EMRContainers.js +6 -0
  4. package/dist-es/commands/CreateSecurityConfigurationCommand.js +24 -0
  5. package/dist-es/commands/DescribeSecurityConfigurationCommand.js +24 -0
  6. package/dist-es/commands/ListSecurityConfigurationsCommand.js +24 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +3 -0
  9. package/dist-es/pagination/ListSecurityConfigurationsPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +1 -0
  11. package/dist-es/protocols/Aws_restJson1.js +105 -0
  12. package/dist-types/EMRContainers.d.ts +22 -0
  13. package/dist-types/EMRContainersClient.d.ts +5 -2
  14. package/dist-types/commands/CreateSecurityConfigurationCommand.d.ts +95 -0
  15. package/dist-types/commands/CreateVirtualClusterCommand.d.ts +1 -0
  16. package/dist-types/commands/DescribeSecurityConfigurationCommand.d.ts +102 -0
  17. package/dist-types/commands/DescribeVirtualClusterCommand.d.ts +1 -0
  18. package/dist-types/commands/ListSecurityConfigurationsCommand.d.ts +105 -0
  19. package/dist-types/commands/ListVirtualClustersCommand.d.ts +1 -0
  20. package/dist-types/commands/index.d.ts +3 -0
  21. package/dist-types/models/models_0.d.ts +284 -0
  22. package/dist-types/pagination/ListSecurityConfigurationsPaginator.d.ts +7 -0
  23. package/dist-types/pagination/index.d.ts +1 -0
  24. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  25. package/dist-types/ts3.4/EMRContainers.d.ts +52 -0
  26. package/dist-types/ts3.4/EMRContainersClient.d.ts +18 -0
  27. package/dist-types/ts3.4/commands/CreateSecurityConfigurationCommand.d.ts +39 -0
  28. package/dist-types/ts3.4/commands/DescribeSecurityConfigurationCommand.d.ts +39 -0
  29. package/dist-types/ts3.4/commands/ListSecurityConfigurationsCommand.d.ts +39 -0
  30. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +70 -0
  32. package/dist-types/ts3.4/pagination/ListSecurityConfigurationsPaginator.d.ts +11 -0
  33. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  34. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  35. package/package.json +4 -4
@@ -0,0 +1,39 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ EMRContainersClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../EMRContainersClient";
8
+ import {
9
+ ListSecurityConfigurationsRequest,
10
+ ListSecurityConfigurationsResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer, $Command };
13
+ export interface ListSecurityConfigurationsCommandInput
14
+ extends ListSecurityConfigurationsRequest {}
15
+ export interface ListSecurityConfigurationsCommandOutput
16
+ extends ListSecurityConfigurationsResponse,
17
+ __MetadataBearer {}
18
+ declare const ListSecurityConfigurationsCommand_base: {
19
+ new (
20
+ input: ListSecurityConfigurationsCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ ListSecurityConfigurationsCommandInput,
23
+ ListSecurityConfigurationsCommandOutput,
24
+ EMRContainersClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ ...[input]: [] | [ListSecurityConfigurationsCommandInput]
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ ListSecurityConfigurationsCommandInput,
32
+ ListSecurityConfigurationsCommandOutput,
33
+ EMRContainersClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class ListSecurityConfigurationsCommand extends ListSecurityConfigurationsCommand_base {}
@@ -1,6 +1,7 @@
1
1
  export * from "./CancelJobRunCommand";
2
2
  export * from "./CreateJobTemplateCommand";
3
3
  export * from "./CreateManagedEndpointCommand";
4
+ export * from "./CreateSecurityConfigurationCommand";
4
5
  export * from "./CreateVirtualClusterCommand";
5
6
  export * from "./DeleteJobTemplateCommand";
6
7
  export * from "./DeleteManagedEndpointCommand";
@@ -8,11 +9,13 @@ export * from "./DeleteVirtualClusterCommand";
8
9
  export * from "./DescribeJobRunCommand";
9
10
  export * from "./DescribeJobTemplateCommand";
10
11
  export * from "./DescribeManagedEndpointCommand";
12
+ export * from "./DescribeSecurityConfigurationCommand";
11
13
  export * from "./DescribeVirtualClusterCommand";
12
14
  export * from "./GetManagedEndpointSessionCredentialsCommand";
13
15
  export * from "./ListJobRunsCommand";
14
16
  export * from "./ListJobTemplatesCommand";
15
17
  export * from "./ListManagedEndpointsCommand";
18
+ export * from "./ListSecurityConfigurationsCommand";
16
19
  export * from "./ListTagsForResourceCommand";
17
20
  export * from "./ListVirtualClustersCommand";
18
21
  export * from "./StartJobRunCommand";
@@ -1,5 +1,34 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { EMRContainersServiceException as __BaseException } from "./EMRContainersServiceException";
3
+ export declare const CertificateProviderType: {
4
+ readonly PEM: "PEM";
5
+ };
6
+ export type CertificateProviderType =
7
+ (typeof CertificateProviderType)[keyof typeof CertificateProviderType];
8
+ export interface TLSCertificateConfiguration {
9
+ certificateProviderType?: CertificateProviderType;
10
+ publicCertificateSecretArn?: string;
11
+ privateCertificateSecretArn?: string;
12
+ }
13
+ export interface InTransitEncryptionConfiguration {
14
+ tlsCertificateConfiguration?: TLSCertificateConfiguration;
15
+ }
16
+ export interface EncryptionConfiguration {
17
+ inTransitEncryptionConfiguration?: InTransitEncryptionConfiguration;
18
+ }
19
+ export interface SecureNamespaceInfo {
20
+ clusterId?: string;
21
+ namespace?: string;
22
+ }
23
+ export interface LakeFormationConfiguration {
24
+ authorizedSessionTagValue?: string;
25
+ secureNamespaceInfo?: SecureNamespaceInfo;
26
+ queryEngineRoleArn?: string;
27
+ }
28
+ export interface AuthorizationConfiguration {
29
+ lakeFormationConfiguration?: LakeFormationConfiguration;
30
+ encryptionConfiguration?: EncryptionConfiguration;
31
+ }
3
32
  export interface CancelJobRunRequest {
4
33
  id: string | undefined;
5
34
  virtualClusterId: string | undefined;
@@ -99,6 +128,20 @@ export interface CreateManagedEndpointResponse {
99
128
  arn?: string;
100
129
  virtualClusterId?: string;
101
130
  }
131
+ export interface SecurityConfigurationData {
132
+ authorizationConfiguration?: AuthorizationConfiguration;
133
+ }
134
+ export interface CreateSecurityConfigurationRequest {
135
+ clientToken?: string;
136
+ name: string | undefined;
137
+ securityConfigurationData: SecurityConfigurationData | undefined;
138
+ tags?: Record<string, string>;
139
+ }
140
+ export interface CreateSecurityConfigurationResponse {
141
+ id?: string;
142
+ name?: string;
143
+ arn?: string;
144
+ }
102
145
  export interface EksInfo {
103
146
  namespace?: string;
104
147
  }
@@ -135,6 +178,7 @@ export interface CreateVirtualClusterRequest {
135
178
  containerProvider: ContainerProvider | undefined;
136
179
  clientToken?: string;
137
180
  tags?: Record<string, string>;
181
+ securityConfigurationId?: string;
138
182
  }
139
183
  export interface CreateVirtualClusterResponse {
140
184
  id?: string;
@@ -214,6 +258,21 @@ export declare const EndpointState: {
214
258
  readonly TERMINATING: "TERMINATING";
215
259
  };
216
260
  export type EndpointState = (typeof EndpointState)[keyof typeof EndpointState];
261
+ export interface DescribeSecurityConfigurationRequest {
262
+ id: string | undefined;
263
+ }
264
+ export interface SecurityConfiguration {
265
+ id?: string;
266
+ name?: string;
267
+ arn?: string;
268
+ createdAt?: Date;
269
+ createdBy?: string;
270
+ securityConfigurationData?: SecurityConfigurationData;
271
+ tags?: Record<string, string>;
272
+ }
273
+ export interface DescribeSecurityConfigurationResponse {
274
+ securityConfiguration?: SecurityConfiguration;
275
+ }
217
276
  export interface DescribeVirtualClusterRequest {
218
277
  id: string | undefined;
219
278
  }
@@ -233,6 +292,7 @@ export interface VirtualCluster {
233
292
  containerProvider?: ContainerProvider;
234
293
  createdAt?: Date;
235
294
  tags?: Record<string, string>;
295
+ securityConfigurationId?: string;
236
296
  }
237
297
  export interface DescribeVirtualClusterResponse {
238
298
  virtualCluster?: VirtualCluster;
@@ -298,6 +358,16 @@ export interface ListManagedEndpointsRequest {
298
358
  maxResults?: number;
299
359
  nextToken?: string;
300
360
  }
361
+ export interface ListSecurityConfigurationsRequest {
362
+ createdAfter?: Date;
363
+ createdBefore?: Date;
364
+ maxResults?: number;
365
+ nextToken?: string;
366
+ }
367
+ export interface ListSecurityConfigurationsResponse {
368
+ securityConfigurations?: SecurityConfiguration[];
369
+ nextToken?: string;
370
+ }
301
371
  export interface ListTagsForResourceRequest {
302
372
  resourceArn: string | undefined;
303
373
  }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListSecurityConfigurationsCommandInput,
4
+ ListSecurityConfigurationsCommandOutput,
5
+ } from "../commands/ListSecurityConfigurationsCommand";
6
+ import { EMRContainersPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListSecurityConfigurations: (
8
+ config: EMRContainersPaginationConfiguration,
9
+ input: ListSecurityConfigurationsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListSecurityConfigurationsCommandOutput>;
@@ -2,4 +2,5 @@ export * from "./Interfaces";
2
2
  export * from "./ListJobRunsPaginator";
3
3
  export * from "./ListJobTemplatesPaginator";
4
4
  export * from "./ListManagedEndpointsPaginator";
5
+ export * from "./ListSecurityConfigurationsPaginator";
5
6
  export * from "./ListVirtualClustersPaginator";
@@ -15,6 +15,10 @@ import {
15
15
  CreateManagedEndpointCommandInput,
16
16
  CreateManagedEndpointCommandOutput,
17
17
  } from "../commands/CreateManagedEndpointCommand";
18
+ import {
19
+ CreateSecurityConfigurationCommandInput,
20
+ CreateSecurityConfigurationCommandOutput,
21
+ } from "../commands/CreateSecurityConfigurationCommand";
18
22
  import {
19
23
  CreateVirtualClusterCommandInput,
20
24
  CreateVirtualClusterCommandOutput,
@@ -43,6 +47,10 @@ import {
43
47
  DescribeManagedEndpointCommandInput,
44
48
  DescribeManagedEndpointCommandOutput,
45
49
  } from "../commands/DescribeManagedEndpointCommand";
50
+ import {
51
+ DescribeSecurityConfigurationCommandInput,
52
+ DescribeSecurityConfigurationCommandOutput,
53
+ } from "../commands/DescribeSecurityConfigurationCommand";
46
54
  import {
47
55
  DescribeVirtualClusterCommandInput,
48
56
  DescribeVirtualClusterCommandOutput,
@@ -63,6 +71,10 @@ import {
63
71
  ListManagedEndpointsCommandInput,
64
72
  ListManagedEndpointsCommandOutput,
65
73
  } from "../commands/ListManagedEndpointsCommand";
74
+ import {
75
+ ListSecurityConfigurationsCommandInput,
76
+ ListSecurityConfigurationsCommandOutput,
77
+ } from "../commands/ListSecurityConfigurationsCommand";
66
78
  import {
67
79
  ListTagsForResourceCommandInput,
68
80
  ListTagsForResourceCommandOutput,
@@ -95,6 +107,10 @@ export declare const se_CreateManagedEndpointCommand: (
95
107
  input: CreateManagedEndpointCommandInput,
96
108
  context: __SerdeContext
97
109
  ) => Promise<__HttpRequest>;
110
+ export declare const se_CreateSecurityConfigurationCommand: (
111
+ input: CreateSecurityConfigurationCommandInput,
112
+ context: __SerdeContext
113
+ ) => Promise<__HttpRequest>;
98
114
  export declare const se_CreateVirtualClusterCommand: (
99
115
  input: CreateVirtualClusterCommandInput,
100
116
  context: __SerdeContext
@@ -123,6 +139,10 @@ export declare const se_DescribeManagedEndpointCommand: (
123
139
  input: DescribeManagedEndpointCommandInput,
124
140
  context: __SerdeContext
125
141
  ) => Promise<__HttpRequest>;
142
+ export declare const se_DescribeSecurityConfigurationCommand: (
143
+ input: DescribeSecurityConfigurationCommandInput,
144
+ context: __SerdeContext
145
+ ) => Promise<__HttpRequest>;
126
146
  export declare const se_DescribeVirtualClusterCommand: (
127
147
  input: DescribeVirtualClusterCommandInput,
128
148
  context: __SerdeContext
@@ -143,6 +163,10 @@ export declare const se_ListManagedEndpointsCommand: (
143
163
  input: ListManagedEndpointsCommandInput,
144
164
  context: __SerdeContext
145
165
  ) => Promise<__HttpRequest>;
166
+ export declare const se_ListSecurityConfigurationsCommand: (
167
+ input: ListSecurityConfigurationsCommandInput,
168
+ context: __SerdeContext
169
+ ) => Promise<__HttpRequest>;
146
170
  export declare const se_ListTagsForResourceCommand: (
147
171
  input: ListTagsForResourceCommandInput,
148
172
  context: __SerdeContext
@@ -175,6 +199,10 @@ export declare const de_CreateManagedEndpointCommand: (
175
199
  output: __HttpResponse,
176
200
  context: __SerdeContext
177
201
  ) => Promise<CreateManagedEndpointCommandOutput>;
202
+ export declare const de_CreateSecurityConfigurationCommand: (
203
+ output: __HttpResponse,
204
+ context: __SerdeContext
205
+ ) => Promise<CreateSecurityConfigurationCommandOutput>;
178
206
  export declare const de_CreateVirtualClusterCommand: (
179
207
  output: __HttpResponse,
180
208
  context: __SerdeContext
@@ -203,6 +231,10 @@ export declare const de_DescribeManagedEndpointCommand: (
203
231
  output: __HttpResponse,
204
232
  context: __SerdeContext
205
233
  ) => Promise<DescribeManagedEndpointCommandOutput>;
234
+ export declare const de_DescribeSecurityConfigurationCommand: (
235
+ output: __HttpResponse,
236
+ context: __SerdeContext
237
+ ) => Promise<DescribeSecurityConfigurationCommandOutput>;
206
238
  export declare const de_DescribeVirtualClusterCommand: (
207
239
  output: __HttpResponse,
208
240
  context: __SerdeContext
@@ -223,6 +255,10 @@ export declare const de_ListManagedEndpointsCommand: (
223
255
  output: __HttpResponse,
224
256
  context: __SerdeContext
225
257
  ) => Promise<ListManagedEndpointsCommandOutput>;
258
+ export declare const de_ListSecurityConfigurationsCommand: (
259
+ output: __HttpResponse,
260
+ context: __SerdeContext
261
+ ) => Promise<ListSecurityConfigurationsCommandOutput>;
226
262
  export declare const de_ListTagsForResourceCommand: (
227
263
  output: __HttpResponse,
228
264
  context: __SerdeContext
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.554.0",
4
+ "version": "3.562.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",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.554.0",
24
- "@aws-sdk/core": "3.554.0",
25
- "@aws-sdk/credential-provider-node": "3.554.0",
23
+ "@aws-sdk/client-sts": "3.556.0",
24
+ "@aws-sdk/core": "3.556.0",
25
+ "@aws-sdk/credential-provider-node": "3.556.0",
26
26
  "@aws-sdk/middleware-host-header": "3.535.0",
27
27
  "@aws-sdk/middleware-logger": "3.535.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.535.0",