@aws-sdk/client-rolesanywhere 3.1076.0 → 3.1078.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 (110) hide show
  1. package/dist-cjs/index.js +41 -305
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateProfileCommand.js +2 -14
  4. package/dist-es/commands/CreateTrustAnchorCommand.js +2 -14
  5. package/dist-es/commands/DeleteAttributeMappingCommand.js +2 -14
  6. package/dist-es/commands/DeleteCrlCommand.js +2 -14
  7. package/dist-es/commands/DeleteProfileCommand.js +2 -14
  8. package/dist-es/commands/DeleteTrustAnchorCommand.js +2 -14
  9. package/dist-es/commands/DisableCrlCommand.js +2 -14
  10. package/dist-es/commands/DisableProfileCommand.js +2 -14
  11. package/dist-es/commands/DisableTrustAnchorCommand.js +2 -14
  12. package/dist-es/commands/EnableCrlCommand.js +2 -14
  13. package/dist-es/commands/EnableProfileCommand.js +2 -14
  14. package/dist-es/commands/EnableTrustAnchorCommand.js +2 -14
  15. package/dist-es/commands/GetCrlCommand.js +2 -14
  16. package/dist-es/commands/GetProfileCommand.js +2 -14
  17. package/dist-es/commands/GetSubjectCommand.js +2 -14
  18. package/dist-es/commands/GetTrustAnchorCommand.js +2 -14
  19. package/dist-es/commands/ImportCrlCommand.js +2 -14
  20. package/dist-es/commands/ListCrlsCommand.js +2 -14
  21. package/dist-es/commands/ListProfilesCommand.js +2 -14
  22. package/dist-es/commands/ListSubjectsCommand.js +2 -14
  23. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  24. package/dist-es/commands/ListTrustAnchorsCommand.js +2 -14
  25. package/dist-es/commands/PutAttributeMappingCommand.js +2 -14
  26. package/dist-es/commands/PutNotificationSettingsCommand.js +2 -14
  27. package/dist-es/commands/ResetNotificationSettingsCommand.js +2 -14
  28. package/dist-es/commands/TagResourceCommand.js +2 -14
  29. package/dist-es/commands/UntagResourceCommand.js +2 -14
  30. package/dist-es/commands/UpdateCrlCommand.js +2 -14
  31. package/dist-es/commands/UpdateProfileCommand.js +2 -14
  32. package/dist-es/commands/UpdateTrustAnchorCommand.js +2 -14
  33. package/dist-es/index.js +1 -0
  34. package/dist-es/runtimeConfig.browser.js +0 -2
  35. package/dist-es/runtimeConfig.js +1 -2
  36. package/dist-es/runtimeConfig.native.js +0 -2
  37. package/dist-es/runtimeConfig.shared.js +2 -0
  38. package/dist-types/commandBuilder.d.ts +18 -0
  39. package/dist-types/commands/CreateProfileCommand.d.ts +3 -8
  40. package/dist-types/commands/CreateTrustAnchorCommand.d.ts +3 -8
  41. package/dist-types/commands/DeleteAttributeMappingCommand.d.ts +3 -8
  42. package/dist-types/commands/DeleteCrlCommand.d.ts +3 -8
  43. package/dist-types/commands/DeleteProfileCommand.d.ts +3 -8
  44. package/dist-types/commands/DeleteTrustAnchorCommand.d.ts +3 -8
  45. package/dist-types/commands/DisableCrlCommand.d.ts +3 -8
  46. package/dist-types/commands/DisableProfileCommand.d.ts +3 -8
  47. package/dist-types/commands/DisableTrustAnchorCommand.d.ts +3 -8
  48. package/dist-types/commands/EnableCrlCommand.d.ts +3 -8
  49. package/dist-types/commands/EnableProfileCommand.d.ts +3 -8
  50. package/dist-types/commands/EnableTrustAnchorCommand.d.ts +3 -8
  51. package/dist-types/commands/GetCrlCommand.d.ts +3 -8
  52. package/dist-types/commands/GetProfileCommand.d.ts +3 -8
  53. package/dist-types/commands/GetSubjectCommand.d.ts +3 -8
  54. package/dist-types/commands/GetTrustAnchorCommand.d.ts +3 -8
  55. package/dist-types/commands/ImportCrlCommand.d.ts +3 -8
  56. package/dist-types/commands/ListCrlsCommand.d.ts +3 -8
  57. package/dist-types/commands/ListProfilesCommand.d.ts +3 -8
  58. package/dist-types/commands/ListSubjectsCommand.d.ts +3 -8
  59. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  60. package/dist-types/commands/ListTrustAnchorsCommand.d.ts +3 -8
  61. package/dist-types/commands/PutAttributeMappingCommand.d.ts +3 -8
  62. package/dist-types/commands/PutNotificationSettingsCommand.d.ts +3 -8
  63. package/dist-types/commands/ResetNotificationSettingsCommand.d.ts +3 -8
  64. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  65. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  66. package/dist-types/commands/UpdateCrlCommand.d.ts +3 -8
  67. package/dist-types/commands/UpdateProfileCommand.d.ts +3 -8
  68. package/dist-types/commands/UpdateTrustAnchorCommand.d.ts +3 -8
  69. package/dist-types/index.d.ts +1 -0
  70. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  71. package/dist-types/runtimeConfig.d.ts +1 -1
  72. package/dist-types/runtimeConfig.native.d.ts +1 -1
  73. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  74. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  75. package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/CreateTrustAnchorCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/DeleteAttributeMappingCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/DeleteCrlCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/DeleteTrustAnchorCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/DisableCrlCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/DisableProfileCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/DisableTrustAnchorCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/EnableCrlCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/EnableProfileCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/EnableTrustAnchorCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/GetCrlCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/GetProfileCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/GetSubjectCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/GetTrustAnchorCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/ImportCrlCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/ListCrlsCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/ListSubjectsCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/ListTrustAnchorsCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/PutAttributeMappingCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/PutNotificationSettingsCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/ResetNotificationSettingsCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/UpdateCrlCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/UpdateTrustAnchorCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/index.d.ts +1 -0
  106. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  107. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  108. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  109. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  110. package/package.json +8 -10
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");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultRolesAnywhereHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -67,7 +69,7 @@ const commonParams = {
67
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
68
70
  };
