@aws-sdk/client-route53profiles 3.1077.0 → 3.1079.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 (56) hide show
  1. package/dist-cjs/index.js +24 -163
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AssociateProfileCommand.js +2 -14
  4. package/dist-es/commands/AssociateResourceToProfileCommand.js +2 -14
  5. package/dist-es/commands/CreateProfileCommand.js +2 -14
  6. package/dist-es/commands/DeleteProfileCommand.js +2 -14
  7. package/dist-es/commands/DisassociateProfileCommand.js +2 -14
  8. package/dist-es/commands/DisassociateResourceFromProfileCommand.js +2 -14
  9. package/dist-es/commands/GetProfileAssociationCommand.js +2 -14
  10. package/dist-es/commands/GetProfileCommand.js +2 -14
  11. package/dist-es/commands/GetProfileResourceAssociationCommand.js +2 -14
  12. package/dist-es/commands/ListProfileAssociationsCommand.js +2 -14
  13. package/dist-es/commands/ListProfileResourceAssociationsCommand.js +2 -14
  14. package/dist-es/commands/ListProfilesCommand.js +2 -14
  15. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  16. package/dist-es/commands/TagResourceCommand.js +2 -14
  17. package/dist-es/commands/UntagResourceCommand.js +2 -14
  18. package/dist-es/commands/UpdateProfileResourceAssociationCommand.js +2 -14
  19. package/dist-es/index.js +1 -0
  20. package/dist-types/commandBuilder.d.ts +18 -0
  21. package/dist-types/commands/AssociateProfileCommand.d.ts +3 -8
  22. package/dist-types/commands/AssociateResourceToProfileCommand.d.ts +3 -8
  23. package/dist-types/commands/CreateProfileCommand.d.ts +3 -8
  24. package/dist-types/commands/DeleteProfileCommand.d.ts +3 -8
  25. package/dist-types/commands/DisassociateProfileCommand.d.ts +3 -8
  26. package/dist-types/commands/DisassociateResourceFromProfileCommand.d.ts +3 -8
  27. package/dist-types/commands/GetProfileAssociationCommand.d.ts +3 -8
  28. package/dist-types/commands/GetProfileCommand.d.ts +3 -8
  29. package/dist-types/commands/GetProfileResourceAssociationCommand.d.ts +3 -8
  30. package/dist-types/commands/ListProfileAssociationsCommand.d.ts +3 -8
  31. package/dist-types/commands/ListProfileResourceAssociationsCommand.d.ts +3 -8
  32. package/dist-types/commands/ListProfilesCommand.d.ts +3 -8
  33. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  34. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  35. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  36. package/dist-types/commands/UpdateProfileResourceAssociationCommand.d.ts +3 -8
  37. package/dist-types/index.d.ts +1 -0
  38. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  39. package/dist-types/ts3.4/commands/AssociateProfileCommand.d.ts +7 -16
  40. package/dist-types/ts3.4/commands/AssociateResourceToProfileCommand.d.ts +7 -16
  41. package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +7 -16
  43. package/dist-types/ts3.4/commands/DisassociateProfileCommand.d.ts +7 -16
  44. package/dist-types/ts3.4/commands/DisassociateResourceFromProfileCommand.d.ts +7 -16
  45. package/dist-types/ts3.4/commands/GetProfileAssociationCommand.d.ts +7 -16
  46. package/dist-types/ts3.4/commands/GetProfileCommand.d.ts +7 -16
  47. package/dist-types/ts3.4/commands/GetProfileResourceAssociationCommand.d.ts +7 -16
  48. package/dist-types/ts3.4/commands/ListProfileAssociationsCommand.d.ts +7 -16
  49. package/dist-types/ts3.4/commands/ListProfileResourceAssociationsCommand.d.ts +7 -16
  50. package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +7 -16
  51. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  52. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  53. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/UpdateProfileResourceAssociationCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/index.d.ts +1 -0
  56. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1078.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -851,196 +852,56 @@ class Route53ProfilesClient extends Client {
851
852
  }
