@aws-sdk/client-route53profiles 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 (37) hide show
  1. package/dist-cjs/index.js +671 -805
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/Route53ProfilesClient.js +2 -0
  4. package/dist-es/commands/AssociateProfileCommand.js +3 -9
  5. package/dist-es/commands/AssociateResourceToProfileCommand.js +3 -9
  6. package/dist-es/commands/CreateProfileCommand.js +3 -9
  7. package/dist-es/commands/DeleteProfileCommand.js +3 -9
  8. package/dist-es/commands/DisassociateProfileCommand.js +3 -9
  9. package/dist-es/commands/DisassociateResourceFromProfileCommand.js +3 -9
  10. package/dist-es/commands/GetProfileAssociationCommand.js +3 -9
  11. package/dist-es/commands/GetProfileCommand.js +3 -9
  12. package/dist-es/commands/GetProfileResourceAssociationCommand.js +3 -9
  13. package/dist-es/commands/ListProfileAssociationsCommand.js +3 -9
  14. package/dist-es/commands/ListProfileResourceAssociationsCommand.js +3 -9
  15. package/dist-es/commands/ListProfilesCommand.js +3 -9
  16. package/dist-es/commands/ListTagsForResourceCommand.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/UpdateProfileResourceAssociationCommand.js +3 -9
  20. package/dist-es/runtimeConfig.shared.js +2 -0
  21. package/dist-es/schemas/schemas_0.js +622 -0
  22. package/dist-types/Route53ProfilesClient.d.ts +10 -1
  23. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  24. package/dist-types/runtimeConfig.d.ts +1 -0
  25. package/dist-types/runtimeConfig.native.d.ts +1 -0
  26. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  27. package/dist-types/schemas/schemas_0.d.ts +72 -0
  28. package/dist-types/ts3.4/Route53ProfilesClient.d.ts +4 -0
  29. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  30. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  31. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  32. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  33. package/dist-types/ts3.4/schemas/schemas_0.d.ts +77 -0
  34. package/package.json +5 -6
  35. package/dist-es/protocols/Aws_restJson1.js +0 -676
  36. package/dist-types/protocols/Aws_restJson1.d.ts +0 -146
  37. 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.route53profiles" }),
