@aws-sdk/client-emr-serverless 3.948.0 → 3.953.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 +307 -213
- package/dist-cjs/runtimeConfig.shared.js +6 -1
- package/dist-es/commands/CancelJobRunCommand.js +2 -2
- package/dist-es/commands/CreateApplicationCommand.js +2 -2
- package/dist-es/commands/DeleteApplicationCommand.js +2 -2
- package/dist-es/commands/GetApplicationCommand.js +2 -2
- package/dist-es/commands/GetDashboardForJobRunCommand.js +2 -2
- package/dist-es/commands/GetJobRunCommand.js +2 -2
- package/dist-es/commands/ListApplicationsCommand.js +2 -2
- package/dist-es/commands/ListJobRunAttemptsCommand.js +2 -2
- package/dist-es/commands/ListJobRunsCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/StartApplicationCommand.js +2 -2
- package/dist-es/commands/StartJobRunCommand.js +2 -2
- package/dist-es/commands/StopApplicationCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateApplicationCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -1
- package/dist-es/schemas/schemas_0.js +206 -199
- package/dist-types/EMRServerlessClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +88 -112
- package/dist-types/ts3.4/EMRServerlessClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +87 -114
- package/package.json +34 -34
|
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
26
26
|
},
|
|
27
27
|
],
|
|
28
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
-
protocol: config?.protocol ??
|
|
29
|
+
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
31
|
+
defaultNamespace: "com.amazonaws.emrserverless",
|
|
32
|
+
version: "2021-07-13",
|
|
33
|
+
serviceTarget: "AwsToledoWebService",
|
|
34
|
+
},
|
|
30
35
|
serviceId: config?.serviceId ?? "EMR Serverless",
|
|
31
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
32
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { CancelJobRun } from "../schemas/schemas_0";
|
|
4
|
+
import { CancelJobRun$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class CancelJobRunCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class CancelJobRunCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AwsToledoWebService", "CancelJobRun", {})
|
|
13
13
|
.n("EMRServerlessClient", "CancelJobRunCommand")
|
|
14
|
-
.sc(CancelJobRun)
|
|
14
|
+
.sc(CancelJobRun$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { CreateApplication } from "../schemas/schemas_0";
|
|
4
|
+
import { CreateApplication$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class CreateApplicationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class CreateApplicationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AwsToledoWebService", "CreateApplication", {})
|
|
13
13
|
.n("EMRServerlessClient", "CreateApplicationCommand")
|
|
14
|
-
.sc(CreateApplication)
|
|
14
|
+
.sc(CreateApplication$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DeleteApplication } from "../schemas/schemas_0";
|
|
4
|
+
import { DeleteApplication$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DeleteApplicationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DeleteApplicationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AwsToledoWebService", "DeleteApplication", {})
|
|
13
13
|
.n("EMRServerlessClient", "DeleteApplicationCommand")
|
|
14
|
-
.sc(DeleteApplication)
|
|
14
|
+
.sc(DeleteApplication$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetApplication } from "../schemas/schemas_0";
|
|
4
|
+
import { GetApplication$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetApplicationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetApplicationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AwsToledoWebService", "GetApplication", {})
|
|
13
13
|
.n("EMRServerlessClient", "GetApplicationCommand")
|
|
14
|
-
.sc(GetApplication)
|
|
14
|
+
.sc(GetApplication$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetDashboardForJobRun } from "../schemas/schemas_0";
|
|
4
|
+
import { GetDashboardForJobRun$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetDashboardForJobRunCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetDashboardForJobRunCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AwsToledoWebService", "GetDashboardForJobRun", {})
|
|
13
13
|
.n("EMRServerlessClient", "GetDashboardForJobRunCommand")
|
|
14
|
-
.sc(GetDashboardForJobRun)
|
|
14
|
+
.sc(GetDashboardForJobRun$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetJobRun } from "../schemas/schemas_0";
|
|
4
|
+
import { GetJobRun$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetJobRunCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetJobRunCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AwsToledoWebService", "GetJobRun", {})
|
|
13
13
|
.n("EMRServerlessClient", "GetJobRunCommand")
|
|
14
|
-
.sc(GetJobRun)
|
|
14
|
+
.sc(GetJobRun$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListApplications } from "../schemas/schemas_0";
|
|
4
|
+
import { ListApplications$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListApplicationsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListApplicationsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AwsToledoWebService", "ListApplications", {})
|
|
13
13
|
.n("EMRServerlessClient", "ListApplicationsCommand")
|
|
14
|
-
.sc(ListApplications)
|
|
14
|
+
.sc(ListApplications$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListJobRunAttempts } from "../schemas/schemas_0";
|
|
4
|
+
import { ListJobRunAttempts$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListJobRunAttemptsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListJobRunAttemptsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AwsToledoWebService", "ListJobRunAttempts", {})
|
|
13
13
|
.n("EMRServerlessClient", "ListJobRunAttemptsCommand")
|
|
14
|
-
.sc(ListJobRunAttempts)
|
|
14
|
+
.sc(ListJobRunAttempts$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListJobRuns } from "../schemas/schemas_0";
|
|
4
|
+
import { ListJobRuns$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListJobRunsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListJobRunsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AwsToledoWebService", "ListJobRuns", {})
|
|
13
13
|
.n("EMRServerlessClient", "ListJobRunsCommand")
|
|
14
|
-
.sc(ListJobRuns)
|
|
14
|
+
.sc(ListJobRuns$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListTagsForResource } from "../schemas/schemas_0";
|
|
4
|
+
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListTagsForResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AwsToledoWebService", "ListTagsForResource", {})
|
|
13
13
|
.n("EMRServerlessClient", "ListTagsForResourceCommand")
|
|
14
|
-
.sc(ListTagsForResource)
|
|
14
|
+
.sc(ListTagsForResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { StartApplication } from "../schemas/schemas_0";
|
|
4
|
+
import { StartApplication$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class StartApplicationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class StartApplicationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AwsToledoWebService", "StartApplication", {})
|
|
13
13
|
.n("EMRServerlessClient", "StartApplicationCommand")
|
|
14
|
-
.sc(StartApplication)
|
|
14
|
+
.sc(StartApplication$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { StartJobRun } from "../schemas/schemas_0";
|
|
4
|
+
import { StartJobRun$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class StartJobRunCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class StartJobRunCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AwsToledoWebService", "StartJobRun", {})
|
|
13
13
|
.n("EMRServerlessClient", "StartJobRunCommand")
|
|
14
|
-
.sc(StartJobRun)
|
|
14
|
+
.sc(StartJobRun$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { StopApplication } from "../schemas/schemas_0";
|
|
4
|
+
import { StopApplication$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class StopApplicationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class StopApplicationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AwsToledoWebService", "StopApplication", {})
|
|
13
13
|
.n("EMRServerlessClient", "StopApplicationCommand")
|
|
14
|
-
.sc(StopApplication)
|
|
14
|
+
.sc(StopApplication$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { TagResource } from "../schemas/schemas_0";
|
|
4
|
+
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class TagResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AwsToledoWebService", "TagResource", {})
|
|
13
13
|
.n("EMRServerlessClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource)
|
|
14
|
+
.sc(TagResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UntagResource } from "../schemas/schemas_0";
|
|
4
|
+
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UntagResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AwsToledoWebService", "UntagResource", {})
|
|
13
13
|
.n("EMRServerlessClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource)
|
|
14
|
+
.sc(UntagResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateApplication } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateApplication$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateApplicationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateApplicationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AwsToledoWebService", "UpdateApplication", {})
|
|
13
13
|
.n("EMRServerlessClient", "UpdateApplicationCommand")
|
|
14
|
-
.sc(UpdateApplication)
|
|
14
|
+
.sc(UpdateApplication$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
26
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.emrserverless",
|
|
29
|
+
version: "2021-07-13",
|
|
30
|
+
serviceTarget: "AwsToledoWebService",
|
|
31
|
+
},
|
|
27
32
|
serviceId: config?.serviceId ?? "EMR Serverless",
|
|
28
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
29
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|