@aws-sdk/client-emr-containers 3.556.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.
- package/README.md +24 -0
- package/dist-cjs/index.js +176 -0
- package/dist-es/EMRContainers.js +6 -0
- package/dist-es/commands/CreateSecurityConfigurationCommand.js +24 -0
- package/dist-es/commands/DescribeSecurityConfigurationCommand.js +24 -0
- package/dist-es/commands/ListSecurityConfigurationsCommand.js +24 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +3 -0
- package/dist-es/pagination/ListSecurityConfigurationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +105 -0
- package/dist-types/EMRContainers.d.ts +22 -0
- package/dist-types/EMRContainersClient.d.ts +5 -2
- package/dist-types/commands/CreateSecurityConfigurationCommand.d.ts +95 -0
- package/dist-types/commands/CreateVirtualClusterCommand.d.ts +1 -0
- package/dist-types/commands/DescribeSecurityConfigurationCommand.d.ts +102 -0
- package/dist-types/commands/DescribeVirtualClusterCommand.d.ts +1 -0
- package/dist-types/commands/ListSecurityConfigurationsCommand.d.ts +105 -0
- package/dist-types/commands/ListVirtualClustersCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +284 -0
- package/dist-types/pagination/ListSecurityConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/EMRContainers.d.ts +52 -0
- package/dist-types/ts3.4/EMRContainersClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/CreateSecurityConfigurationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeSecurityConfigurationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListSecurityConfigurationsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +70 -0
- package/dist-types/ts3.4/pagination/ListSecurityConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -249,6 +249,14 @@ CreateManagedEndpoint
|
|
|
249
249
|
|
|
250
250
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/emr-containers/command/CreateManagedEndpointCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-emr-containers/Interface/CreateManagedEndpointCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-emr-containers/Interface/CreateManagedEndpointCommandOutput/)
|
|
251
251
|
|
|
252
|
+
</details>
|
|
253
|
+
<details>
|
|
254
|
+
<summary>
|
|
255
|
+
CreateSecurityConfiguration
|
|
256
|
+
</summary>
|
|
257
|
+
|
|
258
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/emr-containers/command/CreateSecurityConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-emr-containers/Interface/CreateSecurityConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-emr-containers/Interface/CreateSecurityConfigurationCommandOutput/)
|
|
259
|
+
|
|
252
260
|
</details>
|
|
253
261
|
<details>
|
|
254
262
|
<summary>
|
|
@@ -305,6 +313,14 @@ DescribeManagedEndpoint
|
|
|
305
313
|
|
|
306
314
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/emr-containers/command/DescribeManagedEndpointCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-emr-containers/Interface/DescribeManagedEndpointCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-emr-containers/Interface/DescribeManagedEndpointCommandOutput/)
|
|
307
315
|
|
|
316
|
+
</details>
|
|
317
|
+
<details>
|
|
318
|
+
<summary>
|
|
319
|
+
DescribeSecurityConfiguration
|
|
320
|
+
</summary>
|
|
321
|
+
|
|
322
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/emr-containers/command/DescribeSecurityConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-emr-containers/Interface/DescribeSecurityConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-emr-containers/Interface/DescribeSecurityConfigurationCommandOutput/)
|
|
323
|
+
|
|
308
324
|
</details>
|
|
309
325
|
<details>
|
|
310
326
|
<summary>
|
|
@@ -345,6 +361,14 @@ ListManagedEndpoints
|
|
|
345
361
|
|
|
346
362
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/emr-containers/command/ListManagedEndpointsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-emr-containers/Interface/ListManagedEndpointsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-emr-containers/Interface/ListManagedEndpointsCommandOutput/)
|
|
347
363
|
|
|
364
|
+
</details>
|
|
365
|
+
<details>
|
|
366
|
+
<summary>
|
|
367
|
+
ListSecurityConfigurations
|
|
368
|
+
</summary>
|
|
369
|
+
|
|
370
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/emr-containers/command/ListSecurityConfigurationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-emr-containers/Interface/ListSecurityConfigurationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-emr-containers/Interface/ListSecurityConfigurationsCommandOutput/)
|
|
371
|
+
|
|
348
372
|
</details>
|
|
349
373
|
<details>
|
|
350
374
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -22,6 +22,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
22
22
|
var src_exports = {};
|
|
23
23
|
__export(src_exports, {
|
|
24
24
|
CancelJobRunCommand: () => CancelJobRunCommand,
|
|
25
|
+
CertificateProviderType: () => CertificateProviderType,
|
|
25
26
|
ConfigurationFilterSensitiveLog: () => ConfigurationFilterSensitiveLog,
|
|
26
27
|
ConfigurationOverridesFilterSensitiveLog: () => ConfigurationOverridesFilterSensitiveLog,
|
|
27
28
|
ContainerInfo: () => ContainerInfo,
|
|
@@ -30,6 +31,7 @@ __export(src_exports, {
|
|
|
30
31
|
CreateJobTemplateRequestFilterSensitiveLog: () => CreateJobTemplateRequestFilterSensitiveLog,
|
|
31
32
|
CreateManagedEndpointCommand: () => CreateManagedEndpointCommand,
|
|
32
33
|
CreateManagedEndpointRequestFilterSensitiveLog: () => CreateManagedEndpointRequestFilterSensitiveLog,
|
|
34
|
+
CreateSecurityConfigurationCommand: () => CreateSecurityConfigurationCommand,
|
|
33
35
|
CreateVirtualClusterCommand: () => CreateVirtualClusterCommand,
|
|
34
36
|
Credentials: () => Credentials,
|
|
35
37
|
CredentialsFilterSensitiveLog: () => CredentialsFilterSensitiveLog,
|
|
@@ -42,6 +44,7 @@ __export(src_exports, {
|
|
|
42
44
|
DescribeJobTemplateResponseFilterSensitiveLog: () => DescribeJobTemplateResponseFilterSensitiveLog,
|
|
43
45
|
DescribeManagedEndpointCommand: () => DescribeManagedEndpointCommand,
|
|
44
46
|
DescribeManagedEndpointResponseFilterSensitiveLog: () => DescribeManagedEndpointResponseFilterSensitiveLog,
|
|
47
|
+
DescribeSecurityConfigurationCommand: () => DescribeSecurityConfigurationCommand,
|
|
45
48
|
DescribeVirtualClusterCommand: () => DescribeVirtualClusterCommand,
|
|
46
49
|
EKSRequestThrottledException: () => EKSRequestThrottledException,
|
|
47
50
|
EMRContainers: () => EMRContainers,
|
|
@@ -64,6 +67,7 @@ __export(src_exports, {
|
|
|
64
67
|
ListJobTemplatesResponseFilterSensitiveLog: () => ListJobTemplatesResponseFilterSensitiveLog,
|
|
65
68
|
ListManagedEndpointsCommand: () => ListManagedEndpointsCommand,
|
|
66
69
|
ListManagedEndpointsResponseFilterSensitiveLog: () => ListManagedEndpointsResponseFilterSensitiveLog,
|
|
70
|
+
ListSecurityConfigurationsCommand: () => ListSecurityConfigurationsCommand,
|
|
67
71
|
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
68
72
|
ListVirtualClustersCommand: () => ListVirtualClustersCommand,
|
|
69
73
|
ParametricConfigurationOverridesFilterSensitiveLog: () => ParametricConfigurationOverridesFilterSensitiveLog,
|
|
@@ -83,6 +87,7 @@ __export(src_exports, {
|
|
|
83
87
|
paginateListJobRuns: () => paginateListJobRuns,
|
|
84
88
|
paginateListJobTemplates: () => paginateListJobTemplates,
|
|
85
89
|
paginateListManagedEndpoints: () => paginateListManagedEndpoints,
|
|
90
|
+
paginateListSecurityConfigurations: () => paginateListSecurityConfigurations,
|
|
86
91
|
paginateListVirtualClusters: () => paginateListVirtualClusters
|
|
87
92
|
});
|
|
88
93
|
module.exports = __toCommonJS(src_exports);
|
|
@@ -261,6 +266,9 @@ var EMRContainersServiceException = _EMRContainersServiceException;
|
|
|
261
266
|
|
|
262
267
|
// src/models/models_0.ts
|
|
263
268
|
|
|
269
|
+
var CertificateProviderType = {
|
|
270
|
+
PEM: "PEM"
|
|
271
|
+
};
|
|
264
272
|
var _InternalServerException = class _InternalServerException extends EMRContainersServiceException {
|
|
265
273
|
/**
|
|
266
274
|
* @internal
|
|
@@ -566,6 +574,24 @@ var se_CreateManagedEndpointCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
566
574
|
b.m("POST").h(headers).b(body);
|
|
567
575
|
return b.build();
|
|
568
576
|
}, "se_CreateManagedEndpointCommand");
|
|
577
|
+
var se_CreateSecurityConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
578
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
579
|
+
const headers = {
|
|
580
|
+
"content-type": "application/json"
|
|
581
|
+
};
|
|
582
|
+
b.bp("/securityconfigurations");
|
|
583
|
+
let body;
|
|
584
|
+
body = JSON.stringify(
|
|
585
|
+
(0, import_smithy_client.take)(input, {
|
|
586
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
587
|
+
name: [],
|
|
588
|
+
securityConfigurationData: (_) => (0, import_smithy_client._json)(_),
|
|
589
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
590
|
+
})
|
|
591
|
+
);
|
|
592
|
+
b.m("POST").h(headers).b(body);
|
|
593
|
+
return b.build();
|
|
594
|
+
}, "se_CreateSecurityConfigurationCommand");
|
|
569
595
|
var se_CreateVirtualClusterCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
570
596
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
571
597
|
const headers = {
|
|
@@ -578,6 +604,7 @@ var se_CreateVirtualClusterCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
578
604
|
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
579
605
|
containerProvider: (_) => (0, import_smithy_client._json)(_),
|
|
580
606
|
name: [],
|
|
607
|
+
securityConfigurationId: [],
|
|
581
608
|
tags: (_) => (0, import_smithy_client._json)(_)
|
|
582
609
|
})
|
|
583
610
|
);
|
|
@@ -641,6 +668,15 @@ var se_DescribeManagedEndpointCommand = /* @__PURE__ */ __name(async (input, con
|
|
|
641
668
|
b.m("GET").h(headers).b(body);
|
|
642
669
|
return b.build();
|
|
643
670
|
}, "se_DescribeManagedEndpointCommand");
|
|
671
|
+
var se_DescribeSecurityConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
672
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
673
|
+
const headers = {};
|
|
674
|
+
b.bp("/securityconfigurations/{id}");
|
|
675
|
+
b.p("id", () => input.id, "{id}", false);
|
|
676
|
+
let body;
|
|
677
|
+
b.m("GET").h(headers).b(body);
|
|
678
|
+
return b.build();
|
|
679
|
+
}, "se_DescribeSecurityConfigurationCommand");
|
|
644
680
|
var se_DescribeVirtualClusterCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
645
681
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
646
682
|
const headers = {};
|
|
@@ -719,6 +755,20 @@ var se_ListManagedEndpointsCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
719
755
|
b.m("GET").h(headers).q(query).b(body);
|
|
720
756
|
return b.build();
|
|
721
757
|
}, "se_ListManagedEndpointsCommand");
|
|
758
|
+
var se_ListSecurityConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
759
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
760
|
+
const headers = {};
|
|
761
|
+
b.bp("/securityconfigurations");
|
|
762
|
+
const query = (0, import_smithy_client.map)({
|
|
763
|
+
[_cA]: [() => input.createdAfter !== void 0, () => (input[_cA].toISOString().split(".")[0] + "Z").toString()],
|
|
764
|
+
[_cB]: [() => input.createdBefore !== void 0, () => (input[_cB].toISOString().split(".")[0] + "Z").toString()],
|
|
765
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
766
|
+
[_nT]: [, input[_nT]]
|
|
767
|
+
});
|
|
768
|
+
let body;
|
|
769
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
770
|
+
return b.build();
|
|
771
|
+
}, "se_ListSecurityConfigurationsCommand");
|
|
722
772
|
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
723
773
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
724
774
|
const headers = {};
|
|
@@ -851,6 +901,22 @@ var de_CreateManagedEndpointCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
851
901
|
Object.assign(contents, doc);
|
|
852
902
|
return contents;
|
|
853
903
|
}, "de_CreateManagedEndpointCommand");
|
|
904
|
+
var de_CreateSecurityConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
905
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
906
|
+
return de_CommandError(output, context);
|
|
907
|
+
}
|
|
908
|
+
const contents = (0, import_smithy_client.map)({
|
|
909
|
+
$metadata: deserializeMetadata(output)
|
|
910
|
+
});
|
|
911
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
912
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
913
|
+
arn: import_smithy_client.expectString,
|
|
914
|
+
id: import_smithy_client.expectString,
|
|
915
|
+
name: import_smithy_client.expectString
|
|
916
|
+
});
|
|
917
|
+
Object.assign(contents, doc);
|
|
918
|
+
return contents;
|
|
919
|
+
}, "de_CreateSecurityConfigurationCommand");
|
|
854
920
|
var de_CreateVirtualClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
855
921
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
856
922
|
return de_CommandError(output, context);
|
|
@@ -952,6 +1018,20 @@ var de_DescribeManagedEndpointCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
952
1018
|
Object.assign(contents, doc);
|
|
953
1019
|
return contents;
|
|
954
1020
|
}, "de_DescribeManagedEndpointCommand");
|
|
1021
|
+
var de_DescribeSecurityConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1022
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1023
|
+
return de_CommandError(output, context);
|
|
1024
|
+
}
|
|
1025
|
+
const contents = (0, import_smithy_client.map)({
|
|
1026
|
+
$metadata: deserializeMetadata(output)
|
|
1027
|
+
});
|
|
1028
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1029
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1030
|
+
securityConfiguration: (_) => de_SecurityConfiguration(_, context)
|
|
1031
|
+
});
|
|
1032
|
+
Object.assign(contents, doc);
|
|
1033
|
+
return contents;
|
|
1034
|
+
}, "de_DescribeSecurityConfigurationCommand");
|
|
955
1035
|
var de_DescribeVirtualClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
956
1036
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
957
1037
|
return de_CommandError(output, context);
|
|
@@ -1027,6 +1107,21 @@ var de_ListManagedEndpointsCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1027
1107
|
Object.assign(contents, doc);
|
|
1028
1108
|
return contents;
|
|
1029
1109
|
}, "de_ListManagedEndpointsCommand");
|
|
1110
|
+
var de_ListSecurityConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1111
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1112
|
+
return de_CommandError(output, context);
|
|
1113
|
+
}
|
|
1114
|
+
const contents = (0, import_smithy_client.map)({
|
|
1115
|
+
$metadata: deserializeMetadata(output)
|
|
1116
|
+
});
|
|
1117
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1118
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1119
|
+
nextToken: import_smithy_client.expectString,
|
|
1120
|
+
securityConfigurations: (_) => de_SecurityConfigurations(_, context)
|
|
1121
|
+
});
|
|
1122
|
+
Object.assign(contents, doc);
|
|
1123
|
+
return contents;
|
|
1124
|
+
}, "de_ListSecurityConfigurationsCommand");
|
|
1030
1125
|
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1031
1126
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1032
1127
|
return de_CommandError(output, context);
|
|
@@ -1334,6 +1429,23 @@ var de_ParametricConfigurationOverrides = /* @__PURE__ */ __name((output, contex
|
|
|
1334
1429
|
monitoringConfiguration: import_smithy_client._json
|
|
1335
1430
|
});
|
|
1336
1431
|
}, "de_ParametricConfigurationOverrides");
|
|
1432
|
+
var de_SecurityConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
1433
|
+
return (0, import_smithy_client.take)(output, {
|
|
1434
|
+
arn: import_smithy_client.expectString,
|
|
1435
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1436
|
+
createdBy: import_smithy_client.expectString,
|
|
1437
|
+
id: import_smithy_client.expectString,
|
|
1438
|
+
name: import_smithy_client.expectString,
|
|
1439
|
+
securityConfigurationData: import_smithy_client._json,
|
|
1440
|
+
tags: import_smithy_client._json
|
|
1441
|
+
});
|
|
1442
|
+
}, "de_SecurityConfiguration");
|
|
1443
|
+
var de_SecurityConfigurations = /* @__PURE__ */ __name((output, context) => {
|
|
1444
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1445
|
+
return de_SecurityConfiguration(entry, context);
|
|
1446
|
+
});
|
|
1447
|
+
return retVal;
|
|
1448
|
+
}, "de_SecurityConfigurations");
|
|
1337
1449
|
var de_VirtualCluster = /* @__PURE__ */ __name((output, context) => {
|
|
1338
1450
|
return (0, import_smithy_client.take)(output, {
|
|
1339
1451
|
arn: import_smithy_client.expectString,
|
|
@@ -1341,6 +1453,7 @@ var de_VirtualCluster = /* @__PURE__ */ __name((output, context) => {
|
|
|
1341
1453
|
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1342
1454
|
id: import_smithy_client.expectString,
|
|
1343
1455
|
name: import_smithy_client.expectString,
|
|
1456
|
+
securityConfigurationId: import_smithy_client.expectString,
|
|
1344
1457
|
state: import_smithy_client.expectString,
|
|
1345
1458
|
tags: import_smithy_client._json
|
|
1346
1459
|
});
|
|
@@ -1416,6 +1529,23 @@ var _CreateManagedEndpointCommand = class _CreateManagedEndpointCommand extends
|
|
|
1416
1529
|
__name(_CreateManagedEndpointCommand, "CreateManagedEndpointCommand");
|
|
1417
1530
|
var CreateManagedEndpointCommand = _CreateManagedEndpointCommand;
|
|
1418
1531
|
|
|
1532
|
+
// src/commands/CreateSecurityConfigurationCommand.ts
|
|
1533
|
+
|
|
1534
|
+
|
|
1535
|
+
|
|
1536
|
+
|
|
1537
|
+
var _CreateSecurityConfigurationCommand = class _CreateSecurityConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1538
|
+
...commonParams
|
|
1539
|
+
}).m(function(Command, cs, config, o) {
|
|
1540
|
+
return [
|
|
1541
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1542
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1543
|
+
];
|
|
1544
|
+
}).s("AwsChicagoWebService", "CreateSecurityConfiguration", {}).n("EMRContainersClient", "CreateSecurityConfigurationCommand").f(void 0, void 0).ser(se_CreateSecurityConfigurationCommand).de(de_CreateSecurityConfigurationCommand).build() {
|
|
1545
|
+
};
|
|
1546
|
+
__name(_CreateSecurityConfigurationCommand, "CreateSecurityConfigurationCommand");
|
|
1547
|
+
var CreateSecurityConfigurationCommand = _CreateSecurityConfigurationCommand;
|
|
1548
|
+
|
|
1419
1549
|
// src/commands/CreateVirtualClusterCommand.ts
|
|
1420
1550
|
|
|
1421
1551
|
|
|
@@ -1535,6 +1665,23 @@ var _DescribeManagedEndpointCommand = class _DescribeManagedEndpointCommand exte
|
|
|
1535
1665
|
__name(_DescribeManagedEndpointCommand, "DescribeManagedEndpointCommand");
|
|
1536
1666
|
var DescribeManagedEndpointCommand = _DescribeManagedEndpointCommand;
|
|
1537
1667
|
|
|
1668
|
+
// src/commands/DescribeSecurityConfigurationCommand.ts
|
|
1669
|
+
|
|
1670
|
+
|
|
1671
|
+
|
|
1672
|
+
|
|
1673
|
+
var _DescribeSecurityConfigurationCommand = class _DescribeSecurityConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1674
|
+
...commonParams
|
|
1675
|
+
}).m(function(Command, cs, config, o) {
|
|
1676
|
+
return [
|
|
1677
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1678
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1679
|
+
];
|
|
1680
|
+
}).s("AwsChicagoWebService", "DescribeSecurityConfiguration", {}).n("EMRContainersClient", "DescribeSecurityConfigurationCommand").f(void 0, void 0).ser(se_DescribeSecurityConfigurationCommand).de(de_DescribeSecurityConfigurationCommand).build() {
|
|
1681
|
+
};
|
|
1682
|
+
__name(_DescribeSecurityConfigurationCommand, "DescribeSecurityConfigurationCommand");
|
|
1683
|
+
var DescribeSecurityConfigurationCommand = _DescribeSecurityConfigurationCommand;
|
|
1684
|
+
|
|
1538
1685
|
// src/commands/DescribeVirtualClusterCommand.ts
|
|
1539
1686
|
|
|
1540
1687
|
|
|
@@ -1620,6 +1767,23 @@ var _ListManagedEndpointsCommand = class _ListManagedEndpointsCommand extends im
|
|
|
1620
1767
|
__name(_ListManagedEndpointsCommand, "ListManagedEndpointsCommand");
|
|
1621
1768
|
var ListManagedEndpointsCommand = _ListManagedEndpointsCommand;
|
|
1622
1769
|
|
|
1770
|
+
// src/commands/ListSecurityConfigurationsCommand.ts
|
|
1771
|
+
|
|
1772
|
+
|
|
1773
|
+
|
|
1774
|
+
|
|
1775
|
+
var _ListSecurityConfigurationsCommand = class _ListSecurityConfigurationsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1776
|
+
...commonParams
|
|
1777
|
+
}).m(function(Command, cs, config, o) {
|
|
1778
|
+
return [
|
|
1779
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1780
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1781
|
+
];
|
|
1782
|
+
}).s("AwsChicagoWebService", "ListSecurityConfigurations", {}).n("EMRContainersClient", "ListSecurityConfigurationsCommand").f(void 0, void 0).ser(se_ListSecurityConfigurationsCommand).de(de_ListSecurityConfigurationsCommand).build() {
|
|
1783
|
+
};
|
|
1784
|
+
__name(_ListSecurityConfigurationsCommand, "ListSecurityConfigurationsCommand");
|
|
1785
|
+
var ListSecurityConfigurationsCommand = _ListSecurityConfigurationsCommand;
|
|
1786
|
+
|
|
1623
1787
|
// src/commands/ListTagsForResourceCommand.ts
|
|
1624
1788
|
|
|
1625
1789
|
|
|
@@ -1710,6 +1874,7 @@ var commands = {
|
|
|
1710
1874
|
CancelJobRunCommand,
|
|
1711
1875
|
CreateJobTemplateCommand,
|
|
1712
1876
|
CreateManagedEndpointCommand,
|
|
1877
|
+
CreateSecurityConfigurationCommand,
|
|
1713
1878
|
CreateVirtualClusterCommand,
|
|
1714
1879
|
DeleteJobTemplateCommand,
|
|
1715
1880
|
DeleteManagedEndpointCommand,
|
|
@@ -1717,11 +1882,13 @@ var commands = {
|
|
|
1717
1882
|
DescribeJobRunCommand,
|
|
1718
1883
|
DescribeJobTemplateCommand,
|
|
1719
1884
|
DescribeManagedEndpointCommand,
|
|
1885
|
+
DescribeSecurityConfigurationCommand,
|
|
1720
1886
|
DescribeVirtualClusterCommand,
|
|
1721
1887
|
GetManagedEndpointSessionCredentialsCommand,
|
|
1722
1888
|
ListJobRunsCommand,
|
|
1723
1889
|
ListJobTemplatesCommand,
|
|
1724
1890
|
ListManagedEndpointsCommand,
|
|
1891
|
+
ListSecurityConfigurationsCommand,
|
|
1725
1892
|
ListTagsForResourceCommand,
|
|
1726
1893
|
ListVirtualClustersCommand,
|
|
1727
1894
|
StartJobRunCommand,
|
|
@@ -1746,6 +1913,10 @@ var paginateListJobTemplates = (0, import_core.createPaginator)(EMRContainersCli
|
|
|
1746
1913
|
|
|
1747
1914
|
var paginateListManagedEndpoints = (0, import_core.createPaginator)(EMRContainersClient, ListManagedEndpointsCommand, "nextToken", "nextToken", "maxResults");
|
|
1748
1915
|
|
|
1916
|
+
// src/pagination/ListSecurityConfigurationsPaginator.ts
|
|
1917
|
+
|
|
1918
|
+
var paginateListSecurityConfigurations = (0, import_core.createPaginator)(EMRContainersClient, ListSecurityConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|
|
1919
|
+
|
|
1749
1920
|
// src/pagination/ListVirtualClustersPaginator.ts
|
|
1750
1921
|
|
|
1751
1922
|
var paginateListVirtualClusters = (0, import_core.createPaginator)(EMRContainersClient, ListVirtualClustersCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1760,6 +1931,7 @@ var paginateListVirtualClusters = (0, import_core.createPaginator)(EMRContainers
|
|
|
1760
1931
|
CancelJobRunCommand,
|
|
1761
1932
|
CreateJobTemplateCommand,
|
|
1762
1933
|
CreateManagedEndpointCommand,
|
|
1934
|
+
CreateSecurityConfigurationCommand,
|
|
1763
1935
|
CreateVirtualClusterCommand,
|
|
1764
1936
|
DeleteJobTemplateCommand,
|
|
1765
1937
|
DeleteManagedEndpointCommand,
|
|
@@ -1767,11 +1939,13 @@ var paginateListVirtualClusters = (0, import_core.createPaginator)(EMRContainers
|
|
|
1767
1939
|
DescribeJobRunCommand,
|
|
1768
1940
|
DescribeJobTemplateCommand,
|
|
1769
1941
|
DescribeManagedEndpointCommand,
|
|
1942
|
+
DescribeSecurityConfigurationCommand,
|
|
1770
1943
|
DescribeVirtualClusterCommand,
|
|
1771
1944
|
GetManagedEndpointSessionCredentialsCommand,
|
|
1772
1945
|
ListJobRunsCommand,
|
|
1773
1946
|
ListJobTemplatesCommand,
|
|
1774
1947
|
ListManagedEndpointsCommand,
|
|
1948
|
+
ListSecurityConfigurationsCommand,
|
|
1775
1949
|
ListTagsForResourceCommand,
|
|
1776
1950
|
ListVirtualClustersCommand,
|
|
1777
1951
|
StartJobRunCommand,
|
|
@@ -1780,7 +1954,9 @@ var paginateListVirtualClusters = (0, import_core.createPaginator)(EMRContainers
|
|
|
1780
1954
|
paginateListJobRuns,
|
|
1781
1955
|
paginateListJobTemplates,
|
|
1782
1956
|
paginateListManagedEndpoints,
|
|
1957
|
+
paginateListSecurityConfigurations,
|
|
1783
1958
|
paginateListVirtualClusters,
|
|
1959
|
+
CertificateProviderType,
|
|
1784
1960
|
InternalServerException,
|
|
1785
1961
|
ValidationException,
|
|
1786
1962
|
TemplateParameterDataType,
|
package/dist-es/EMRContainers.js
CHANGED
|
@@ -2,6 +2,7 @@ import { createAggregatedClient } from "@smithy/smithy-client";
|
|
|
2
2
|
import { CancelJobRunCommand, } from "./commands/CancelJobRunCommand";
|
|
3
3
|
import { CreateJobTemplateCommand, } from "./commands/CreateJobTemplateCommand";
|
|
4
4
|
import { CreateManagedEndpointCommand, } from "./commands/CreateManagedEndpointCommand";
|
|
5
|
+
import { CreateSecurityConfigurationCommand, } from "./commands/CreateSecurityConfigurationCommand";
|
|
5
6
|
import { CreateVirtualClusterCommand, } from "./commands/CreateVirtualClusterCommand";
|
|
6
7
|
import { DeleteJobTemplateCommand, } from "./commands/DeleteJobTemplateCommand";
|
|
7
8
|
import { DeleteManagedEndpointCommand, } from "./commands/DeleteManagedEndpointCommand";
|
|
@@ -9,11 +10,13 @@ import { DeleteVirtualClusterCommand, } from "./commands/DeleteVirtualClusterCom
|
|
|
9
10
|
import { DescribeJobRunCommand, } from "./commands/DescribeJobRunCommand";
|
|
10
11
|
import { DescribeJobTemplateCommand, } from "./commands/DescribeJobTemplateCommand";
|
|
11
12
|
import { DescribeManagedEndpointCommand, } from "./commands/DescribeManagedEndpointCommand";
|
|
13
|
+
import { DescribeSecurityConfigurationCommand, } from "./commands/DescribeSecurityConfigurationCommand";
|
|
12
14
|
import { DescribeVirtualClusterCommand, } from "./commands/DescribeVirtualClusterCommand";
|
|
13
15
|
import { GetManagedEndpointSessionCredentialsCommand, } from "./commands/GetManagedEndpointSessionCredentialsCommand";
|
|
14
16
|
import { ListJobRunsCommand } from "./commands/ListJobRunsCommand";
|
|
15
17
|
import { ListJobTemplatesCommand, } from "./commands/ListJobTemplatesCommand";
|
|
16
18
|
import { ListManagedEndpointsCommand, } from "./commands/ListManagedEndpointsCommand";
|
|
19
|
+
import { ListSecurityConfigurationsCommand, } from "./commands/ListSecurityConfigurationsCommand";
|
|
17
20
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
18
21
|
import { ListVirtualClustersCommand, } from "./commands/ListVirtualClustersCommand";
|
|
19
22
|
import { StartJobRunCommand } from "./commands/StartJobRunCommand";
|
|
@@ -24,6 +27,7 @@ const commands = {
|
|
|
24
27
|
CancelJobRunCommand,
|
|
25
28
|
CreateJobTemplateCommand,
|
|
26
29
|
CreateManagedEndpointCommand,
|
|
30
|
+
CreateSecurityConfigurationCommand,
|
|
27
31
|
CreateVirtualClusterCommand,
|
|
28
32
|
DeleteJobTemplateCommand,
|
|
29
33
|
DeleteManagedEndpointCommand,
|
|
@@ -31,11 +35,13 @@ const commands = {
|
|
|
31
35
|
DescribeJobRunCommand,
|
|
32
36
|
DescribeJobTemplateCommand,
|
|
33
37
|
DescribeManagedEndpointCommand,
|
|
38
|
+
DescribeSecurityConfigurationCommand,
|
|
34
39
|
DescribeVirtualClusterCommand,
|
|
35
40
|
GetManagedEndpointSessionCredentialsCommand,
|
|
36
41
|
ListJobRunsCommand,
|
|
37
42
|
ListJobTemplatesCommand,
|
|
38
43
|
ListManagedEndpointsCommand,
|
|
44
|
+
ListSecurityConfigurationsCommand,
|
|
39
45
|
ListTagsForResourceCommand,
|
|
40
46
|
ListVirtualClustersCommand,
|
|
41
47
|
StartJobRunCommand,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CreateSecurityConfigurationCommand, se_CreateSecurityConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateSecurityConfigurationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AwsChicagoWebService", "CreateSecurityConfiguration", {})
|
|
19
|
+
.n("EMRContainersClient", "CreateSecurityConfigurationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateSecurityConfigurationCommand)
|
|
22
|
+
.de(de_CreateSecurityConfigurationCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DescribeSecurityConfigurationCommand, se_DescribeSecurityConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DescribeSecurityConfigurationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AwsChicagoWebService", "DescribeSecurityConfiguration", {})
|
|
19
|
+
.n("EMRContainersClient", "DescribeSecurityConfigurationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeSecurityConfigurationCommand)
|
|
22
|
+
.de(de_DescribeSecurityConfigurationCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListSecurityConfigurationsCommand, se_ListSecurityConfigurationsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListSecurityConfigurationsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AwsChicagoWebService", "ListSecurityConfigurations", {})
|
|
19
|
+
.n("EMRContainersClient", "ListSecurityConfigurationsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListSecurityConfigurationsCommand)
|
|
22
|
+
.de(de_ListSecurityConfigurationsCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -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,8 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { EMRContainersServiceException as __BaseException } from "./EMRContainersServiceException";
|
|
3
|
+
export const CertificateProviderType = {
|
|
4
|
+
PEM: "PEM",
|
|
5
|
+
};
|
|
3
6
|
export class InternalServerException extends __BaseException {
|
|
4
7
|
constructor(opts) {
|
|
5
8
|
super({
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListSecurityConfigurationsCommand, } from "../commands/ListSecurityConfigurationsCommand";
|
|
3
|
+
import { EMRContainersClient } from "../EMRContainersClient";
|
|
4
|
+
export const paginateListSecurityConfigurations = createPaginator(EMRContainersClient, ListSecurityConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -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";
|