@aws-sdk/client-rolesanywhere 3.1077.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 (98) hide show
  1. package/dist-cjs/index.js +38 -303
  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-types/commandBuilder.d.ts +18 -0
  35. package/dist-types/commands/CreateProfileCommand.d.ts +3 -8
  36. package/dist-types/commands/CreateTrustAnchorCommand.d.ts +3 -8
  37. package/dist-types/commands/DeleteAttributeMappingCommand.d.ts +3 -8
  38. package/dist-types/commands/DeleteCrlCommand.d.ts +3 -8
  39. package/dist-types/commands/DeleteProfileCommand.d.ts +3 -8
  40. package/dist-types/commands/DeleteTrustAnchorCommand.d.ts +3 -8
  41. package/dist-types/commands/DisableCrlCommand.d.ts +3 -8
  42. package/dist-types/commands/DisableProfileCommand.d.ts +3 -8
  43. package/dist-types/commands/DisableTrustAnchorCommand.d.ts +3 -8
  44. package/dist-types/commands/EnableCrlCommand.d.ts +3 -8
  45. package/dist-types/commands/EnableProfileCommand.d.ts +3 -8
  46. package/dist-types/commands/EnableTrustAnchorCommand.d.ts +3 -8
  47. package/dist-types/commands/GetCrlCommand.d.ts +3 -8
  48. package/dist-types/commands/GetProfileCommand.d.ts +3 -8
  49. package/dist-types/commands/GetSubjectCommand.d.ts +3 -8
  50. package/dist-types/commands/GetTrustAnchorCommand.d.ts +3 -8
  51. package/dist-types/commands/ImportCrlCommand.d.ts +3 -8
  52. package/dist-types/commands/ListCrlsCommand.d.ts +3 -8
  53. package/dist-types/commands/ListProfilesCommand.d.ts +3 -8
  54. package/dist-types/commands/ListSubjectsCommand.d.ts +3 -8
  55. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  56. package/dist-types/commands/ListTrustAnchorsCommand.d.ts +3 -8
  57. package/dist-types/commands/PutAttributeMappingCommand.d.ts +3 -8
  58. package/dist-types/commands/PutNotificationSettingsCommand.d.ts +3 -8
  59. package/dist-types/commands/ResetNotificationSettingsCommand.d.ts +3 -8
  60. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  61. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  62. package/dist-types/commands/UpdateCrlCommand.d.ts +3 -8
  63. package/dist-types/commands/UpdateProfileCommand.d.ts +3 -8
  64. package/dist-types/commands/UpdateTrustAnchorCommand.d.ts +3 -8
  65. package/dist-types/index.d.ts +1 -0
  66. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  67. package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/CreateTrustAnchorCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/DeleteAttributeMappingCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/DeleteCrlCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/DeleteTrustAnchorCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/DisableCrlCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/DisableProfileCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/DisableTrustAnchorCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/EnableCrlCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/EnableProfileCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/EnableTrustAnchorCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/GetCrlCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/GetProfileCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/GetSubjectCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/GetTrustAnchorCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/ImportCrlCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/ListCrlsCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/ListSubjectsCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/ListTrustAnchorsCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/PutAttributeMappingCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/PutNotificationSettingsCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/ResetNotificationSettingsCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/UpdateCrlCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/UpdateTrustAnchorCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/index.d.ts +1 -0
  98. package/package.json +8 -8
@@ -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";
@@ -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>
@@ -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 { ProfileDetailResponse, ScalarProfileRequest } 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 DeleteProfileCommandInput extends ScalarProfileRequest {
22
19
  export interface DeleteProfileCommandOutput extends ProfileDetailResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DeleteProfileCommand_base: {
25
- new (input: DeleteProfileCommandInput): import("@smithy/core/client").CommandImpl<DeleteProfileCommandInput, DeleteProfileCommandOutput, RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteProfileCommandInput): import("@smithy/core/client").CommandImpl<DeleteProfileCommandInput, DeleteProfileCommandOutput, RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteProfileCommandInput): import("@smithy/core/client").CommandImpl<DeleteProfileCommandInput, DeleteProfileCommandOutput, import("..").RolesAnywhereClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteProfileCommandInput): import("@smithy/core/client").CommandImpl<DeleteProfileCommandInput, DeleteProfileCommandOutput, import("..").RolesAnywhereClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes a profile.</p> <p> <b>Required permissions: </b> <code>rolesanywhere:DeleteProfile</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 { ScalarTrustAnchorRequest, 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 DeleteTrustAnchorCommandInput extends ScalarTrustAnchorRequest
22
19
  export interface DeleteTrustAnchorCommandOutput extends TrustAnchorDetailResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DeleteTrustAnchorCommand_base: {
25
- new (input: DeleteTrustAnchorCommandInput): import("@smithy/core/client").CommandImpl<DeleteTrustAnchorCommandInput, DeleteTrustAnchorCommandOutput, RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteTrustAnchorCommandInput): import("@smithy/core/client").CommandImpl<DeleteTrustAnchorCommandInput, DeleteTrustAnchorCommandOutput, RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteTrustAnchorCommandInput): import("@smithy/core/client").CommandImpl<DeleteTrustAnchorCommandInput, DeleteTrustAnchorCommandOutput, import("..").RolesAnywhereClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteTrustAnchorCommandInput): import("@smithy/core/client").CommandImpl<DeleteTrustAnchorCommandInput, DeleteTrustAnchorCommandOutput, import("..").RolesAnywhereClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes a trust anchor.</p> <p> <b>Required permissions: </b> <code>rolesanywhere:DeleteTrustAnchor</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 { 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 DisableCrlCommandInput extends ScalarCrlRequest {
22
19
  export interface DisableCrlCommandOutput extends CrlDetailResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DisableCrlCommand_base: {
25
- new (input: DisableCrlCommandInput): import("@smithy/core/client").CommandImpl<DisableCrlCommandInput, DisableCrlCommandOutput, RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DisableCrlCommandInput): import("@smithy/core/client").CommandImpl<DisableCrlCommandInput, DisableCrlCommandOutput, RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DisableCrlCommandInput): import("@smithy/core/client").CommandImpl<DisableCrlCommandInput, DisableCrlCommandOutput, import("..").RolesAnywhereClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DisableCrlCommandInput): import("@smithy/core/client").CommandImpl<DisableCrlCommandInput, DisableCrlCommandOutput, import("..").RolesAnywhereClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Disables a certificate revocation list (CRL).</p> <p> <b>Required permissions: </b> <code>rolesanywhere:DisableCrl</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 { ProfileDetailResponse, ScalarProfileRequest } 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 DisableProfileCommandInput extends ScalarProfileRequest {
22
19
  export interface DisableProfileCommandOutput extends ProfileDetailResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DisableProfileCommand_base: {
25
- new (input: DisableProfileCommandInput): import("@smithy/core/client").CommandImpl<DisableProfileCommandInput, DisableProfileCommandOutput, RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DisableProfileCommandInput): import("@smithy/core/client").CommandImpl<DisableProfileCommandInput, DisableProfileCommandOutput, RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DisableProfileCommandInput): import("@smithy/core/client").CommandImpl<DisableProfileCommandInput, DisableProfileCommandOutput, import("..").RolesAnywhereClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DisableProfileCommandInput): import("@smithy/core/client").CommandImpl<DisableProfileCommandInput, DisableProfileCommandOutput, import("..").RolesAnywhereClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Disables a profile. When disabled, temporary credential requests with this profile fail.</p> <p> <b>Required permissions: </b> <code>rolesanywhere:DisableProfile</code>. </p>