@aws-sdk/client-emr-serverless 3.299.0 → 3.301.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.
@@ -26,6 +26,10 @@ export interface CancelJobRunCommandOutput extends CancelJobRunResponse, __Metad
26
26
  * import { EMRServerlessClient, CancelJobRunCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
27
27
  * // const { EMRServerlessClient, CancelJobRunCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
28
28
  * const client = new EMRServerlessClient(config);
29
+ * const input = { // CancelJobRunRequest
30
+ * applicationId: "STRING_VALUE", // required
31
+ * jobRunId: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new CancelJobRunCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,56 @@ export interface CreateApplicationCommandOutput extends CreateApplicationRespons
26
26
  * import { EMRServerlessClient, CreateApplicationCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
27
27
  * // const { EMRServerlessClient, CreateApplicationCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
28
28
  * const client = new EMRServerlessClient(config);
29
+ * const input = { // CreateApplicationRequest
30
+ * name: "STRING_VALUE",
31
+ * releaseLabel: "STRING_VALUE", // required
32
+ * type: "STRING_VALUE", // required
33
+ * clientToken: "STRING_VALUE", // required
34
+ * initialCapacity: { // InitialCapacityConfigMap
35
+ * "<keys>": { // InitialCapacityConfig
36
+ * workerCount: Number("long"), // required
37
+ * workerConfiguration: { // WorkerResourceConfig
38
+ * cpu: "STRING_VALUE", // required
39
+ * memory: "STRING_VALUE", // required
40
+ * disk: "STRING_VALUE",
41
+ * },
42
+ * },
43
+ * },
44
+ * maximumCapacity: { // MaximumAllowedResources
45
+ * cpu: "STRING_VALUE", // required
46
+ * memory: "STRING_VALUE", // required
47
+ * disk: "STRING_VALUE",
48
+ * },
49
+ * tags: { // TagMap
50
+ * "<keys>": "STRING_VALUE",
51
+ * },
52
+ * autoStartConfiguration: { // AutoStartConfig
53
+ * enabled: true || false,
54
+ * },
55
+ * autoStopConfiguration: { // AutoStopConfig
56
+ * enabled: true || false,
57
+ * idleTimeoutMinutes: Number("int"),
58
+ * },
59
+ * networkConfiguration: { // NetworkConfiguration
60
+ * subnetIds: [ // SubnetIds
61
+ * "STRING_VALUE",
62
+ * ],
63
+ * securityGroupIds: [ // SecurityGroupIds
64
+ * "STRING_VALUE",
65
+ * ],
66
+ * },
67
+ * architecture: "STRING_VALUE",
68
+ * imageConfiguration: { // ImageConfigurationInput
69
+ * imageUri: "STRING_VALUE",
70
+ * },
71
+ * workerTypeSpecifications: { // WorkerTypeSpecificationInputMap
72
+ * "<keys>": { // WorkerTypeSpecificationInput
73
+ * imageConfiguration: {
74
+ * imageUri: "STRING_VALUE",
75
+ * },
76
+ * },
77
+ * },
78
+ * };
29
79
  * const command = new CreateApplicationCommand(input);
30
80
  * const response = await client.send(command);
31
81
  * ```
@@ -27,6 +27,9 @@ export interface DeleteApplicationCommandOutput extends DeleteApplicationRespons
27
27
  * import { EMRServerlessClient, DeleteApplicationCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
28
28
  * // const { EMRServerlessClient, DeleteApplicationCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
29
29
  * const client = new EMRServerlessClient(config);
30
+ * const input = { // DeleteApplicationRequest
31
+ * applicationId: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new DeleteApplicationCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -26,6 +26,9 @@ export interface GetApplicationCommandOutput extends GetApplicationResponse, __M
26
26
  * import { EMRServerlessClient, GetApplicationCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
27
27
  * // const { EMRServerlessClient, GetApplicationCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
28
28
  * const client = new EMRServerlessClient(config);
29
+ * const input = { // GetApplicationRequest
30
+ * applicationId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetApplicationCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,10 @@ export interface GetDashboardForJobRunCommandOutput extends GetDashboardForJobRu
26
26
  * import { EMRServerlessClient, GetDashboardForJobRunCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
27
27
  * // const { EMRServerlessClient, GetDashboardForJobRunCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
28
28
  * const client = new EMRServerlessClient(config);
29
+ * const input = { // GetDashboardForJobRunRequest
30
+ * applicationId: "STRING_VALUE", // required
31
+ * jobRunId: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new GetDashboardForJobRunCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,10 @@ export interface GetJobRunCommandOutput extends GetJobRunResponse, __MetadataBea
26
26
  * import { EMRServerlessClient, GetJobRunCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
27
27
  * // const { EMRServerlessClient, GetJobRunCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
28
28
  * const client = new EMRServerlessClient(config);
29
+ * const input = { // GetJobRunRequest
30
+ * applicationId: "STRING_VALUE", // required
31
+ * jobRunId: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new GetJobRunCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,13 @@ export interface ListApplicationsCommandOutput extends ListApplicationsResponse,
26
26
  * import { EMRServerlessClient, ListApplicationsCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
27
27
  * // const { EMRServerlessClient, ListApplicationsCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
28
28
  * const client = new EMRServerlessClient(config);
29
+ * const input = { // ListApplicationsRequest
30
+ * nextToken: "STRING_VALUE",
31
+ * maxResults: Number("int"),
32
+ * states: [ // ApplicationStateSet
33
+ * "STRING_VALUE",
34
+ * ],
35
+ * };
29
36
  * const command = new ListApplicationsCommand(input);
30
37
  * const response = await client.send(command);
31
38
  * ```
@@ -26,6 +26,16 @@ export interface ListJobRunsCommandOutput extends ListJobRunsResponse, __Metadat
26
26
  * import { EMRServerlessClient, ListJobRunsCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
27
27
  * // const { EMRServerlessClient, ListJobRunsCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
28
28
  * const client = new EMRServerlessClient(config);
29
+ * const input = { // ListJobRunsRequest
30
+ * applicationId: "STRING_VALUE", // required
31
+ * nextToken: "STRING_VALUE",
32
+ * maxResults: Number("int"),
33
+ * createdAtAfter: new Date("TIMESTAMP"),
34
+ * createdAtBefore: new Date("TIMESTAMP"),
35
+ * states: [ // JobRunStateSet
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * };
29
39
  * const command = new ListJobRunsCommand(input);
30
40
  * const response = await client.send(command);
31
41
  * ```
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { EMRServerlessClient, ListTagsForResourceCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
27
27
  * // const { EMRServerlessClient, ListTagsForResourceCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
28
28
  * const client = new EMRServerlessClient(config);
29
+ * const input = { // ListTagsForResourceRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new ListTagsForResourceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface StartApplicationCommandOutput extends StartApplicationResponse,
26
26
  * import { EMRServerlessClient, StartApplicationCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
27
27
  * // const { EMRServerlessClient, StartApplicationCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
28
28
  * const client = new EMRServerlessClient(config);
29
+ * const input = { // StartApplicationRequest
30
+ * applicationId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new StartApplicationCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,59 @@ export interface StartJobRunCommandOutput extends StartJobRunResponse, __Metadat
26
26
  * import { EMRServerlessClient, StartJobRunCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
27
27
  * // const { EMRServerlessClient, StartJobRunCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
28
28
  * const client = new EMRServerlessClient(config);
29
+ * const input = { // StartJobRunRequest
30
+ * applicationId: "STRING_VALUE", // required
31
+ * clientToken: "STRING_VALUE", // required
32
+ * executionRoleArn: "STRING_VALUE", // required
33
+ * jobDriver: { // JobDriver Union: only one key present
34
+ * sparkSubmit: { // SparkSubmit
35
+ * entryPoint: "STRING_VALUE", // required
36
+ * entryPointArguments: [ // EntryPointArguments
37
+ * "STRING_VALUE",
38
+ * ],
39
+ * sparkSubmitParameters: "STRING_VALUE",
40
+ * },
41
+ * hive: { // Hive
42
+ * query: "STRING_VALUE", // required
43
+ * initQueryFile: "STRING_VALUE",
44
+ * parameters: "STRING_VALUE",
45
+ * },
46
+ * },
47
+ * configurationOverrides: { // ConfigurationOverrides
48
+ * applicationConfiguration: [ // ConfigurationList
49
+ * { // Configuration
50
+ * classification: "STRING_VALUE", // required
51
+ * properties: { // SensitivePropertiesMap
52
+ * "<keys>": "STRING_VALUE",
53
+ * },
54
+ * configurations: [
55
+ * {
56
+ * classification: "STRING_VALUE", // required
57
+ * properties: {
58
+ * "<keys>": "STRING_VALUE",
59
+ * },
60
+ * configurations: "<ConfigurationList>",
61
+ * },
62
+ * ],
63
+ * },
64
+ * ],
65
+ * monitoringConfiguration: { // MonitoringConfiguration
66
+ * s3MonitoringConfiguration: { // S3MonitoringConfiguration
67
+ * logUri: "STRING_VALUE",
68
+ * encryptionKeyArn: "STRING_VALUE",
69
+ * },
70
+ * managedPersistenceMonitoringConfiguration: { // ManagedPersistenceMonitoringConfiguration
71
+ * enabled: true || false,
72
+ * encryptionKeyArn: "STRING_VALUE",
73
+ * },
74
+ * },
75
+ * },
76
+ * tags: { // TagMap
77
+ * "<keys>": "STRING_VALUE",
78
+ * },
79
+ * executionTimeoutMinutes: Number("long"),
80
+ * name: "STRING_VALUE",
81
+ * };
29
82
  * const command = new StartJobRunCommand(input);
30
83
  * const response = await client.send(command);
31
84
  * ```
@@ -27,6 +27,9 @@ export interface StopApplicationCommandOutput extends StopApplicationResponse, _
27
27
  * import { EMRServerlessClient, StopApplicationCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
28
28
  * // const { EMRServerlessClient, StopApplicationCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
29
29
  * const client = new EMRServerlessClient(config);
30
+ * const input = { // StopApplicationRequest
31
+ * applicationId: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new StopApplicationCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -30,6 +30,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
30
30
  * import { EMRServerlessClient, TagResourceCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
31
31
  * // const { EMRServerlessClient, TagResourceCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
32
32
  * const client = new EMRServerlessClient(config);
33
+ * const input = { // TagResourceRequest
34
+ * resourceArn: "STRING_VALUE", // required
35
+ * tags: { // TagMap // required
36
+ * "<keys>": "STRING_VALUE",
37
+ * },
38
+ * };
33
39
  * const command = new TagResourceCommand(input);
34
40
  * const response = await client.send(command);
35
41
  * ```
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { EMRServerlessClient, UntagResourceCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
27
27
  * // const { EMRServerlessClient, UntagResourceCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
28
28
  * const client = new EMRServerlessClient(config);
29
+ * const input = { // UntagResourceRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * tagKeys: [ // TagKeyList // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -27,6 +27,51 @@ export interface UpdateApplicationCommandOutput extends UpdateApplicationRespons
27
27
  * import { EMRServerlessClient, UpdateApplicationCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
28
28
  * // const { EMRServerlessClient, UpdateApplicationCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
29
29
  * const client = new EMRServerlessClient(config);
30
+ * const input = { // UpdateApplicationRequest
31
+ * applicationId: "STRING_VALUE", // required
32
+ * clientToken: "STRING_VALUE", // required
33
+ * initialCapacity: { // InitialCapacityConfigMap
34
+ * "<keys>": { // InitialCapacityConfig
35
+ * workerCount: Number("long"), // required
36
+ * workerConfiguration: { // WorkerResourceConfig
37
+ * cpu: "STRING_VALUE", // required
38
+ * memory: "STRING_VALUE", // required
39
+ * disk: "STRING_VALUE",
40
+ * },
41
+ * },
42
+ * },
43
+ * maximumCapacity: { // MaximumAllowedResources
44
+ * cpu: "STRING_VALUE", // required
45
+ * memory: "STRING_VALUE", // required
46
+ * disk: "STRING_VALUE",
47
+ * },
48
+ * autoStartConfiguration: { // AutoStartConfig
49
+ * enabled: true || false,
50
+ * },
51
+ * autoStopConfiguration: { // AutoStopConfig
52
+ * enabled: true || false,
53
+ * idleTimeoutMinutes: Number("int"),
54
+ * },
55
+ * networkConfiguration: { // NetworkConfiguration
56
+ * subnetIds: [ // SubnetIds
57
+ * "STRING_VALUE",
58
+ * ],
59
+ * securityGroupIds: [ // SecurityGroupIds
60
+ * "STRING_VALUE",
61
+ * ],
62
+ * },
63
+ * architecture: "STRING_VALUE",
64
+ * imageConfiguration: { // ImageConfigurationInput
65
+ * imageUri: "STRING_VALUE",
66
+ * },
67
+ * workerTypeSpecifications: { // WorkerTypeSpecificationInputMap
68
+ * "<keys>": { // WorkerTypeSpecificationInput
69
+ * imageConfiguration: {
70
+ * imageUri: "STRING_VALUE",
71
+ * },
72
+ * },
73
+ * },
74
+ * };
30
75
  * const command = new UpdateApplicationCommand(input);
31
76
  * const response = await client.send(command);
32
77
  * ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-emr-serverless",
3
3
  "description": "AWS SDK for JavaScript Emr Serverless Client for Node.js, Browser and React Native",
4
- "version": "3.299.0",
4
+ "version": "3.301.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.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"