@aws-sdk/client-emr-serverless 3.927.0 → 3.929.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 (40) hide show
  1. package/dist-cjs/index.js +1024 -968
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/EMRServerlessClient.js +2 -0
  4. package/dist-es/commands/CancelJobRunCommand.js +3 -9
  5. package/dist-es/commands/CreateApplicationCommand.js +3 -10
  6. package/dist-es/commands/DeleteApplicationCommand.js +3 -9
  7. package/dist-es/commands/GetApplicationCommand.js +3 -10
  8. package/dist-es/commands/GetDashboardForJobRunCommand.js +3 -9
  9. package/dist-es/commands/GetJobRunCommand.js +3 -10
  10. package/dist-es/commands/ListApplicationsCommand.js +3 -9
  11. package/dist-es/commands/ListJobRunAttemptsCommand.js +3 -9
  12. package/dist-es/commands/ListJobRunsCommand.js +3 -9
  13. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  14. package/dist-es/commands/StartApplicationCommand.js +3 -9
  15. package/dist-es/commands/StartJobRunCommand.js +3 -10
  16. package/dist-es/commands/StopApplicationCommand.js +3 -9
  17. package/dist-es/commands/TagResourceCommand.js +3 -9
  18. package/dist-es/commands/UntagResourceCommand.js +3 -9
  19. package/dist-es/commands/UpdateApplicationCommand.js +3 -10
  20. package/dist-es/models/models_0.js +0 -78
  21. package/dist-es/runtimeConfig.shared.js +2 -0
  22. package/dist-es/schemas/schemas_0.js +991 -0
  23. package/dist-types/EMRServerlessClient.d.ts +10 -1
  24. package/dist-types/models/models_0.d.ts +0 -52
  25. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  26. package/dist-types/runtimeConfig.d.ts +1 -0
  27. package/dist-types/runtimeConfig.native.d.ts +1 -0
  28. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  29. package/dist-types/schemas/schemas_0.d.ts +112 -0
  30. package/dist-types/ts3.4/EMRServerlessClient.d.ts +4 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +0 -29
  32. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  33. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  34. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  35. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  36. package/dist-types/ts3.4/schemas/schemas_0.d.ts +119 -0
  37. package/package.json +5 -6
  38. package/dist-es/protocols/Aws_restJson1.js +0 -759
  39. package/dist-types/protocols/Aws_restJson1.d.ts +0 -146
  40. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -197
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.emrserverless" }),
28
30
  serviceId: config?.serviceId ?? "EMR Serverless",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class EMRServerlessClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CancelJobRunCommand, se_CancelJobRunCommand } from "../protocols/Aws_restJson1";