852
853
  }
853
854
 
854
- class AssociateProfileCommand extends Command
855
- .classBuilder()
856
- .ep(commonParams)
857
- .m(function (Command, cs, config, o) {
858
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
859
- })
860
- .s("Route53Profiles", "AssociateProfile", {})
861
- .n("Route53ProfilesClient", "AssociateProfileCommand")
862
- .sc(AssociateProfile$)
863
- .build() {
855
+ const command = makeBuilder(commonParams, "Route53Profiles", "Route53ProfilesClient", getEndpointPlugin);
856
+ const _ep0 = {};
857
+ const _mw0 = (Command, cs, config, o) => [];
858
+
859
+ class AssociateProfileCommand extends command(_ep0, _mw0, "AssociateProfile", AssociateProfile$) {
864
860
  }
865
861
 
866
- class AssociateResourceToProfileCommand extends Command
867
- .classBuilder()
868
- .ep(commonParams)
869
- .m(function (Command, cs, config, o) {
870
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
871
- })
872
- .s("Route53Profiles", "AssociateResourceToProfile", {})
873
- .n("Route53ProfilesClient", "AssociateResourceToProfileCommand")
874
- .sc(AssociateResourceToProfile$)
875
- .build() {
862
+ class AssociateResourceToProfileCommand extends command(_ep0, _mw0, "AssociateResourceToProfile", AssociateResourceToProfile$) {
876
863
  }
877
864
 
878
- class CreateProfileCommand extends Command
879
- .classBuilder()
880
- .ep(commonParams)
881
- .m(function (Command, cs, config, o) {
882
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
883
- })
884
- .s("Route53Profiles", "CreateProfile", {})
885
- .n("Route53ProfilesClient", "CreateProfileCommand")
886
- .sc(CreateProfile$)
887
- .build() {
865
+ class CreateProfileCommand extends command(_ep0, _mw0, "CreateProfile", CreateProfile$) {
888
866
  }
889
867
 
890
- class DeleteProfileCommand extends Command
891
- .classBuilder()
892
- .ep(commonParams)
893
- .m(function (Command, cs, config, o) {
894
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
895
- })
896
- .s("Route53Profiles", "DeleteProfile", {})
897
- .n("Route53ProfilesClient", "DeleteProfileCommand")
898
- .sc(DeleteProfile$)
899
- .build() {
868
+ class DeleteProfileCommand extends command(_ep0, _mw0, "DeleteProfile", DeleteProfile$) {
900
869
  }
901
870
 
902
- class DisassociateProfileCommand extends Command
903
- .classBuilder()
904
- .ep(commonParams)
905
- .m(function (Command, cs, config, o) {
906
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
907
- })
908
- .s("Route53Profiles", "DisassociateProfile", {})
909
- .n("Route53ProfilesClient", "DisassociateProfileCommand")
910
- .sc(DisassociateProfile$)
911
- .build() {
871
+ class DisassociateProfileCommand extends command(_ep0, _mw0, "DisassociateProfile", DisassociateProfile$) {
912
872
  }
913
873
 
914
- class DisassociateResourceFromProfileCommand extends Command
915
- .classBuilder()
916
- .ep(commonParams)
917
- .m(function (Command, cs, config, o) {
918
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
919
- })
920
- .s("Route53Profiles", "DisassociateResourceFromProfile", {})
921
- .n("Route53ProfilesClient", "DisassociateResourceFromProfileCommand")
922
- .sc(DisassociateResourceFromProfile$)
923
- .build() {
874
+ class DisassociateResourceFromProfileCommand extends command(_ep0, _mw0, "DisassociateResourceFromProfile", DisassociateResourceFromProfile$) {
924
875
  }
925
876
 
926
- class GetProfileAssociationCommand extends Command
927
- .classBuilder()
928
- .ep(commonParams)
929
- .m(function (Command, cs, config, o) {
930
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
931
- })
932
- .s("Route53Profiles", "GetProfileAssociation", {})
933
- .n("Route53ProfilesClient", "GetProfileAssociationCommand")
934
- .sc(GetProfileAssociation$)
935
- .build() {
877
+ class GetProfileAssociationCommand extends command(_ep0, _mw0, "GetProfileAssociation", GetProfileAssociation$) {
936
878
  }
937
879
 
938
- class GetProfileCommand extends Command
939
- .classBuilder()
940
- .ep(commonParams)
941
- .m(function (Command, cs, config, o) {
942
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
943
- })
944
- .s("Route53Profiles", "GetProfile", {})
945
- .n("Route53ProfilesClient", "GetProfileCommand")
946
- .sc(GetProfile$)
947
- .build() {
880
+ class GetProfileCommand extends command(_ep0, _mw0, "GetProfile", GetProfile$) {
948
881
  }
949
882
 
950
- class GetProfileResourceAssociationCommand extends Command
951
- .classBuilder()
952
- .ep(commonParams)
953
- .m(function (Command, cs, config, o) {
954
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
955
- })
956
- .s("Route53Profiles", "GetProfileResourceAssociation", {})
957
- .n("Route53ProfilesClient", "GetProfileResourceAssociationCommand")
958
- .sc(GetProfileResourceAssociation$)
959
- .build() {
883
+ class GetProfileResourceAssociationCommand extends command(_ep0, _mw0, "GetProfileResourceAssociation", GetProfileResourceAssociation$) {
960
884
  }
961
885
 
962
- class ListProfileAssociationsCommand extends Command
963
- .classBuilder()
964
- .ep(commonParams)
965
- .m(function (Command, cs, config, o) {
966
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
967
- })
968
- .s("Route53Profiles", "ListProfileAssociations", {})
969
- .n("Route53ProfilesClient", "ListProfileAssociationsCommand")
970
- .sc(ListProfileAssociations$)
971
- .build() {
886
+ class ListProfileAssociationsCommand extends command(_ep0, _mw0, "ListProfileAssociations", ListProfileAssociations$) {
972
887
  }
973
888
 
974
- class ListProfileResourceAssociationsCommand extends Command
975
- .classBuilder()
976
- .ep(commonParams)
977
- .m(function (Command, cs, config, o) {
978
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
979
- })
980
- .s("Route53Profiles", "ListProfileResourceAssociations", {})
981
- .n("Route53ProfilesClient", "ListProfileResourceAssociationsCommand")
982
- .sc(ListProfileResourceAssociations$)
983
- .build() {
889
+ class ListProfileResourceAssociationsCommand extends command(_ep0, _mw0, "ListProfileResourceAssociations", ListProfileResourceAssociations$) {
984
890
  }
985
891
 
986
- class ListProfilesCommand extends Command
987
- .classBuilder()
988
- .ep(commonParams)
989
- .m(function (Command, cs, config, o) {
990
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
991
- })
992
- .s("Route53Profiles", "ListProfiles", {})
993
- .n("Route53ProfilesClient", "ListProfilesCommand")
994
- .sc(ListProfiles$)
995
- .build() {
892
+ class ListProfilesCommand extends command(_ep0, _mw0, "ListProfiles", ListProfiles$) {
996
893
  }
997
894
 
998
- class ListTagsForResourceCommand extends Command
999
- .classBuilder()
1000
- .ep(commonParams)
1001
- .m(function (Command, cs, config, o) {
1002
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1003
- })
1004
- .s("Route53Profiles", "ListTagsForResource", {})
1005
- .n("Route53ProfilesClient", "ListTagsForResourceCommand")
1006
- .sc(ListTagsForResource$)
1007
- .build() {
895
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1008
896
  }
1009
897
 
1010
- class TagResourceCommand extends Command
1011
- .classBuilder()
1012
- .ep(commonParams)
1013
- .m(function (Command, cs, config, o) {
1014
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1015
- })
1016
- .s("Route53Profiles", "TagResource", {})
1017
- .n("Route53ProfilesClient", "TagResourceCommand")
1018
- .sc(TagResource$)
1019
- .build() {
898
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1020
899
  }
1021
900
 
1022
- class UntagResourceCommand extends Command
1023
- .classBuilder()
1024
- .ep(commonParams)
1025
- .m(function (Command, cs, config, o) {
1026
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1027
- })
1028
- .s("Route53Profiles", "UntagResource", {})
1029
- .n("Route53ProfilesClient", "UntagResourceCommand")
1030
- .sc(UntagResource$)
1031
- .build() {
901
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1032
902
  }
1033
903
 
1034
- class UpdateProfileResourceAssociationCommand extends Command
1035
- .classBuilder()
1036
- .ep(commonParams)
1037
- .m(function (Command, cs, config, o) {
1038
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1039
- })
1040
- .s("Route53Profiles", "UpdateProfileResourceAssociation", {})
1041
- .n("Route53ProfilesClient", "UpdateProfileResourceAssociationCommand")
1042
- .sc(UpdateProfileResourceAssociation$)
1043
- .build() {
904
+ class UpdateProfileResourceAssociationCommand extends command(_ep0, _mw0, "UpdateProfileResourceAssociation", UpdateProfileResourceAssociation$) {
1044
905
  }
1045
906
 
1046
907
  const paginateListProfileAssociations = createPaginator(Route53ProfilesClient, ListProfileAssociationsCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "Route53Profiles", "Route53ProfilesClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { AssociateProfile$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssociateProfileCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53Profiles", "AssociateProfile", {})
13
- .n("Route53ProfilesClient", "AssociateProfileCommand")
14
- .sc(AssociateProfile$)
15
- .build() {
3
+ export class AssociateProfileCommand extends command(_ep0, _mw0, "AssociateProfile", AssociateProfile$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { AssociateResourceToProfile$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssociateResourceToProfileCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53Profiles", "AssociateResourceToProfile", {})
13
- .n("Route53ProfilesClient", "AssociateResourceToProfileCommand")
14
- .sc(AssociateResourceToProfile$)
15
- .build() {
3
+ export class AssociateResourceToProfileCommand extends command(_ep0, _mw0, "AssociateResourceToProfile", AssociateResourceToProfile$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateProfile$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateProfileCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53Profiles", "CreateProfile", {})
13
- .n("Route53ProfilesClient", "CreateProfileCommand")
14
- .sc(CreateProfile$)
15
- .build() {
3
+ export class CreateProfileCommand extends command(_ep0, _mw0, "CreateProfile", CreateProfile$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteProfile$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteProfileCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53Profiles", "DeleteProfile", {})
13
- .n("Route53ProfilesClient", "DeleteProfileCommand")
14
- .sc(DeleteProfile$)
15
- .build() {
3
+ export class DeleteProfileCommand extends command(_ep0, _mw0, "DeleteProfile", DeleteProfile$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DisassociateProfile$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisassociateProfileCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53Profiles", "DisassociateProfile", {})
13
- .n("Route53ProfilesClient", "DisassociateProfileCommand")
14
- .sc(DisassociateProfile$)
15
- .build() {
3
+ export class DisassociateProfileCommand extends command(_ep0, _mw0, "DisassociateProfile", DisassociateProfile$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DisassociateResourceFromProfile$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisassociateResourceFromProfileCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53Profiles", "DisassociateResourceFromProfile", {})
13
- .n("Route53ProfilesClient", "DisassociateResourceFromProfileCommand")
14
- .sc(DisassociateResourceFromProfile$)
15
- .build() {
3
+ export class DisassociateResourceFromProfileCommand extends command(_ep0, _mw0, "DisassociateResourceFromProfile", DisassociateResourceFromProfile$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetProfileAssociation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetProfileAssociationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53Profiles", "GetProfileAssociation", {})
13
- .n("Route53ProfilesClient", "GetProfileAssociationCommand")
14
- .sc(GetProfileAssociation$)
15
- .build() {
3
+ export class GetProfileAssociationCommand extends command(_ep0, _mw0, "GetProfileAssociation", GetProfileAssociation$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetProfile$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetProfileCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53Profiles", "GetProfile", {})
13
- .n("Route53ProfilesClient", "GetProfileCommand")
14
- .sc(GetProfile$)
15
- .build() {
3
+ export class GetProfileCommand extends command(_ep0, _mw0, "GetProfile", GetProfile$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetProfileResourceAssociation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetProfileResourceAssociationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53Profiles", "GetProfileResourceAssociation", {})
13
- .n("Route53ProfilesClient", "GetProfileResourceAssociationCommand")
14
- .sc(GetProfileResourceAssociation$)
15
- .build() {
3
+ export class GetProfileResourceAssociationCommand extends command(_ep0, _mw0, "GetProfileResourceAssociation", GetProfileResourceAssociation$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListProfileAssociations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListProfileAssociationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53Profiles", "ListProfileAssociations", {})
13
- .n("Route53ProfilesClient", "ListProfileAssociationsCommand")
14
- .sc(ListProfileAssociations$)
15
- .build() {
3
+ export class ListProfileAssociationsCommand extends command(_ep0, _mw0, "ListProfileAssociations", ListProfileAssociations$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListProfileResourceAssociations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListProfileResourceAssociationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53Profiles", "ListProfileResourceAssociations", {})
13
- .n("Route53ProfilesClient", "ListProfileResourceAssociationsCommand")
14
- .sc(ListProfileResourceAssociations$)
15
- .build() {
3
+ export class ListProfileResourceAssociationsCommand extends command(_ep0, _mw0, "ListProfileResourceAssociations", ListProfileResourceAssociations$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListProfiles$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListProfilesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53Profiles", "ListProfiles", {})
13
- .n("Route53ProfilesClient", "ListProfilesCommand")
14
- .sc(ListProfiles$)
15
- .build() {
3
+ export class ListProfilesCommand extends command(_ep0, _mw0, "ListProfiles", ListProfiles$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53Profiles", "ListTagsForResource", {})
13
- .n("Route53ProfilesClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53Profiles", "TagResource", {})
13
- .n("Route53ProfilesClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53Profiles", "UntagResource", {})
13
- .n("Route53ProfilesClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateProfileResourceAssociation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateProfileResourceAssociationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Route53Profiles", "UpdateProfileResourceAssociation", {})
13
- .n("Route53ProfilesClient", "UpdateProfileResourceAssociationCommand")
14
- .sc(UpdateProfileResourceAssociation$)
15
- .build() {
3
+ export class UpdateProfileResourceAssociationCommand extends command(_ep0, _mw0, "UpdateProfileResourceAssociation", UpdateProfileResourceAssociation$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./Route53ProfilesClient";
2
2
  export * from "./Route53Profiles";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./Route53ProfilesClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { AssociateProfileRequest, AssociateProfileResponse } from "../models/models_0";
4
- import type { Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53ProfilesClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface AssociateProfileCommandInput extends AssociateProfileRequest {
22
19
  export interface AssociateProfileCommandOutput extends AssociateProfileResponse, __MetadataBearer {
23
20
  }
24
21
  declare const AssociateProfileCommand_base: {
25
- new (input: AssociateProfileCommandInput): import("@smithy/core/client").CommandImpl<AssociateProfileCommandInput, AssociateProfileCommandOutput, Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: AssociateProfileCommandInput): import("@smithy/core/client").CommandImpl<AssociateProfileCommandInput, AssociateProfileCommandOutput, Route53ProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: AssociateProfileCommandInput): import("@smithy/core/client").CommandImpl<AssociateProfileCommandInput, AssociateProfileCommandOutput, import("..").Route53ProfilesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: AssociateProfileCommandInput): import("@smithy/core/client").CommandImpl<AssociateProfileCommandInput, AssociateProfileCommandOutput, import("..").Route53ProfilesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>