@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
@@ -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 { EnableProfile$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class EnableProfileCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RolesAnywhere", "EnableProfile", {})
13
- .n("RolesAnywhereClient", "EnableProfileCommand")
14
- .sc(EnableProfile$)
15
- .build() {
3
+ export class EnableProfileCommand extends command(_ep0, _mw0, "EnableProfile", EnableProfile$) {
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 { EnableTrustAnchor$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class EnableTrustAnchorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RolesAnywhere", "EnableTrustAnchor", {})
13
- .n("RolesAnywhereClient", "EnableTrustAnchorCommand")
14
- .sc(EnableTrustAnchor$)
15
- .build() {
3
+ export class EnableTrustAnchorCommand extends command(_ep0, _mw0, "EnableTrustAnchor", EnableTrustAnchor$) {
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 { GetCrl$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetCrlCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RolesAnywhere", "GetCrl", {})
13
- .n("RolesAnywhereClient", "GetCrlCommand")
14
- .sc(GetCrl$)
15
- .build() {
3
+ export class GetCrlCommand extends command(_ep0, _mw0, "GetCrl", GetCrl$) {
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("RolesAnywhere", "GetProfile", {})
13
- .n("RolesAnywhereClient", "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 { GetSubject$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetSubjectCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RolesAnywhere", "GetSubject", {})
13
- .n("RolesAnywhereClient", "GetSubjectCommand")
14
- .sc(GetSubject$)
15
- .build() {
3
+ export class GetSubjectCommand extends command(_ep0, _mw0, "GetSubject", GetSubject$) {
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 { GetTrustAnchor$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetTrustAnchorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RolesAnywhere", "GetTrustAnchor", {})
13
- .n("RolesAnywhereClient", "GetTrustAnchorCommand")
14
- .sc(GetTrustAnchor$)
15
- .build() {
3
+ export class GetTrustAnchorCommand extends command(_ep0, _mw0, "GetTrustAnchor", GetTrustAnchor$) {
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 { ImportCrl$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ImportCrlCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RolesAnywhere", "ImportCrl", {})
13
- .n("RolesAnywhereClient", "ImportCrlCommand")
14
- .sc(ImportCrl$)
15
- .build() {
3
+ export class ImportCrlCommand extends command(_ep0, _mw0, "ImportCrl", ImportCrl$) {
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 { ListCrls$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListCrlsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RolesAnywhere", "ListCrls", {})
13
- .n("RolesAnywhereClient", "ListCrlsCommand")
14
- .sc(ListCrls$)
15
- .build() {
3
+ export class ListCrlsCommand extends command(_ep0, _mw0, "ListCrls", ListCrls$) {
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("RolesAnywhere", "ListProfiles", {})
13
- .n("RolesAnywhereClient", "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 { ListSubjects$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSubjectsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RolesAnywhere", "ListSubjects", {})
13
- .n("RolesAnywhereClient", "ListSubjectsCommand")
14
- .sc(ListSubjects$)
15
- .build() {
3
+ export class ListSubjectsCommand extends command(_ep0, _mw0, "ListSubjects", ListSubjects$) {
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("RolesAnywhere", "ListTagsForResource", {})
13
- .n("RolesAnywhereClient", "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 { ListTrustAnchors$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTrustAnchorsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RolesAnywhere", "ListTrustAnchors", {})
13
- .n("RolesAnywhereClient", "ListTrustAnchorsCommand")
14
- .sc(ListTrustAnchors$)
15
- .build() {
3
+ export class ListTrustAnchorsCommand extends command(_ep0, _mw0, "ListTrustAnchors", ListTrustAnchors$) {
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 { PutAttributeMapping$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutAttributeMappingCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RolesAnywhere", "PutAttributeMapping", {})
13
- .n("RolesAnywhereClient", "PutAttributeMappingCommand")
14
- .sc(PutAttributeMapping$)
15
- .build() {
3
+ export class PutAttributeMappingCommand extends command(_ep0, _mw0, "PutAttributeMapping", PutAttributeMapping$) {
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 { PutNotificationSettings$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutNotificationSettingsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RolesAnywhere", "PutNotificationSettings", {})
13
- .n("RolesAnywhereClient", "PutNotificationSettingsCommand")
14
- .sc(PutNotificationSettings$)
15
- .build() {
3
+ export class PutNotificationSettingsCommand extends command(_ep0, _mw0, "PutNotificationSettings", PutNotificationSettings$) {
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 { ResetNotificationSettings$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ResetNotificationSettingsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RolesAnywhere", "ResetNotificationSettings", {})
13
- .n("RolesAnywhereClient", "ResetNotificationSettingsCommand")
14
- .sc(ResetNotificationSettings$)
15
- .build() {
3
+ export class ResetNotificationSettingsCommand extends command(_ep0, _mw0, "ResetNotificationSettings", ResetNotificationSettings$) {
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("RolesAnywhere", "TagResource", {})
13
- .n("RolesAnywhereClient", "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("RolesAnywhere", "UntagResource", {})
13
- .n("RolesAnywhereClient", "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 { UpdateCrl$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateCrlCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RolesAnywhere", "UpdateCrl", {})
13
- .n("RolesAnywhereClient", "UpdateCrlCommand")
14
- .sc(UpdateCrl$)
15
- .build() {
3
+ export class UpdateCrlCommand extends command(_ep0, _mw0, "UpdateCrl", UpdateCrl$) {
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 { UpdateProfile$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateProfileCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RolesAnywhere", "UpdateProfile", {})
13
- .n("RolesAnywhereClient", "UpdateProfileCommand")
14
- .sc(UpdateProfile$)
15
- .build() {
3
+ export class UpdateProfileCommand extends command(_ep0, _mw0, "UpdateProfile", UpdateProfile$) {
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 { UpdateTrustAnchor$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateTrustAnchorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RolesAnywhere", "UpdateTrustAnchor", {})
13
- .n("RolesAnywhereClient", "UpdateTrustAnchorCommand")
14
- .sc(UpdateTrustAnchor$)
15
- .build() {
3
+ export class UpdateTrustAnchorCommand extends command(_ep0, _mw0, "UpdateTrustAnchor", UpdateTrustAnchor$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./RolesAnywhereClient";
2
2
  export * from "./RolesAnywhere";
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";
@@ -1,5 +1,4 @@
1
1
  import packageInfo from "../package.json";
2
- import { Sha256 } from "@aws-crypto/sha256-browser";
3
2
  import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
4
3
  import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
23
22
  region: config?.region ?? invalidProvider("Region is missing"),
24
23
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
25
24
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
26
- sha256: config?.sha256 ?? Sha256,
27
25
  streamCollector: config?.streamCollector ?? streamCollector,
28
26
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
29
27
  useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
5
5
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
6
6
  import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
7
7
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
8
- import { calculateBodyLength, Hash } from "@smithy/core/serde";
8
+ import { calculateBodyLength } from "@smithy/core/serde";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
10
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
11
11
  export const getRuntimeConfig = (config) => {
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
35
35
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
36
36
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
37
37
  }, config),
38
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
39
38
  streamCollector: config?.streamCollector ?? streamCollector,
40
39
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
41
40
  useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1,4 +1,3 @@
1
- import { Sha256 } from "@aws-crypto/sha256-js";
2
1
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
2
  export const getRuntimeConfig = (config) => {
4
3
  const browserDefaults = getBrowserRuntimeConfig(config);
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
6
5
  ...browserDefaults,
7
6
  ...config,
8
7
  runtime: "react-native",
9
- sha256: config?.sha256 ?? Sha256,
10
8
  };
11
9
  };
@@ -1,5 +1,6 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
3
+ import { Sha256 } from "@smithy/core/checksum";
3
4
  import { NoOpLogger } from "@smithy/core/client";
4
5
  import { parseUrl } from "@smithy/core/protocols";
5
6
  import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
31
32
  serviceTarget: "RolesAnywhere",
32
33
  },
33
34
  serviceId: config?.serviceId ?? "RolesAnywhere",
35
+ sha256: config?.sha256 ?? Sha256,
34
36
  urlParser: config?.urlParser ?? parseUrl,
35
37
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
36
38
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./RolesAnywhereClient";
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, RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, RolesAnywhereClientResolvedConfig, 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 { CreateProfileRequest, ProfileDetailResponse } from "../models/models_0";
4
- import type { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RolesAnywhereClient";
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 CreateProfileCommandInput extends CreateProfileRequest {
22
19
  export interface CreateProfileCommandOutput extends ProfileDetailResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateProfileCommand_base: {
25
- new (input: CreateProfileCommandInput): import("@smithy/core/client").CommandImpl<CreateProfileCommandInput, CreateProfileCommandOutput, RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateProfileCommandInput): import("@smithy/core/client").CommandImpl<CreateProfileCommandInput, CreateProfileCommandOutput, RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateProfileCommandInput): import("@smithy/core/client").CommandImpl<CreateProfileCommandInput, CreateProfileCommandOutput, import("..").RolesAnywhereClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateProfileCommandInput): import("@smithy/core/client").CommandImpl<CreateProfileCommandInput, CreateProfileCommandOutput, import("..").RolesAnywhereClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a <i>profile</i>, a list of the roles that Roles Anywhere service is trusted to assume. You use profiles to intersect permissions with IAM managed policies.</p> <p> <b>Required permissions: </b> <code>rolesanywhere:CreateProfile</code>. </p>
@@ -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 { CreateTrustAnchorRequest, TrustAnchorDetailResponse } from "../models/models_0";
4
- import type { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RolesAnywhereClient";
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 CreateTrustAnchorCommandInput extends CreateTrustAnchorRequest
22
19
  export interface CreateTrustAnchorCommandOutput extends TrustAnchorDetailResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateTrustAnchorCommand_base: {
25
- new (input: CreateTrustAnchorCommandInput): import("@smithy/core/client").CommandImpl<CreateTrustAnchorCommandInput, CreateTrustAnchorCommandOutput, RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateTrustAnchorCommandInput): import("@smithy/core/client").CommandImpl<CreateTrustAnchorCommandInput, CreateTrustAnchorCommandOutput, RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateTrustAnchorCommandInput): import("@smithy/core/client").CommandImpl<CreateTrustAnchorCommandInput, CreateTrustAnchorCommandOutput, import("..").RolesAnywhereClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateTrustAnchorCommandInput): import("@smithy/core/client").CommandImpl<CreateTrustAnchorCommandInput, CreateTrustAnchorCommandOutput, import("..").RolesAnywhereClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a trust anchor to establish trust between IAM Roles Anywhere and your certificate authority (CA). You can define a trust anchor as a reference to an Private Certificate Authority (Private CA) or by uploading a CA certificate. Your Amazon Web Services workloads can authenticate with the trust anchor using certificates issued by the CA in exchange for temporary Amazon Web Services credentials.</p> <p> <b>Required permissions: </b> <code>rolesanywhere:CreateTrustAnchor</code>. </p>
@@ -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 { DeleteAttributeMappingRequest, DeleteAttributeMappingResponse } from "../models/models_0";
4
- import type { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RolesAnywhereClient";
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 DeleteAttributeMappingCommandInput extends DeleteAttributeMappi
22
19
  export interface DeleteAttributeMappingCommandOutput extends DeleteAttributeMappingResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DeleteAttributeMappingCommand_base: {
25
- new (input: DeleteAttributeMappingCommandInput): import("@smithy/core/client").CommandImpl<DeleteAttributeMappingCommandInput, DeleteAttributeMappingCommandOutput, RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteAttributeMappingCommandInput): import("@smithy/core/client").CommandImpl<DeleteAttributeMappingCommandInput, DeleteAttributeMappingCommandOutput, RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteAttributeMappingCommandInput): import("@smithy/core/client").CommandImpl<DeleteAttributeMappingCommandInput, DeleteAttributeMappingCommandOutput, import("..").RolesAnywhereClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteAttributeMappingCommandInput): import("@smithy/core/client").CommandImpl<DeleteAttributeMappingCommandInput, DeleteAttributeMappingCommandOutput, import("..").RolesAnywhereClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Delete an entry from the attribute mapping rules enforced by a given profile.</p>
@@ -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 { CrlDetailResponse, ScalarCrlRequest } from "../models/models_0";
4
- import type { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RolesAnywhereClient";
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 DeleteCrlCommandInput extends ScalarCrlRequest {
22
19
  export interface DeleteCrlCommandOutput extends CrlDetailResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DeleteCrlCommand_base: {
25
- new (input: DeleteCrlCommandInput): import("@smithy/core/client").CommandImpl<DeleteCrlCommandInput, DeleteCrlCommandOutput, RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteCrlCommandInput): import("@smithy/core/client").CommandImpl<DeleteCrlCommandInput, DeleteCrlCommandOutput, RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteCrlCommandInput): import("@smithy/core/client").CommandImpl<DeleteCrlCommandInput, DeleteCrlCommandOutput, import("..").RolesAnywhereClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteCrlCommandInput): import("@smithy/core/client").CommandImpl<DeleteCrlCommandInput, DeleteCrlCommandOutput, import("..").RolesAnywhereClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes a certificate revocation list (CRL).</p> <p> <b>Required permissions: </b> <code>rolesanywhere:DeleteCrl</code>. </p>