@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,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListRequest, ListSubjectsResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListSubjectsCommand, serializeAws_restJson1ListSubjectsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var ListSubjectsCommand = (function (_super) {
|
|
7
|
+
__extends(ListSubjectsCommand, _super);
|
|
8
|
+
function ListSubjectsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListSubjectsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RolesAnywhereClient";
|
|
18
|
+
var commandName = "ListSubjectsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListSubjectsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListSubjectsCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1ListSubjectsCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListSubjectsCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1ListSubjectsCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListSubjectsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListSubjectsCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var ListTagsForResourceCommand = (function (_super) {
|
|
7
|
+
__extends(ListTagsForResourceCommand, _super);
|
|
8
|
+
function ListTagsForResourceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RolesAnywhereClient";
|
|
18
|
+
var commandName = "ListTagsForResourceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListTagsForResourceResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListTagsForResourceCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1ListTagsForResourceCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListTagsForResourceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListTagsForResourceCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListRequest, ListTrustAnchorsResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListTrustAnchorsCommand, serializeAws_restJson1ListTrustAnchorsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var ListTrustAnchorsCommand = (function (_super) {
|
|
7
|
+
__extends(ListTrustAnchorsCommand, _super);
|
|
8
|
+
function ListTrustAnchorsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListTrustAnchorsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RolesAnywhereClient";
|
|
18
|
+
var commandName = "ListTrustAnchorsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListTrustAnchorsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListTrustAnchorsCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1ListTrustAnchorsCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListTrustAnchorsCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1ListTrustAnchorsCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListTrustAnchorsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListTrustAnchorsCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var TagResourceCommand = (function (_super) {
|
|
7
|
+
__extends(TagResourceCommand, _super);
|
|
8
|
+
function TagResourceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
TagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RolesAnywhereClient";
|
|
18
|
+
var commandName = "TagResourceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: TagResourceResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
TagResourceCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1TagResourceCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
TagResourceCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1TagResourceCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return TagResourceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { TagResourceCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var UntagResourceCommand = (function (_super) {
|
|
7
|
+
__extends(UntagResourceCommand, _super);
|
|
8
|
+
function UntagResourceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UntagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RolesAnywhereClient";
|
|
18
|
+
var commandName = "UntagResourceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UntagResourceResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UntagResourceCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1UntagResourceCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UntagResourceCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1UntagResourceCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UntagResourceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UntagResourceCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CrlDetailResponse, UpdateCrlRequest } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UpdateCrlCommand, serializeAws_restJson1UpdateCrlCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var UpdateCrlCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateCrlCommand, _super);
|
|
8
|
+
function UpdateCrlCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateCrlCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RolesAnywhereClient";
|
|
18
|
+
var commandName = "UpdateCrlCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateCrlRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CrlDetailResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateCrlCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1UpdateCrlCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateCrlCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1UpdateCrlCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateCrlCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateCrlCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ProfileDetailResponse, UpdateProfileRequest } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UpdateProfileCommand, serializeAws_restJson1UpdateProfileCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var UpdateProfileCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateProfileCommand, _super);
|
|
8
|
+
function UpdateProfileCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateProfileCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RolesAnywhereClient";
|
|
18
|
+
var commandName = "UpdateProfileCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateProfileRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ProfileDetailResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateProfileCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1UpdateProfileCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateProfileCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1UpdateProfileCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateProfileCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateProfileCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { TrustAnchorDetailResponse, UpdateTrustAnchorRequest } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UpdateTrustAnchorCommand, serializeAws_restJson1UpdateTrustAnchorCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var UpdateTrustAnchorCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateTrustAnchorCommand, _super);
|
|
8
|
+
function UpdateTrustAnchorCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateTrustAnchorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RolesAnywhereClient";
|
|
18
|
+
var commandName = "UpdateTrustAnchorCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateTrustAnchorRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: TrustAnchorDetailResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateTrustAnchorCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1UpdateTrustAnchorCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateTrustAnchorCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1UpdateTrustAnchorCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateTrustAnchorCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateTrustAnchorCommand };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export * from "./CreateProfileCommand";
|
|
2
|
+
export * from "./CreateTrustAnchorCommand";
|
|
3
|
+
export * from "./DeleteCrlCommand";
|
|
4
|
+
export * from "./DeleteProfileCommand";
|
|
5
|
+
export * from "./DeleteTrustAnchorCommand";
|
|
6
|
+
export * from "./DisableCrlCommand";
|
|
7
|
+
export * from "./DisableProfileCommand";
|
|
8
|
+
export * from "./DisableTrustAnchorCommand";
|
|
9
|
+
export * from "./EnableCrlCommand";
|
|
10
|
+
export * from "./EnableProfileCommand";
|
|
11
|
+
export * from "./EnableTrustAnchorCommand";
|
|
12
|
+
export * from "./GetCrlCommand";
|
|
13
|
+
export * from "./GetProfileCommand";
|
|
14
|
+
export * from "./GetSubjectCommand";
|
|
15
|
+
export * from "./GetTrustAnchorCommand";
|
|
16
|
+
export * from "./ImportCrlCommand";
|
|
17
|
+
export * from "./ListCrlsCommand";
|
|
18
|
+
export * from "./ListProfilesCommand";
|
|
19
|
+
export * from "./ListSubjectsCommand";
|
|
20
|
+
export * from "./ListTagsForResourceCommand";
|
|
21
|
+
export * from "./ListTrustAnchorsCommand";
|
|
22
|
+
export * from "./TagResourceCommand";
|
|
23
|
+
export * from "./UntagResourceCommand";
|
|
24
|
+
export * from "./UpdateCrlCommand";
|
|
25
|
+
export * from "./UpdateProfileCommand";
|
|
26
|
+
export * from "./UpdateTrustAnchorCommand";
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
|
+
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
|
+
var regionHash = {};
|
|
4
|
+
var partitionHash = {
|
|
5
|
+
aws: {
|
|
6
|
+
regions: [
|
|
7
|
+
"af-south-1",
|
|
8
|
+
"ap-east-1",
|
|
9
|
+
"ap-northeast-1",
|
|
10
|
+
"ap-northeast-2",
|
|
11
|
+
"ap-northeast-3",
|
|
12
|
+
"ap-south-1",
|
|
13
|
+
"ap-southeast-1",
|
|
14
|
+
"ap-southeast-2",
|
|
15
|
+
"ap-southeast-3",
|
|
16
|
+
"ca-central-1",
|
|
17
|
+
"eu-central-1",
|
|
18
|
+
"eu-north-1",
|
|
19
|
+
"eu-south-1",
|
|
20
|
+
"eu-west-1",
|
|
21
|
+
"eu-west-2",
|
|
22
|
+
"eu-west-3",
|
|
23
|
+
"me-south-1",
|
|
24
|
+
"sa-east-1",
|
|
25
|
+
"us-east-1",
|
|
26
|
+
"us-east-2",
|
|
27
|
+
"us-west-1",
|
|
28
|
+
"us-west-2",
|
|
29
|
+
],
|
|
30
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
31
|
+
variants: [
|
|
32
|
+
{
|
|
33
|
+
hostname: "rolesanywhere.{region}.amazonaws.com",
|
|
34
|
+
tags: [],
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
hostname: "rolesanywhere-fips.{region}.amazonaws.com",
|
|
38
|
+
tags: ["fips"],
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
hostname: "rolesanywhere-fips.{region}.api.aws",
|
|
42
|
+
tags: ["dualstack", "fips"],
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
hostname: "rolesanywhere.{region}.api.aws",
|
|
46
|
+
tags: ["dualstack"],
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
},
|
|
50
|
+
"aws-cn": {
|
|
51
|
+
regions: ["cn-north-1", "cn-northwest-1"],
|
|
52
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
53
|
+
variants: [
|
|
54
|
+
{
|
|
55
|
+
hostname: "rolesanywhere.{region}.amazonaws.com.cn",
|
|
56
|
+
tags: [],
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
hostname: "rolesanywhere-fips.{region}.amazonaws.com.cn",
|
|
60
|
+
tags: ["fips"],
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
hostname: "rolesanywhere-fips.{region}.api.amazonwebservices.com.cn",
|
|
64
|
+
tags: ["dualstack", "fips"],
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
hostname: "rolesanywhere.{region}.api.amazonwebservices.com.cn",
|
|
68
|
+
tags: ["dualstack"],
|
|
69
|
+
},
|
|
70
|
+
],
|
|
71
|
+
},
|
|
72
|
+
"aws-iso": {
|
|
73
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
74
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
75
|
+
variants: [
|
|
76
|
+
{
|
|
77
|
+
hostname: "rolesanywhere.{region}.c2s.ic.gov",
|
|
78
|
+
tags: [],
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
hostname: "rolesanywhere-fips.{region}.c2s.ic.gov",
|
|
82
|
+
tags: ["fips"],
|
|
83
|
+
},
|
|
84
|
+
],
|
|
85
|
+
},
|
|
86
|
+
"aws-iso-b": {
|
|
87
|
+
regions: ["us-isob-east-1"],
|
|
88
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
89
|
+
variants: [
|
|
90
|
+
{
|
|
91
|
+
hostname: "rolesanywhere.{region}.sc2s.sgov.gov",
|
|
92
|
+
tags: [],
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
hostname: "rolesanywhere-fips.{region}.sc2s.sgov.gov",
|
|
96
|
+
tags: ["fips"],
|
|
97
|
+
},
|
|
98
|
+
],
|
|
99
|
+
},
|
|
100
|
+
"aws-us-gov": {
|
|
101
|
+
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
102
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
103
|
+
variants: [
|
|
104
|
+
{
|
|
105
|
+
hostname: "rolesanywhere.{region}.amazonaws.com",
|
|
106
|
+
tags: [],
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
hostname: "rolesanywhere-fips.{region}.amazonaws.com",
|
|
110
|
+
tags: ["fips"],
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
hostname: "rolesanywhere-fips.{region}.api.aws",
|
|
114
|
+
tags: ["dualstack", "fips"],
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
hostname: "rolesanywhere.{region}.api.aws",
|
|
118
|
+
tags: ["dualstack"],
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
},
|
|
122
|
+
};
|
|
123
|
+
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
124
|
+
return __generator(this, function (_a) {
|
|
125
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "rolesanywhere", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
126
|
+
});
|
|
127
|
+
}); };
|
package/dist-es/index.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
+
var RolesAnywhereServiceException = (function (_super) {
|
|
4
|
+
__extends(RolesAnywhereServiceException, _super);
|
|
5
|
+
function RolesAnywhereServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, RolesAnywhereServiceException.prototype);
|
|
8
|
+
return _this;
|
|
9
|
+
}
|
|
10
|
+
return RolesAnywhereServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { RolesAnywhereServiceException };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|