4
+ import { CancelJobRun } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CancelJobRunCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AwsToledoWebService", "CancelJobRun", {})
17
13
  .n("EMRServerlessClient", "CancelJobRunCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CancelJobRunCommand)
20
- .de(de_CancelJobRunCommand)
14
+ .sc(CancelJobRun)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { CreateApplicationRequestFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CreateApplicationCommand, se_CreateApplicationCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateApplication } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateApplicationCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AwsToledoWebService", "CreateApplication", {})
18
13
  .n("EMRServerlessClient", "CreateApplicationCommand")
19
- .f(CreateApplicationRequestFilterSensitiveLog, void 0)
20
- .ser(se_CreateApplicationCommand)
21
- .de(de_CreateApplicationCommand)
14
+ .sc(CreateApplication)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteApplicationCommand, se_DeleteApplicationCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteApplication } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteApplicationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AwsToledoWebService", "DeleteApplication", {})
17
13
  .n("EMRServerlessClient", "DeleteApplicationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteApplicationCommand)
20
- .de(de_DeleteApplicationCommand)
14
+ .sc(DeleteApplication)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { GetApplicationResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_GetApplicationCommand, se_GetApplicationCommand } from "../protocols/Aws_restJson1";
4
+ import { GetApplication } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetApplicationCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AwsToledoWebService", "GetApplication", {})
18
13
  .n("EMRServerlessClient", "GetApplicationCommand")
19
- .f(void 0, GetApplicationResponseFilterSensitiveLog)
20
- .ser(se_GetApplicationCommand)
21
- .de(de_GetApplicationCommand)
14
+ .sc(GetApplication)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetDashboardForJobRunCommand, se_GetDashboardForJobRunCommand } from "../protocols/Aws_restJson1";
4
+ import { GetDashboardForJobRun } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetDashboardForJobRunCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AwsToledoWebService", "GetDashboardForJobRun", {})
17
13
  .n("EMRServerlessClient", "GetDashboardForJobRunCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetDashboardForJobRunCommand)
20
- .de(de_GetDashboardForJobRunCommand)
14
+ .sc(GetDashboardForJobRun)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { GetJobRunResponseFilterSensitiveLog } from "../models/models_0";
6
- import { de_GetJobRunCommand, se_GetJobRunCommand } from "../protocols/Aws_restJson1";
4
+ import { GetJobRun } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetJobRunCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AwsToledoWebService", "GetJobRun", {})
18
13
  .n("EMRServerlessClient", "GetJobRunCommand")
19
- .f(void 0, GetJobRunResponseFilterSensitiveLog)
20
- .ser(se_GetJobRunCommand)
21
- .de(de_GetJobRunCommand)
14
+ .sc(GetJobRun)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListApplicationsCommand, se_ListApplicationsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListApplications } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListApplicationsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AwsToledoWebService", "ListApplications", {})
17
13
  .n("EMRServerlessClient", "ListApplicationsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListApplicationsCommand)
20
- .de(de_ListApplicationsCommand)
14
+ .sc(ListApplications)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListJobRunAttemptsCommand, se_ListJobRunAttemptsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListJobRunAttempts } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListJobRunAttemptsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AwsToledoWebService", "ListJobRunAttempts", {})
17
13
  .n("EMRServerlessClient", "ListJobRunAttemptsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListJobRunAttemptsCommand)
20
- .de(de_ListJobRunAttemptsCommand)
14
+ .sc(ListJobRunAttempts)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListJobRunsCommand, se_ListJobRunsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListJobRuns } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListJobRunsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AwsToledoWebService", "ListJobRuns", {})
17
13
  .n("EMRServerlessClient", "ListJobRunsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListJobRunsCommand)
20
- .de(de_ListJobRunsCommand)
14
+ .sc(ListJobRuns)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AwsToledoWebService", "ListTagsForResource", {})
17
13
  .n("EMRServerlessClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StartApplicationCommand, se_StartApplicationCommand } from "../protocols/Aws_restJson1";
4
+ import { StartApplication } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartApplicationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AwsToledoWebService", "StartApplication", {})
17
13
  .n("EMRServerlessClient", "StartApplicationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartApplicationCommand)
20
- .de(de_StartApplicationCommand)
14
+ .sc(StartApplication)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { StartJobRunRequestFilterSensitiveLog } from "../models/models_0";
6
- import { de_StartJobRunCommand, se_StartJobRunCommand } from "../protocols/Aws_restJson1";
4
+ import { StartJobRun } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class StartJobRunCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AwsToledoWebService", "StartJobRun", {})
18
13
  .n("EMRServerlessClient", "StartJobRunCommand")
19
- .f(StartJobRunRequestFilterSensitiveLog, void 0)
20
- .ser(se_StartJobRunCommand)
21
- .de(de_StartJobRunCommand)
14
+ .sc(StartJobRun)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StopApplicationCommand, se_StopApplicationCommand } from "../protocols/Aws_restJson1";
4
+ import { StopApplication } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StopApplicationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AwsToledoWebService", "StopApplication", {})
17
13
  .n("EMRServerlessClient", "StopApplicationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StopApplicationCommand)
20
- .de(de_StopApplicationCommand)
14
+ .sc(StopApplication)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AwsToledoWebService", "TagResource", {})
17
13
  .n("EMRServerlessClient", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AwsToledoWebService", "UntagResource", {})
17
13
  .n("EMRServerlessClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { UpdateApplicationRequestFilterSensitiveLog, UpdateApplicationResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_UpdateApplicationCommand, se_UpdateApplicationCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateApplication } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UpdateApplicationCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AwsToledoWebService", "UpdateApplication", {})
18
13
  .n("EMRServerlessClient", "UpdateApplicationCommand")
19
- .f(UpdateApplicationRequestFilterSensitiveLog, UpdateApplicationResponseFilterSensitiveLog)
20
- .ser(se_UpdateApplicationCommand)
21
- .de(de_UpdateApplicationCommand)
14
+ .sc(UpdateApplication)
22
15
  .build() {
23
16
  }
@@ -1,4 +1,3 @@
1
- import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
1
  import { EMRServerlessServiceException as __BaseException } from "./EMRServerlessServiceException";
3
2
  export const Architecture = {
4
3
  ARM64: "ARM64",
@@ -98,80 +97,3 @@ export const JobRunState = {
98
97
  SUBMITTED: "SUBMITTED",
99
98
  SUCCESS: "SUCCESS",
100
99
  };
101
- export const HiveFilterSensitiveLog = (obj) => ({
102
- ...obj,
103
- ...(obj.query && { query: SENSITIVE_STRING }),
104
- ...(obj.initQueryFile && { initQueryFile: SENSITIVE_STRING }),
105
- ...(obj.parameters && { parameters: SENSITIVE_STRING }),
106
- });
107
- export const SparkSubmitFilterSensitiveLog = (obj) => ({
108
- ...obj,
109
- ...(obj.entryPoint && { entryPoint: SENSITIVE_STRING }),
110
- ...(obj.entryPointArguments && { entryPointArguments: SENSITIVE_STRING }),
111
- ...(obj.sparkSubmitParameters && { sparkSubmitParameters: SENSITIVE_STRING }),
112
- });
113
- export const JobDriverFilterSensitiveLog = (obj) => {
114
- if (obj.sparkSubmit !== undefined)
115
- return { sparkSubmit: SparkSubmitFilterSensitiveLog(obj.sparkSubmit) };
116
- if (obj.hive !== undefined)
117
- return { hive: HiveFilterSensitiveLog(obj.hive) };
118
- if (obj.$unknown !== undefined)
119
- return { [obj.$unknown[0]]: "UNKNOWN" };
120
- };
121
- export const ConfigurationFilterSensitiveLog = (obj) => ({
122
- ...obj,
123
- ...(obj.properties && { properties: SENSITIVE_STRING }),
124
- ...(obj.configurations && {
125
- configurations: obj.configurations.map((item) => ConfigurationFilterSensitiveLog(item)),
126
- }),
127
- });
128
- export const ApplicationFilterSensitiveLog = (obj) => ({
129
- ...obj,
130
- ...(obj.runtimeConfiguration && {
131
- runtimeConfiguration: obj.runtimeConfiguration.map((item) => ConfigurationFilterSensitiveLog(item)),
132
- }),
133
- });
134
- export const ConfigurationOverridesFilterSensitiveLog = (obj) => ({
135
- ...obj,
136
- ...(obj.applicationConfiguration && {
137
- applicationConfiguration: obj.applicationConfiguration.map((item) => ConfigurationFilterSensitiveLog(item)),
138
- }),
139
- });
140
- export const CreateApplicationRequestFilterSensitiveLog = (obj) => ({
141
- ...obj,
142
- ...(obj.runtimeConfiguration && {
143
- runtimeConfiguration: obj.runtimeConfiguration.map((item) => ConfigurationFilterSensitiveLog(item)),
144
- }),
145
- });
146
- export const UpdateApplicationRequestFilterSensitiveLog = (obj) => ({
147
- ...obj,
148
- ...(obj.runtimeConfiguration && {
149
- runtimeConfiguration: obj.runtimeConfiguration.map((item) => ConfigurationFilterSensitiveLog(item)),
150
- }),
151
- });
152
- export const GetApplicationResponseFilterSensitiveLog = (obj) => ({
153
- ...obj,
154
- ...(obj.application && { application: ApplicationFilterSensitiveLog(obj.application) }),
155
- });
156
- export const JobRunFilterSensitiveLog = (obj) => ({
157
- ...obj,
158
- ...(obj.configurationOverrides && {
159
- configurationOverrides: ConfigurationOverridesFilterSensitiveLog(obj.configurationOverrides),
160
- }),
161
- ...(obj.jobDriver && { jobDriver: JobDriverFilterSensitiveLog(obj.jobDriver) }),
162
- });
163
- export const StartJobRunRequestFilterSensitiveLog = (obj) => ({
164
- ...obj,
165
- ...(obj.jobDriver && { jobDriver: JobDriverFilterSensitiveLog(obj.jobDriver) }),
166
- ...(obj.configurationOverrides && {
167
- configurationOverrides: ConfigurationOverridesFilterSensitiveLog(obj.configurationOverrides),
168
- }),
169
- });
170
- export const UpdateApplicationResponseFilterSensitiveLog = (obj) => ({
171
- ...obj,
172
- ...(obj.application && { application: ApplicationFilterSensitiveLog(obj.application) }),
173
- });
174
- export const GetJobRunResponseFilterSensitiveLog = (obj) => ({
175
- ...obj,
176
- ...(obj.jobRun && { jobRun: JobRunFilterSensitiveLog(obj.jobRun) }),
177
- });
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.emrserverless" }),
25
27
  serviceId: config?.serviceId ?? "EMR Serverless",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,