69
71
 
70
- var version = "3.1075.0";
72
+ var version = "3.1077.0";
71
73
  var packageInfo = {
72
74
  version: version};
73
75
 
@@ -781,6 +783,7 @@ const getRuntimeConfig$1 = (config) => {
781
783
  serviceTarget: "RolesAnywhere",
782
784
  },
783
785
  serviceId: config?.serviceId ?? "RolesAnywhere",
786
+ sha256: config?.sha256 ?? Sha256,
784
787
  urlParser: config?.urlParser ?? parseUrl,
785
788
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
786
789
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -814,7 +817,6 @@ const getRuntimeConfig = (config) => {
814
817
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
815
818
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
816
819
  }, config),
817
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
818
820
  streamCollector: config?.streamCollector ?? streamCollector,
819
821
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
820
822
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -902,364 +904,98 @@ class RolesAnywhereClient extends Client {
902
904
  }
903
905
  }
904
906
 
905
- class CreateProfileCommand extends Command
906
- .classBuilder()
907
- .ep(commonParams)
908
- .m(function (Command, cs, config, o) {
909
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
910
- })
911
- .s("RolesAnywhere", "CreateProfile", {})
912
- .n("RolesAnywhereClient", "CreateProfileCommand")
913
- .sc(CreateProfile$)
914
- .build() {
907
+ const command = makeBuilder(commonParams, "RolesAnywhere", "RolesAnywhereClient", getEndpointPlugin);
908
+ const _ep0 = {};
909
+ const _mw0 = (Command, cs, config, o) => [];
910
+
911
+ class CreateProfileCommand extends command(_ep0, _mw0, "CreateProfile", CreateProfile$) {
915
912
  }
916
913
 
917
- class CreateTrustAnchorCommand extends Command
918
- .classBuilder()
919
- .ep(commonParams)
920
- .m(function (Command, cs, config, o) {
921
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
922
- })
923
- .s("RolesAnywhere", "CreateTrustAnchor", {})
924
- .n("RolesAnywhereClient", "CreateTrustAnchorCommand")
925
- .sc(CreateTrustAnchor$)
926
- .build() {
914
+ class CreateTrustAnchorCommand extends command(_ep0, _mw0, "CreateTrustAnchor", CreateTrustAnchor$) {
927
915
  }
928
916
 
929
- class DeleteAttributeMappingCommand extends Command
930
- .classBuilder()
931
- .ep(commonParams)
932
- .m(function (Command, cs, config, o) {
933
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
934
- })
935
- .s("RolesAnywhere", "DeleteAttributeMapping", {})
936
- .n("RolesAnywhereClient", "DeleteAttributeMappingCommand")
937
- .sc(DeleteAttributeMapping$)
938
- .build() {
917
+ class DeleteAttributeMappingCommand extends command(_ep0, _mw0, "DeleteAttributeMapping", DeleteAttributeMapping$) {
939
918
  }
940
919
 
941
- class DeleteCrlCommand extends Command
942
- .classBuilder()
943
- .ep(commonParams)
944
- .m(function (Command, cs, config, o) {
945
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
946
- })
947
- .s("RolesAnywhere", "DeleteCrl", {})
948
- .n("RolesAnywhereClient", "DeleteCrlCommand")
949
- .sc(DeleteCrl$)
950
- .build() {
920
+ class DeleteCrlCommand extends command(_ep0, _mw0, "DeleteCrl", DeleteCrl$) {
951
921
  }
952
922
 
953
- class DeleteProfileCommand extends Command
954
- .classBuilder()
955
- .ep(commonParams)
956
- .m(function (Command, cs, config, o) {
957
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
958
- })
959
- .s("RolesAnywhere", "DeleteProfile", {})
960
- .n("RolesAnywhereClient", "DeleteProfileCommand")
961
- .sc(DeleteProfile$)
962
- .build() {
923
+ class DeleteProfileCommand extends command(_ep0, _mw0, "DeleteProfile", DeleteProfile$) {
963
924
  }
964
925
 
965
- class DeleteTrustAnchorCommand extends Command
966
- .classBuilder()
967
- .ep(commonParams)
968
- .m(function (Command, cs, config, o) {
969
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
970
- })
971
- .s("RolesAnywhere", "DeleteTrustAnchor", {})
972
- .n("RolesAnywhereClient", "DeleteTrustAnchorCommand")
973
- .sc(DeleteTrustAnchor$)
974
- .build() {
926
+ class DeleteTrustAnchorCommand extends command(_ep0, _mw0, "DeleteTrustAnchor", DeleteTrustAnchor$) {
975
927
  }
976
928
 
977
- class DisableCrlCommand extends Command
978
- .classBuilder()
979
- .ep(commonParams)
980
- .m(function (Command, cs, config, o) {
981
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
982
- })
983
- .s("RolesAnywhere", "DisableCrl", {})
984
- .n("RolesAnywhereClient", "DisableCrlCommand")
985
- .sc(DisableCrl$)
986
- .build() {
929
+ class DisableCrlCommand extends command(_ep0, _mw0, "DisableCrl", DisableCrl$) {
987
930
  }
988
931
 
989
- class DisableProfileCommand extends Command
990
- .classBuilder()
991
- .ep(commonParams)
992
- .m(function (Command, cs, config, o) {
993
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
994
- })
995
- .s("RolesAnywhere", "DisableProfile", {})
996
- .n("RolesAnywhereClient", "DisableProfileCommand")
997
- .sc(DisableProfile$)
998
- .build() {
932
+ class DisableProfileCommand extends command(_ep0, _mw0, "DisableProfile", DisableProfile$) {
999
933
  }
1000
934
 
1001
- class DisableTrustAnchorCommand extends Command
1002
- .classBuilder()
1003
- .ep(commonParams)
1004
- .m(function (Command, cs, config, o) {
1005
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1006
- })
1007
- .s("RolesAnywhere", "DisableTrustAnchor", {})
1008
- .n("RolesAnywhereClient", "DisableTrustAnchorCommand")
1009
- .sc(DisableTrustAnchor$)
1010
- .build() {
935
+ class DisableTrustAnchorCommand extends command(_ep0, _mw0, "DisableTrustAnchor", DisableTrustAnchor$) {
1011
936
  }
1012
937
 
1013
- class EnableCrlCommand extends Command
1014
- .classBuilder()
1015
- .ep(commonParams)
1016
- .m(function (Command, cs, config, o) {
1017
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1018
- })
1019
- .s("RolesAnywhere", "EnableCrl", {})
1020
- .n("RolesAnywhereClient", "EnableCrlCommand")
1021
- .sc(EnableCrl$)
1022
- .build() {
938
+ class EnableCrlCommand extends command(_ep0, _mw0, "EnableCrl", EnableCrl$) {
1023
939
  }
1024
940
 
1025
- class EnableProfileCommand extends Command
1026
- .classBuilder()
1027
- .ep(commonParams)
1028
- .m(function (Command, cs, config, o) {
1029
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1030
- })
1031
- .s("RolesAnywhere", "EnableProfile", {})
1032
- .n("RolesAnywhereClient", "EnableProfileCommand")
1033
- .sc(EnableProfile$)
1034
- .build() {
941
+ class EnableProfileCommand extends command(_ep0, _mw0, "EnableProfile", EnableProfile$) {
1035
942
  }
1036
943
 
1037
- class EnableTrustAnchorCommand extends Command
1038
- .classBuilder()
1039
- .ep(commonParams)
1040
- .m(function (Command, cs, config, o) {
1041
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1042
- })
1043
- .s("RolesAnywhere", "EnableTrustAnchor", {})
1044
- .n("RolesAnywhereClient", "EnableTrustAnchorCommand")
1045
- .sc(EnableTrustAnchor$)
1046
- .build() {
944
+ class EnableTrustAnchorCommand extends command(_ep0, _mw0, "EnableTrustAnchor", EnableTrustAnchor$) {
1047
945
  }
1048
946
 
1049
- class GetCrlCommand extends Command
1050
- .classBuilder()
1051
- .ep(commonParams)
1052
- .m(function (Command, cs, config, o) {
1053
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1054
- })
1055
- .s("RolesAnywhere", "GetCrl", {})
1056
- .n("RolesAnywhereClient", "GetCrlCommand")
1057
- .sc(GetCrl$)
1058
- .build() {
947
+ class GetCrlCommand extends command(_ep0, _mw0, "GetCrl", GetCrl$) {
1059
948
  }
1060
949
 
1061
- class GetProfileCommand extends Command
1062
- .classBuilder()
1063
- .ep(commonParams)
1064
- .m(function (Command, cs, config, o) {
1065
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1066
- })
1067
- .s("RolesAnywhere", "GetProfile", {})
1068
- .n("RolesAnywhereClient", "GetProfileCommand")
1069
- .sc(GetProfile$)
1070
- .build() {
950
+ class GetProfileCommand extends command(_ep0, _mw0, "GetProfile", GetProfile$) {
1071
951
  }
1072
952
 
1073
- class GetSubjectCommand extends Command
1074
- .classBuilder()
1075
- .ep(commonParams)
1076
- .m(function (Command, cs, config, o) {
1077
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1078
- })
1079
- .s("RolesAnywhere", "GetSubject", {})
1080
- .n("RolesAnywhereClient", "GetSubjectCommand")
1081
- .sc(GetSubject$)
1082
- .build() {
953
+ class GetSubjectCommand extends command(_ep0, _mw0, "GetSubject", GetSubject$) {
1083
954
  }
1084
955
 
1085
- class GetTrustAnchorCommand extends Command
1086
- .classBuilder()
1087
- .ep(commonParams)
1088
- .m(function (Command, cs, config, o) {
1089
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1090
- })
1091
- .s("RolesAnywhere", "GetTrustAnchor", {})
1092
- .n("RolesAnywhereClient", "GetTrustAnchorCommand")
1093
- .sc(GetTrustAnchor$)
1094
- .build() {
956
+ class GetTrustAnchorCommand extends command(_ep0, _mw0, "GetTrustAnchor", GetTrustAnchor$) {
1095
957
  }
1096
958
 
1097
- class ImportCrlCommand extends Command
1098
- .classBuilder()
1099
- .ep(commonParams)
1100
- .m(function (Command, cs, config, o) {
1101
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1102
- })
1103
- .s("RolesAnywhere", "ImportCrl", {})
1104
- .n("RolesAnywhereClient", "ImportCrlCommand")
1105
- .sc(ImportCrl$)
1106
- .build() {
959
+ class ImportCrlCommand extends command(_ep0, _mw0, "ImportCrl", ImportCrl$) {
1107
960
  }
1108
961
 
1109
- class ListCrlsCommand extends Command
1110
- .classBuilder()
1111
- .ep(commonParams)
1112
- .m(function (Command, cs, config, o) {
1113
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1114
- })
1115
- .s("RolesAnywhere", "ListCrls", {})
1116
- .n("RolesAnywhereClient", "ListCrlsCommand")
1117
- .sc(ListCrls$)
1118
- .build() {
962
+ class ListCrlsCommand extends command(_ep0, _mw0, "ListCrls", ListCrls$) {
1119
963
  }
1120
964
 
1121
- class ListProfilesCommand extends Command
1122
- .classBuilder()
1123
- .ep(commonParams)
1124
- .m(function (Command, cs, config, o) {
1125
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1126
- })
1127
- .s("RolesAnywhere", "ListProfiles", {})
1128
- .n("RolesAnywhereClient", "ListProfilesCommand")
1129
- .sc(ListProfiles$)
1130
- .build() {
965
+ class ListProfilesCommand extends command(_ep0, _mw0, "ListProfiles", ListProfiles$) {
1131
966
  }
1132
967
 
1133
- class ListSubjectsCommand extends Command
1134
- .classBuilder()
1135
- .ep(commonParams)
1136
- .m(function (Command, cs, config, o) {
1137
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1138
- })
1139
- .s("RolesAnywhere", "ListSubjects", {})
1140
- .n("RolesAnywhereClient", "ListSubjectsCommand")
1141
- .sc(ListSubjects$)
1142
- .build() {
968
+ class ListSubjectsCommand extends command(_ep0, _mw0, "ListSubjects", ListSubjects$) {
1143
969
  }
1144
970
 
1145
- class ListTagsForResourceCommand extends Command
1146
- .classBuilder()
1147
- .ep(commonParams)
1148
- .m(function (Command, cs, config, o) {
1149
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1150
- })
1151
- .s("RolesAnywhere", "ListTagsForResource", {})
1152
- .n("RolesAnywhereClient", "ListTagsForResourceCommand")
1153
- .sc(ListTagsForResource$)
1154
- .build() {
971
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1155
972
  }
1156
973
 
1157
- class ListTrustAnchorsCommand extends Command
1158
- .classBuilder()
1159
- .ep(commonParams)
1160
- .m(function (Command, cs, config, o) {
1161
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1162
- })
1163
- .s("RolesAnywhere", "ListTrustAnchors", {})
1164
- .n("RolesAnywhereClient", "ListTrustAnchorsCommand")
1165
- .sc(ListTrustAnchors$)
1166
- .build() {
974
+ class ListTrustAnchorsCommand extends command(_ep0, _mw0, "ListTrustAnchors", ListTrustAnchors$) {
1167
975
  }
1168
976
 
1169
- class PutAttributeMappingCommand extends Command
1170
- .classBuilder()
1171
- .ep(commonParams)
1172
- .m(function (Command, cs, config, o) {
1173
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1174
- })
1175
- .s("RolesAnywhere", "PutAttributeMapping", {})
1176
- .n("RolesAnywhereClient", "PutAttributeMappingCommand")
1177
- .sc(PutAttributeMapping$)
1178
- .build() {
977
+ class PutAttributeMappingCommand extends command(_ep0, _mw0, "PutAttributeMapping", PutAttributeMapping$) {
1179
978
  }
1180
979
 
1181
- class PutNotificationSettingsCommand extends Command
1182
- .classBuilder()
1183
- .ep(commonParams)
1184
- .m(function (Command, cs, config, o) {
1185
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1186
- })
1187
- .s("RolesAnywhere", "PutNotificationSettings", {})
1188
- .n("RolesAnywhereClient", "PutNotificationSettingsCommand")
1189
- .sc(PutNotificationSettings$)
1190
- .build() {
980
+ class PutNotificationSettingsCommand extends command(_ep0, _mw0, "PutNotificationSettings", PutNotificationSettings$) {
1191
981
  }
1192
982
 
1193
- class ResetNotificationSettingsCommand extends Command
1194
- .classBuilder()
1195
- .ep(commonParams)
1196
- .m(function (Command, cs, config, o) {
1197
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1198
- })
1199
- .s("RolesAnywhere", "ResetNotificationSettings", {})
1200
- .n("RolesAnywhereClient", "ResetNotificationSettingsCommand")
1201
- .sc(ResetNotificationSettings$)
1202
- .build() {
983
+ class ResetNotificationSettingsCommand extends command(_ep0, _mw0, "ResetNotificationSettings", ResetNotificationSettings$) {
1203
984
  }
1204
985
 
1205
- class TagResourceCommand extends Command
1206
- .classBuilder()
1207
- .ep(commonParams)
1208
- .m(function (Command, cs, config, o) {
1209
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1210
- })
1211
- .s("RolesAnywhere", "TagResource", {})
1212
- .n("RolesAnywhereClient", "TagResourceCommand")
1213
- .sc(TagResource$)
1214
- .build() {
986
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1215
987
  }
1216
988
 
1217
- class UntagResourceCommand extends Command
1218
- .classBuilder()
1219
- .ep(commonParams)
1220
- .m(function (Command, cs, config, o) {
1221
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1222
- })
1223
- .s("RolesAnywhere", "UntagResource", {})
1224
- .n("RolesAnywhereClient", "UntagResourceCommand")
1225
- .sc(UntagResource$)
1226
- .build() {
989
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1227
990
  }
1228
991
 
1229
- class UpdateCrlCommand extends Command
1230
- .classBuilder()
1231
- .ep(commonParams)
1232
- .m(function (Command, cs, config, o) {
1233
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1234
- })
1235
- .s("RolesAnywhere", "UpdateCrl", {})
1236
- .n("RolesAnywhereClient", "UpdateCrlCommand")
1237
- .sc(UpdateCrl$)
1238
- .build() {
992
+ class UpdateCrlCommand extends command(_ep0, _mw0, "UpdateCrl", UpdateCrl$) {
1239
993
  }
1240
994
 
1241
- class UpdateProfileCommand extends Command
1242
- .classBuilder()
1243
- .ep(commonParams)
1244
- .m(function (Command, cs, config, o) {
1245
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1246
- })
1247
- .s("RolesAnywhere", "UpdateProfile", {})
1248
- .n("RolesAnywhereClient", "UpdateProfileCommand")
1249
- .sc(UpdateProfile$)
1250
- .build() {
995
+ class UpdateProfileCommand extends command(_ep0, _mw0, "UpdateProfile", UpdateProfile$) {
1251
996
  }
1252
997
 
1253
- class UpdateTrustAnchorCommand extends Command
1254
- .classBuilder()
1255
- .ep(commonParams)
1256
- .m(function (Command, cs, config, o) {
1257
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1258
- })
1259
- .s("RolesAnywhere", "UpdateTrustAnchor", {})
1260
- .n("RolesAnywhereClient", "UpdateTrustAnchorCommand")
1261
- .sc(UpdateTrustAnchor$)
1262
- .build() {
998
+ class UpdateTrustAnchorCommand extends command(_ep0, _mw0, "UpdateTrustAnchor", UpdateTrustAnchor$) {
1263
999
  }
1264
1000
 
1265
1001
  const paginateListCrls = createPaginator(RolesAnywhereClient, ListCrlsCommand, "nextToken", "nextToken", "");
@@ -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, "RolesAnywhere", "RolesAnywhereClient", 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 { 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("RolesAnywhere", "CreateProfile", {})
13
- .n("RolesAnywhereClient", "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 { CreateTrustAnchor$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateTrustAnchorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RolesAnywhere", "CreateTrustAnchor", {})
13
- .n("RolesAnywhereClient", "CreateTrustAnchorCommand")
14
- .sc(CreateTrustAnchor$)
15
- .build() {
3
+ export class CreateTrustAnchorCommand extends command(_ep0, _mw0, "CreateTrustAnchor", CreateTrustAnchor$) {
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 { DeleteAttributeMapping$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteAttributeMappingCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RolesAnywhere", "DeleteAttributeMapping", {})
13
- .n("RolesAnywhereClient", "DeleteAttributeMappingCommand")
14
- .sc(DeleteAttributeMapping$)
15
- .build() {
3
+ export class DeleteAttributeMappingCommand extends command(_ep0, _mw0, "DeleteAttributeMapping", DeleteAttributeMapping$) {
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 { DeleteCrl$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteCrlCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RolesAnywhere", "DeleteCrl", {})
13
- .n("RolesAnywhereClient", "DeleteCrlCommand")
14
- .sc(DeleteCrl$)
15
- .build() {
3
+ export class DeleteCrlCommand extends command(_ep0, _mw0, "DeleteCrl", DeleteCrl$) {
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("RolesAnywhere", "DeleteProfile", {})
13
- .n("RolesAnywhereClient", "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 { DeleteTrustAnchor$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteTrustAnchorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RolesAnywhere", "DeleteTrustAnchor", {})
13
- .n("RolesAnywhereClient", "DeleteTrustAnchorCommand")
14
- .sc(DeleteTrustAnchor$)
15
- .build() {
3
+ export class DeleteTrustAnchorCommand extends command(_ep0, _mw0, "DeleteTrustAnchor", DeleteTrustAnchor$) {
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 { DisableCrl$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisableCrlCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RolesAnywhere", "DisableCrl", {})
13
- .n("RolesAnywhereClient", "DisableCrlCommand")
14
- .sc(DisableCrl$)
15
- .build() {
3
+ export class DisableCrlCommand extends command(_ep0, _mw0, "DisableCrl", DisableCrl$) {
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 { DisableProfile$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisableProfileCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RolesAnywhere", "DisableProfile", {})
13
- .n("RolesAnywhereClient", "DisableProfileCommand")
14
- .sc(DisableProfile$)
15
- .build() {
3
+ export class DisableProfileCommand extends command(_ep0, _mw0, "DisableProfile", DisableProfile$) {
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 { DisableTrustAnchor$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisableTrustAnchorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RolesAnywhere", "DisableTrustAnchor", {})
13
- .n("RolesAnywhereClient", "DisableTrustAnchorCommand")
14
- .sc(DisableTrustAnchor$)
15
- .build() {
3
+ export class DisableTrustAnchorCommand extends command(_ep0, _mw0, "DisableTrustAnchor", DisableTrustAnchor$) {
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 { EnableCrl$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class EnableCrlCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RolesAnywhere", "EnableCrl", {})
13
- .n("RolesAnywhereClient", "EnableCrlCommand")
14
- .sc(EnableCrl$)
15
- .build() {
3
+ export class EnableCrlCommand extends command(_ep0, _mw0, "EnableCrl", EnableCrl$) {
16
4
  }