28
30
  serviceId: config?.serviceId ?? "Route53Profiles",
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 Route53ProfilesClient 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_AssociateProfileCommand, se_AssociateProfileCommand } from "../protocols/Aws_restJson1";
4
+ import { AssociateProfile } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AssociateProfileCommand 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("Route53Profiles", "AssociateProfile", {})
17
13
  .n("Route53ProfilesClient", "AssociateProfileCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AssociateProfileCommand)
20
- .de(de_AssociateProfileCommand)
14
+ .sc(AssociateProfile)
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_AssociateResourceToProfileCommand, se_AssociateResourceToProfileCommand } from "../protocols/Aws_restJson1";
4
+ import { AssociateResourceToProfile } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AssociateResourceToProfileCommand 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("Route53Profiles", "AssociateResourceToProfile", {})
17
13
  .n("Route53ProfilesClient", "AssociateResourceToProfileCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AssociateResourceToProfileCommand)
20
- .de(de_AssociateResourceToProfileCommand)
14
+ .sc(AssociateResourceToProfile)
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_CreateProfileCommand, se_CreateProfileCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateProfile } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateProfileCommand 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("Route53Profiles", "CreateProfile", {})
17
13
  .n("Route53ProfilesClient", "CreateProfileCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateProfileCommand)
20
- .de(de_CreateProfileCommand)
14
+ .sc(CreateProfile)
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_DeleteProfileCommand, se_DeleteProfileCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteProfile } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteProfileCommand 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("Route53Profiles", "DeleteProfile", {})
17
13
  .n("Route53ProfilesClient", "DeleteProfileCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteProfileCommand)
20
- .de(de_DeleteProfileCommand)
14
+ .sc(DeleteProfile)
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_DisassociateProfileCommand, se_DisassociateProfileCommand } from "../protocols/Aws_restJson1";
4
+ import { DisassociateProfile } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DisassociateProfileCommand 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("Route53Profiles", "DisassociateProfile", {})
17
13
  .n("Route53ProfilesClient", "DisassociateProfileCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DisassociateProfileCommand)
20
- .de(de_DisassociateProfileCommand)
14
+ .sc(DisassociateProfile)
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_DisassociateResourceFromProfileCommand, se_DisassociateResourceFromProfileCommand, } from "../protocols/Aws_restJson1";
4
+ import { DisassociateResourceFromProfile } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DisassociateResourceFromProfileCommand 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("Route53Profiles", "DisassociateResourceFromProfile", {})
17
13
  .n("Route53ProfilesClient", "DisassociateResourceFromProfileCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DisassociateResourceFromProfileCommand)
20
- .de(de_DisassociateResourceFromProfileCommand)
14
+ .sc(DisassociateResourceFromProfile)
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_GetProfileAssociationCommand, se_GetProfileAssociationCommand } from "../protocols/Aws_restJson1";
4
+ import { GetProfileAssociation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetProfileAssociationCommand 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("Route53Profiles", "GetProfileAssociation", {})
17
13
  .n("Route53ProfilesClient", "GetProfileAssociationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetProfileAssociationCommand)
20
- .de(de_GetProfileAssociationCommand)
14
+ .sc(GetProfileAssociation)
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_GetProfileCommand, se_GetProfileCommand } from "../protocols/Aws_restJson1";
4
+ import { GetProfile } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetProfileCommand 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("Route53Profiles", "GetProfile", {})
17
13
  .n("Route53ProfilesClient", "GetProfileCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetProfileCommand)
20
- .de(de_GetProfileCommand)
14
+ .sc(GetProfile)
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_GetProfileResourceAssociationCommand, se_GetProfileResourceAssociationCommand, } from "../protocols/Aws_restJson1";
4
+ import { GetProfileResourceAssociation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetProfileResourceAssociationCommand 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("Route53Profiles", "GetProfileResourceAssociation", {})
17
13
  .n("Route53ProfilesClient", "GetProfileResourceAssociationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetProfileResourceAssociationCommand)
20
- .de(de_GetProfileResourceAssociationCommand)
14
+ .sc(GetProfileResourceAssociation)
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_ListProfileAssociationsCommand, se_ListProfileAssociationsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListProfileAssociations } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListProfileAssociationsCommand 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("Route53Profiles", "ListProfileAssociations", {})
17
13
  .n("Route53ProfilesClient", "ListProfileAssociationsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListProfileAssociationsCommand)
20
- .de(de_ListProfileAssociationsCommand)
14
+ .sc(ListProfileAssociations)
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_ListProfileResourceAssociationsCommand, se_ListProfileResourceAssociationsCommand, } from "../protocols/Aws_restJson1";
4
+ import { ListProfileResourceAssociations } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListProfileResourceAssociationsCommand 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("Route53Profiles", "ListProfileResourceAssociations", {})
17
13
  .n("Route53ProfilesClient", "ListProfileResourceAssociationsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListProfileResourceAssociationsCommand)
20
- .de(de_ListProfileResourceAssociationsCommand)
14
+ .sc(ListProfileResourceAssociations)
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_ListProfilesCommand, se_ListProfilesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListProfiles } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListProfilesCommand 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("Route53Profiles", "ListProfiles", {})
17
13
  .n("Route53ProfilesClient", "ListProfilesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListProfilesCommand)
20
- .de(de_ListProfilesCommand)
14
+ .sc(ListProfiles)
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("Route53Profiles", "ListTagsForResource", {})
17
13
  .n("Route53ProfilesClient", "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_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("Route53Profiles", "TagResource", {})
17
13
  .n("Route53ProfilesClient", "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("Route53Profiles", "UntagResource", {})
17
13
  .n("Route53ProfilesClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
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_UpdateProfileResourceAssociationCommand, se_UpdateProfileResourceAssociationCommand, } from "../protocols/Aws_restJson1";
4
+ import { UpdateProfileResourceAssociation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateProfileResourceAssociationCommand 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("Route53Profiles", "UpdateProfileResourceAssociation", {})
17
13
  .n("Route53ProfilesClient", "UpdateProfileResourceAssociationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateProfileResourceAssociationCommand)
20
- .de(de_UpdateProfileResourceAssociationCommand)
14
+ .sc(UpdateProfileResourceAssociation)
21
15
  .build() {
22
16
  }
@@ -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.route53profiles" }),
25
27
  serviceId: config?.serviceId ?? "Route53Profiles",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,