@jjrawlins/cdk-iam-policy-builder-helper 0.0.52 → 0.0.54
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/.jsii +3 -3
- package/cdk-iam-policy-builder-helper/jsii/jsii.go +2 -2
- package/cdk-iam-policy-builder-helper/version +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +13439 -13574
- package/node_modules/@aws-sdk/client-iam/package.json +6 -6
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +478 -596
- package/node_modules/@aws-sdk/client-sso/package.json +5 -5
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +1969 -6
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +48 -88
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +35 -74
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +273 -365
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +1581 -1863
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +2 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +2 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +4 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +4 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +4 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +2 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +4 -4
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ConfigurableSerdeContext.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonCodec.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeSerializer.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlCodec.d.ts +1 -1
- package/node_modules/@aws-sdk/core/package.json +1 -1
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +38 -73
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +194 -259
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +72 -132
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +71 -107
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +176 -249
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-CVy8iqsZ.js +14 -0
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +16 -25
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +170 -203
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/index.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +583 -858
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +795 -928
- package/node_modules/@aws-sdk/nested-clients/package.json +5 -5
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +147 -222
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-browser/README.md +22 -3
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/createUserAgentStringParsingProvider.js +57 -0
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +39 -8
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-es/createUserAgentStringParsingProvider.js +20 -0
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js +37 -6
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/createUserAgentStringParsingProvider.d.ts +14 -0
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts +14 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts +4 -3
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/createUserAgentStringParsingProvider.d.ts +9 -0
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.d.ts +5 -0
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +1 -1
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +50 -94
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/crt-availability.d.ts +1 -2
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts +10 -5
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +1 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +5 -3
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +32 -30
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +133 -202
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +126 -34
- package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +5 -3
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +4 -4
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +3 -3
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/FromStringShapeDeserializer.js +19 -17
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js +4 -4
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/determineTimestampFormat.js +5 -6
- package/node_modules/@smithy/core/dist-es/submodules/schema/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +82 -176
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js +22 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/schema-serde-lib/schema-date-utils.js +110 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +4 -26
- package/node_modules/@smithy/core/dist-types/submodules/schema/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +5 -24
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/sentinels.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/translateTraits.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/schema-serde-lib/schema-date-utils.d.ts +47 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +5 -24
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/schema-serde-lib/schema-date-utils.d.ts +47 -0
- package/node_modules/@smithy/core/package.json +3 -3
- package/node_modules/@smithy/fetch-http-handler/package.json +2 -2
- package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/smithy-client/package.json +4 -4
- package/node_modules/@smithy/util-base64/dist-cjs/constants.browser.js +9 -32
- package/node_modules/@smithy/util-base64/dist-es/constants.browser.js +9 -28
- package/node_modules/@smithy/util-base64/dist-types/constants.browser.d.ts +5 -6
- package/node_modules/@smithy/util-base64/dist-types/ts3.4/constants.browser.d.ts +5 -6
- package/node_modules/@smithy/util-base64/package.json +1 -1
- package/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +8 -6
- package/node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js +8 -6
- package/node_modules/@smithy/util-body-length-node/package.json +1 -1
- package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/resolveDefaultsModeConfig.js +11 -9
- package/node_modules/@smithy/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.js +11 -8
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -3
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/node_modules/@smithy/util-stream/dist-cjs/index.js +3 -5
- package/node_modules/@smithy/util-stream/dist-es/blob/Uint8ArrayBlobAdapter.js +3 -5
- package/node_modules/@smithy/util-stream/dist-types/blob/Uint8ArrayBlobAdapter.d.ts +1 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/blob/Uint8ArrayBlobAdapter.d.ts +1 -0
- package/node_modules/@smithy/util-stream/package.json +3 -3
- package/package.json +3 -3
|
@@ -1,625 +1,507 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
4
|
+
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
+
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
+
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
+
var configResolver = require('@smithy/config-resolver');
|
|
8
|
+
var core = require('@smithy/core');
|
|
9
|
+
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
|
+
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
|
+
var middlewareRetry = require('@smithy/middleware-retry');
|
|
12
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
13
|
+
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
14
|
+
var runtimeConfig = require('./runtimeConfig');
|
|
15
|
+
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
+
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
+
var core$1 = require('@aws-sdk/core');
|
|
19
|
+
|
|
20
|
+
const resolveClientEndpointParameters = (options) => {
|
|
21
|
+
return Object.assign(options, {
|
|
22
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
23
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
24
|
+
defaultSigningName: "awsssoportal",
|
|
25
|
+
});
|
|
10
26
|
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
27
|
+
const commonParams = {
|
|
28
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
29
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
30
|
+
Region: { type: "builtInParams", name: "region" },
|
|
31
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
32
|
};
|
|
19
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
-
|
|
21
|
-
// src/index.ts
|
|
22
|
-
var index_exports = {};
|
|
23
|
-
__export(index_exports, {
|
|
24
|
-
GetRoleCredentialsCommand: () => GetRoleCredentialsCommand,
|
|
25
|
-
GetRoleCredentialsRequestFilterSensitiveLog: () => GetRoleCredentialsRequestFilterSensitiveLog,
|
|
26
|
-
GetRoleCredentialsResponseFilterSensitiveLog: () => GetRoleCredentialsResponseFilterSensitiveLog,
|
|
27
|
-
InvalidRequestException: () => InvalidRequestException,
|
|
28
|
-
ListAccountRolesCommand: () => ListAccountRolesCommand,
|
|
29
|
-
ListAccountRolesRequestFilterSensitiveLog: () => ListAccountRolesRequestFilterSensitiveLog,
|
|
30
|
-
ListAccountsCommand: () => ListAccountsCommand,
|
|
31
|
-
ListAccountsRequestFilterSensitiveLog: () => ListAccountsRequestFilterSensitiveLog,
|
|
32
|
-
LogoutCommand: () => LogoutCommand,
|
|
33
|
-
LogoutRequestFilterSensitiveLog: () => LogoutRequestFilterSensitiveLog,
|
|
34
|
-
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
35
|
-
RoleCredentialsFilterSensitiveLog: () => RoleCredentialsFilterSensitiveLog,
|
|
36
|
-
SSO: () => SSO,
|
|
37
|
-
SSOClient: () => SSOClient,
|
|
38
|
-
SSOServiceException: () => SSOServiceException,
|
|
39
|
-
TooManyRequestsException: () => TooManyRequestsException,
|
|
40
|
-
UnauthorizedException: () => UnauthorizedException,
|
|
41
|
-
__Client: () => import_smithy_client.Client,
|
|
42
|
-
paginateListAccountRoles: () => paginateListAccountRoles,
|
|
43
|
-
paginateListAccounts: () => paginateListAccounts
|
|
44
|
-
});
|
|
45
|
-
module.exports = __toCommonJS(index_exports);
|
|
46
|
-
|
|
47
|
-
// src/SSOClient.ts
|
|
48
|
-
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
49
|
-
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
50
|
-
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
51
|
-
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
52
|
-
var import_config_resolver = require("@smithy/config-resolver");
|
|
53
|
-
var import_core = require("@smithy/core");
|
|
54
|
-
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
55
|
-
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
56
|
-
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
57
|
-
|
|
58
|
-
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
59
33
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
34
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
37
|
+
let _credentials = runtimeConfig.credentials;
|
|
38
|
+
return {
|
|
39
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
40
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
41
|
+
if (index === -1) {
|
|
42
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
httpAuthSchemes() {
|
|
49
|
+
return _httpAuthSchemes;
|
|
50
|
+
},
|
|
51
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
52
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
53
|
+
},
|
|
54
|
+
httpAuthSchemeProvider() {
|
|
55
|
+
return _httpAuthSchemeProvider;
|
|
56
|
+
},
|
|
57
|
+
setCredentials(credentials) {
|
|
58
|
+
_credentials = credentials;
|
|
59
|
+
},
|
|
60
|
+
credentials() {
|
|
61
|
+
return _credentials;
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
66
|
+
return {
|
|
67
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
68
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
69
|
+
credentials: config.credentials(),
|
|
70
|
+
};
|
|
73
71
|
};
|
|
74
72
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
var import_protocol_http = require("@smithy/protocol-http");
|
|
81
|
-
var import_smithy_client = require("@smithy/smithy-client");
|
|
73
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
74
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
75
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
76
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
77
|
+
};
|
|
82
78
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
79
|
+
class SSOClient extends smithyClient.Client {
|
|
80
|
+
config;
|
|
81
|
+
constructor(...[configuration]) {
|
|
82
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
83
|
+
super(_config_0);
|
|
84
|
+
this.initConfig = _config_0;
|
|
85
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
86
|
+
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
87
|
+
const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
|
|
88
|
+
const _config_4 = configResolver.resolveRegionConfig(_config_3);
|
|
89
|
+
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
90
|
+
const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
|
|
91
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
92
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
93
|
+
this.config = _config_8;
|
|
94
|
+
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
101
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultSSOHttpAuthSchemeParametersProvider,
|
|
102
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
103
|
+
"aws.auth#sigv4": config.credentials,
|
|
104
|
+
}),
|
|
105
|
+
}));
|
|
106
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
111
107
|
}
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
117
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
118
|
-
credentials: config.credentials()
|
|
119
|
-
};
|
|
120
|
-
}, "resolveHttpAuthRuntimeConfig");
|
|
108
|
+
destroy() {
|
|
109
|
+
super.destroy();
|
|
110
|
+
}
|
|
111
|
+
}
|
|
121
112
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
113
|
+
class SSOServiceException extends smithyClient.ServiceException {
|
|
114
|
+
constructor(options) {
|
|
115
|
+
super(options);
|
|
116
|
+
Object.setPrototypeOf(this, SSOServiceException.prototype);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
class InvalidRequestException extends SSOServiceException {
|
|
121
|
+
name = "InvalidRequestException";
|
|
122
|
+
$fault = "client";
|
|
123
|
+
constructor(opts) {
|
|
124
|
+
super({
|
|
125
|
+
name: "InvalidRequestException",
|
|
126
|
+
$fault: "client",
|
|
127
|
+
...opts,
|
|
128
|
+
});
|
|
129
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
class ResourceNotFoundException extends SSOServiceException {
|
|
133
|
+
name = "ResourceNotFoundException";
|
|
134
|
+
$fault = "client";
|
|
135
|
+
constructor(opts) {
|
|
136
|
+
super({
|
|
137
|
+
name: "ResourceNotFoundException",
|
|
138
|
+
$fault: "client",
|
|
139
|
+
...opts,
|
|
140
|
+
});
|
|
141
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
class TooManyRequestsException extends SSOServiceException {
|
|
145
|
+
name = "TooManyRequestsException";
|
|
146
|
+
$fault = "client";
|
|
147
|
+
constructor(opts) {
|
|
148
|
+
super({
|
|
149
|
+
name: "TooManyRequestsException",
|
|
150
|
+
$fault: "client",
|
|
151
|
+
...opts,
|
|
152
|
+
});
|
|
153
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
class UnauthorizedException extends SSOServiceException {
|
|
157
|
+
name = "UnauthorizedException";
|
|
158
|
+
$fault = "client";
|
|
159
|
+
constructor(opts) {
|
|
160
|
+
super({
|
|
161
|
+
name: "UnauthorizedException",
|
|
162
|
+
$fault: "client",
|
|
163
|
+
...opts,
|
|
164
|
+
});
|
|
165
|
+
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
const GetRoleCredentialsRequestFilterSensitiveLog = (obj) => ({
|
|
169
|
+
...obj,
|
|
170
|
+
...(obj.accessToken && { accessToken: smithyClient.SENSITIVE_STRING }),
|
|
171
|
+
});
|
|
172
|
+
const RoleCredentialsFilterSensitiveLog = (obj) => ({
|
|
173
|
+
...obj,
|
|
174
|
+
...(obj.secretAccessKey && { secretAccessKey: smithyClient.SENSITIVE_STRING }),
|
|
175
|
+
...(obj.sessionToken && { sessionToken: smithyClient.SENSITIVE_STRING }),
|
|
176
|
+
});
|
|
177
|
+
const GetRoleCredentialsResponseFilterSensitiveLog = (obj) => ({
|
|
178
|
+
...obj,
|
|
179
|
+
...(obj.roleCredentials && { roleCredentials: RoleCredentialsFilterSensitiveLog(obj.roleCredentials) }),
|
|
180
|
+
});
|
|
181
|
+
const ListAccountRolesRequestFilterSensitiveLog = (obj) => ({
|
|
182
|
+
...obj,
|
|
183
|
+
...(obj.accessToken && { accessToken: smithyClient.SENSITIVE_STRING }),
|
|
184
|
+
});
|
|
185
|
+
const ListAccountsRequestFilterSensitiveLog = (obj) => ({
|
|
186
|
+
...obj,
|
|
187
|
+
...(obj.accessToken && { accessToken: smithyClient.SENSITIVE_STRING }),
|
|
188
|
+
});
|
|
189
|
+
const LogoutRequestFilterSensitiveLog = (obj) => ({
|
|
190
|
+
...obj,
|
|
191
|
+
...(obj.accessToken && { accessToken: smithyClient.SENSITIVE_STRING }),
|
|
192
|
+
});
|
|
139
193
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
154
|
-
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
155
|
-
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
156
|
-
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
157
|
-
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
158
|
-
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
159
|
-
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
160
|
-
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
161
|
-
this.config = _config_8;
|
|
162
|
-
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
163
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
164
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
165
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
166
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
167
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
168
|
-
this.middlewareStack.use(
|
|
169
|
-
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
170
|
-
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSSOHttpAuthSchemeParametersProvider,
|
|
171
|
-
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
172
|
-
"aws.auth#sigv4": config.credentials
|
|
173
|
-
}), "identityProviderConfigProvider")
|
|
174
|
-
})
|
|
175
|
-
);
|
|
176
|
-
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
177
|
-
}
|
|
178
|
-
/**
|
|
179
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
180
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
181
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
182
|
-
*/
|
|
183
|
-
destroy() {
|
|
184
|
-
super.destroy();
|
|
185
|
-
}
|
|
194
|
+
const se_GetRoleCredentialsCommand = async (input, context) => {
|
|
195
|
+
const b = core.requestBuilder(input, context);
|
|
196
|
+
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
197
|
+
[_xasbt]: input[_aT],
|
|
198
|
+
});
|
|
199
|
+
b.bp("/federation/credentials");
|
|
200
|
+
const query = smithyClient.map({
|
|
201
|
+
[_rn]: [, smithyClient.expectNonNull(input[_rN], `roleName`)],
|
|
202
|
+
[_ai]: [, smithyClient.expectNonNull(input[_aI], `accountId`)],
|
|
203
|
+
});
|
|
204
|
+
let body;
|
|
205
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
206
|
+
return b.build();
|
|
186
207
|
};
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
var SSOServiceException = class _SSOServiceException extends import_smithy_client.ServiceException {
|
|
202
|
-
static {
|
|
203
|
-
__name(this, "SSOServiceException");
|
|
204
|
-
}
|
|
205
|
-
/**
|
|
206
|
-
* @internal
|
|
207
|
-
*/
|
|
208
|
-
constructor(options) {
|
|
209
|
-
super(options);
|
|
210
|
-
Object.setPrototypeOf(this, _SSOServiceException.prototype);
|
|
211
|
-
}
|
|
208
|
+
const se_ListAccountRolesCommand = async (input, context) => {
|
|
209
|
+
const b = core.requestBuilder(input, context);
|
|
210
|
+
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
211
|
+
[_xasbt]: input[_aT],
|
|
212
|
+
});
|
|
213
|
+
b.bp("/assignment/roles");
|
|
214
|
+
const query = smithyClient.map({
|
|
215
|
+
[_nt]: [, input[_nT]],
|
|
216
|
+
[_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
217
|
+
[_ai]: [, smithyClient.expectNonNull(input[_aI], `accountId`)],
|
|
218
|
+
});
|
|
219
|
+
let body;
|
|
220
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
221
|
+
return b.build();
|
|
212
222
|
};
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
* @internal
|
|
223
|
-
*/
|
|
224
|
-
constructor(opts) {
|
|
225
|
-
super({
|
|
226
|
-
name: "InvalidRequestException",
|
|
227
|
-
$fault: "client",
|
|
228
|
-
...opts
|
|
223
|
+
const se_ListAccountsCommand = async (input, context) => {
|
|
224
|
+
const b = core.requestBuilder(input, context);
|
|
225
|
+
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
226
|
+
[_xasbt]: input[_aT],
|
|
227
|
+
});
|
|
228
|
+
b.bp("/assignment/accounts");
|
|
229
|
+
const query = smithyClient.map({
|
|
230
|
+
[_nt]: [, input[_nT]],
|
|
231
|
+
[_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
229
232
|
});
|
|
230
|
-
|
|
231
|
-
|
|
233
|
+
let body;
|
|
234
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
235
|
+
return b.build();
|
|
232
236
|
};
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
name = "ResourceNotFoundException";
|
|
238
|
-
$fault = "client";
|
|
239
|
-
/**
|
|
240
|
-
* @internal
|
|
241
|
-
*/
|
|
242
|
-
constructor(opts) {
|
|
243
|
-
super({
|
|
244
|
-
name: "ResourceNotFoundException",
|
|
245
|
-
$fault: "client",
|
|
246
|
-
...opts
|
|
237
|
+
const se_LogoutCommand = async (input, context) => {
|
|
238
|
+
const b = core.requestBuilder(input, context);
|
|
239
|
+
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
240
|
+
[_xasbt]: input[_aT],
|
|
247
241
|
});
|
|
248
|
-
|
|
249
|
-
|
|
242
|
+
b.bp("/logout");
|
|
243
|
+
let body;
|
|
244
|
+
b.m("POST").h(headers).b(body);
|
|
245
|
+
return b.build();
|
|
250
246
|
};
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
super({
|
|
262
|
-
name: "TooManyRequestsException",
|
|
263
|
-
$fault: "client",
|
|
264
|
-
...opts
|
|
247
|
+
const de_GetRoleCredentialsCommand = async (output, context) => {
|
|
248
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
249
|
+
return de_CommandError(output, context);
|
|
250
|
+
}
|
|
251
|
+
const contents = smithyClient.map({
|
|
252
|
+
$metadata: deserializeMetadata(output),
|
|
253
|
+
});
|
|
254
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
255
|
+
const doc = smithyClient.take(data, {
|
|
256
|
+
roleCredentials: smithyClient._json,
|
|
265
257
|
});
|
|
266
|
-
Object.
|
|
267
|
-
|
|
258
|
+
Object.assign(contents, doc);
|
|
259
|
+
return contents;
|
|
268
260
|
};
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
name: "UnauthorizedException",
|
|
281
|
-
$fault: "client",
|
|
282
|
-
...opts
|
|
261
|
+
const de_ListAccountRolesCommand = async (output, context) => {
|
|
262
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
263
|
+
return de_CommandError(output, context);
|
|
264
|
+
}
|
|
265
|
+
const contents = smithyClient.map({
|
|
266
|
+
$metadata: deserializeMetadata(output),
|
|
267
|
+
});
|
|
268
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
269
|
+
const doc = smithyClient.take(data, {
|
|
270
|
+
nextToken: smithyClient.expectString,
|
|
271
|
+
roleList: smithyClient._json,
|
|
283
272
|
});
|
|
284
|
-
Object.
|
|
285
|
-
|
|
273
|
+
Object.assign(contents, doc);
|
|
274
|
+
return contents;
|
|
286
275
|
};
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
...obj,
|
|
302
|
-
...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }
|
|
303
|
-
}), "ListAccountRolesRequestFilterSensitiveLog");
|
|
304
|
-
var ListAccountsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
305
|
-
...obj,
|
|
306
|
-
...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }
|
|
307
|
-
}), "ListAccountsRequestFilterSensitiveLog");
|
|
308
|
-
var LogoutRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
309
|
-
...obj,
|
|
310
|
-
...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }
|
|
311
|
-
}), "LogoutRequestFilterSensitiveLog");
|
|
312
|
-
|
|
313
|
-
// src/protocols/Aws_restJson1.ts
|
|
314
|
-
var import_core2 = require("@aws-sdk/core");
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
var se_GetRoleCredentialsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
318
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
319
|
-
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
320
|
-
[_xasbt]: input[_aT]
|
|
321
|
-
});
|
|
322
|
-
b.bp("/federation/credentials");
|
|
323
|
-
const query = (0, import_smithy_client.map)({
|
|
324
|
-
[_rn]: [, (0, import_smithy_client.expectNonNull)(input[_rN], `roleName`)],
|
|
325
|
-
[_ai]: [, (0, import_smithy_client.expectNonNull)(input[_aI], `accountId`)]
|
|
326
|
-
});
|
|
327
|
-
let body;
|
|
328
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
329
|
-
return b.build();
|
|
330
|
-
}, "se_GetRoleCredentialsCommand");
|
|
331
|
-
var se_ListAccountRolesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
332
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
333
|
-
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
334
|
-
[_xasbt]: input[_aT]
|
|
335
|
-
});
|
|
336
|
-
b.bp("/assignment/roles");
|
|
337
|
-
const query = (0, import_smithy_client.map)({
|
|
338
|
-
[_nt]: [, input[_nT]],
|
|
339
|
-
[_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
340
|
-
[_ai]: [, (0, import_smithy_client.expectNonNull)(input[_aI], `accountId`)]
|
|
341
|
-
});
|
|
342
|
-
let body;
|
|
343
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
344
|
-
return b.build();
|
|
345
|
-
}, "se_ListAccountRolesCommand");
|
|
346
|
-
var se_ListAccountsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
347
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
348
|
-
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
349
|
-
[_xasbt]: input[_aT]
|
|
350
|
-
});
|
|
351
|
-
b.bp("/assignment/accounts");
|
|
352
|
-
const query = (0, import_smithy_client.map)({
|
|
353
|
-
[_nt]: [, input[_nT]],
|
|
354
|
-
[_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
355
|
-
});
|
|
356
|
-
let body;
|
|
357
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
358
|
-
return b.build();
|
|
359
|
-
}, "se_ListAccountsCommand");
|
|
360
|
-
var se_LogoutCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
361
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
362
|
-
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
363
|
-
[_xasbt]: input[_aT]
|
|
364
|
-
});
|
|
365
|
-
b.bp("/logout");
|
|
366
|
-
let body;
|
|
367
|
-
b.m("POST").h(headers).b(body);
|
|
368
|
-
return b.build();
|
|
369
|
-
}, "se_LogoutCommand");
|
|
370
|
-
var de_GetRoleCredentialsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
371
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
372
|
-
return de_CommandError(output, context);
|
|
373
|
-
}
|
|
374
|
-
const contents = (0, import_smithy_client.map)({
|
|
375
|
-
$metadata: deserializeMetadata(output)
|
|
376
|
-
});
|
|
377
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
378
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
379
|
-
roleCredentials: import_smithy_client._json
|
|
380
|
-
});
|
|
381
|
-
Object.assign(contents, doc);
|
|
382
|
-
return contents;
|
|
383
|
-
}, "de_GetRoleCredentialsCommand");
|
|
384
|
-
var de_ListAccountRolesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
385
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
386
|
-
return de_CommandError(output, context);
|
|
387
|
-
}
|
|
388
|
-
const contents = (0, import_smithy_client.map)({
|
|
389
|
-
$metadata: deserializeMetadata(output)
|
|
390
|
-
});
|
|
391
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
392
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
393
|
-
nextToken: import_smithy_client.expectString,
|
|
394
|
-
roleList: import_smithy_client._json
|
|
395
|
-
});
|
|
396
|
-
Object.assign(contents, doc);
|
|
397
|
-
return contents;
|
|
398
|
-
}, "de_ListAccountRolesCommand");
|
|
399
|
-
var de_ListAccountsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
400
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
401
|
-
return de_CommandError(output, context);
|
|
402
|
-
}
|
|
403
|
-
const contents = (0, import_smithy_client.map)({
|
|
404
|
-
$metadata: deserializeMetadata(output)
|
|
405
|
-
});
|
|
406
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
407
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
408
|
-
accountList: import_smithy_client._json,
|
|
409
|
-
nextToken: import_smithy_client.expectString
|
|
410
|
-
});
|
|
411
|
-
Object.assign(contents, doc);
|
|
412
|
-
return contents;
|
|
413
|
-
}, "de_ListAccountsCommand");
|
|
414
|
-
var de_LogoutCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
415
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
416
|
-
return de_CommandError(output, context);
|
|
417
|
-
}
|
|
418
|
-
const contents = (0, import_smithy_client.map)({
|
|
419
|
-
$metadata: deserializeMetadata(output)
|
|
420
|
-
});
|
|
421
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
422
|
-
return contents;
|
|
423
|
-
}, "de_LogoutCommand");
|
|
424
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
425
|
-
const parsedOutput = {
|
|
426
|
-
...output,
|
|
427
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
428
|
-
};
|
|
429
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
430
|
-
switch (errorCode) {
|
|
431
|
-
case "InvalidRequestException":
|
|
432
|
-
case "com.amazonaws.sso#InvalidRequestException":
|
|
433
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
434
|
-
case "ResourceNotFoundException":
|
|
435
|
-
case "com.amazonaws.sso#ResourceNotFoundException":
|
|
436
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
437
|
-
case "TooManyRequestsException":
|
|
438
|
-
case "com.amazonaws.sso#TooManyRequestsException":
|
|
439
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
440
|
-
case "UnauthorizedException":
|
|
441
|
-
case "com.amazonaws.sso#UnauthorizedException":
|
|
442
|
-
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
443
|
-
default:
|
|
444
|
-
const parsedBody = parsedOutput.body;
|
|
445
|
-
return throwDefaultError({
|
|
446
|
-
output,
|
|
447
|
-
parsedBody,
|
|
448
|
-
errorCode
|
|
449
|
-
});
|
|
450
|
-
}
|
|
451
|
-
}, "de_CommandError");
|
|
452
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(SSOServiceException);
|
|
453
|
-
var de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
454
|
-
const contents = (0, import_smithy_client.map)({});
|
|
455
|
-
const data = parsedOutput.body;
|
|
456
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
457
|
-
message: import_smithy_client.expectString
|
|
458
|
-
});
|
|
459
|
-
Object.assign(contents, doc);
|
|
460
|
-
const exception = new InvalidRequestException({
|
|
461
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
462
|
-
...contents
|
|
463
|
-
});
|
|
464
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
465
|
-
}, "de_InvalidRequestExceptionRes");
|
|
466
|
-
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
467
|
-
const contents = (0, import_smithy_client.map)({});
|
|
468
|
-
const data = parsedOutput.body;
|
|
469
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
470
|
-
message: import_smithy_client.expectString
|
|
471
|
-
});
|
|
472
|
-
Object.assign(contents, doc);
|
|
473
|
-
const exception = new ResourceNotFoundException({
|
|
474
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
475
|
-
...contents
|
|
476
|
-
});
|
|
477
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
478
|
-
}, "de_ResourceNotFoundExceptionRes");
|
|
479
|
-
var de_TooManyRequestsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
480
|
-
const contents = (0, import_smithy_client.map)({});
|
|
481
|
-
const data = parsedOutput.body;
|
|
482
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
483
|
-
message: import_smithy_client.expectString
|
|
484
|
-
});
|
|
485
|
-
Object.assign(contents, doc);
|
|
486
|
-
const exception = new TooManyRequestsException({
|
|
487
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
488
|
-
...contents
|
|
489
|
-
});
|
|
490
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
491
|
-
}, "de_TooManyRequestsExceptionRes");
|
|
492
|
-
var de_UnauthorizedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
493
|
-
const contents = (0, import_smithy_client.map)({});
|
|
494
|
-
const data = parsedOutput.body;
|
|
495
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
496
|
-
message: import_smithy_client.expectString
|
|
497
|
-
});
|
|
498
|
-
Object.assign(contents, doc);
|
|
499
|
-
const exception = new UnauthorizedException({
|
|
500
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
501
|
-
...contents
|
|
502
|
-
});
|
|
503
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
504
|
-
}, "de_UnauthorizedExceptionRes");
|
|
505
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
506
|
-
httpStatusCode: output.statusCode,
|
|
507
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
508
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
509
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
510
|
-
}), "deserializeMetadata");
|
|
511
|
-
var _aI = "accountId";
|
|
512
|
-
var _aT = "accessToken";
|
|
513
|
-
var _ai = "account_id";
|
|
514
|
-
var _mR = "maxResults";
|
|
515
|
-
var _mr = "max_result";
|
|
516
|
-
var _nT = "nextToken";
|
|
517
|
-
var _nt = "next_token";
|
|
518
|
-
var _rN = "roleName";
|
|
519
|
-
var _rn = "role_name";
|
|
520
|
-
var _xasbt = "x-amz-sso_bearer_token";
|
|
521
|
-
|
|
522
|
-
// src/commands/GetRoleCredentialsCommand.ts
|
|
523
|
-
var GetRoleCredentialsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
524
|
-
return [
|
|
525
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
526
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
527
|
-
];
|
|
528
|
-
}).s("SWBPortalService", "GetRoleCredentials", {}).n("SSOClient", "GetRoleCredentialsCommand").f(GetRoleCredentialsRequestFilterSensitiveLog, GetRoleCredentialsResponseFilterSensitiveLog).ser(se_GetRoleCredentialsCommand).de(de_GetRoleCredentialsCommand).build() {
|
|
529
|
-
static {
|
|
530
|
-
__name(this, "GetRoleCredentialsCommand");
|
|
531
|
-
}
|
|
276
|
+
const de_ListAccountsCommand = async (output, context) => {
|
|
277
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
278
|
+
return de_CommandError(output, context);
|
|
279
|
+
}
|
|
280
|
+
const contents = smithyClient.map({
|
|
281
|
+
$metadata: deserializeMetadata(output),
|
|
282
|
+
});
|
|
283
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
284
|
+
const doc = smithyClient.take(data, {
|
|
285
|
+
accountList: smithyClient._json,
|
|
286
|
+
nextToken: smithyClient.expectString,
|
|
287
|
+
});
|
|
288
|
+
Object.assign(contents, doc);
|
|
289
|
+
return contents;
|
|
532
290
|
};
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
];
|
|
543
|
-
}).s("SWBPortalService", "ListAccountRoles", {}).n("SSOClient", "ListAccountRolesCommand").f(ListAccountRolesRequestFilterSensitiveLog, void 0).ser(se_ListAccountRolesCommand).de(de_ListAccountRolesCommand).build() {
|
|
544
|
-
static {
|
|
545
|
-
__name(this, "ListAccountRolesCommand");
|
|
546
|
-
}
|
|
291
|
+
const de_LogoutCommand = async (output, context) => {
|
|
292
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
293
|
+
return de_CommandError(output, context);
|
|
294
|
+
}
|
|
295
|
+
const contents = smithyClient.map({
|
|
296
|
+
$metadata: deserializeMetadata(output),
|
|
297
|
+
});
|
|
298
|
+
await smithyClient.collectBody(output.body, context);
|
|
299
|
+
return contents;
|
|
547
300
|
};
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
301
|
+
const de_CommandError = async (output, context) => {
|
|
302
|
+
const parsedOutput = {
|
|
303
|
+
...output,
|
|
304
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
305
|
+
};
|
|
306
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
307
|
+
switch (errorCode) {
|
|
308
|
+
case "InvalidRequestException":
|
|
309
|
+
case "com.amazonaws.sso#InvalidRequestException":
|
|
310
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput);
|
|
311
|
+
case "ResourceNotFoundException":
|
|
312
|
+
case "com.amazonaws.sso#ResourceNotFoundException":
|
|
313
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
314
|
+
case "TooManyRequestsException":
|
|
315
|
+
case "com.amazonaws.sso#TooManyRequestsException":
|
|
316
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput);
|
|
317
|
+
case "UnauthorizedException":
|
|
318
|
+
case "com.amazonaws.sso#UnauthorizedException":
|
|
319
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput);
|
|
320
|
+
default:
|
|
321
|
+
const parsedBody = parsedOutput.body;
|
|
322
|
+
return throwDefaultError({
|
|
323
|
+
output,
|
|
324
|
+
parsedBody,
|
|
325
|
+
errorCode,
|
|
326
|
+
});
|
|
327
|
+
}
|
|
562
328
|
};
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
}
|
|
329
|
+
const throwDefaultError = smithyClient.withBaseException(SSOServiceException);
|
|
330
|
+
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
331
|
+
const contents = smithyClient.map({});
|
|
332
|
+
const data = parsedOutput.body;
|
|
333
|
+
const doc = smithyClient.take(data, {
|
|
334
|
+
message: smithyClient.expectString,
|
|
335
|
+
});
|
|
336
|
+
Object.assign(contents, doc);
|
|
337
|
+
const exception = new InvalidRequestException({
|
|
338
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
339
|
+
...contents,
|
|
340
|
+
});
|
|
341
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
577
342
|
};
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
343
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
344
|
+
const contents = smithyClient.map({});
|
|
345
|
+
const data = parsedOutput.body;
|
|
346
|
+
const doc = smithyClient.take(data, {
|
|
347
|
+
message: smithyClient.expectString,
|
|
348
|
+
});
|
|
349
|
+
Object.assign(contents, doc);
|
|
350
|
+
const exception = new ResourceNotFoundException({
|
|
351
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
352
|
+
...contents,
|
|
353
|
+
});
|
|
354
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
585
355
|
};
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
356
|
+
const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
|
|
357
|
+
const contents = smithyClient.map({});
|
|
358
|
+
const data = parsedOutput.body;
|
|
359
|
+
const doc = smithyClient.take(data, {
|
|
360
|
+
message: smithyClient.expectString,
|
|
361
|
+
});
|
|
362
|
+
Object.assign(contents, doc);
|
|
363
|
+
const exception = new TooManyRequestsException({
|
|
364
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
365
|
+
...contents,
|
|
366
|
+
});
|
|
367
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
590
368
|
};
|
|
591
|
-
(
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
369
|
+
const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
|
|
370
|
+
const contents = smithyClient.map({});
|
|
371
|
+
const data = parsedOutput.body;
|
|
372
|
+
const doc = smithyClient.take(data, {
|
|
373
|
+
message: smithyClient.expectString,
|
|
374
|
+
});
|
|
375
|
+
Object.assign(contents, doc);
|
|
376
|
+
const exception = new UnauthorizedException({
|
|
377
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
378
|
+
...contents,
|
|
379
|
+
});
|
|
380
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
381
|
+
};
|
|
382
|
+
const deserializeMetadata = (output) => ({
|
|
383
|
+
httpStatusCode: output.statusCode,
|
|
384
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
385
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
386
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
387
|
+
});
|
|
388
|
+
const _aI = "accountId";
|
|
389
|
+
const _aT = "accessToken";
|
|
390
|
+
const _ai = "account_id";
|
|
391
|
+
const _mR = "maxResults";
|
|
392
|
+
const _mr = "max_result";
|
|
393
|
+
const _nT = "nextToken";
|
|
394
|
+
const _nt = "next_token";
|
|
395
|
+
const _rN = "roleName";
|
|
396
|
+
const _rn = "role_name";
|
|
397
|
+
const _xasbt = "x-amz-sso_bearer_token";
|
|
398
|
+
|
|
399
|
+
class GetRoleCredentialsCommand extends smithyClient.Command
|
|
400
|
+
.classBuilder()
|
|
401
|
+
.ep(commonParams)
|
|
402
|
+
.m(function (Command, cs, config, o) {
|
|
403
|
+
return [
|
|
404
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
405
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
406
|
+
];
|
|
407
|
+
})
|
|
408
|
+
.s("SWBPortalService", "GetRoleCredentials", {})
|
|
409
|
+
.n("SSOClient", "GetRoleCredentialsCommand")
|
|
410
|
+
.f(GetRoleCredentialsRequestFilterSensitiveLog, GetRoleCredentialsResponseFilterSensitiveLog)
|
|
411
|
+
.ser(se_GetRoleCredentialsCommand)
|
|
412
|
+
.de(de_GetRoleCredentialsCommand)
|
|
413
|
+
.build() {
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
class ListAccountRolesCommand extends smithyClient.Command
|
|
417
|
+
.classBuilder()
|
|
418
|
+
.ep(commonParams)
|
|
419
|
+
.m(function (Command, cs, config, o) {
|
|
420
|
+
return [
|
|
421
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
422
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
423
|
+
];
|
|
424
|
+
})
|
|
425
|
+
.s("SWBPortalService", "ListAccountRoles", {})
|
|
426
|
+
.n("SSOClient", "ListAccountRolesCommand")
|
|
427
|
+
.f(ListAccountRolesRequestFilterSensitiveLog, void 0)
|
|
428
|
+
.ser(se_ListAccountRolesCommand)
|
|
429
|
+
.de(de_ListAccountRolesCommand)
|
|
430
|
+
.build() {
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
class ListAccountsCommand extends smithyClient.Command
|
|
434
|
+
.classBuilder()
|
|
435
|
+
.ep(commonParams)
|
|
436
|
+
.m(function (Command, cs, config, o) {
|
|
437
|
+
return [
|
|
438
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
439
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
440
|
+
];
|
|
441
|
+
})
|
|
442
|
+
.s("SWBPortalService", "ListAccounts", {})
|
|
443
|
+
.n("SSOClient", "ListAccountsCommand")
|
|
444
|
+
.f(ListAccountsRequestFilterSensitiveLog, void 0)
|
|
445
|
+
.ser(se_ListAccountsCommand)
|
|
446
|
+
.de(de_ListAccountsCommand)
|
|
447
|
+
.build() {
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
class LogoutCommand extends smithyClient.Command
|
|
451
|
+
.classBuilder()
|
|
452
|
+
.ep(commonParams)
|
|
453
|
+
.m(function (Command, cs, config, o) {
|
|
454
|
+
return [
|
|
455
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
456
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
457
|
+
];
|
|
458
|
+
})
|
|
459
|
+
.s("SWBPortalService", "Logout", {})
|
|
460
|
+
.n("SSOClient", "LogoutCommand")
|
|
461
|
+
.f(LogoutRequestFilterSensitiveLog, void 0)
|
|
462
|
+
.ser(se_LogoutCommand)
|
|
463
|
+
.de(de_LogoutCommand)
|
|
464
|
+
.build() {
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
const commands = {
|
|
468
|
+
GetRoleCredentialsCommand,
|
|
469
|
+
ListAccountRolesCommand,
|
|
470
|
+
ListAccountsCommand,
|
|
471
|
+
LogoutCommand,
|
|
472
|
+
};
|
|
473
|
+
class SSO extends SSOClient {
|
|
474
|
+
}
|
|
475
|
+
smithyClient.createAggregatedClient(commands, SSO);
|
|
596
476
|
|
|
597
|
-
|
|
477
|
+
const paginateListAccountRoles = core.createPaginator(SSOClient, ListAccountRolesCommand, "nextToken", "nextToken", "maxResults");
|
|
598
478
|
|
|
599
|
-
|
|
600
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
479
|
+
const paginateListAccounts = core.createPaginator(SSOClient, ListAccountsCommand, "nextToken", "nextToken", "maxResults");
|
|
601
480
|
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
SSOClient,
|
|
606
|
-
SSO,
|
|
607
|
-
$Command,
|
|
608
|
-
GetRoleCredentialsCommand,
|
|
609
|
-
ListAccountRolesCommand,
|
|
610
|
-
ListAccountsCommand,
|
|
611
|
-
LogoutCommand,
|
|
612
|
-
paginateListAccountRoles,
|
|
613
|
-
paginateListAccounts,
|
|
614
|
-
InvalidRequestException,
|
|
615
|
-
ResourceNotFoundException,
|
|
616
|
-
TooManyRequestsException,
|
|
617
|
-
UnauthorizedException,
|
|
618
|
-
GetRoleCredentialsRequestFilterSensitiveLog,
|
|
619
|
-
RoleCredentialsFilterSensitiveLog,
|
|
620
|
-
GetRoleCredentialsResponseFilterSensitiveLog,
|
|
621
|
-
ListAccountRolesRequestFilterSensitiveLog,
|
|
622
|
-
ListAccountsRequestFilterSensitiveLog,
|
|
623
|
-
LogoutRequestFilterSensitiveLog
|
|
481
|
+
Object.defineProperty(exports, "$Command", {
|
|
482
|
+
enumerable: true,
|
|
483
|
+
get: function () { return smithyClient.Command; }
|
|
624
484
|
});
|
|
625
|
-
|
|
485
|
+
Object.defineProperty(exports, "__Client", {
|
|
486
|
+
enumerable: true,
|
|
487
|
+
get: function () { return smithyClient.Client; }
|
|
488
|
+
});
|
|
489
|
+
exports.GetRoleCredentialsCommand = GetRoleCredentialsCommand;
|
|
490
|
+
exports.GetRoleCredentialsRequestFilterSensitiveLog = GetRoleCredentialsRequestFilterSensitiveLog;
|
|
491
|
+
exports.GetRoleCredentialsResponseFilterSensitiveLog = GetRoleCredentialsResponseFilterSensitiveLog;
|
|
492
|
+
exports.InvalidRequestException = InvalidRequestException;
|
|
493
|
+
exports.ListAccountRolesCommand = ListAccountRolesCommand;
|
|
494
|
+
exports.ListAccountRolesRequestFilterSensitiveLog = ListAccountRolesRequestFilterSensitiveLog;
|
|
495
|
+
exports.ListAccountsCommand = ListAccountsCommand;
|
|
496
|
+
exports.ListAccountsRequestFilterSensitiveLog = ListAccountsRequestFilterSensitiveLog;
|
|
497
|
+
exports.LogoutCommand = LogoutCommand;
|
|
498
|
+
exports.LogoutRequestFilterSensitiveLog = LogoutRequestFilterSensitiveLog;
|
|
499
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
500
|
+
exports.RoleCredentialsFilterSensitiveLog = RoleCredentialsFilterSensitiveLog;
|
|
501
|
+
exports.SSO = SSO;
|
|
502
|
+
exports.SSOClient = SSOClient;
|
|
503
|
+
exports.SSOServiceException = SSOServiceException;
|
|
504
|
+
exports.TooManyRequestsException = TooManyRequestsException;
|
|
505
|
+
exports.UnauthorizedException = UnauthorizedException;
|
|
506
|
+
exports.paginateListAccountRoles = paginateListAccountRoles;
|
|
507
|
+
exports.paginateListAccounts = paginateListAccounts;
|