@aws-sdk/client-rolesanywhere 3.123.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.
- package/CHANGELOG.md +11 -0
- package/LICENSE +201 -0
- package/README.md +208 -0
- package/dist-cjs/RolesAnywhere.js +397 -0
- package/dist-cjs/RolesAnywhereClient.js +37 -0
- package/dist-cjs/commands/CreateProfileCommand.js +36 -0
- package/dist-cjs/commands/CreateTrustAnchorCommand.js +36 -0
- package/dist-cjs/commands/DeleteCrlCommand.js +36 -0
- package/dist-cjs/commands/DeleteProfileCommand.js +36 -0
- package/dist-cjs/commands/DeleteTrustAnchorCommand.js +36 -0
- package/dist-cjs/commands/DisableCrlCommand.js +36 -0
- package/dist-cjs/commands/DisableProfileCommand.js +36 -0
- package/dist-cjs/commands/DisableTrustAnchorCommand.js +36 -0
- package/dist-cjs/commands/EnableCrlCommand.js +36 -0
- package/dist-cjs/commands/EnableProfileCommand.js +36 -0
- package/dist-cjs/commands/EnableTrustAnchorCommand.js +36 -0
- package/dist-cjs/commands/GetCrlCommand.js +36 -0
- package/dist-cjs/commands/GetProfileCommand.js +36 -0
- package/dist-cjs/commands/GetSubjectCommand.js +36 -0
- package/dist-cjs/commands/GetTrustAnchorCommand.js +36 -0
- package/dist-cjs/commands/ImportCrlCommand.js +36 -0
- package/dist-cjs/commands/ListCrlsCommand.js +36 -0
- package/dist-cjs/commands/ListProfilesCommand.js +36 -0
- package/dist-cjs/commands/ListSubjectsCommand.js +36 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/ListTrustAnchorsCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/UpdateCrlCommand.js +36 -0
- package/dist-cjs/commands/UpdateProfileCommand.js +36 -0
- package/dist-cjs/commands/UpdateTrustAnchorCommand.js +36 -0
- package/dist-cjs/commands/index.js +29 -0
- package/dist-cjs/endpoints.js +131 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/RolesAnywhereServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +301 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListCrlsPaginator.js +35 -0
- package/dist-cjs/pagination/ListProfilesPaginator.js +35 -0
- package/dist-cjs/pagination/ListSubjectsPaginator.js +35 -0
- package/dist-cjs/pagination/ListTrustAnchorsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2195 -0
- package/dist-cjs/runtimeConfig.browser.js +45 -0
- package/dist-cjs/runtimeConfig.js +52 -0
- package/dist-cjs/runtimeConfig.native.js +16 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/RolesAnywhere.js +400 -0
- package/dist-es/RolesAnywhereClient.js +39 -0
- package/dist-es/commands/CreateProfileCommand.js +39 -0
- package/dist-es/commands/CreateTrustAnchorCommand.js +39 -0
- package/dist-es/commands/DeleteCrlCommand.js +39 -0
- package/dist-es/commands/DeleteProfileCommand.js +39 -0
- package/dist-es/commands/DeleteTrustAnchorCommand.js +39 -0
- package/dist-es/commands/DisableCrlCommand.js +39 -0
- package/dist-es/commands/DisableProfileCommand.js +39 -0
- package/dist-es/commands/DisableTrustAnchorCommand.js +39 -0
- package/dist-es/commands/EnableCrlCommand.js +39 -0
- package/dist-es/commands/EnableProfileCommand.js +39 -0
- package/dist-es/commands/EnableTrustAnchorCommand.js +39 -0
- package/dist-es/commands/GetCrlCommand.js +39 -0
- package/dist-es/commands/GetProfileCommand.js +39 -0
- package/dist-es/commands/GetSubjectCommand.js +39 -0
- package/dist-es/commands/GetTrustAnchorCommand.js +39 -0
- package/dist-es/commands/ImportCrlCommand.js +39 -0
- package/dist-es/commands/ListCrlsCommand.js +39 -0
- package/dist-es/commands/ListProfilesCommand.js +39 -0
- package/dist-es/commands/ListSubjectsCommand.js +39 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/ListTrustAnchorsCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/UpdateCrlCommand.js +39 -0
- package/dist-es/commands/UpdateProfileCommand.js +39 -0
- package/dist-es/commands/UpdateTrustAnchorCommand.js +39 -0
- package/dist-es/commands/index.js +26 -0
- package/dist-es/endpoints.js +127 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/RolesAnywhereServiceException.js +12 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +214 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListCrlsPaginator.js +74 -0
- package/dist-es/pagination/ListProfilesPaginator.js +74 -0
- package/dist-es/pagination/ListSubjectsPaginator.js +74 -0
- package/dist-es/pagination/ListTrustAnchorsPaginator.js +74 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +2793 -0
- package/dist-es/runtimeConfig.browser.js +26 -0
- package/dist-es/runtimeConfig.js +30 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/RolesAnywhere.d.ts +296 -0
- package/dist-types/RolesAnywhereClient.d.ts +173 -0
- package/dist-types/commands/CreateProfileCommand.d.ts +39 -0
- package/dist-types/commands/CreateTrustAnchorCommand.d.ts +39 -0
- package/dist-types/commands/DeleteCrlCommand.d.ts +39 -0
- package/dist-types/commands/DeleteProfileCommand.d.ts +39 -0
- package/dist-types/commands/DeleteTrustAnchorCommand.d.ts +39 -0
- package/dist-types/commands/DisableCrlCommand.d.ts +39 -0
- package/dist-types/commands/DisableProfileCommand.d.ts +39 -0
- package/dist-types/commands/DisableTrustAnchorCommand.d.ts +39 -0
- package/dist-types/commands/EnableCrlCommand.d.ts +39 -0
- package/dist-types/commands/EnableProfileCommand.d.ts +39 -0
- package/dist-types/commands/EnableTrustAnchorCommand.d.ts +39 -0
- package/dist-types/commands/GetCrlCommand.d.ts +39 -0
- package/dist-types/commands/GetProfileCommand.d.ts +39 -0
- package/dist-types/commands/GetSubjectCommand.d.ts +39 -0
- package/dist-types/commands/GetTrustAnchorCommand.d.ts +39 -0
- package/dist-types/commands/ImportCrlCommand.d.ts +39 -0
- package/dist-types/commands/ListCrlsCommand.d.ts +39 -0
- package/dist-types/commands/ListProfilesCommand.d.ts +39 -0
- package/dist-types/commands/ListSubjectsCommand.d.ts +39 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/commands/ListTrustAnchorsCommand.d.ts +39 -0
- package/dist-types/commands/TagResourceCommand.d.ts +39 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +39 -0
- package/dist-types/commands/UpdateCrlCommand.d.ts +39 -0
- package/dist-types/commands/UpdateProfileCommand.d.ts +39 -0
- package/dist-types/commands/UpdateTrustAnchorCommand.d.ts +39 -0
- package/dist-types/commands/index.d.ts +26 -0
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/RolesAnywhereServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +823 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListCrlsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListProfilesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListSubjectsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListTrustAnchorsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +80 -0
- package/dist-types/runtimeConfig.browser.d.ts +40 -0
- package/dist-types/runtimeConfig.d.ts +40 -0
- package/dist-types/runtimeConfig.native.d.ts +39 -0
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/RolesAnywhere.d.ts +135 -0
- package/dist-types/ts3.4/RolesAnywhereClient.d.ts +99 -0
- package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateTrustAnchorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteCrlCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteTrustAnchorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisableCrlCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisableProfileCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisableTrustAnchorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/EnableCrlCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/EnableProfileCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/EnableTrustAnchorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetCrlCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetProfileCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSubjectCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetTrustAnchorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ImportCrlCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListCrlsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListSubjectsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTrustAnchorsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateCrlCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateTrustAnchorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +26 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/RolesAnywhereServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +498 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListCrlsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListProfilesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListSubjectsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListTrustAnchorsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +80 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +94 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateCrlCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class UpdateCrlCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "RolesAnywhereClient";
|
|
18
|
+
const commandName = "UpdateCrlCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.UpdateCrlRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CrlDetailResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateCrlCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateCrlCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.UpdateCrlCommand = UpdateCrlCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateProfileCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class UpdateProfileCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "RolesAnywhereClient";
|
|
18
|
+
const commandName = "UpdateProfileCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.UpdateProfileRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ProfileDetailResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateProfileCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateProfileCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.UpdateProfileCommand = UpdateProfileCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateTrustAnchorCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class UpdateTrustAnchorCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "RolesAnywhereClient";
|
|
18
|
+
const commandName = "UpdateTrustAnchorCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.UpdateTrustAnchorRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.TrustAnchorDetailResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateTrustAnchorCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateTrustAnchorCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.UpdateTrustAnchorCommand = UpdateTrustAnchorCommand;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./CreateProfileCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./CreateTrustAnchorCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./DeleteCrlCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./DeleteProfileCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./DeleteTrustAnchorCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./DisableCrlCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./DisableProfileCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./DisableTrustAnchorCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./EnableCrlCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./EnableProfileCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./EnableTrustAnchorCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./GetCrlCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./GetProfileCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./GetSubjectCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./GetTrustAnchorCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./ImportCrlCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./ListCrlsCommand"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./ListProfilesCommand"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./ListSubjectsCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./ListTrustAnchorsCommand"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./UpdateCrlCommand"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./UpdateProfileCommand"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./UpdateTrustAnchorCommand"), exports);
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defaultRegionInfoProvider = void 0;
|
|
4
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
|
+
const regionHash = {};
|
|
6
|
+
const partitionHash = {
|
|
7
|
+
aws: {
|
|
8
|
+
regions: [
|
|
9
|
+
"af-south-1",
|
|
10
|
+
"ap-east-1",
|
|
11
|
+
"ap-northeast-1",
|
|
12
|
+
"ap-northeast-2",
|
|
13
|
+
"ap-northeast-3",
|
|
14
|
+
"ap-south-1",
|
|
15
|
+
"ap-southeast-1",
|
|
16
|
+
"ap-southeast-2",
|
|
17
|
+
"ap-southeast-3",
|
|
18
|
+
"ca-central-1",
|
|
19
|
+
"eu-central-1",
|
|
20
|
+
"eu-north-1",
|
|
21
|
+
"eu-south-1",
|
|
22
|
+
"eu-west-1",
|
|
23
|
+
"eu-west-2",
|
|
24
|
+
"eu-west-3",
|
|
25
|
+
"me-south-1",
|
|
26
|
+
"sa-east-1",
|
|
27
|
+
"us-east-1",
|
|
28
|
+
"us-east-2",
|
|
29
|
+
"us-west-1",
|
|
30
|
+
"us-west-2",
|
|
31
|
+
],
|
|
32
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
33
|
+
variants: [
|
|
34
|
+
{
|
|
35
|
+
hostname: "rolesanywhere.{region}.amazonaws.com",
|
|
36
|
+
tags: [],
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
hostname: "rolesanywhere-fips.{region}.amazonaws.com",
|
|
40
|
+
tags: ["fips"],
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
hostname: "rolesanywhere-fips.{region}.api.aws",
|
|
44
|
+
tags: ["dualstack", "fips"],
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
hostname: "rolesanywhere.{region}.api.aws",
|
|
48
|
+
tags: ["dualstack"],
|
|
49
|
+
},
|
|
50
|
+
],
|
|
51
|
+
},
|
|
52
|
+
"aws-cn": {
|
|
53
|
+
regions: ["cn-north-1", "cn-northwest-1"],
|
|
54
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
55
|
+
variants: [
|
|
56
|
+
{
|
|
57
|
+
hostname: "rolesanywhere.{region}.amazonaws.com.cn",
|
|
58
|
+
tags: [],
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
hostname: "rolesanywhere-fips.{region}.amazonaws.com.cn",
|
|
62
|
+
tags: ["fips"],
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
hostname: "rolesanywhere-fips.{region}.api.amazonwebservices.com.cn",
|
|
66
|
+
tags: ["dualstack", "fips"],
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
hostname: "rolesanywhere.{region}.api.amazonwebservices.com.cn",
|
|
70
|
+
tags: ["dualstack"],
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
},
|
|
74
|
+
"aws-iso": {
|
|
75
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
76
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
77
|
+
variants: [
|
|
78
|
+
{
|
|
79
|
+
hostname: "rolesanywhere.{region}.c2s.ic.gov",
|
|
80
|
+
tags: [],
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
hostname: "rolesanywhere-fips.{region}.c2s.ic.gov",
|
|
84
|
+
tags: ["fips"],
|
|
85
|
+
},
|
|
86
|
+
],
|
|
87
|
+
},
|
|
88
|
+
"aws-iso-b": {
|
|
89
|
+
regions: ["us-isob-east-1"],
|
|
90
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
91
|
+
variants: [
|
|
92
|
+
{
|
|
93
|
+
hostname: "rolesanywhere.{region}.sc2s.sgov.gov",
|
|
94
|
+
tags: [],
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
hostname: "rolesanywhere-fips.{region}.sc2s.sgov.gov",
|
|
98
|
+
tags: ["fips"],
|
|
99
|
+
},
|
|
100
|
+
],
|
|
101
|
+
},
|
|
102
|
+
"aws-us-gov": {
|
|
103
|
+
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
104
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
105
|
+
variants: [
|
|
106
|
+
{
|
|
107
|
+
hostname: "rolesanywhere.{region}.amazonaws.com",
|
|
108
|
+
tags: [],
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
hostname: "rolesanywhere-fips.{region}.amazonaws.com",
|
|
112
|
+
tags: ["fips"],
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
hostname: "rolesanywhere-fips.{region}.api.aws",
|
|
116
|
+
tags: ["dualstack", "fips"],
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
hostname: "rolesanywhere.{region}.api.aws",
|
|
120
|
+
tags: ["dualstack"],
|
|
121
|
+
},
|
|
122
|
+
],
|
|
123
|
+
},
|
|
124
|
+
};
|
|
125
|
+
const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
|
|
126
|
+
...options,
|
|
127
|
+
signingService: "rolesanywhere",
|
|
128
|
+
regionHash,
|
|
129
|
+
partitionHash,
|
|
130
|
+
});
|
|
131
|
+
exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RolesAnywhereServiceException = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
tslib_1.__exportStar(require("./RolesAnywhere"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./RolesAnywhereClient"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./pagination"), exports);
|
|
10
|
+
var RolesAnywhereServiceException_1 = require("./models/RolesAnywhereServiceException");
|
|
11
|
+
Object.defineProperty(exports, "RolesAnywhereServiceException", { enumerable: true, get: function () { return RolesAnywhereServiceException_1.RolesAnywhereServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RolesAnywhereServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class RolesAnywhereServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, RolesAnywhereServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.RolesAnywhereServiceException = RolesAnywhereServiceException;
|
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UntagResourceResponse = exports.UntagResourceRequest = exports.UpdateTrustAnchorRequest = exports.TooManyTagsException = exports.TagResourceResponse = exports.TagResourceRequest = exports.UpdateProfileRequest = exports.ListTrustAnchorsResponse = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListSubjectsResponse = exports.SubjectSummary = exports.ListProfilesResponse = exports.SubjectDetailResponse = exports.SubjectDetail = exports.InstanceProperty = exports.ScalarSubjectRequest = exports.ScalarTrustAnchorRequest = exports.ScalarProfileRequest = exports.UpdateCrlRequest = exports.ListRequest = exports.ListCrlsResponse = exports.ImportCrlRequest = exports.ScalarCrlRequest = exports.ResourceNotFoundException = exports.CrlDetailResponse = exports.CrlDetail = exports.CredentialSummary = exports.TrustAnchorDetailResponse = exports.TrustAnchorDetail = exports.CreateTrustAnchorRequest = exports.Source = exports.TrustAnchorType = exports.SourceData = exports.ValidationException = exports.ProfileDetailResponse = exports.ProfileDetail = exports.CreateProfileRequest = exports.Tag = exports.AccessDeniedException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
const RolesAnywhereServiceException_1 = require("./RolesAnywhereServiceException");
|
|
6
|
+
class AccessDeniedException extends RolesAnywhereServiceException_1.RolesAnywhereServiceException {
|
|
7
|
+
constructor(opts) {
|
|
8
|
+
super({
|
|
9
|
+
name: "AccessDeniedException",
|
|
10
|
+
$fault: "client",
|
|
11
|
+
...opts,
|
|
12
|
+
});
|
|
13
|
+
this.name = "AccessDeniedException";
|
|
14
|
+
this.$fault = "client";
|
|
15
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
19
|
+
var Tag;
|
|
20
|
+
(function (Tag) {
|
|
21
|
+
Tag.filterSensitiveLog = (obj) => ({
|
|
22
|
+
...obj,
|
|
23
|
+
...(obj.key && { key: smithy_client_1.SENSITIVE_STRING }),
|
|
24
|
+
...(obj.value && { value: smithy_client_1.SENSITIVE_STRING }),
|
|
25
|
+
});
|
|
26
|
+
})(Tag = exports.Tag || (exports.Tag = {}));
|
|
27
|
+
var CreateProfileRequest;
|
|
28
|
+
(function (CreateProfileRequest) {
|
|
29
|
+
CreateProfileRequest.filterSensitiveLog = (obj) => ({
|
|
30
|
+
...obj,
|
|
31
|
+
...(obj.tags && { tags: obj.tags.map((item) => Tag.filterSensitiveLog(item)) }),
|
|
32
|
+
});
|
|
33
|
+
})(CreateProfileRequest = exports.CreateProfileRequest || (exports.CreateProfileRequest = {}));
|
|
34
|
+
var ProfileDetail;
|
|
35
|
+
(function (ProfileDetail) {
|
|
36
|
+
ProfileDetail.filterSensitiveLog = (obj) => ({
|
|
37
|
+
...obj,
|
|
38
|
+
});
|
|
39
|
+
})(ProfileDetail = exports.ProfileDetail || (exports.ProfileDetail = {}));
|
|
40
|
+
var ProfileDetailResponse;
|
|
41
|
+
(function (ProfileDetailResponse) {
|
|
42
|
+
ProfileDetailResponse.filterSensitiveLog = (obj) => ({
|
|
43
|
+
...obj,
|
|
44
|
+
});
|
|
45
|
+
})(ProfileDetailResponse = exports.ProfileDetailResponse || (exports.ProfileDetailResponse = {}));
|
|
46
|
+
class ValidationException extends RolesAnywhereServiceException_1.RolesAnywhereServiceException {
|
|
47
|
+
constructor(opts) {
|
|
48
|
+
super({
|
|
49
|
+
name: "ValidationException",
|
|
50
|
+
$fault: "client",
|
|
51
|
+
...opts,
|
|
52
|
+
});
|
|
53
|
+
this.name = "ValidationException";
|
|
54
|
+
this.$fault = "client";
|
|
55
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.ValidationException = ValidationException;
|
|
59
|
+
var SourceData;
|
|
60
|
+
(function (SourceData) {
|
|
61
|
+
SourceData.visit = (value, visitor) => {
|
|
62
|
+
if (value.x509CertificateData !== undefined)
|
|
63
|
+
return visitor.x509CertificateData(value.x509CertificateData);
|
|
64
|
+
if (value.acmPcaArn !== undefined)
|
|
65
|
+
return visitor.acmPcaArn(value.acmPcaArn);
|
|
66
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
67
|
+
};
|
|
68
|
+
SourceData.filterSensitiveLog = (obj) => {
|
|
69
|
+
if (obj.x509CertificateData !== undefined)
|
|
70
|
+
return { x509CertificateData: obj.x509CertificateData };
|
|
71
|
+
if (obj.acmPcaArn !== undefined)
|
|
72
|
+
return { acmPcaArn: obj.acmPcaArn };
|
|
73
|
+
if (obj.$unknown !== undefined)
|
|
74
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
75
|
+
};
|
|
76
|
+
})(SourceData = exports.SourceData || (exports.SourceData = {}));
|
|
77
|
+
var TrustAnchorType;
|
|
78
|
+
(function (TrustAnchorType) {
|
|
79
|
+
TrustAnchorType["AWS_ACM_PCA"] = "AWS_ACM_PCA";
|
|
80
|
+
TrustAnchorType["CERTIFICATE_BUNDLE"] = "CERTIFICATE_BUNDLE";
|
|
81
|
+
TrustAnchorType["SELF_SIGNED_REPOSITORY"] = "SELF_SIGNED_REPOSITORY";
|
|
82
|
+
})(TrustAnchorType = exports.TrustAnchorType || (exports.TrustAnchorType = {}));
|
|
83
|
+
var Source;
|
|
84
|
+
(function (Source) {
|
|
85
|
+
Source.filterSensitiveLog = (obj) => ({
|
|
86
|
+
...obj,
|
|
87
|
+
...(obj.sourceData && { sourceData: SourceData.filterSensitiveLog(obj.sourceData) }),
|
|
88
|
+
});
|
|
89
|
+
})(Source = exports.Source || (exports.Source = {}));
|
|
90
|
+
var CreateTrustAnchorRequest;
|
|
91
|
+
(function (CreateTrustAnchorRequest) {
|
|
92
|
+
CreateTrustAnchorRequest.filterSensitiveLog = (obj) => ({
|
|
93
|
+
...obj,
|
|
94
|
+
...(obj.source && { source: Source.filterSensitiveLog(obj.source) }),
|
|
95
|
+
...(obj.tags && { tags: obj.tags.map((item) => Tag.filterSensitiveLog(item)) }),
|
|
96
|
+
});
|
|
97
|
+
})(CreateTrustAnchorRequest = exports.CreateTrustAnchorRequest || (exports.CreateTrustAnchorRequest = {}));
|
|
98
|
+
var TrustAnchorDetail;
|
|
99
|
+
(function (TrustAnchorDetail) {
|
|
100
|
+
TrustAnchorDetail.filterSensitiveLog = (obj) => ({
|
|
101
|
+
...obj,
|
|
102
|
+
...(obj.source && { source: Source.filterSensitiveLog(obj.source) }),
|
|
103
|
+
});
|
|
104
|
+
})(TrustAnchorDetail = exports.TrustAnchorDetail || (exports.TrustAnchorDetail = {}));
|
|
105
|
+
var TrustAnchorDetailResponse;
|
|
106
|
+
(function (TrustAnchorDetailResponse) {
|
|
107
|
+
TrustAnchorDetailResponse.filterSensitiveLog = (obj) => ({
|
|
108
|
+
...obj,
|
|
109
|
+
...(obj.trustAnchor && { trustAnchor: TrustAnchorDetail.filterSensitiveLog(obj.trustAnchor) }),
|
|
110
|
+
});
|
|
111
|
+
})(TrustAnchorDetailResponse = exports.TrustAnchorDetailResponse || (exports.TrustAnchorDetailResponse = {}));
|
|
112
|
+
var CredentialSummary;
|
|
113
|
+
(function (CredentialSummary) {
|
|
114
|
+
CredentialSummary.filterSensitiveLog = (obj) => ({
|
|
115
|
+
...obj,
|
|
116
|
+
});
|
|
117
|
+
})(CredentialSummary = exports.CredentialSummary || (exports.CredentialSummary = {}));
|
|
118
|
+
var CrlDetail;
|
|
119
|
+
(function (CrlDetail) {
|
|
120
|
+
CrlDetail.filterSensitiveLog = (obj) => ({
|
|
121
|
+
...obj,
|
|
122
|
+
});
|
|
123
|
+
})(CrlDetail = exports.CrlDetail || (exports.CrlDetail = {}));
|
|
124
|
+
var CrlDetailResponse;
|
|
125
|
+
(function (CrlDetailResponse) {
|
|
126
|
+
CrlDetailResponse.filterSensitiveLog = (obj) => ({
|
|
127
|
+
...obj,
|
|
128
|
+
});
|
|
129
|
+
})(CrlDetailResponse = exports.CrlDetailResponse || (exports.CrlDetailResponse = {}));
|
|
130
|
+
class ResourceNotFoundException extends RolesAnywhereServiceException_1.RolesAnywhereServiceException {
|
|
131
|
+
constructor(opts) {
|
|
132
|
+
super({
|
|
133
|
+
name: "ResourceNotFoundException",
|
|
134
|
+
$fault: "client",
|
|
135
|
+
...opts,
|
|
136
|
+
});
|
|
137
|
+
this.name = "ResourceNotFoundException";
|
|
138
|
+
this.$fault = "client";
|
|
139
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
143
|
+
var ScalarCrlRequest;
|
|
144
|
+
(function (ScalarCrlRequest) {
|
|
145
|
+
ScalarCrlRequest.filterSensitiveLog = (obj) => ({
|
|
146
|
+
...obj,
|
|
147
|
+
});
|
|
148
|
+
})(ScalarCrlRequest = exports.ScalarCrlRequest || (exports.ScalarCrlRequest = {}));
|
|
149
|
+
var ImportCrlRequest;
|
|
150
|
+
(function (ImportCrlRequest) {
|
|
151
|
+
ImportCrlRequest.filterSensitiveLog = (obj) => ({
|
|
152
|
+
...obj,
|
|
153
|
+
...(obj.tags && { tags: obj.tags.map((item) => Tag.filterSensitiveLog(item)) }),
|
|
154
|
+
});
|
|
155
|
+
})(ImportCrlRequest = exports.ImportCrlRequest || (exports.ImportCrlRequest = {}));
|
|
156
|
+
var ListCrlsResponse;
|
|
157
|
+
(function (ListCrlsResponse) {
|
|
158
|
+
ListCrlsResponse.filterSensitiveLog = (obj) => ({
|
|
159
|
+
...obj,
|
|
160
|
+
});
|
|
161
|
+
})(ListCrlsResponse = exports.ListCrlsResponse || (exports.ListCrlsResponse = {}));
|
|
162
|
+
var ListRequest;
|
|
163
|
+
(function (ListRequest) {
|
|
164
|
+
ListRequest.filterSensitiveLog = (obj) => ({
|
|
165
|
+
...obj,
|
|
166
|
+
});
|
|
167
|
+
})(ListRequest = exports.ListRequest || (exports.ListRequest = {}));
|
|
168
|
+
var UpdateCrlRequest;
|
|
169
|
+
(function (UpdateCrlRequest) {
|
|
170
|
+
UpdateCrlRequest.filterSensitiveLog = (obj) => ({
|
|
171
|
+
...obj,
|
|
172
|
+
});
|
|
173
|
+
})(UpdateCrlRequest = exports.UpdateCrlRequest || (exports.UpdateCrlRequest = {}));
|
|
174
|
+
var ScalarProfileRequest;
|
|
175
|
+
(function (ScalarProfileRequest) {
|
|
176
|
+
ScalarProfileRequest.filterSensitiveLog = (obj) => ({
|
|
177
|
+
...obj,
|
|
178
|
+
});
|
|
179
|
+
})(ScalarProfileRequest = exports.ScalarProfileRequest || (exports.ScalarProfileRequest = {}));
|
|
180
|
+
var ScalarTrustAnchorRequest;
|
|
181
|
+
(function (ScalarTrustAnchorRequest) {
|
|
182
|
+
ScalarTrustAnchorRequest.filterSensitiveLog = (obj) => ({
|
|
183
|
+
...obj,
|
|
184
|
+
});
|
|
185
|
+
})(ScalarTrustAnchorRequest = exports.ScalarTrustAnchorRequest || (exports.ScalarTrustAnchorRequest = {}));
|
|
186
|
+
var ScalarSubjectRequest;
|
|
187
|
+
(function (ScalarSubjectRequest) {
|
|
188
|
+
ScalarSubjectRequest.filterSensitiveLog = (obj) => ({
|
|
189
|
+
...obj,
|
|
190
|
+
});
|
|
191
|
+
})(ScalarSubjectRequest = exports.ScalarSubjectRequest || (exports.ScalarSubjectRequest = {}));
|
|
192
|
+
var InstanceProperty;
|
|
193
|
+
(function (InstanceProperty) {
|
|
194
|
+
InstanceProperty.filterSensitiveLog = (obj) => ({
|
|
195
|
+
...obj,
|
|
196
|
+
});
|
|
197
|
+
})(InstanceProperty = exports.InstanceProperty || (exports.InstanceProperty = {}));
|
|
198
|
+
var SubjectDetail;
|
|
199
|
+
(function (SubjectDetail) {
|
|
200
|
+
SubjectDetail.filterSensitiveLog = (obj) => ({
|
|
201
|
+
...obj,
|
|
202
|
+
});
|
|
203
|
+
})(SubjectDetail = exports.SubjectDetail || (exports.SubjectDetail = {}));
|
|
204
|
+
var SubjectDetailResponse;
|
|
205
|
+
(function (SubjectDetailResponse) {
|
|
206
|
+
SubjectDetailResponse.filterSensitiveLog = (obj) => ({
|
|
207
|
+
...obj,
|
|
208
|
+
});
|
|
209
|
+
})(SubjectDetailResponse = exports.SubjectDetailResponse || (exports.SubjectDetailResponse = {}));
|
|
210
|
+
var ListProfilesResponse;
|
|
211
|
+
(function (ListProfilesResponse) {
|
|
212
|
+
ListProfilesResponse.filterSensitiveLog = (obj) => ({
|
|
213
|
+
...obj,
|
|
214
|
+
});
|
|
215
|
+
})(ListProfilesResponse = exports.ListProfilesResponse || (exports.ListProfilesResponse = {}));
|
|
216
|
+
var SubjectSummary;
|
|
217
|
+
(function (SubjectSummary) {
|
|
218
|
+
SubjectSummary.filterSensitiveLog = (obj) => ({
|
|
219
|
+
...obj,
|
|
220
|
+
});
|
|
221
|
+
})(SubjectSummary = exports.SubjectSummary || (exports.SubjectSummary = {}));
|
|
222
|
+
var ListSubjectsResponse;
|
|
223
|
+
(function (ListSubjectsResponse) {
|
|
224
|
+
ListSubjectsResponse.filterSensitiveLog = (obj) => ({
|
|
225
|
+
...obj,
|
|
226
|
+
});
|
|
227
|
+
})(ListSubjectsResponse = exports.ListSubjectsResponse || (exports.ListSubjectsResponse = {}));
|
|
228
|
+
var ListTagsForResourceRequest;
|
|
229
|
+
(function (ListTagsForResourceRequest) {
|
|
230
|
+
ListTagsForResourceRequest.filterSensitiveLog = (obj) => ({
|
|
231
|
+
...obj,
|
|
232
|
+
});
|
|
233
|
+
})(ListTagsForResourceRequest = exports.ListTagsForResourceRequest || (exports.ListTagsForResourceRequest = {}));
|
|
234
|
+
var ListTagsForResourceResponse;
|
|
235
|
+
(function (ListTagsForResourceResponse) {
|
|
236
|
+
ListTagsForResourceResponse.filterSensitiveLog = (obj) => ({
|
|
237
|
+
...obj,
|
|
238
|
+
...(obj.tags && { tags: obj.tags.map((item) => Tag.filterSensitiveLog(item)) }),
|
|
239
|
+
});
|
|
240
|
+
})(ListTagsForResourceResponse = exports.ListTagsForResourceResponse || (exports.ListTagsForResourceResponse = {}));
|
|
241
|
+
var ListTrustAnchorsResponse;
|
|
242
|
+
(function (ListTrustAnchorsResponse) {
|
|
243
|
+
ListTrustAnchorsResponse.filterSensitiveLog = (obj) => ({
|
|
244
|
+
...obj,
|
|
245
|
+
...(obj.trustAnchors && {
|
|
246
|
+
trustAnchors: obj.trustAnchors.map((item) => TrustAnchorDetail.filterSensitiveLog(item)),
|
|
247
|
+
}),
|
|
248
|
+
});
|
|
249
|
+
})(ListTrustAnchorsResponse = exports.ListTrustAnchorsResponse || (exports.ListTrustAnchorsResponse = {}));
|
|
250
|
+
var UpdateProfileRequest;
|
|
251
|
+
(function (UpdateProfileRequest) {
|
|
252
|
+
UpdateProfileRequest.filterSensitiveLog = (obj) => ({
|
|
253
|
+
...obj,
|
|
254
|
+
});
|
|
255
|
+
})(UpdateProfileRequest = exports.UpdateProfileRequest || (exports.UpdateProfileRequest = {}));
|
|
256
|
+
var TagResourceRequest;
|
|
257
|
+
(function (TagResourceRequest) {
|
|
258
|
+
TagResourceRequest.filterSensitiveLog = (obj) => ({
|
|
259
|
+
...obj,
|
|
260
|
+
...(obj.tags && { tags: obj.tags.map((item) => Tag.filterSensitiveLog(item)) }),
|
|
261
|
+
});
|
|
262
|
+
})(TagResourceRequest = exports.TagResourceRequest || (exports.TagResourceRequest = {}));
|
|
263
|
+
var TagResourceResponse;
|
|
264
|
+
(function (TagResourceResponse) {
|
|
265
|
+
TagResourceResponse.filterSensitiveLog = (obj) => ({
|
|
266
|
+
...obj,
|
|
267
|
+
});
|
|
268
|
+
})(TagResourceResponse = exports.TagResourceResponse || (exports.TagResourceResponse = {}));
|
|
269
|
+
class TooManyTagsException extends RolesAnywhereServiceException_1.RolesAnywhereServiceException {
|
|
270
|
+
constructor(opts) {
|
|
271
|
+
super({
|
|
272
|
+
name: "TooManyTagsException",
|
|
273
|
+
$fault: "client",
|
|
274
|
+
...opts,
|
|
275
|
+
});
|
|
276
|
+
this.name = "TooManyTagsException";
|
|
277
|
+
this.$fault = "client";
|
|
278
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
exports.TooManyTagsException = TooManyTagsException;
|
|
282
|
+
var UpdateTrustAnchorRequest;
|
|
283
|
+
(function (UpdateTrustAnchorRequest) {
|
|
284
|
+
UpdateTrustAnchorRequest.filterSensitiveLog = (obj) => ({
|
|
285
|
+
...obj,
|
|
286
|
+
...(obj.source && { source: Source.filterSensitiveLog(obj.source) }),
|
|
287
|
+
});
|
|
288
|
+
})(UpdateTrustAnchorRequest = exports.UpdateTrustAnchorRequest || (exports.UpdateTrustAnchorRequest = {}));
|
|
289
|
+
var UntagResourceRequest;
|
|
290
|
+
(function (UntagResourceRequest) {
|
|
291
|
+
UntagResourceRequest.filterSensitiveLog = (obj) => ({
|
|
292
|
+
...obj,
|
|
293
|
+
...(obj.tagKeys && { tagKeys: smithy_client_1.SENSITIVE_STRING }),
|
|
294
|
+
});
|
|
295
|
+
})(UntagResourceRequest = exports.UntagResourceRequest || (exports.UntagResourceRequest = {}));
|
|
296
|
+
var UntagResourceResponse;
|
|
297
|
+
(function (UntagResourceResponse) {
|
|
298
|
+
UntagResourceResponse.filterSensitiveLog = (obj) => ({
|
|
299
|
+
...obj,
|
|
300
|
+
});
|
|
301
|
+
})(UntagResourceResponse = exports.UntagResourceResponse || (exports.UntagResourceResponse = {}));
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListCrls = void 0;
|
|
4
|
+
const ListCrlsCommand_1 = require("../commands/ListCrlsCommand");
|
|
5
|
+
const RolesAnywhere_1 = require("../RolesAnywhere");
|
|
6
|
+
const RolesAnywhereClient_1 = require("../RolesAnywhereClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListCrlsCommand_1.ListCrlsCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listCrls(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListCrls(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.nextToken = token;
|
|
19
|
+
if (config.client instanceof RolesAnywhere_1.RolesAnywhere) {
|
|
20
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
21
|
+
}
|
|
22
|
+
else if (config.client instanceof RolesAnywhereClient_1.RolesAnywhereClient) {
|
|
23
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
throw new Error("Invalid client, expected RolesAnywhere | RolesAnywhereClient");
|
|
27
|
+
}
|
|
28
|
+
yield page;
|
|
29
|
+
const prevToken = token;
|
|
30
|
+
token = page.nextToken;
|
|
31
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
32
|
+
}
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
exports.paginateListCrls = paginateListCrls;
|