@aws-sdk/client-rolesanywhere 3.899.0 → 3.906.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/dist-cjs/index.js +1798 -1911
- package/package.json +37 -37
package/dist-cjs/index.js
CHANGED
|
@@ -1,1956 +1,1843 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
DeleteProfileCommand: () => DeleteProfileCommand,
|
|
33
|
-
DeleteTrustAnchorCommand: () => DeleteTrustAnchorCommand,
|
|
34
|
-
DisableCrlCommand: () => DisableCrlCommand,
|
|
35
|
-
DisableProfileCommand: () => DisableProfileCommand,
|
|
36
|
-
DisableTrustAnchorCommand: () => DisableTrustAnchorCommand,
|
|
37
|
-
EnableCrlCommand: () => EnableCrlCommand,
|
|
38
|
-
EnableProfileCommand: () => EnableProfileCommand,
|
|
39
|
-
EnableTrustAnchorCommand: () => EnableTrustAnchorCommand,
|
|
40
|
-
GetCrlCommand: () => GetCrlCommand,
|
|
41
|
-
GetProfileCommand: () => GetProfileCommand,
|
|
42
|
-
GetSubjectCommand: () => GetSubjectCommand,
|
|
43
|
-
GetTrustAnchorCommand: () => GetTrustAnchorCommand,
|
|
44
|
-
ImportCrlCommand: () => ImportCrlCommand,
|
|
45
|
-
ImportCrlRequestFilterSensitiveLog: () => ImportCrlRequestFilterSensitiveLog,
|
|
46
|
-
ListCrlsCommand: () => ListCrlsCommand,
|
|
47
|
-
ListProfilesCommand: () => ListProfilesCommand,
|
|
48
|
-
ListSubjectsCommand: () => ListSubjectsCommand,
|
|
49
|
-
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
50
|
-
ListTagsForResourceResponseFilterSensitiveLog: () => ListTagsForResourceResponseFilterSensitiveLog,
|
|
51
|
-
ListTrustAnchorsCommand: () => ListTrustAnchorsCommand,
|
|
52
|
-
NotificationChannel: () => NotificationChannel,
|
|
53
|
-
NotificationEvent: () => NotificationEvent,
|
|
54
|
-
PutAttributeMappingCommand: () => PutAttributeMappingCommand,
|
|
55
|
-
PutNotificationSettingsCommand: () => PutNotificationSettingsCommand,
|
|
56
|
-
ResetNotificationSettingsCommand: () => ResetNotificationSettingsCommand,
|
|
57
|
-
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
58
|
-
RolesAnywhere: () => RolesAnywhere,
|
|
59
|
-
RolesAnywhereClient: () => RolesAnywhereClient,
|
|
60
|
-
RolesAnywhereServiceException: () => RolesAnywhereServiceException,
|
|
61
|
-
SourceData: () => SourceData,
|
|
62
|
-
TagFilterSensitiveLog: () => TagFilterSensitiveLog,
|
|
63
|
-
TagResourceCommand: () => TagResourceCommand,
|
|
64
|
-
TagResourceRequestFilterSensitiveLog: () => TagResourceRequestFilterSensitiveLog,
|
|
65
|
-
TooManyTagsException: () => TooManyTagsException,
|
|
66
|
-
TrustAnchorType: () => TrustAnchorType,
|
|
67
|
-
UntagResourceCommand: () => UntagResourceCommand,
|
|
68
|
-
UntagResourceRequestFilterSensitiveLog: () => UntagResourceRequestFilterSensitiveLog,
|
|
69
|
-
UpdateCrlCommand: () => UpdateCrlCommand,
|
|
70
|
-
UpdateProfileCommand: () => UpdateProfileCommand,
|
|
71
|
-
UpdateTrustAnchorCommand: () => UpdateTrustAnchorCommand,
|
|
72
|
-
ValidationException: () => ValidationException,
|
|
73
|
-
__Client: () => import_smithy_client.Client,
|
|
74
|
-
paginateListCrls: () => paginateListCrls,
|
|
75
|
-
paginateListProfiles: () => paginateListProfiles,
|
|
76
|
-
paginateListSubjects: () => paginateListSubjects,
|
|
77
|
-
paginateListTrustAnchors: () => paginateListTrustAnchors
|
|
78
|
-
});
|
|
79
|
-
module.exports = __toCommonJS(index_exports);
|
|
80
|
-
|
|
81
|
-
// src/RolesAnywhereClient.ts
|
|
82
|
-
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
83
|
-
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
84
|
-
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
85
|
-
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
86
|
-
var import_config_resolver = require("@smithy/config-resolver");
|
|
87
|
-
var import_core = require("@smithy/core");
|
|
88
|
-
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
89
|
-
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
90
|
-
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
91
|
-
|
|
92
|
-
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
93
|
-
|
|
94
|
-
// src/endpoint/EndpointParameters.ts
|
|
95
|
-
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
96
|
-
return Object.assign(options, {
|
|
97
|
-
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
98
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
99
|
-
defaultSigningName: "rolesanywhere"
|
|
100
|
-
});
|
|
101
|
-
}, "resolveClientEndpointParameters");
|
|
102
|
-
var commonParams = {
|
|
103
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
104
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
105
|
-
Region: { type: "builtInParams", name: "region" },
|
|
106
|
-
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
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: "rolesanywhere",
|
|
25
|
+
});
|
|
26
|
+
};
|
|
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" },
|
|
107
32
|
};
|
|
108
33
|
|
|
109
|
-
|
|
110
|
-
|
|
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
|
+
};
|
|
71
|
+
};
|
|
111
72
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
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
|
+
};
|
|
116
78
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
79
|
+
class RolesAnywhereClient 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.defaultRolesAnywhereHttpAuthSchemeParametersProvider,
|
|
102
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
103
|
+
"aws.auth#sigv4": config.credentials,
|
|
104
|
+
}),
|
|
105
|
+
}));
|
|
106
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
145
107
|
}
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
151
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
152
|
-
credentials: config.credentials()
|
|
153
|
-
};
|
|
154
|
-
}, "resolveHttpAuthRuntimeConfig");
|
|
155
|
-
|
|
156
|
-
// src/runtimeExtensions.ts
|
|
157
|
-
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
158
|
-
const extensionConfiguration = Object.assign(
|
|
159
|
-
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
160
|
-
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
161
|
-
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
162
|
-
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
163
|
-
);
|
|
164
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
165
|
-
return Object.assign(
|
|
166
|
-
runtimeConfig,
|
|
167
|
-
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
168
|
-
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
169
|
-
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
170
|
-
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
171
|
-
);
|
|
172
|
-
}, "resolveRuntimeExtensions");
|
|
108
|
+
destroy() {
|
|
109
|
+
super.destroy();
|
|
110
|
+
}
|
|
111
|
+
}
|
|
173
112
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
198
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
199
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
200
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
201
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
202
|
-
this.middlewareStack.use(
|
|
203
|
-
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
204
|
-
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultRolesAnywhereHttpAuthSchemeParametersProvider,
|
|
205
|
-
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
206
|
-
"aws.auth#sigv4": config.credentials
|
|
207
|
-
}), "identityProviderConfigProvider")
|
|
208
|
-
})
|
|
209
|
-
);
|
|
210
|
-
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
211
|
-
}
|
|
212
|
-
/**
|
|
213
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
214
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
215
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
216
|
-
*/
|
|
217
|
-
destroy() {
|
|
218
|
-
super.destroy();
|
|
219
|
-
}
|
|
113
|
+
class RolesAnywhereServiceException extends smithyClient.ServiceException {
|
|
114
|
+
constructor(options) {
|
|
115
|
+
super(options);
|
|
116
|
+
Object.setPrototypeOf(this, RolesAnywhereServiceException.prototype);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
class AccessDeniedException extends RolesAnywhereServiceException {
|
|
121
|
+
name = "AccessDeniedException";
|
|
122
|
+
$fault = "client";
|
|
123
|
+
constructor(opts) {
|
|
124
|
+
super({
|
|
125
|
+
name: "AccessDeniedException",
|
|
126
|
+
$fault: "client",
|
|
127
|
+
...opts,
|
|
128
|
+
});
|
|
129
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
const CertificateField = {
|
|
133
|
+
x509Issuer: "x509Issuer",
|
|
134
|
+
x509SAN: "x509SAN",
|
|
135
|
+
x509Subject: "x509Subject",
|
|
220
136
|
};
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
var RolesAnywhereServiceException = class _RolesAnywhereServiceException extends import_smithy_client.ServiceException {
|
|
236
|
-
static {
|
|
237
|
-
__name(this, "RolesAnywhereServiceException");
|
|
238
|
-
}
|
|
239
|
-
/**
|
|
240
|
-
* @internal
|
|
241
|
-
*/
|
|
242
|
-
constructor(options) {
|
|
243
|
-
super(options);
|
|
244
|
-
Object.setPrototypeOf(this, _RolesAnywhereServiceException.prototype);
|
|
245
|
-
}
|
|
137
|
+
class ValidationException extends RolesAnywhereServiceException {
|
|
138
|
+
name = "ValidationException";
|
|
139
|
+
$fault = "client";
|
|
140
|
+
constructor(opts) {
|
|
141
|
+
super({
|
|
142
|
+
name: "ValidationException",
|
|
143
|
+
$fault: "client",
|
|
144
|
+
...opts,
|
|
145
|
+
});
|
|
146
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
const NotificationChannel = {
|
|
150
|
+
ALL: "ALL",
|
|
246
151
|
};
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
static {
|
|
251
|
-
__name(this, "AccessDeniedException");
|
|
252
|
-
}
|
|
253
|
-
name = "AccessDeniedException";
|
|
254
|
-
$fault = "client";
|
|
255
|
-
/**
|
|
256
|
-
* @internal
|
|
257
|
-
*/
|
|
258
|
-
constructor(opts) {
|
|
259
|
-
super({
|
|
260
|
-
name: "AccessDeniedException",
|
|
261
|
-
$fault: "client",
|
|
262
|
-
...opts
|
|
263
|
-
});
|
|
264
|
-
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
265
|
-
}
|
|
266
|
-
};
|
|
267
|
-
var CertificateField = {
|
|
268
|
-
x509Issuer: "x509Issuer",
|
|
269
|
-
x509SAN: "x509SAN",
|
|
270
|
-
x509Subject: "x509Subject"
|
|
271
|
-
};
|
|
272
|
-
var ValidationException = class _ValidationException extends RolesAnywhereServiceException {
|
|
273
|
-
static {
|
|
274
|
-
__name(this, "ValidationException");
|
|
275
|
-
}
|
|
276
|
-
name = "ValidationException";
|
|
277
|
-
$fault = "client";
|
|
278
|
-
/**
|
|
279
|
-
* @internal
|
|
280
|
-
*/
|
|
281
|
-
constructor(opts) {
|
|
282
|
-
super({
|
|
283
|
-
name: "ValidationException",
|
|
284
|
-
$fault: "client",
|
|
285
|
-
...opts
|
|
286
|
-
});
|
|
287
|
-
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
288
|
-
}
|
|
289
|
-
};
|
|
290
|
-
var NotificationChannel = {
|
|
291
|
-
ALL: "ALL"
|
|
292
|
-
};
|
|
293
|
-
var NotificationEvent = {
|
|
294
|
-
CA_CERTIFICATE_EXPIRY: "CA_CERTIFICATE_EXPIRY",
|
|
295
|
-
END_ENTITY_CERTIFICATE_EXPIRY: "END_ENTITY_CERTIFICATE_EXPIRY"
|
|
296
|
-
};
|
|
297
|
-
var SourceData;
|
|
298
|
-
((SourceData3) => {
|
|
299
|
-
SourceData3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
300
|
-
if (value.x509CertificateData !== void 0) return visitor.x509CertificateData(value.x509CertificateData);
|
|
301
|
-
if (value.acmPcaArn !== void 0) return visitor.acmPcaArn(value.acmPcaArn);
|
|
302
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
303
|
-
}, "visit");
|
|
304
|
-
})(SourceData || (SourceData = {}));
|
|
305
|
-
var TrustAnchorType = {
|
|
306
|
-
AWS_ACM_PCA: "AWS_ACM_PCA",
|
|
307
|
-
CERTIFICATE_BUNDLE: "CERTIFICATE_BUNDLE",
|
|
308
|
-
SELF_SIGNED_REPOSITORY: "SELF_SIGNED_REPOSITORY"
|
|
309
|
-
};
|
|
310
|
-
var ResourceNotFoundException = class _ResourceNotFoundException extends RolesAnywhereServiceException {
|
|
311
|
-
static {
|
|
312
|
-
__name(this, "ResourceNotFoundException");
|
|
313
|
-
}
|
|
314
|
-
name = "ResourceNotFoundException";
|
|
315
|
-
$fault = "client";
|
|
316
|
-
/**
|
|
317
|
-
* @internal
|
|
318
|
-
*/
|
|
319
|
-
constructor(opts) {
|
|
320
|
-
super({
|
|
321
|
-
name: "ResourceNotFoundException",
|
|
322
|
-
$fault: "client",
|
|
323
|
-
...opts
|
|
324
|
-
});
|
|
325
|
-
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
326
|
-
}
|
|
327
|
-
};
|
|
328
|
-
var TooManyTagsException = class _TooManyTagsException extends RolesAnywhereServiceException {
|
|
329
|
-
static {
|
|
330
|
-
__name(this, "TooManyTagsException");
|
|
331
|
-
}
|
|
332
|
-
name = "TooManyTagsException";
|
|
333
|
-
$fault = "client";
|
|
334
|
-
/**
|
|
335
|
-
* @internal
|
|
336
|
-
*/
|
|
337
|
-
constructor(opts) {
|
|
338
|
-
super({
|
|
339
|
-
name: "TooManyTagsException",
|
|
340
|
-
$fault: "client",
|
|
341
|
-
...opts
|
|
342
|
-
});
|
|
343
|
-
Object.setPrototypeOf(this, _TooManyTagsException.prototype);
|
|
344
|
-
}
|
|
345
|
-
};
|
|
346
|
-
var TagFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
347
|
-
...obj,
|
|
348
|
-
...obj.key && { key: import_smithy_client.SENSITIVE_STRING },
|
|
349
|
-
...obj.value && { value: import_smithy_client.SENSITIVE_STRING }
|
|
350
|
-
}), "TagFilterSensitiveLog");
|
|
351
|
-
var CreateProfileRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
352
|
-
...obj,
|
|
353
|
-
...obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }
|
|
354
|
-
}), "CreateProfileRequestFilterSensitiveLog");
|
|
355
|
-
var CreateTrustAnchorRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
356
|
-
...obj,
|
|
357
|
-
...obj.source && { source: obj.source },
|
|
358
|
-
...obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }
|
|
359
|
-
}), "CreateTrustAnchorRequestFilterSensitiveLog");
|
|
360
|
-
var ImportCrlRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
361
|
-
...obj,
|
|
362
|
-
...obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }
|
|
363
|
-
}), "ImportCrlRequestFilterSensitiveLog");
|
|
364
|
-
var ListTagsForResourceResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
365
|
-
...obj,
|
|
366
|
-
...obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }
|
|
367
|
-
}), "ListTagsForResourceResponseFilterSensitiveLog");
|
|
368
|
-
var TagResourceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
369
|
-
...obj,
|
|
370
|
-
...obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }
|
|
371
|
-
}), "TagResourceRequestFilterSensitiveLog");
|
|
372
|
-
var UntagResourceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
373
|
-
...obj,
|
|
374
|
-
...obj.tagKeys && { tagKeys: import_smithy_client.SENSITIVE_STRING }
|
|
375
|
-
}), "UntagResourceRequestFilterSensitiveLog");
|
|
376
|
-
|
|
377
|
-
// src/protocols/Aws_restJson1.ts
|
|
378
|
-
var import_core2 = require("@aws-sdk/core");
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
var se_CreateProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
382
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
383
|
-
const headers = {
|
|
384
|
-
"content-type": "application/json"
|
|
385
|
-
};
|
|
386
|
-
b.bp("/profiles");
|
|
387
|
-
let body;
|
|
388
|
-
body = JSON.stringify(
|
|
389
|
-
(0, import_smithy_client.take)(input, {
|
|
390
|
-
acceptRoleSessionName: [],
|
|
391
|
-
durationSeconds: [],
|
|
392
|
-
enabled: [],
|
|
393
|
-
managedPolicyArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "managedPolicyArns"),
|
|
394
|
-
name: [],
|
|
395
|
-
requireInstanceProperties: [],
|
|
396
|
-
roleArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "roleArns"),
|
|
397
|
-
sessionPolicy: [],
|
|
398
|
-
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
399
|
-
})
|
|
400
|
-
);
|
|
401
|
-
b.m("POST").h(headers).b(body);
|
|
402
|
-
return b.build();
|
|
403
|
-
}, "se_CreateProfileCommand");
|
|
404
|
-
var se_CreateTrustAnchorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
405
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
406
|
-
const headers = {
|
|
407
|
-
"content-type": "application/json"
|
|
408
|
-
};
|
|
409
|
-
b.bp("/trustanchors");
|
|
410
|
-
let body;
|
|
411
|
-
body = JSON.stringify(
|
|
412
|
-
(0, import_smithy_client.take)(input, {
|
|
413
|
-
enabled: [],
|
|
414
|
-
name: [],
|
|
415
|
-
notificationSettings: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "notificationSettings"),
|
|
416
|
-
source: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "source"),
|
|
417
|
-
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
418
|
-
})
|
|
419
|
-
);
|
|
420
|
-
b.m("POST").h(headers).b(body);
|
|
421
|
-
return b.build();
|
|
422
|
-
}, "se_CreateTrustAnchorCommand");
|
|
423
|
-
var se_DeleteAttributeMappingCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
424
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
425
|
-
const headers = {};
|
|
426
|
-
b.bp("/profiles/{profileId}/mappings");
|
|
427
|
-
b.p("profileId", () => input.profileId, "{profileId}", false);
|
|
428
|
-
const query = (0, import_smithy_client.map)({
|
|
429
|
-
[_cF]: [, (0, import_smithy_client.expectNonNull)(input[_cF], `certificateField`)],
|
|
430
|
-
[_s]: [() => input.specifiers !== void 0, () => input[_s] || []]
|
|
431
|
-
});
|
|
432
|
-
let body;
|
|
433
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
434
|
-
return b.build();
|
|
435
|
-
}, "se_DeleteAttributeMappingCommand");
|
|
436
|
-
var se_DeleteCrlCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
437
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
438
|
-
const headers = {};
|
|
439
|
-
b.bp("/crl/{crlId}");
|
|
440
|
-
b.p("crlId", () => input.crlId, "{crlId}", false);
|
|
441
|
-
let body;
|
|
442
|
-
b.m("DELETE").h(headers).b(body);
|
|
443
|
-
return b.build();
|
|
444
|
-
}, "se_DeleteCrlCommand");
|
|
445
|
-
var se_DeleteProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
446
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
447
|
-
const headers = {};
|
|
448
|
-
b.bp("/profile/{profileId}");
|
|
449
|
-
b.p("profileId", () => input.profileId, "{profileId}", false);
|
|
450
|
-
let body;
|
|
451
|
-
b.m("DELETE").h(headers).b(body);
|
|
452
|
-
return b.build();
|
|
453
|
-
}, "se_DeleteProfileCommand");
|
|
454
|
-
var se_DeleteTrustAnchorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
455
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
456
|
-
const headers = {};
|
|
457
|
-
b.bp("/trustanchor/{trustAnchorId}");
|
|
458
|
-
b.p("trustAnchorId", () => input.trustAnchorId, "{trustAnchorId}", false);
|
|
459
|
-
let body;
|
|
460
|
-
b.m("DELETE").h(headers).b(body);
|
|
461
|
-
return b.build();
|
|
462
|
-
}, "se_DeleteTrustAnchorCommand");
|
|
463
|
-
var se_DisableCrlCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
464
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
465
|
-
const headers = {};
|
|
466
|
-
b.bp("/crl/{crlId}/disable");
|
|
467
|
-
b.p("crlId", () => input.crlId, "{crlId}", false);
|
|
468
|
-
let body;
|
|
469
|
-
b.m("POST").h(headers).b(body);
|
|
470
|
-
return b.build();
|
|
471
|
-
}, "se_DisableCrlCommand");
|
|
472
|
-
var se_DisableProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
473
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
474
|
-
const headers = {};
|
|
475
|
-
b.bp("/profile/{profileId}/disable");
|
|
476
|
-
b.p("profileId", () => input.profileId, "{profileId}", false);
|
|
477
|
-
let body;
|
|
478
|
-
b.m("POST").h(headers).b(body);
|
|
479
|
-
return b.build();
|
|
480
|
-
}, "se_DisableProfileCommand");
|
|
481
|
-
var se_DisableTrustAnchorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
482
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
483
|
-
const headers = {};
|
|
484
|
-
b.bp("/trustanchor/{trustAnchorId}/disable");
|
|
485
|
-
b.p("trustAnchorId", () => input.trustAnchorId, "{trustAnchorId}", false);
|
|
486
|
-
let body;
|
|
487
|
-
b.m("POST").h(headers).b(body);
|
|
488
|
-
return b.build();
|
|
489
|
-
}, "se_DisableTrustAnchorCommand");
|
|
490
|
-
var se_EnableCrlCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
491
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
492
|
-
const headers = {};
|
|
493
|
-
b.bp("/crl/{crlId}/enable");
|
|
494
|
-
b.p("crlId", () => input.crlId, "{crlId}", false);
|
|
495
|
-
let body;
|
|
496
|
-
b.m("POST").h(headers).b(body);
|
|
497
|
-
return b.build();
|
|
498
|
-
}, "se_EnableCrlCommand");
|
|
499
|
-
var se_EnableProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
500
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
501
|
-
const headers = {};
|
|
502
|
-
b.bp("/profile/{profileId}/enable");
|
|
503
|
-
b.p("profileId", () => input.profileId, "{profileId}", false);
|
|
504
|
-
let body;
|
|
505
|
-
b.m("POST").h(headers).b(body);
|
|
506
|
-
return b.build();
|
|
507
|
-
}, "se_EnableProfileCommand");
|
|
508
|
-
var se_EnableTrustAnchorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
509
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
510
|
-
const headers = {};
|
|
511
|
-
b.bp("/trustanchor/{trustAnchorId}/enable");
|
|
512
|
-
b.p("trustAnchorId", () => input.trustAnchorId, "{trustAnchorId}", false);
|
|
513
|
-
let body;
|
|
514
|
-
b.m("POST").h(headers).b(body);
|
|
515
|
-
return b.build();
|
|
516
|
-
}, "se_EnableTrustAnchorCommand");
|
|
517
|
-
var se_GetCrlCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
518
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
519
|
-
const headers = {};
|
|
520
|
-
b.bp("/crl/{crlId}");
|
|
521
|
-
b.p("crlId", () => input.crlId, "{crlId}", false);
|
|
522
|
-
let body;
|
|
523
|
-
b.m("GET").h(headers).b(body);
|
|
524
|
-
return b.build();
|
|
525
|
-
}, "se_GetCrlCommand");
|
|
526
|
-
var se_GetProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
527
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
528
|
-
const headers = {};
|
|
529
|
-
b.bp("/profile/{profileId}");
|
|
530
|
-
b.p("profileId", () => input.profileId, "{profileId}", false);
|
|
531
|
-
let body;
|
|
532
|
-
b.m("GET").h(headers).b(body);
|
|
533
|
-
return b.build();
|
|
534
|
-
}, "se_GetProfileCommand");
|
|
535
|
-
var se_GetSubjectCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
536
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
537
|
-
const headers = {};
|
|
538
|
-
b.bp("/subject/{subjectId}");
|
|
539
|
-
b.p("subjectId", () => input.subjectId, "{subjectId}", false);
|
|
540
|
-
let body;
|
|
541
|
-
b.m("GET").h(headers).b(body);
|
|
542
|
-
return b.build();
|
|
543
|
-
}, "se_GetSubjectCommand");
|
|
544
|
-
var se_GetTrustAnchorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
545
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
546
|
-
const headers = {};
|
|
547
|
-
b.bp("/trustanchor/{trustAnchorId}");
|
|
548
|
-
b.p("trustAnchorId", () => input.trustAnchorId, "{trustAnchorId}", false);
|
|
549
|
-
let body;
|
|
550
|
-
b.m("GET").h(headers).b(body);
|
|
551
|
-
return b.build();
|
|
552
|
-
}, "se_GetTrustAnchorCommand");
|
|
553
|
-
var se_ImportCrlCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
554
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
555
|
-
const headers = {
|
|
556
|
-
"content-type": "application/json"
|
|
557
|
-
};
|
|
558
|
-
b.bp("/crls");
|
|
559
|
-
let body;
|
|
560
|
-
body = JSON.stringify(
|
|
561
|
-
(0, import_smithy_client.take)(input, {
|
|
562
|
-
crlData: /* @__PURE__ */ __name((_) => context.base64Encoder(_), "crlData"),
|
|
563
|
-
enabled: [],
|
|
564
|
-
name: [],
|
|
565
|
-
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),
|
|
566
|
-
trustAnchorArn: []
|
|
567
|
-
})
|
|
568
|
-
);
|
|
569
|
-
b.m("POST").h(headers).b(body);
|
|
570
|
-
return b.build();
|
|
571
|
-
}, "se_ImportCrlCommand");
|
|
572
|
-
var se_ListCrlsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
573
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
574
|
-
const headers = {};
|
|
575
|
-
b.bp("/crls");
|
|
576
|
-
const query = (0, import_smithy_client.map)({
|
|
577
|
-
[_nT]: [, input[_nT]],
|
|
578
|
-
[_pS]: [() => input.pageSize !== void 0, () => input[_pS].toString()]
|
|
579
|
-
});
|
|
580
|
-
let body;
|
|
581
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
582
|
-
return b.build();
|
|
583
|
-
}, "se_ListCrlsCommand");
|
|
584
|
-
var se_ListProfilesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
585
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
586
|
-
const headers = {};
|
|
587
|
-
b.bp("/profiles");
|
|
588
|
-
const query = (0, import_smithy_client.map)({
|
|
589
|
-
[_nT]: [, input[_nT]],
|
|
590
|
-
[_pS]: [() => input.pageSize !== void 0, () => input[_pS].toString()]
|
|
591
|
-
});
|
|
592
|
-
let body;
|
|
593
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
594
|
-
return b.build();
|
|
595
|
-
}, "se_ListProfilesCommand");
|
|
596
|
-
var se_ListSubjectsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
597
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
598
|
-
const headers = {};
|
|
599
|
-
b.bp("/subjects");
|
|
600
|
-
const query = (0, import_smithy_client.map)({
|
|
601
|
-
[_nT]: [, input[_nT]],
|
|
602
|
-
[_pS]: [() => input.pageSize !== void 0, () => input[_pS].toString()]
|
|
603
|
-
});
|
|
604
|
-
let body;
|
|
605
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
606
|
-
return b.build();
|
|
607
|
-
}, "se_ListSubjectsCommand");
|
|
608
|
-
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
609
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
610
|
-
const headers = {};
|
|
611
|
-
b.bp("/ListTagsForResource");
|
|
612
|
-
const query = (0, import_smithy_client.map)({
|
|
613
|
-
[_rA]: [, (0, import_smithy_client.expectNonNull)(input[_rA], `resourceArn`)]
|
|
614
|
-
});
|
|
615
|
-
let body;
|
|
616
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
617
|
-
return b.build();
|
|
618
|
-
}, "se_ListTagsForResourceCommand");
|
|
619
|
-
var se_ListTrustAnchorsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
620
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
621
|
-
const headers = {};
|
|
622
|
-
b.bp("/trustanchors");
|
|
623
|
-
const query = (0, import_smithy_client.map)({
|
|
624
|
-
[_nT]: [, input[_nT]],
|
|
625
|
-
[_pS]: [() => input.pageSize !== void 0, () => input[_pS].toString()]
|
|
626
|
-
});
|
|
627
|
-
let body;
|
|
628
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
629
|
-
return b.build();
|
|
630
|
-
}, "se_ListTrustAnchorsCommand");
|
|
631
|
-
var se_PutAttributeMappingCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
632
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
633
|
-
const headers = {
|
|
634
|
-
"content-type": "application/json"
|
|
635
|
-
};
|
|
636
|
-
b.bp("/profiles/{profileId}/mappings");
|
|
637
|
-
b.p("profileId", () => input.profileId, "{profileId}", false);
|
|
638
|
-
let body;
|
|
639
|
-
body = JSON.stringify(
|
|
640
|
-
(0, import_smithy_client.take)(input, {
|
|
641
|
-
certificateField: [],
|
|
642
|
-
mappingRules: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "mappingRules")
|
|
643
|
-
})
|
|
644
|
-
);
|
|
645
|
-
b.m("PUT").h(headers).b(body);
|
|
646
|
-
return b.build();
|
|
647
|
-
}, "se_PutAttributeMappingCommand");
|
|
648
|
-
var se_PutNotificationSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
649
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
650
|
-
const headers = {
|
|
651
|
-
"content-type": "application/json"
|
|
652
|
-
};
|
|
653
|
-
b.bp("/put-notifications-settings");
|
|
654
|
-
let body;
|
|
655
|
-
body = JSON.stringify(
|
|
656
|
-
(0, import_smithy_client.take)(input, {
|
|
657
|
-
notificationSettings: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "notificationSettings"),
|
|
658
|
-
trustAnchorId: []
|
|
659
|
-
})
|
|
660
|
-
);
|
|
661
|
-
b.m("PATCH").h(headers).b(body);
|
|
662
|
-
return b.build();
|
|
663
|
-
}, "se_PutNotificationSettingsCommand");
|
|
664
|
-
var se_ResetNotificationSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
665
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
666
|
-
const headers = {
|
|
667
|
-
"content-type": "application/json"
|
|
668
|
-
};
|
|
669
|
-
b.bp("/reset-notifications-settings");
|
|
670
|
-
let body;
|
|
671
|
-
body = JSON.stringify(
|
|
672
|
-
(0, import_smithy_client.take)(input, {
|
|
673
|
-
notificationSettingKeys: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "notificationSettingKeys"),
|
|
674
|
-
trustAnchorId: []
|
|
675
|
-
})
|
|
676
|
-
);
|
|
677
|
-
b.m("PATCH").h(headers).b(body);
|
|
678
|
-
return b.build();
|
|
679
|
-
}, "se_ResetNotificationSettingsCommand");
|
|
680
|
-
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
681
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
682
|
-
const headers = {
|
|
683
|
-
"content-type": "application/json"
|
|
684
|
-
};
|
|
685
|
-
b.bp("/TagResource");
|
|
686
|
-
let body;
|
|
687
|
-
body = JSON.stringify(
|
|
688
|
-
(0, import_smithy_client.take)(input, {
|
|
689
|
-
resourceArn: [],
|
|
690
|
-
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
691
|
-
})
|
|
692
|
-
);
|
|
693
|
-
b.m("POST").h(headers).b(body);
|
|
694
|
-
return b.build();
|
|
695
|
-
}, "se_TagResourceCommand");
|
|
696
|
-
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
697
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
698
|
-
const headers = {
|
|
699
|
-
"content-type": "application/json"
|
|
700
|
-
};
|
|
701
|
-
b.bp("/UntagResource");
|
|
702
|
-
let body;
|
|
703
|
-
body = JSON.stringify(
|
|
704
|
-
(0, import_smithy_client.take)(input, {
|
|
705
|
-
resourceArn: [],
|
|
706
|
-
tagKeys: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tagKeys")
|
|
707
|
-
})
|
|
708
|
-
);
|
|
709
|
-
b.m("POST").h(headers).b(body);
|
|
710
|
-
return b.build();
|
|
711
|
-
}, "se_UntagResourceCommand");
|
|
712
|
-
var se_UpdateCrlCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
713
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
714
|
-
const headers = {
|
|
715
|
-
"content-type": "application/json"
|
|
716
|
-
};
|
|
717
|
-
b.bp("/crl/{crlId}");
|
|
718
|
-
b.p("crlId", () => input.crlId, "{crlId}", false);
|
|
719
|
-
let body;
|
|
720
|
-
body = JSON.stringify(
|
|
721
|
-
(0, import_smithy_client.take)(input, {
|
|
722
|
-
crlData: /* @__PURE__ */ __name((_) => context.base64Encoder(_), "crlData"),
|
|
723
|
-
name: []
|
|
724
|
-
})
|
|
725
|
-
);
|
|
726
|
-
b.m("PATCH").h(headers).b(body);
|
|
727
|
-
return b.build();
|
|
728
|
-
}, "se_UpdateCrlCommand");
|
|
729
|
-
var se_UpdateProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
730
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
731
|
-
const headers = {
|
|
732
|
-
"content-type": "application/json"
|
|
733
|
-
};
|
|
734
|
-
b.bp("/profile/{profileId}");
|
|
735
|
-
b.p("profileId", () => input.profileId, "{profileId}", false);
|
|
736
|
-
let body;
|
|
737
|
-
body = JSON.stringify(
|
|
738
|
-
(0, import_smithy_client.take)(input, {
|
|
739
|
-
acceptRoleSessionName: [],
|
|
740
|
-
durationSeconds: [],
|
|
741
|
-
managedPolicyArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "managedPolicyArns"),
|
|
742
|
-
name: [],
|
|
743
|
-
roleArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "roleArns"),
|
|
744
|
-
sessionPolicy: []
|
|
745
|
-
})
|
|
746
|
-
);
|
|
747
|
-
b.m("PATCH").h(headers).b(body);
|
|
748
|
-
return b.build();
|
|
749
|
-
}, "se_UpdateProfileCommand");
|
|
750
|
-
var se_UpdateTrustAnchorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
751
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
752
|
-
const headers = {
|
|
753
|
-
"content-type": "application/json"
|
|
754
|
-
};
|
|
755
|
-
b.bp("/trustanchor/{trustAnchorId}");
|
|
756
|
-
b.p("trustAnchorId", () => input.trustAnchorId, "{trustAnchorId}", false);
|
|
757
|
-
let body;
|
|
758
|
-
body = JSON.stringify(
|
|
759
|
-
(0, import_smithy_client.take)(input, {
|
|
760
|
-
name: [],
|
|
761
|
-
source: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "source")
|
|
762
|
-
})
|
|
763
|
-
);
|
|
764
|
-
b.m("PATCH").h(headers).b(body);
|
|
765
|
-
return b.build();
|
|
766
|
-
}, "se_UpdateTrustAnchorCommand");
|
|
767
|
-
var de_CreateProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
768
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
769
|
-
return de_CommandError(output, context);
|
|
770
|
-
}
|
|
771
|
-
const contents = (0, import_smithy_client.map)({
|
|
772
|
-
$metadata: deserializeMetadata(output)
|
|
773
|
-
});
|
|
774
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
775
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
776
|
-
profile: /* @__PURE__ */ __name((_) => de_ProfileDetail(_, context), "profile")
|
|
777
|
-
});
|
|
778
|
-
Object.assign(contents, doc);
|
|
779
|
-
return contents;
|
|
780
|
-
}, "de_CreateProfileCommand");
|
|
781
|
-
var de_CreateTrustAnchorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
782
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
783
|
-
return de_CommandError(output, context);
|
|
784
|
-
}
|
|
785
|
-
const contents = (0, import_smithy_client.map)({
|
|
786
|
-
$metadata: deserializeMetadata(output)
|
|
787
|
-
});
|
|
788
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
789
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
790
|
-
trustAnchor: /* @__PURE__ */ __name((_) => de_TrustAnchorDetail(_, context), "trustAnchor")
|
|
791
|
-
});
|
|
792
|
-
Object.assign(contents, doc);
|
|
793
|
-
return contents;
|
|
794
|
-
}, "de_CreateTrustAnchorCommand");
|
|
795
|
-
var de_DeleteAttributeMappingCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
796
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
797
|
-
return de_CommandError(output, context);
|
|
798
|
-
}
|
|
799
|
-
const contents = (0, import_smithy_client.map)({
|
|
800
|
-
$metadata: deserializeMetadata(output)
|
|
801
|
-
});
|
|
802
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
803
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
804
|
-
profile: /* @__PURE__ */ __name((_) => de_ProfileDetail(_, context), "profile")
|
|
805
|
-
});
|
|
806
|
-
Object.assign(contents, doc);
|
|
807
|
-
return contents;
|
|
808
|
-
}, "de_DeleteAttributeMappingCommand");
|
|
809
|
-
var de_DeleteCrlCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
810
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
811
|
-
return de_CommandError(output, context);
|
|
812
|
-
}
|
|
813
|
-
const contents = (0, import_smithy_client.map)({
|
|
814
|
-
$metadata: deserializeMetadata(output)
|
|
815
|
-
});
|
|
816
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
817
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
818
|
-
crl: /* @__PURE__ */ __name((_) => de_CrlDetail(_, context), "crl")
|
|
819
|
-
});
|
|
820
|
-
Object.assign(contents, doc);
|
|
821
|
-
return contents;
|
|
822
|
-
}, "de_DeleteCrlCommand");
|
|
823
|
-
var de_DeleteProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
824
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
825
|
-
return de_CommandError(output, context);
|
|
826
|
-
}
|
|
827
|
-
const contents = (0, import_smithy_client.map)({
|
|
828
|
-
$metadata: deserializeMetadata(output)
|
|
829
|
-
});
|
|
830
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
831
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
832
|
-
profile: /* @__PURE__ */ __name((_) => de_ProfileDetail(_, context), "profile")
|
|
833
|
-
});
|
|
834
|
-
Object.assign(contents, doc);
|
|
835
|
-
return contents;
|
|
836
|
-
}, "de_DeleteProfileCommand");
|
|
837
|
-
var de_DeleteTrustAnchorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
838
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
839
|
-
return de_CommandError(output, context);
|
|
840
|
-
}
|
|
841
|
-
const contents = (0, import_smithy_client.map)({
|
|
842
|
-
$metadata: deserializeMetadata(output)
|
|
843
|
-
});
|
|
844
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
845
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
846
|
-
trustAnchor: /* @__PURE__ */ __name((_) => de_TrustAnchorDetail(_, context), "trustAnchor")
|
|
847
|
-
});
|
|
848
|
-
Object.assign(contents, doc);
|
|
849
|
-
return contents;
|
|
850
|
-
}, "de_DeleteTrustAnchorCommand");
|
|
851
|
-
var de_DisableCrlCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
852
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
853
|
-
return de_CommandError(output, context);
|
|
854
|
-
}
|
|
855
|
-
const contents = (0, import_smithy_client.map)({
|
|
856
|
-
$metadata: deserializeMetadata(output)
|
|
857
|
-
});
|
|
858
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
859
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
860
|
-
crl: /* @__PURE__ */ __name((_) => de_CrlDetail(_, context), "crl")
|
|
861
|
-
});
|
|
862
|
-
Object.assign(contents, doc);
|
|
863
|
-
return contents;
|
|
864
|
-
}, "de_DisableCrlCommand");
|
|
865
|
-
var de_DisableProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
866
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
867
|
-
return de_CommandError(output, context);
|
|
868
|
-
}
|
|
869
|
-
const contents = (0, import_smithy_client.map)({
|
|
870
|
-
$metadata: deserializeMetadata(output)
|
|
871
|
-
});
|
|
872
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
873
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
874
|
-
profile: /* @__PURE__ */ __name((_) => de_ProfileDetail(_, context), "profile")
|
|
875
|
-
});
|
|
876
|
-
Object.assign(contents, doc);
|
|
877
|
-
return contents;
|
|
878
|
-
}, "de_DisableProfileCommand");
|
|
879
|
-
var de_DisableTrustAnchorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
880
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
881
|
-
return de_CommandError(output, context);
|
|
882
|
-
}
|
|
883
|
-
const contents = (0, import_smithy_client.map)({
|
|
884
|
-
$metadata: deserializeMetadata(output)
|
|
885
|
-
});
|
|
886
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
887
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
888
|
-
trustAnchor: /* @__PURE__ */ __name((_) => de_TrustAnchorDetail(_, context), "trustAnchor")
|
|
889
|
-
});
|
|
890
|
-
Object.assign(contents, doc);
|
|
891
|
-
return contents;
|
|
892
|
-
}, "de_DisableTrustAnchorCommand");
|
|
893
|
-
var de_EnableCrlCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
894
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
895
|
-
return de_CommandError(output, context);
|
|
896
|
-
}
|
|
897
|
-
const contents = (0, import_smithy_client.map)({
|
|
898
|
-
$metadata: deserializeMetadata(output)
|
|
899
|
-
});
|
|
900
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
901
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
902
|
-
crl: /* @__PURE__ */ __name((_) => de_CrlDetail(_, context), "crl")
|
|
903
|
-
});
|
|
904
|
-
Object.assign(contents, doc);
|
|
905
|
-
return contents;
|
|
906
|
-
}, "de_EnableCrlCommand");
|
|
907
|
-
var de_EnableProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
908
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
909
|
-
return de_CommandError(output, context);
|
|
910
|
-
}
|
|
911
|
-
const contents = (0, import_smithy_client.map)({
|
|
912
|
-
$metadata: deserializeMetadata(output)
|
|
913
|
-
});
|
|
914
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
915
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
916
|
-
profile: /* @__PURE__ */ __name((_) => de_ProfileDetail(_, context), "profile")
|
|
917
|
-
});
|
|
918
|
-
Object.assign(contents, doc);
|
|
919
|
-
return contents;
|
|
920
|
-
}, "de_EnableProfileCommand");
|
|
921
|
-
var de_EnableTrustAnchorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
922
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
923
|
-
return de_CommandError(output, context);
|
|
924
|
-
}
|
|
925
|
-
const contents = (0, import_smithy_client.map)({
|
|
926
|
-
$metadata: deserializeMetadata(output)
|
|
927
|
-
});
|
|
928
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
929
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
930
|
-
trustAnchor: /* @__PURE__ */ __name((_) => de_TrustAnchorDetail(_, context), "trustAnchor")
|
|
931
|
-
});
|
|
932
|
-
Object.assign(contents, doc);
|
|
933
|
-
return contents;
|
|
934
|
-
}, "de_EnableTrustAnchorCommand");
|
|
935
|
-
var de_GetCrlCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
936
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
937
|
-
return de_CommandError(output, context);
|
|
938
|
-
}
|
|
939
|
-
const contents = (0, import_smithy_client.map)({
|
|
940
|
-
$metadata: deserializeMetadata(output)
|
|
941
|
-
});
|
|
942
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
943
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
944
|
-
crl: /* @__PURE__ */ __name((_) => de_CrlDetail(_, context), "crl")
|
|
945
|
-
});
|
|
946
|
-
Object.assign(contents, doc);
|
|
947
|
-
return contents;
|
|
948
|
-
}, "de_GetCrlCommand");
|
|
949
|
-
var de_GetProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
950
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
951
|
-
return de_CommandError(output, context);
|
|
952
|
-
}
|
|
953
|
-
const contents = (0, import_smithy_client.map)({
|
|
954
|
-
$metadata: deserializeMetadata(output)
|
|
955
|
-
});
|
|
956
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
957
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
958
|
-
profile: /* @__PURE__ */ __name((_) => de_ProfileDetail(_, context), "profile")
|
|
959
|
-
});
|
|
960
|
-
Object.assign(contents, doc);
|
|
961
|
-
return contents;
|
|
962
|
-
}, "de_GetProfileCommand");
|
|
963
|
-
var de_GetSubjectCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
964
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
965
|
-
return de_CommandError(output, context);
|
|
966
|
-
}
|
|
967
|
-
const contents = (0, import_smithy_client.map)({
|
|
968
|
-
$metadata: deserializeMetadata(output)
|
|
969
|
-
});
|
|
970
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
971
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
972
|
-
subject: /* @__PURE__ */ __name((_) => de_SubjectDetail(_, context), "subject")
|
|
973
|
-
});
|
|
974
|
-
Object.assign(contents, doc);
|
|
975
|
-
return contents;
|
|
976
|
-
}, "de_GetSubjectCommand");
|
|
977
|
-
var de_GetTrustAnchorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
978
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
979
|
-
return de_CommandError(output, context);
|
|
980
|
-
}
|
|
981
|
-
const contents = (0, import_smithy_client.map)({
|
|
982
|
-
$metadata: deserializeMetadata(output)
|
|
983
|
-
});
|
|
984
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
985
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
986
|
-
trustAnchor: /* @__PURE__ */ __name((_) => de_TrustAnchorDetail(_, context), "trustAnchor")
|
|
987
|
-
});
|
|
988
|
-
Object.assign(contents, doc);
|
|
989
|
-
return contents;
|
|
990
|
-
}, "de_GetTrustAnchorCommand");
|
|
991
|
-
var de_ImportCrlCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
992
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
993
|
-
return de_CommandError(output, context);
|
|
994
|
-
}
|
|
995
|
-
const contents = (0, import_smithy_client.map)({
|
|
996
|
-
$metadata: deserializeMetadata(output)
|
|
997
|
-
});
|
|
998
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
999
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1000
|
-
crl: /* @__PURE__ */ __name((_) => de_CrlDetail(_, context), "crl")
|
|
1001
|
-
});
|
|
1002
|
-
Object.assign(contents, doc);
|
|
1003
|
-
return contents;
|
|
1004
|
-
}, "de_ImportCrlCommand");
|
|
1005
|
-
var de_ListCrlsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1006
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1007
|
-
return de_CommandError(output, context);
|
|
1008
|
-
}
|
|
1009
|
-
const contents = (0, import_smithy_client.map)({
|
|
1010
|
-
$metadata: deserializeMetadata(output)
|
|
1011
|
-
});
|
|
1012
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1013
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1014
|
-
crls: /* @__PURE__ */ __name((_) => de_CrlDetails(_, context), "crls"),
|
|
1015
|
-
nextToken: import_smithy_client.expectString
|
|
1016
|
-
});
|
|
1017
|
-
Object.assign(contents, doc);
|
|
1018
|
-
return contents;
|
|
1019
|
-
}, "de_ListCrlsCommand");
|
|
1020
|
-
var de_ListProfilesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1021
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1022
|
-
return de_CommandError(output, context);
|
|
1023
|
-
}
|
|
1024
|
-
const contents = (0, import_smithy_client.map)({
|
|
1025
|
-
$metadata: deserializeMetadata(output)
|
|
1026
|
-
});
|
|
1027
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1028
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1029
|
-
nextToken: import_smithy_client.expectString,
|
|
1030
|
-
profiles: /* @__PURE__ */ __name((_) => de_ProfileDetails(_, context), "profiles")
|
|
1031
|
-
});
|
|
1032
|
-
Object.assign(contents, doc);
|
|
1033
|
-
return contents;
|
|
1034
|
-
}, "de_ListProfilesCommand");
|
|
1035
|
-
var de_ListSubjectsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1036
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1037
|
-
return de_CommandError(output, context);
|
|
1038
|
-
}
|
|
1039
|
-
const contents = (0, import_smithy_client.map)({
|
|
1040
|
-
$metadata: deserializeMetadata(output)
|
|
1041
|
-
});
|
|
1042
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1043
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1044
|
-
nextToken: import_smithy_client.expectString,
|
|
1045
|
-
subjects: /* @__PURE__ */ __name((_) => de_SubjectSummaries(_, context), "subjects")
|
|
1046
|
-
});
|
|
1047
|
-
Object.assign(contents, doc);
|
|
1048
|
-
return contents;
|
|
1049
|
-
}, "de_ListSubjectsCommand");
|
|
1050
|
-
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1051
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1052
|
-
return de_CommandError(output, context);
|
|
1053
|
-
}
|
|
1054
|
-
const contents = (0, import_smithy_client.map)({
|
|
1055
|
-
$metadata: deserializeMetadata(output)
|
|
1056
|
-
});
|
|
1057
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1058
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1059
|
-
tags: import_smithy_client._json
|
|
1060
|
-
});
|
|
1061
|
-
Object.assign(contents, doc);
|
|
1062
|
-
return contents;
|
|
1063
|
-
}, "de_ListTagsForResourceCommand");
|
|
1064
|
-
var de_ListTrustAnchorsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1065
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1066
|
-
return de_CommandError(output, context);
|
|
1067
|
-
}
|
|
1068
|
-
const contents = (0, import_smithy_client.map)({
|
|
1069
|
-
$metadata: deserializeMetadata(output)
|
|
1070
|
-
});
|
|
1071
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1072
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1073
|
-
nextToken: import_smithy_client.expectString,
|
|
1074
|
-
trustAnchors: /* @__PURE__ */ __name((_) => de_TrustAnchorDetails(_, context), "trustAnchors")
|
|
1075
|
-
});
|
|
1076
|
-
Object.assign(contents, doc);
|
|
1077
|
-
return contents;
|
|
1078
|
-
}, "de_ListTrustAnchorsCommand");
|
|
1079
|
-
var de_PutAttributeMappingCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1080
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1081
|
-
return de_CommandError(output, context);
|
|
1082
|
-
}
|
|
1083
|
-
const contents = (0, import_smithy_client.map)({
|
|
1084
|
-
$metadata: deserializeMetadata(output)
|
|
1085
|
-
});
|
|
1086
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1087
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1088
|
-
profile: /* @__PURE__ */ __name((_) => de_ProfileDetail(_, context), "profile")
|
|
1089
|
-
});
|
|
1090
|
-
Object.assign(contents, doc);
|
|
1091
|
-
return contents;
|
|
1092
|
-
}, "de_PutAttributeMappingCommand");
|
|
1093
|
-
var de_PutNotificationSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1094
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1095
|
-
return de_CommandError(output, context);
|
|
1096
|
-
}
|
|
1097
|
-
const contents = (0, import_smithy_client.map)({
|
|
1098
|
-
$metadata: deserializeMetadata(output)
|
|
1099
|
-
});
|
|
1100
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1101
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1102
|
-
trustAnchor: /* @__PURE__ */ __name((_) => de_TrustAnchorDetail(_, context), "trustAnchor")
|
|
1103
|
-
});
|
|
1104
|
-
Object.assign(contents, doc);
|
|
1105
|
-
return contents;
|
|
1106
|
-
}, "de_PutNotificationSettingsCommand");
|
|
1107
|
-
var de_ResetNotificationSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1108
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1109
|
-
return de_CommandError(output, context);
|
|
1110
|
-
}
|
|
1111
|
-
const contents = (0, import_smithy_client.map)({
|
|
1112
|
-
$metadata: deserializeMetadata(output)
|
|
1113
|
-
});
|
|
1114
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1115
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1116
|
-
trustAnchor: /* @__PURE__ */ __name((_) => de_TrustAnchorDetail(_, context), "trustAnchor")
|
|
1117
|
-
});
|
|
1118
|
-
Object.assign(contents, doc);
|
|
1119
|
-
return contents;
|
|
1120
|
-
}, "de_ResetNotificationSettingsCommand");
|
|
1121
|
-
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1122
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1123
|
-
return de_CommandError(output, context);
|
|
1124
|
-
}
|
|
1125
|
-
const contents = (0, import_smithy_client.map)({
|
|
1126
|
-
$metadata: deserializeMetadata(output)
|
|
1127
|
-
});
|
|
1128
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1129
|
-
return contents;
|
|
1130
|
-
}, "de_TagResourceCommand");
|
|
1131
|
-
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1132
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1133
|
-
return de_CommandError(output, context);
|
|
1134
|
-
}
|
|
1135
|
-
const contents = (0, import_smithy_client.map)({
|
|
1136
|
-
$metadata: deserializeMetadata(output)
|
|
1137
|
-
});
|
|
1138
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1139
|
-
return contents;
|
|
1140
|
-
}, "de_UntagResourceCommand");
|
|
1141
|
-
var de_UpdateCrlCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1142
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1143
|
-
return de_CommandError(output, context);
|
|
1144
|
-
}
|
|
1145
|
-
const contents = (0, import_smithy_client.map)({
|
|
1146
|
-
$metadata: deserializeMetadata(output)
|
|
1147
|
-
});
|
|
1148
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1149
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1150
|
-
crl: /* @__PURE__ */ __name((_) => de_CrlDetail(_, context), "crl")
|
|
1151
|
-
});
|
|
1152
|
-
Object.assign(contents, doc);
|
|
1153
|
-
return contents;
|
|
1154
|
-
}, "de_UpdateCrlCommand");
|
|
1155
|
-
var de_UpdateProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1156
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1157
|
-
return de_CommandError(output, context);
|
|
1158
|
-
}
|
|
1159
|
-
const contents = (0, import_smithy_client.map)({
|
|
1160
|
-
$metadata: deserializeMetadata(output)
|
|
1161
|
-
});
|
|
1162
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1163
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1164
|
-
profile: /* @__PURE__ */ __name((_) => de_ProfileDetail(_, context), "profile")
|
|
1165
|
-
});
|
|
1166
|
-
Object.assign(contents, doc);
|
|
1167
|
-
return contents;
|
|
1168
|
-
}, "de_UpdateProfileCommand");
|
|
1169
|
-
var de_UpdateTrustAnchorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1170
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1171
|
-
return de_CommandError(output, context);
|
|
1172
|
-
}
|
|
1173
|
-
const contents = (0, import_smithy_client.map)({
|
|
1174
|
-
$metadata: deserializeMetadata(output)
|
|
1175
|
-
});
|
|
1176
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1177
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1178
|
-
trustAnchor: /* @__PURE__ */ __name((_) => de_TrustAnchorDetail(_, context), "trustAnchor")
|
|
1179
|
-
});
|
|
1180
|
-
Object.assign(contents, doc);
|
|
1181
|
-
return contents;
|
|
1182
|
-
}, "de_UpdateTrustAnchorCommand");
|
|
1183
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1184
|
-
const parsedOutput = {
|
|
1185
|
-
...output,
|
|
1186
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1187
|
-
};
|
|
1188
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1189
|
-
switch (errorCode) {
|
|
1190
|
-
case "AccessDeniedException":
|
|
1191
|
-
case "com.amazonaws.rolesanywhere#AccessDeniedException":
|
|
1192
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1193
|
-
case "ValidationException":
|
|
1194
|
-
case "com.amazonaws.rolesanywhere#ValidationException":
|
|
1195
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1196
|
-
case "ResourceNotFoundException":
|
|
1197
|
-
case "com.amazonaws.rolesanywhere#ResourceNotFoundException":
|
|
1198
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1199
|
-
case "TooManyTagsException":
|
|
1200
|
-
case "com.amazonaws.rolesanywhere#TooManyTagsException":
|
|
1201
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1202
|
-
default:
|
|
1203
|
-
const parsedBody = parsedOutput.body;
|
|
1204
|
-
return throwDefaultError({
|
|
1205
|
-
output,
|
|
1206
|
-
parsedBody,
|
|
1207
|
-
errorCode
|
|
1208
|
-
});
|
|
1209
|
-
}
|
|
1210
|
-
}, "de_CommandError");
|
|
1211
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(RolesAnywhereServiceException);
|
|
1212
|
-
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1213
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1214
|
-
const data = parsedOutput.body;
|
|
1215
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1216
|
-
message: import_smithy_client.expectString
|
|
1217
|
-
});
|
|
1218
|
-
Object.assign(contents, doc);
|
|
1219
|
-
const exception = new AccessDeniedException({
|
|
1220
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1221
|
-
...contents
|
|
1222
|
-
});
|
|
1223
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1224
|
-
}, "de_AccessDeniedExceptionRes");
|
|
1225
|
-
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1226
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1227
|
-
const data = parsedOutput.body;
|
|
1228
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1229
|
-
message: import_smithy_client.expectString
|
|
1230
|
-
});
|
|
1231
|
-
Object.assign(contents, doc);
|
|
1232
|
-
const exception = new ResourceNotFoundException({
|
|
1233
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1234
|
-
...contents
|
|
1235
|
-
});
|
|
1236
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1237
|
-
}, "de_ResourceNotFoundExceptionRes");
|
|
1238
|
-
var de_TooManyTagsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1239
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1240
|
-
const data = parsedOutput.body;
|
|
1241
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1242
|
-
message: import_smithy_client.expectString
|
|
1243
|
-
});
|
|
1244
|
-
Object.assign(contents, doc);
|
|
1245
|
-
const exception = new TooManyTagsException({
|
|
1246
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1247
|
-
...contents
|
|
1248
|
-
});
|
|
1249
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1250
|
-
}, "de_TooManyTagsExceptionRes");
|
|
1251
|
-
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1252
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1253
|
-
const data = parsedOutput.body;
|
|
1254
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1255
|
-
message: import_smithy_client.expectString
|
|
1256
|
-
});
|
|
1257
|
-
Object.assign(contents, doc);
|
|
1258
|
-
const exception = new ValidationException({
|
|
1259
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1260
|
-
...contents
|
|
1261
|
-
});
|
|
1262
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1263
|
-
}, "de_ValidationExceptionRes");
|
|
1264
|
-
var de_CredentialSummaries = /* @__PURE__ */ __name((output, context) => {
|
|
1265
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1266
|
-
return de_CredentialSummary(entry, context);
|
|
1267
|
-
});
|
|
1268
|
-
return retVal;
|
|
1269
|
-
}, "de_CredentialSummaries");
|
|
1270
|
-
var de_CredentialSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1271
|
-
return (0, import_smithy_client.take)(output, {
|
|
1272
|
-
enabled: import_smithy_client.expectBoolean,
|
|
1273
|
-
failed: import_smithy_client.expectBoolean,
|
|
1274
|
-
issuer: import_smithy_client.expectString,
|
|
1275
|
-
seenAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "seenAt"),
|
|
1276
|
-
serialNumber: import_smithy_client.expectString,
|
|
1277
|
-
x509CertificateData: import_smithy_client.expectString
|
|
1278
|
-
});
|
|
1279
|
-
}, "de_CredentialSummary");
|
|
1280
|
-
var de_CrlDetail = /* @__PURE__ */ __name((output, context) => {
|
|
1281
|
-
return (0, import_smithy_client.take)(output, {
|
|
1282
|
-
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
1283
|
-
crlArn: import_smithy_client.expectString,
|
|
1284
|
-
crlData: context.base64Decoder,
|
|
1285
|
-
crlId: import_smithy_client.expectString,
|
|
1286
|
-
enabled: import_smithy_client.expectBoolean,
|
|
1287
|
-
name: import_smithy_client.expectString,
|
|
1288
|
-
trustAnchorArn: import_smithy_client.expectString,
|
|
1289
|
-
updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
|
|
1290
|
-
});
|
|
1291
|
-
}, "de_CrlDetail");
|
|
1292
|
-
var de_CrlDetails = /* @__PURE__ */ __name((output, context) => {
|
|
1293
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1294
|
-
return de_CrlDetail(entry, context);
|
|
1295
|
-
});
|
|
1296
|
-
return retVal;
|
|
1297
|
-
}, "de_CrlDetails");
|
|
1298
|
-
var de_InstanceProperties = /* @__PURE__ */ __name((output, context) => {
|
|
1299
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1300
|
-
return de_InstanceProperty(entry, context);
|
|
1301
|
-
});
|
|
1302
|
-
return retVal;
|
|
1303
|
-
}, "de_InstanceProperties");
|
|
1304
|
-
var de_InstanceProperty = /* @__PURE__ */ __name((output, context) => {
|
|
1305
|
-
return (0, import_smithy_client.take)(output, {
|
|
1306
|
-
failed: import_smithy_client.expectBoolean,
|
|
1307
|
-
properties: import_smithy_client._json,
|
|
1308
|
-
seenAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "seenAt")
|
|
1309
|
-
});
|
|
1310
|
-
}, "de_InstanceProperty");
|
|
1311
|
-
var de_ProfileDetail = /* @__PURE__ */ __name((output, context) => {
|
|
1312
|
-
return (0, import_smithy_client.take)(output, {
|
|
1313
|
-
acceptRoleSessionName: import_smithy_client.expectBoolean,
|
|
1314
|
-
attributeMappings: import_smithy_client._json,
|
|
1315
|
-
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
1316
|
-
createdBy: import_smithy_client.expectString,
|
|
1317
|
-
durationSeconds: import_smithy_client.expectInt32,
|
|
1318
|
-
enabled: import_smithy_client.expectBoolean,
|
|
1319
|
-
managedPolicyArns: import_smithy_client._json,
|
|
1320
|
-
name: import_smithy_client.expectString,
|
|
1321
|
-
profileArn: import_smithy_client.expectString,
|
|
1322
|
-
profileId: import_smithy_client.expectString,
|
|
1323
|
-
requireInstanceProperties: import_smithy_client.expectBoolean,
|
|
1324
|
-
roleArns: import_smithy_client._json,
|
|
1325
|
-
sessionPolicy: import_smithy_client.expectString,
|
|
1326
|
-
updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
|
|
1327
|
-
});
|
|
1328
|
-
}, "de_ProfileDetail");
|
|
1329
|
-
var de_ProfileDetails = /* @__PURE__ */ __name((output, context) => {
|
|
1330
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1331
|
-
return de_ProfileDetail(entry, context);
|
|
1332
|
-
});
|
|
1333
|
-
return retVal;
|
|
1334
|
-
}, "de_ProfileDetails");
|
|
1335
|
-
var de_SubjectDetail = /* @__PURE__ */ __name((output, context) => {
|
|
1336
|
-
return (0, import_smithy_client.take)(output, {
|
|
1337
|
-
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
1338
|
-
credentials: /* @__PURE__ */ __name((_) => de_CredentialSummaries(_, context), "credentials"),
|
|
1339
|
-
enabled: import_smithy_client.expectBoolean,
|
|
1340
|
-
instanceProperties: /* @__PURE__ */ __name((_) => de_InstanceProperties(_, context), "instanceProperties"),
|
|
1341
|
-
lastSeenAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastSeenAt"),
|
|
1342
|
-
subjectArn: import_smithy_client.expectString,
|
|
1343
|
-
subjectId: import_smithy_client.expectString,
|
|
1344
|
-
updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt"),
|
|
1345
|
-
x509Subject: import_smithy_client.expectString
|
|
1346
|
-
});
|
|
1347
|
-
}, "de_SubjectDetail");
|
|
1348
|
-
var de_SubjectSummaries = /* @__PURE__ */ __name((output, context) => {
|
|
1349
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1350
|
-
return de_SubjectSummary(entry, context);
|
|
1351
|
-
});
|
|
1352
|
-
return retVal;
|
|
1353
|
-
}, "de_SubjectSummaries");
|
|
1354
|
-
var de_SubjectSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1355
|
-
return (0, import_smithy_client.take)(output, {
|
|
1356
|
-
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
1357
|
-
enabled: import_smithy_client.expectBoolean,
|
|
1358
|
-
lastSeenAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastSeenAt"),
|
|
1359
|
-
subjectArn: import_smithy_client.expectString,
|
|
1360
|
-
subjectId: import_smithy_client.expectString,
|
|
1361
|
-
updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt"),
|
|
1362
|
-
x509Subject: import_smithy_client.expectString
|
|
1363
|
-
});
|
|
1364
|
-
}, "de_SubjectSummary");
|
|
1365
|
-
var de_TrustAnchorDetail = /* @__PURE__ */ __name((output, context) => {
|
|
1366
|
-
return (0, import_smithy_client.take)(output, {
|
|
1367
|
-
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
1368
|
-
enabled: import_smithy_client.expectBoolean,
|
|
1369
|
-
name: import_smithy_client.expectString,
|
|
1370
|
-
notificationSettings: import_smithy_client._json,
|
|
1371
|
-
source: import_smithy_client._json,
|
|
1372
|
-
trustAnchorArn: import_smithy_client.expectString,
|
|
1373
|
-
trustAnchorId: import_smithy_client.expectString,
|
|
1374
|
-
updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
|
|
1375
|
-
});
|
|
1376
|
-
}, "de_TrustAnchorDetail");
|
|
1377
|
-
var de_TrustAnchorDetails = /* @__PURE__ */ __name((output, context) => {
|
|
1378
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1379
|
-
return de_TrustAnchorDetail(entry, context);
|
|
1380
|
-
});
|
|
1381
|
-
return retVal;
|
|
1382
|
-
}, "de_TrustAnchorDetails");
|
|
1383
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1384
|
-
httpStatusCode: output.statusCode,
|
|
1385
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1386
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1387
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
1388
|
-
}), "deserializeMetadata");
|
|
1389
|
-
var _cF = "certificateField";
|
|
1390
|
-
var _nT = "nextToken";
|
|
1391
|
-
var _pS = "pageSize";
|
|
1392
|
-
var _rA = "resourceArn";
|
|
1393
|
-
var _s = "specifiers";
|
|
1394
|
-
|
|
1395
|
-
// src/commands/CreateProfileCommand.ts
|
|
1396
|
-
var CreateProfileCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1397
|
-
return [
|
|
1398
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1399
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1400
|
-
];
|
|
1401
|
-
}).s("RolesAnywhere", "CreateProfile", {}).n("RolesAnywhereClient", "CreateProfileCommand").f(CreateProfileRequestFilterSensitiveLog, void 0).ser(se_CreateProfileCommand).de(de_CreateProfileCommand).build() {
|
|
1402
|
-
static {
|
|
1403
|
-
__name(this, "CreateProfileCommand");
|
|
1404
|
-
}
|
|
152
|
+
const NotificationEvent = {
|
|
153
|
+
CA_CERTIFICATE_EXPIRY: "CA_CERTIFICATE_EXPIRY",
|
|
154
|
+
END_ENTITY_CERTIFICATE_EXPIRY: "END_ENTITY_CERTIFICATE_EXPIRY",
|
|
1405
155
|
};
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
156
|
+
exports.SourceData = void 0;
|
|
157
|
+
(function (SourceData) {
|
|
158
|
+
SourceData.visit = (value, visitor) => {
|
|
159
|
+
if (value.x509CertificateData !== undefined)
|
|
160
|
+
return visitor.x509CertificateData(value.x509CertificateData);
|
|
161
|
+
if (value.acmPcaArn !== undefined)
|
|
162
|
+
return visitor.acmPcaArn(value.acmPcaArn);
|
|
163
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
164
|
+
};
|
|
165
|
+
})(exports.SourceData || (exports.SourceData = {}));
|
|
166
|
+
const TrustAnchorType = {
|
|
167
|
+
AWS_ACM_PCA: "AWS_ACM_PCA",
|
|
168
|
+
CERTIFICATE_BUNDLE: "CERTIFICATE_BUNDLE",
|
|
169
|
+
SELF_SIGNED_REPOSITORY: "SELF_SIGNED_REPOSITORY",
|
|
1420
170
|
};
|
|
171
|
+
class ResourceNotFoundException extends RolesAnywhereServiceException {
|
|
172
|
+
name = "ResourceNotFoundException";
|
|
173
|
+
$fault = "client";
|
|
174
|
+
constructor(opts) {
|
|
175
|
+
super({
|
|
176
|
+
name: "ResourceNotFoundException",
|
|
177
|
+
$fault: "client",
|
|
178
|
+
...opts,
|
|
179
|
+
});
|
|
180
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
class TooManyTagsException extends RolesAnywhereServiceException {
|
|
184
|
+
name = "TooManyTagsException";
|
|
185
|
+
$fault = "client";
|
|
186
|
+
constructor(opts) {
|
|
187
|
+
super({
|
|
188
|
+
name: "TooManyTagsException",
|
|
189
|
+
$fault: "client",
|
|
190
|
+
...opts,
|
|
191
|
+
});
|
|
192
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
const TagFilterSensitiveLog = (obj) => ({
|
|
196
|
+
...obj,
|
|
197
|
+
...(obj.key && { key: smithyClient.SENSITIVE_STRING }),
|
|
198
|
+
...(obj.value && { value: smithyClient.SENSITIVE_STRING }),
|
|
199
|
+
});
|
|
200
|
+
const CreateProfileRequestFilterSensitiveLog = (obj) => ({
|
|
201
|
+
...obj,
|
|
202
|
+
...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
203
|
+
});
|
|
204
|
+
const CreateTrustAnchorRequestFilterSensitiveLog = (obj) => ({
|
|
205
|
+
...obj,
|
|
206
|
+
...(obj.source && { source: obj.source }),
|
|
207
|
+
...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
208
|
+
});
|
|
209
|
+
const ImportCrlRequestFilterSensitiveLog = (obj) => ({
|
|
210
|
+
...obj,
|
|
211
|
+
...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
212
|
+
});
|
|
213
|
+
const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
214
|
+
...obj,
|
|
215
|
+
...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
216
|
+
});
|
|
217
|
+
const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
218
|
+
...obj,
|
|
219
|
+
...(obj.tags && { tags: obj.tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
220
|
+
});
|
|
221
|
+
const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
222
|
+
...obj,
|
|
223
|
+
...(obj.tagKeys && { tagKeys: smithyClient.SENSITIVE_STRING }),
|
|
224
|
+
});
|
|
1421
225
|
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
226
|
+
const se_CreateProfileCommand = async (input, context) => {
|
|
227
|
+
const b = core.requestBuilder(input, context);
|
|
228
|
+
const headers = {
|
|
229
|
+
"content-type": "application/json",
|
|
230
|
+
};
|
|
231
|
+
b.bp("/profiles");
|
|
232
|
+
let body;
|
|
233
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
234
|
+
acceptRoleSessionName: [],
|
|
235
|
+
durationSeconds: [],
|
|
236
|
+
enabled: [],
|
|
237
|
+
managedPolicyArns: (_) => smithyClient._json(_),
|
|
238
|
+
name: [],
|
|
239
|
+
requireInstanceProperties: [],
|
|
240
|
+
roleArns: (_) => smithyClient._json(_),
|
|
241
|
+
sessionPolicy: [],
|
|
242
|
+
tags: (_) => smithyClient._json(_),
|
|
243
|
+
}));
|
|
244
|
+
b.m("POST").h(headers).b(body);
|
|
245
|
+
return b.build();
|
|
1435
246
|
};
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
247
|
+
const se_CreateTrustAnchorCommand = async (input, context) => {
|
|
248
|
+
const b = core.requestBuilder(input, context);
|
|
249
|
+
const headers = {
|
|
250
|
+
"content-type": "application/json",
|
|
251
|
+
};
|
|
252
|
+
b.bp("/trustanchors");
|
|
253
|
+
let body;
|
|
254
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
255
|
+
enabled: [],
|
|
256
|
+
name: [],
|
|
257
|
+
notificationSettings: (_) => smithyClient._json(_),
|
|
258
|
+
source: (_) => smithyClient._json(_),
|
|
259
|
+
tags: (_) => smithyClient._json(_),
|
|
260
|
+
}));
|
|
261
|
+
b.m("POST").h(headers).b(body);
|
|
262
|
+
return b.build();
|
|
1450
263
|
};
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
__name(this, "DeleteProfileCommand");
|
|
1464
|
-
}
|
|
264
|
+
const se_DeleteAttributeMappingCommand = async (input, context) => {
|
|
265
|
+
const b = core.requestBuilder(input, context);
|
|
266
|
+
const headers = {};
|
|
267
|
+
b.bp("/profiles/{profileId}/mappings");
|
|
268
|
+
b.p("profileId", () => input.profileId, "{profileId}", false);
|
|
269
|
+
const query = smithyClient.map({
|
|
270
|
+
[_cF]: [, smithyClient.expectNonNull(input[_cF], `certificateField`)],
|
|
271
|
+
[_s]: [() => input.specifiers !== void 0, () => input[_s] || []],
|
|
272
|
+
});
|
|
273
|
+
let body;
|
|
274
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
275
|
+
return b.build();
|
|
1465
276
|
};
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1475
|
-
];
|
|
1476
|
-
}).s("RolesAnywhere", "DeleteTrustAnchor", {}).n("RolesAnywhereClient", "DeleteTrustAnchorCommand").f(void 0, void 0).ser(se_DeleteTrustAnchorCommand).de(de_DeleteTrustAnchorCommand).build() {
|
|
1477
|
-
static {
|
|
1478
|
-
__name(this, "DeleteTrustAnchorCommand");
|
|
1479
|
-
}
|
|
277
|
+
const se_DeleteCrlCommand = async (input, context) => {
|
|
278
|
+
const b = core.requestBuilder(input, context);
|
|
279
|
+
const headers = {};
|
|
280
|
+
b.bp("/crl/{crlId}");
|
|
281
|
+
b.p("crlId", () => input.crlId, "{crlId}", false);
|
|
282
|
+
let body;
|
|
283
|
+
b.m("DELETE").h(headers).b(body);
|
|
284
|
+
return b.build();
|
|
1480
285
|
};
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1490
|
-
];
|
|
1491
|
-
}).s("RolesAnywhere", "DisableCrl", {}).n("RolesAnywhereClient", "DisableCrlCommand").f(void 0, void 0).ser(se_DisableCrlCommand).de(de_DisableCrlCommand).build() {
|
|
1492
|
-
static {
|
|
1493
|
-
__name(this, "DisableCrlCommand");
|
|
1494
|
-
}
|
|
286
|
+
const se_DeleteProfileCommand = async (input, context) => {
|
|
287
|
+
const b = core.requestBuilder(input, context);
|
|
288
|
+
const headers = {};
|
|
289
|
+
b.bp("/profile/{profileId}");
|
|
290
|
+
b.p("profileId", () => input.profileId, "{profileId}", false);
|
|
291
|
+
let body;
|
|
292
|
+
b.m("DELETE").h(headers).b(body);
|
|
293
|
+
return b.build();
|
|
1495
294
|
};
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1505
|
-
];
|
|
1506
|
-
}).s("RolesAnywhere", "DisableProfile", {}).n("RolesAnywhereClient", "DisableProfileCommand").f(void 0, void 0).ser(se_DisableProfileCommand).de(de_DisableProfileCommand).build() {
|
|
1507
|
-
static {
|
|
1508
|
-
__name(this, "DisableProfileCommand");
|
|
1509
|
-
}
|
|
295
|
+
const se_DeleteTrustAnchorCommand = async (input, context) => {
|
|
296
|
+
const b = core.requestBuilder(input, context);
|
|
297
|
+
const headers = {};
|
|
298
|
+
b.bp("/trustanchor/{trustAnchorId}");
|
|
299
|
+
b.p("trustAnchorId", () => input.trustAnchorId, "{trustAnchorId}", false);
|
|
300
|
+
let body;
|
|
301
|
+
b.m("DELETE").h(headers).b(body);
|
|
302
|
+
return b.build();
|
|
1510
303
|
};
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1520
|
-
];
|
|
1521
|
-
}).s("RolesAnywhere", "DisableTrustAnchor", {}).n("RolesAnywhereClient", "DisableTrustAnchorCommand").f(void 0, void 0).ser(se_DisableTrustAnchorCommand).de(de_DisableTrustAnchorCommand).build() {
|
|
1522
|
-
static {
|
|
1523
|
-
__name(this, "DisableTrustAnchorCommand");
|
|
1524
|
-
}
|
|
304
|
+
const se_DisableCrlCommand = async (input, context) => {
|
|
305
|
+
const b = core.requestBuilder(input, context);
|
|
306
|
+
const headers = {};
|
|
307
|
+
b.bp("/crl/{crlId}/disable");
|
|
308
|
+
b.p("crlId", () => input.crlId, "{crlId}", false);
|
|
309
|
+
let body;
|
|
310
|
+
b.m("POST").h(headers).b(body);
|
|
311
|
+
return b.build();
|
|
1525
312
|
};
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1535
|
-
];
|
|
1536
|
-
}).s("RolesAnywhere", "EnableCrl", {}).n("RolesAnywhereClient", "EnableCrlCommand").f(void 0, void 0).ser(se_EnableCrlCommand).de(de_EnableCrlCommand).build() {
|
|
1537
|
-
static {
|
|
1538
|
-
__name(this, "EnableCrlCommand");
|
|
1539
|
-
}
|
|
313
|
+
const se_DisableProfileCommand = async (input, context) => {
|
|
314
|
+
const b = core.requestBuilder(input, context);
|
|
315
|
+
const headers = {};
|
|
316
|
+
b.bp("/profile/{profileId}/disable");
|
|
317
|
+
b.p("profileId", () => input.profileId, "{profileId}", false);
|
|
318
|
+
let body;
|
|
319
|
+
b.m("POST").h(headers).b(body);
|
|
320
|
+
return b.build();
|
|
1540
321
|
};
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1550
|
-
];
|
|
1551
|
-
}).s("RolesAnywhere", "EnableProfile", {}).n("RolesAnywhereClient", "EnableProfileCommand").f(void 0, void 0).ser(se_EnableProfileCommand).de(de_EnableProfileCommand).build() {
|
|
1552
|
-
static {
|
|
1553
|
-
__name(this, "EnableProfileCommand");
|
|
1554
|
-
}
|
|
322
|
+
const se_DisableTrustAnchorCommand = async (input, context) => {
|
|
323
|
+
const b = core.requestBuilder(input, context);
|
|
324
|
+
const headers = {};
|
|
325
|
+
b.bp("/trustanchor/{trustAnchorId}/disable");
|
|
326
|
+
b.p("trustAnchorId", () => input.trustAnchorId, "{trustAnchorId}", false);
|
|
327
|
+
let body;
|
|
328
|
+
b.m("POST").h(headers).b(body);
|
|
329
|
+
return b.build();
|
|
1555
330
|
};
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1565
|
-
];
|
|
1566
|
-
}).s("RolesAnywhere", "EnableTrustAnchor", {}).n("RolesAnywhereClient", "EnableTrustAnchorCommand").f(void 0, void 0).ser(se_EnableTrustAnchorCommand).de(de_EnableTrustAnchorCommand).build() {
|
|
1567
|
-
static {
|
|
1568
|
-
__name(this, "EnableTrustAnchorCommand");
|
|
1569
|
-
}
|
|
331
|
+
const se_EnableCrlCommand = async (input, context) => {
|
|
332
|
+
const b = core.requestBuilder(input, context);
|
|
333
|
+
const headers = {};
|
|
334
|
+
b.bp("/crl/{crlId}/enable");
|
|
335
|
+
b.p("crlId", () => input.crlId, "{crlId}", false);
|
|
336
|
+
let body;
|
|
337
|
+
b.m("POST").h(headers).b(body);
|
|
338
|
+
return b.build();
|
|
1570
339
|
};
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1580
|
-
];
|
|
1581
|
-
}).s("RolesAnywhere", "GetCrl", {}).n("RolesAnywhereClient", "GetCrlCommand").f(void 0, void 0).ser(se_GetCrlCommand).de(de_GetCrlCommand).build() {
|
|
1582
|
-
static {
|
|
1583
|
-
__name(this, "GetCrlCommand");
|
|
1584
|
-
}
|
|
340
|
+
const se_EnableProfileCommand = async (input, context) => {
|
|
341
|
+
const b = core.requestBuilder(input, context);
|
|
342
|
+
const headers = {};
|
|
343
|
+
b.bp("/profile/{profileId}/enable");
|
|
344
|
+
b.p("profileId", () => input.profileId, "{profileId}", false);
|
|
345
|
+
let body;
|
|
346
|
+
b.m("POST").h(headers).b(body);
|
|
347
|
+
return b.build();
|
|
1585
348
|
};
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1595
|
-
];
|
|
1596
|
-
}).s("RolesAnywhere", "GetProfile", {}).n("RolesAnywhereClient", "GetProfileCommand").f(void 0, void 0).ser(se_GetProfileCommand).de(de_GetProfileCommand).build() {
|
|
1597
|
-
static {
|
|
1598
|
-
__name(this, "GetProfileCommand");
|
|
1599
|
-
}
|
|
349
|
+
const se_EnableTrustAnchorCommand = async (input, context) => {
|
|
350
|
+
const b = core.requestBuilder(input, context);
|
|
351
|
+
const headers = {};
|
|
352
|
+
b.bp("/trustanchor/{trustAnchorId}/enable");
|
|
353
|
+
b.p("trustAnchorId", () => input.trustAnchorId, "{trustAnchorId}", false);
|
|
354
|
+
let body;
|
|
355
|
+
b.m("POST").h(headers).b(body);
|
|
356
|
+
return b.build();
|
|
1600
357
|
};
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1610
|
-
];
|
|
1611
|
-
}).s("RolesAnywhere", "GetSubject", {}).n("RolesAnywhereClient", "GetSubjectCommand").f(void 0, void 0).ser(se_GetSubjectCommand).de(de_GetSubjectCommand).build() {
|
|
1612
|
-
static {
|
|
1613
|
-
__name(this, "GetSubjectCommand");
|
|
1614
|
-
}
|
|
358
|
+
const se_GetCrlCommand = async (input, context) => {
|
|
359
|
+
const b = core.requestBuilder(input, context);
|
|
360
|
+
const headers = {};
|
|
361
|
+
b.bp("/crl/{crlId}");
|
|
362
|
+
b.p("crlId", () => input.crlId, "{crlId}", false);
|
|
363
|
+
let body;
|
|
364
|
+
b.m("GET").h(headers).b(body);
|
|
365
|
+
return b.build();
|
|
1615
366
|
};
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1625
|
-
];
|
|
1626
|
-
}).s("RolesAnywhere", "GetTrustAnchor", {}).n("RolesAnywhereClient", "GetTrustAnchorCommand").f(void 0, void 0).ser(se_GetTrustAnchorCommand).de(de_GetTrustAnchorCommand).build() {
|
|
1627
|
-
static {
|
|
1628
|
-
__name(this, "GetTrustAnchorCommand");
|
|
1629
|
-
}
|
|
367
|
+
const se_GetProfileCommand = async (input, context) => {
|
|
368
|
+
const b = core.requestBuilder(input, context);
|
|
369
|
+
const headers = {};
|
|
370
|
+
b.bp("/profile/{profileId}");
|
|
371
|
+
b.p("profileId", () => input.profileId, "{profileId}", false);
|
|
372
|
+
let body;
|
|
373
|
+
b.m("GET").h(headers).b(body);
|
|
374
|
+
return b.build();
|
|
1630
375
|
};
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1640
|
-
];
|
|
1641
|
-
}).s("RolesAnywhere", "ImportCrl", {}).n("RolesAnywhereClient", "ImportCrlCommand").f(ImportCrlRequestFilterSensitiveLog, void 0).ser(se_ImportCrlCommand).de(de_ImportCrlCommand).build() {
|
|
1642
|
-
static {
|
|
1643
|
-
__name(this, "ImportCrlCommand");
|
|
1644
|
-
}
|
|
376
|
+
const se_GetSubjectCommand = async (input, context) => {
|
|
377
|
+
const b = core.requestBuilder(input, context);
|
|
378
|
+
const headers = {};
|
|
379
|
+
b.bp("/subject/{subjectId}");
|
|
380
|
+
b.p("subjectId", () => input.subjectId, "{subjectId}", false);
|
|
381
|
+
let body;
|
|
382
|
+
b.m("GET").h(headers).b(body);
|
|
383
|
+
return b.build();
|
|
1645
384
|
};
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1655
|
-
];
|
|
1656
|
-
}).s("RolesAnywhere", "ListCrls", {}).n("RolesAnywhereClient", "ListCrlsCommand").f(void 0, void 0).ser(se_ListCrlsCommand).de(de_ListCrlsCommand).build() {
|
|
1657
|
-
static {
|
|
1658
|
-
__name(this, "ListCrlsCommand");
|
|
1659
|
-
}
|
|
385
|
+
const se_GetTrustAnchorCommand = async (input, context) => {
|
|
386
|
+
const b = core.requestBuilder(input, context);
|
|
387
|
+
const headers = {};
|
|
388
|
+
b.bp("/trustanchor/{trustAnchorId}");
|
|
389
|
+
b.p("trustAnchorId", () => input.trustAnchorId, "{trustAnchorId}", false);
|
|
390
|
+
let body;
|
|
391
|
+
b.m("GET").h(headers).b(body);
|
|
392
|
+
return b.build();
|
|
1660
393
|
};
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
394
|
+
const se_ImportCrlCommand = async (input, context) => {
|
|
395
|
+
const b = core.requestBuilder(input, context);
|
|
396
|
+
const headers = {
|
|
397
|
+
"content-type": "application/json",
|
|
398
|
+
};
|
|
399
|
+
b.bp("/crls");
|
|
400
|
+
let body;
|
|
401
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
402
|
+
crlData: (_) => context.base64Encoder(_),
|
|
403
|
+
enabled: [],
|
|
404
|
+
name: [],
|
|
405
|
+
tags: (_) => smithyClient._json(_),
|
|
406
|
+
trustAnchorArn: [],
|
|
407
|
+
}));
|
|
408
|
+
b.m("POST").h(headers).b(body);
|
|
409
|
+
return b.build();
|
|
1675
410
|
};
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
static {
|
|
1688
|
-
__name(this, "ListSubjectsCommand");
|
|
1689
|
-
}
|
|
411
|
+
const se_ListCrlsCommand = async (input, context) => {
|
|
412
|
+
const b = core.requestBuilder(input, context);
|
|
413
|
+
const headers = {};
|
|
414
|
+
b.bp("/crls");
|
|
415
|
+
const query = smithyClient.map({
|
|
416
|
+
[_nT]: [, input[_nT]],
|
|
417
|
+
[_pS]: [() => input.pageSize !== void 0, () => input[_pS].toString()],
|
|
418
|
+
});
|
|
419
|
+
let body;
|
|
420
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
421
|
+
return b.build();
|
|
1690
422
|
};
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
static {
|
|
1703
|
-
__name(this, "ListTagsForResourceCommand");
|
|
1704
|
-
}
|
|
423
|
+
const se_ListProfilesCommand = async (input, context) => {
|
|
424
|
+
const b = core.requestBuilder(input, context);
|
|
425
|
+
const headers = {};
|
|
426
|
+
b.bp("/profiles");
|
|
427
|
+
const query = smithyClient.map({
|
|
428
|
+
[_nT]: [, input[_nT]],
|
|
429
|
+
[_pS]: [() => input.pageSize !== void 0, () => input[_pS].toString()],
|
|
430
|
+
});
|
|
431
|
+
let body;
|
|
432
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
433
|
+
return b.build();
|
|
1705
434
|
};
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
static {
|
|
1718
|
-
__name(this, "ListTrustAnchorsCommand");
|
|
1719
|
-
}
|
|
435
|
+
const se_ListSubjectsCommand = async (input, context) => {
|
|
436
|
+
const b = core.requestBuilder(input, context);
|
|
437
|
+
const headers = {};
|
|
438
|
+
b.bp("/subjects");
|
|
439
|
+
const query = smithyClient.map({
|
|
440
|
+
[_nT]: [, input[_nT]],
|
|
441
|
+
[_pS]: [() => input.pageSize !== void 0, () => input[_pS].toString()],
|
|
442
|
+
});
|
|
443
|
+
let body;
|
|
444
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
445
|
+
return b.build();
|
|
1720
446
|
};
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
(
|
|
1730
|
-
|
|
1731
|
-
}).s("RolesAnywhere", "PutAttributeMapping", {}).n("RolesAnywhereClient", "PutAttributeMappingCommand").f(void 0, void 0).ser(se_PutAttributeMappingCommand).de(de_PutAttributeMappingCommand).build() {
|
|
1732
|
-
static {
|
|
1733
|
-
__name(this, "PutAttributeMappingCommand");
|
|
1734
|
-
}
|
|
447
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
448
|
+
const b = core.requestBuilder(input, context);
|
|
449
|
+
const headers = {};
|
|
450
|
+
b.bp("/ListTagsForResource");
|
|
451
|
+
const query = smithyClient.map({
|
|
452
|
+
[_rA]: [, smithyClient.expectNonNull(input[_rA], `resourceArn`)],
|
|
453
|
+
});
|
|
454
|
+
let body;
|
|
455
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
456
|
+
return b.build();
|
|
1735
457
|
};
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
static {
|
|
1748
|
-
__name(this, "PutNotificationSettingsCommand");
|
|
1749
|
-
}
|
|
458
|
+
const se_ListTrustAnchorsCommand = async (input, context) => {
|
|
459
|
+
const b = core.requestBuilder(input, context);
|
|
460
|
+
const headers = {};
|
|
461
|
+
b.bp("/trustanchors");
|
|
462
|
+
const query = smithyClient.map({
|
|
463
|
+
[_nT]: [, input[_nT]],
|
|
464
|
+
[_pS]: [() => input.pageSize !== void 0, () => input[_pS].toString()],
|
|
465
|
+
});
|
|
466
|
+
let body;
|
|
467
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
468
|
+
return b.build();
|
|
1750
469
|
};
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
470
|
+
const se_PutAttributeMappingCommand = async (input, context) => {
|
|
471
|
+
const b = core.requestBuilder(input, context);
|
|
472
|
+
const headers = {
|
|
473
|
+
"content-type": "application/json",
|
|
474
|
+
};
|
|
475
|
+
b.bp("/profiles/{profileId}/mappings");
|
|
476
|
+
b.p("profileId", () => input.profileId, "{profileId}", false);
|
|
477
|
+
let body;
|
|
478
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
479
|
+
certificateField: [],
|
|
480
|
+
mappingRules: (_) => smithyClient._json(_),
|
|
481
|
+
}));
|
|
482
|
+
b.m("PUT").h(headers).b(body);
|
|
483
|
+
return b.build();
|
|
1765
484
|
};
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
})
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
}
|
|
485
|
+
const se_PutNotificationSettingsCommand = async (input, context) => {
|
|
486
|
+
const b = core.requestBuilder(input, context);
|
|
487
|
+
const headers = {
|
|
488
|
+
"content-type": "application/json",
|
|
489
|
+
};
|
|
490
|
+
b.bp("/put-notifications-settings");
|
|
491
|
+
let body;
|
|
492
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
493
|
+
notificationSettings: (_) => smithyClient._json(_),
|
|
494
|
+
trustAnchorId: [],
|
|
495
|
+
}));
|
|
496
|
+
b.m("PATCH").h(headers).b(body);
|
|
497
|
+
return b.build();
|
|
1780
498
|
};
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
})
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
}
|
|
499
|
+
const se_ResetNotificationSettingsCommand = async (input, context) => {
|
|
500
|
+
const b = core.requestBuilder(input, context);
|
|
501
|
+
const headers = {
|
|
502
|
+
"content-type": "application/json",
|
|
503
|
+
};
|
|
504
|
+
b.bp("/reset-notifications-settings");
|
|
505
|
+
let body;
|
|
506
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
507
|
+
notificationSettingKeys: (_) => smithyClient._json(_),
|
|
508
|
+
trustAnchorId: [],
|
|
509
|
+
}));
|
|
510
|
+
b.m("PATCH").h(headers).b(body);
|
|
511
|
+
return b.build();
|
|
1795
512
|
};
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
})
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
}
|
|
513
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
514
|
+
const b = core.requestBuilder(input, context);
|
|
515
|
+
const headers = {
|
|
516
|
+
"content-type": "application/json",
|
|
517
|
+
};
|
|
518
|
+
b.bp("/TagResource");
|
|
519
|
+
let body;
|
|
520
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
521
|
+
resourceArn: [],
|
|
522
|
+
tags: (_) => smithyClient._json(_),
|
|
523
|
+
}));
|
|
524
|
+
b.m("POST").h(headers).b(body);
|
|
525
|
+
return b.build();
|
|
1810
526
|
};
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
})
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
}
|
|
527
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
528
|
+
const b = core.requestBuilder(input, context);
|
|
529
|
+
const headers = {
|
|
530
|
+
"content-type": "application/json",
|
|
531
|
+
};
|
|
532
|
+
b.bp("/UntagResource");
|
|
533
|
+
let body;
|
|
534
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
535
|
+
resourceArn: [],
|
|
536
|
+
tagKeys: (_) => smithyClient._json(_),
|
|
537
|
+
}));
|
|
538
|
+
b.m("POST").h(headers).b(body);
|
|
539
|
+
return b.build();
|
|
1825
540
|
};
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
541
|
+
const se_UpdateCrlCommand = async (input, context) => {
|
|
542
|
+
const b = core.requestBuilder(input, context);
|
|
543
|
+
const headers = {
|
|
544
|
+
"content-type": "application/json",
|
|
545
|
+
};
|
|
546
|
+
b.bp("/crl/{crlId}");
|
|
547
|
+
b.p("crlId", () => input.crlId, "{crlId}", false);
|
|
548
|
+
let body;
|
|
549
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
550
|
+
crlData: (_) => context.base64Encoder(_),
|
|
551
|
+
name: [],
|
|
552
|
+
}));
|
|
553
|
+
b.m("PATCH").h(headers).b(body);
|
|
554
|
+
return b.build();
|
|
1840
555
|
};
|
|
556
|
+
const se_UpdateProfileCommand = async (input, context) => {
|
|
557
|
+
const b = core.requestBuilder(input, context);
|
|
558
|
+
const headers = {
|
|
559
|
+
"content-type": "application/json",
|
|
560
|
+
};
|
|
561
|
+
b.bp("/profile/{profileId}");
|
|
562
|
+
b.p("profileId", () => input.profileId, "{profileId}", false);
|
|
563
|
+
let body;
|
|
564
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
565
|
+
acceptRoleSessionName: [],
|
|
566
|
+
durationSeconds: [],
|
|
567
|
+
managedPolicyArns: (_) => smithyClient._json(_),
|
|
568
|
+
name: [],
|
|
569
|
+
roleArns: (_) => smithyClient._json(_),
|
|
570
|
+
sessionPolicy: [],
|
|
571
|
+
}));
|
|
572
|
+
b.m("PATCH").h(headers).b(body);
|
|
573
|
+
return b.build();
|
|
574
|
+
};
|
|
575
|
+
const se_UpdateTrustAnchorCommand = async (input, context) => {
|
|
576
|
+
const b = core.requestBuilder(input, context);
|
|
577
|
+
const headers = {
|
|
578
|
+
"content-type": "application/json",
|
|
579
|
+
};
|
|
580
|
+
b.bp("/trustanchor/{trustAnchorId}");
|
|
581
|
+
b.p("trustAnchorId", () => input.trustAnchorId, "{trustAnchorId}", false);
|
|
582
|
+
let body;
|
|
583
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
584
|
+
name: [],
|
|
585
|
+
source: (_) => smithyClient._json(_),
|
|
586
|
+
}));
|
|
587
|
+
b.m("PATCH").h(headers).b(body);
|
|
588
|
+
return b.build();
|
|
589
|
+
};
|
|
590
|
+
const de_CreateProfileCommand = async (output, context) => {
|
|
591
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
592
|
+
return de_CommandError(output, context);
|
|
593
|
+
}
|
|
594
|
+
const contents = smithyClient.map({
|
|
595
|
+
$metadata: deserializeMetadata(output),
|
|
596
|
+
});
|
|
597
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
598
|
+
const doc = smithyClient.take(data, {
|
|
599
|
+
profile: (_) => de_ProfileDetail(_),
|
|
600
|
+
});
|
|
601
|
+
Object.assign(contents, doc);
|
|
602
|
+
return contents;
|
|
603
|
+
};
|
|
604
|
+
const de_CreateTrustAnchorCommand = async (output, context) => {
|
|
605
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
606
|
+
return de_CommandError(output, context);
|
|
607
|
+
}
|
|
608
|
+
const contents = smithyClient.map({
|
|
609
|
+
$metadata: deserializeMetadata(output),
|
|
610
|
+
});
|
|
611
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
612
|
+
const doc = smithyClient.take(data, {
|
|
613
|
+
trustAnchor: (_) => de_TrustAnchorDetail(_),
|
|
614
|
+
});
|
|
615
|
+
Object.assign(contents, doc);
|
|
616
|
+
return contents;
|
|
617
|
+
};
|
|
618
|
+
const de_DeleteAttributeMappingCommand = async (output, context) => {
|
|
619
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
620
|
+
return de_CommandError(output, context);
|
|
621
|
+
}
|
|
622
|
+
const contents = smithyClient.map({
|
|
623
|
+
$metadata: deserializeMetadata(output),
|
|
624
|
+
});
|
|
625
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
626
|
+
const doc = smithyClient.take(data, {
|
|
627
|
+
profile: (_) => de_ProfileDetail(_),
|
|
628
|
+
});
|
|
629
|
+
Object.assign(contents, doc);
|
|
630
|
+
return contents;
|
|
631
|
+
};
|
|
632
|
+
const de_DeleteCrlCommand = async (output, context) => {
|
|
633
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
634
|
+
return de_CommandError(output, context);
|
|
635
|
+
}
|
|
636
|
+
const contents = smithyClient.map({
|
|
637
|
+
$metadata: deserializeMetadata(output),
|
|
638
|
+
});
|
|
639
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
640
|
+
const doc = smithyClient.take(data, {
|
|
641
|
+
crl: (_) => de_CrlDetail(_, context),
|
|
642
|
+
});
|
|
643
|
+
Object.assign(contents, doc);
|
|
644
|
+
return contents;
|
|
645
|
+
};
|
|
646
|
+
const de_DeleteProfileCommand = async (output, context) => {
|
|
647
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
648
|
+
return de_CommandError(output, context);
|
|
649
|
+
}
|
|
650
|
+
const contents = smithyClient.map({
|
|
651
|
+
$metadata: deserializeMetadata(output),
|
|
652
|
+
});
|
|
653
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
654
|
+
const doc = smithyClient.take(data, {
|
|
655
|
+
profile: (_) => de_ProfileDetail(_),
|
|
656
|
+
});
|
|
657
|
+
Object.assign(contents, doc);
|
|
658
|
+
return contents;
|
|
659
|
+
};
|
|
660
|
+
const de_DeleteTrustAnchorCommand = async (output, context) => {
|
|
661
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
662
|
+
return de_CommandError(output, context);
|
|
663
|
+
}
|
|
664
|
+
const contents = smithyClient.map({
|
|
665
|
+
$metadata: deserializeMetadata(output),
|
|
666
|
+
});
|
|
667
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
668
|
+
const doc = smithyClient.take(data, {
|
|
669
|
+
trustAnchor: (_) => de_TrustAnchorDetail(_),
|
|
670
|
+
});
|
|
671
|
+
Object.assign(contents, doc);
|
|
672
|
+
return contents;
|
|
673
|
+
};
|
|
674
|
+
const de_DisableCrlCommand = async (output, context) => {
|
|
675
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
676
|
+
return de_CommandError(output, context);
|
|
677
|
+
}
|
|
678
|
+
const contents = smithyClient.map({
|
|
679
|
+
$metadata: deserializeMetadata(output),
|
|
680
|
+
});
|
|
681
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
682
|
+
const doc = smithyClient.take(data, {
|
|
683
|
+
crl: (_) => de_CrlDetail(_, context),
|
|
684
|
+
});
|
|
685
|
+
Object.assign(contents, doc);
|
|
686
|
+
return contents;
|
|
687
|
+
};
|
|
688
|
+
const de_DisableProfileCommand = async (output, context) => {
|
|
689
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
690
|
+
return de_CommandError(output, context);
|
|
691
|
+
}
|
|
692
|
+
const contents = smithyClient.map({
|
|
693
|
+
$metadata: deserializeMetadata(output),
|
|
694
|
+
});
|
|
695
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
696
|
+
const doc = smithyClient.take(data, {
|
|
697
|
+
profile: (_) => de_ProfileDetail(_),
|
|
698
|
+
});
|
|
699
|
+
Object.assign(contents, doc);
|
|
700
|
+
return contents;
|
|
701
|
+
};
|
|
702
|
+
const de_DisableTrustAnchorCommand = async (output, context) => {
|
|
703
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
704
|
+
return de_CommandError(output, context);
|
|
705
|
+
}
|
|
706
|
+
const contents = smithyClient.map({
|
|
707
|
+
$metadata: deserializeMetadata(output),
|
|
708
|
+
});
|
|
709
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
710
|
+
const doc = smithyClient.take(data, {
|
|
711
|
+
trustAnchor: (_) => de_TrustAnchorDetail(_),
|
|
712
|
+
});
|
|
713
|
+
Object.assign(contents, doc);
|
|
714
|
+
return contents;
|
|
715
|
+
};
|
|
716
|
+
const de_EnableCrlCommand = async (output, context) => {
|
|
717
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
718
|
+
return de_CommandError(output, context);
|
|
719
|
+
}
|
|
720
|
+
const contents = smithyClient.map({
|
|
721
|
+
$metadata: deserializeMetadata(output),
|
|
722
|
+
});
|
|
723
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
724
|
+
const doc = smithyClient.take(data, {
|
|
725
|
+
crl: (_) => de_CrlDetail(_, context),
|
|
726
|
+
});
|
|
727
|
+
Object.assign(contents, doc);
|
|
728
|
+
return contents;
|
|
729
|
+
};
|
|
730
|
+
const de_EnableProfileCommand = async (output, context) => {
|
|
731
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
732
|
+
return de_CommandError(output, context);
|
|
733
|
+
}
|
|
734
|
+
const contents = smithyClient.map({
|
|
735
|
+
$metadata: deserializeMetadata(output),
|
|
736
|
+
});
|
|
737
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
738
|
+
const doc = smithyClient.take(data, {
|
|
739
|
+
profile: (_) => de_ProfileDetail(_),
|
|
740
|
+
});
|
|
741
|
+
Object.assign(contents, doc);
|
|
742
|
+
return contents;
|
|
743
|
+
};
|
|
744
|
+
const de_EnableTrustAnchorCommand = async (output, context) => {
|
|
745
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
746
|
+
return de_CommandError(output, context);
|
|
747
|
+
}
|
|
748
|
+
const contents = smithyClient.map({
|
|
749
|
+
$metadata: deserializeMetadata(output),
|
|
750
|
+
});
|
|
751
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
752
|
+
const doc = smithyClient.take(data, {
|
|
753
|
+
trustAnchor: (_) => de_TrustAnchorDetail(_),
|
|
754
|
+
});
|
|
755
|
+
Object.assign(contents, doc);
|
|
756
|
+
return contents;
|
|
757
|
+
};
|
|
758
|
+
const de_GetCrlCommand = async (output, context) => {
|
|
759
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
760
|
+
return de_CommandError(output, context);
|
|
761
|
+
}
|
|
762
|
+
const contents = smithyClient.map({
|
|
763
|
+
$metadata: deserializeMetadata(output),
|
|
764
|
+
});
|
|
765
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
766
|
+
const doc = smithyClient.take(data, {
|
|
767
|
+
crl: (_) => de_CrlDetail(_, context),
|
|
768
|
+
});
|
|
769
|
+
Object.assign(contents, doc);
|
|
770
|
+
return contents;
|
|
771
|
+
};
|
|
772
|
+
const de_GetProfileCommand = async (output, context) => {
|
|
773
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
774
|
+
return de_CommandError(output, context);
|
|
775
|
+
}
|
|
776
|
+
const contents = smithyClient.map({
|
|
777
|
+
$metadata: deserializeMetadata(output),
|
|
778
|
+
});
|
|
779
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
780
|
+
const doc = smithyClient.take(data, {
|
|
781
|
+
profile: (_) => de_ProfileDetail(_),
|
|
782
|
+
});
|
|
783
|
+
Object.assign(contents, doc);
|
|
784
|
+
return contents;
|
|
785
|
+
};
|
|
786
|
+
const de_GetSubjectCommand = async (output, context) => {
|
|
787
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
788
|
+
return de_CommandError(output, context);
|
|
789
|
+
}
|
|
790
|
+
const contents = smithyClient.map({
|
|
791
|
+
$metadata: deserializeMetadata(output),
|
|
792
|
+
});
|
|
793
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
794
|
+
const doc = smithyClient.take(data, {
|
|
795
|
+
subject: (_) => de_SubjectDetail(_),
|
|
796
|
+
});
|
|
797
|
+
Object.assign(contents, doc);
|
|
798
|
+
return contents;
|
|
799
|
+
};
|
|
800
|
+
const de_GetTrustAnchorCommand = async (output, context) => {
|
|
801
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
802
|
+
return de_CommandError(output, context);
|
|
803
|
+
}
|
|
804
|
+
const contents = smithyClient.map({
|
|
805
|
+
$metadata: deserializeMetadata(output),
|
|
806
|
+
});
|
|
807
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
808
|
+
const doc = smithyClient.take(data, {
|
|
809
|
+
trustAnchor: (_) => de_TrustAnchorDetail(_),
|
|
810
|
+
});
|
|
811
|
+
Object.assign(contents, doc);
|
|
812
|
+
return contents;
|
|
813
|
+
};
|
|
814
|
+
const de_ImportCrlCommand = async (output, context) => {
|
|
815
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
816
|
+
return de_CommandError(output, context);
|
|
817
|
+
}
|
|
818
|
+
const contents = smithyClient.map({
|
|
819
|
+
$metadata: deserializeMetadata(output),
|
|
820
|
+
});
|
|
821
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
822
|
+
const doc = smithyClient.take(data, {
|
|
823
|
+
crl: (_) => de_CrlDetail(_, context),
|
|
824
|
+
});
|
|
825
|
+
Object.assign(contents, doc);
|
|
826
|
+
return contents;
|
|
827
|
+
};
|
|
828
|
+
const de_ListCrlsCommand = async (output, context) => {
|
|
829
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
830
|
+
return de_CommandError(output, context);
|
|
831
|
+
}
|
|
832
|
+
const contents = smithyClient.map({
|
|
833
|
+
$metadata: deserializeMetadata(output),
|
|
834
|
+
});
|
|
835
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
836
|
+
const doc = smithyClient.take(data, {
|
|
837
|
+
crls: (_) => de_CrlDetails(_, context),
|
|
838
|
+
nextToken: smithyClient.expectString,
|
|
839
|
+
});
|
|
840
|
+
Object.assign(contents, doc);
|
|
841
|
+
return contents;
|
|
842
|
+
};
|
|
843
|
+
const de_ListProfilesCommand = async (output, context) => {
|
|
844
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
845
|
+
return de_CommandError(output, context);
|
|
846
|
+
}
|
|
847
|
+
const contents = smithyClient.map({
|
|
848
|
+
$metadata: deserializeMetadata(output),
|
|
849
|
+
});
|
|
850
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
851
|
+
const doc = smithyClient.take(data, {
|
|
852
|
+
nextToken: smithyClient.expectString,
|
|
853
|
+
profiles: (_) => de_ProfileDetails(_),
|
|
854
|
+
});
|
|
855
|
+
Object.assign(contents, doc);
|
|
856
|
+
return contents;
|
|
857
|
+
};
|
|
858
|
+
const de_ListSubjectsCommand = async (output, context) => {
|
|
859
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
860
|
+
return de_CommandError(output, context);
|
|
861
|
+
}
|
|
862
|
+
const contents = smithyClient.map({
|
|
863
|
+
$metadata: deserializeMetadata(output),
|
|
864
|
+
});
|
|
865
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
866
|
+
const doc = smithyClient.take(data, {
|
|
867
|
+
nextToken: smithyClient.expectString,
|
|
868
|
+
subjects: (_) => de_SubjectSummaries(_),
|
|
869
|
+
});
|
|
870
|
+
Object.assign(contents, doc);
|
|
871
|
+
return contents;
|
|
872
|
+
};
|
|
873
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
874
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
875
|
+
return de_CommandError(output, context);
|
|
876
|
+
}
|
|
877
|
+
const contents = smithyClient.map({
|
|
878
|
+
$metadata: deserializeMetadata(output),
|
|
879
|
+
});
|
|
880
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
881
|
+
const doc = smithyClient.take(data, {
|
|
882
|
+
tags: smithyClient._json,
|
|
883
|
+
});
|
|
884
|
+
Object.assign(contents, doc);
|
|
885
|
+
return contents;
|
|
886
|
+
};
|
|
887
|
+
const de_ListTrustAnchorsCommand = async (output, context) => {
|
|
888
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
889
|
+
return de_CommandError(output, context);
|
|
890
|
+
}
|
|
891
|
+
const contents = smithyClient.map({
|
|
892
|
+
$metadata: deserializeMetadata(output),
|
|
893
|
+
});
|
|
894
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
895
|
+
const doc = smithyClient.take(data, {
|
|
896
|
+
nextToken: smithyClient.expectString,
|
|
897
|
+
trustAnchors: (_) => de_TrustAnchorDetails(_),
|
|
898
|
+
});
|
|
899
|
+
Object.assign(contents, doc);
|
|
900
|
+
return contents;
|
|
901
|
+
};
|
|
902
|
+
const de_PutAttributeMappingCommand = async (output, context) => {
|
|
903
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
904
|
+
return de_CommandError(output, context);
|
|
905
|
+
}
|
|
906
|
+
const contents = smithyClient.map({
|
|
907
|
+
$metadata: deserializeMetadata(output),
|
|
908
|
+
});
|
|
909
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
910
|
+
const doc = smithyClient.take(data, {
|
|
911
|
+
profile: (_) => de_ProfileDetail(_),
|
|
912
|
+
});
|
|
913
|
+
Object.assign(contents, doc);
|
|
914
|
+
return contents;
|
|
915
|
+
};
|
|
916
|
+
const de_PutNotificationSettingsCommand = async (output, context) => {
|
|
917
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
918
|
+
return de_CommandError(output, context);
|
|
919
|
+
}
|
|
920
|
+
const contents = smithyClient.map({
|
|
921
|
+
$metadata: deserializeMetadata(output),
|
|
922
|
+
});
|
|
923
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
924
|
+
const doc = smithyClient.take(data, {
|
|
925
|
+
trustAnchor: (_) => de_TrustAnchorDetail(_),
|
|
926
|
+
});
|
|
927
|
+
Object.assign(contents, doc);
|
|
928
|
+
return contents;
|
|
929
|
+
};
|
|
930
|
+
const de_ResetNotificationSettingsCommand = async (output, context) => {
|
|
931
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
932
|
+
return de_CommandError(output, context);
|
|
933
|
+
}
|
|
934
|
+
const contents = smithyClient.map({
|
|
935
|
+
$metadata: deserializeMetadata(output),
|
|
936
|
+
});
|
|
937
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
938
|
+
const doc = smithyClient.take(data, {
|
|
939
|
+
trustAnchor: (_) => de_TrustAnchorDetail(_),
|
|
940
|
+
});
|
|
941
|
+
Object.assign(contents, doc);
|
|
942
|
+
return contents;
|
|
943
|
+
};
|
|
944
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
945
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
946
|
+
return de_CommandError(output, context);
|
|
947
|
+
}
|
|
948
|
+
const contents = smithyClient.map({
|
|
949
|
+
$metadata: deserializeMetadata(output),
|
|
950
|
+
});
|
|
951
|
+
await smithyClient.collectBody(output.body, context);
|
|
952
|
+
return contents;
|
|
953
|
+
};
|
|
954
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
955
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
956
|
+
return de_CommandError(output, context);
|
|
957
|
+
}
|
|
958
|
+
const contents = smithyClient.map({
|
|
959
|
+
$metadata: deserializeMetadata(output),
|
|
960
|
+
});
|
|
961
|
+
await smithyClient.collectBody(output.body, context);
|
|
962
|
+
return contents;
|
|
963
|
+
};
|
|
964
|
+
const de_UpdateCrlCommand = async (output, context) => {
|
|
965
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
966
|
+
return de_CommandError(output, context);
|
|
967
|
+
}
|
|
968
|
+
const contents = smithyClient.map({
|
|
969
|
+
$metadata: deserializeMetadata(output),
|
|
970
|
+
});
|
|
971
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
972
|
+
const doc = smithyClient.take(data, {
|
|
973
|
+
crl: (_) => de_CrlDetail(_, context),
|
|
974
|
+
});
|
|
975
|
+
Object.assign(contents, doc);
|
|
976
|
+
return contents;
|
|
977
|
+
};
|
|
978
|
+
const de_UpdateProfileCommand = async (output, context) => {
|
|
979
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
980
|
+
return de_CommandError(output, context);
|
|
981
|
+
}
|
|
982
|
+
const contents = smithyClient.map({
|
|
983
|
+
$metadata: deserializeMetadata(output),
|
|
984
|
+
});
|
|
985
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
986
|
+
const doc = smithyClient.take(data, {
|
|
987
|
+
profile: (_) => de_ProfileDetail(_),
|
|
988
|
+
});
|
|
989
|
+
Object.assign(contents, doc);
|
|
990
|
+
return contents;
|
|
991
|
+
};
|
|
992
|
+
const de_UpdateTrustAnchorCommand = async (output, context) => {
|
|
993
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
994
|
+
return de_CommandError(output, context);
|
|
995
|
+
}
|
|
996
|
+
const contents = smithyClient.map({
|
|
997
|
+
$metadata: deserializeMetadata(output),
|
|
998
|
+
});
|
|
999
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1000
|
+
const doc = smithyClient.take(data, {
|
|
1001
|
+
trustAnchor: (_) => de_TrustAnchorDetail(_),
|
|
1002
|
+
});
|
|
1003
|
+
Object.assign(contents, doc);
|
|
1004
|
+
return contents;
|
|
1005
|
+
};
|
|
1006
|
+
const de_CommandError = async (output, context) => {
|
|
1007
|
+
const parsedOutput = {
|
|
1008
|
+
...output,
|
|
1009
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
1010
|
+
};
|
|
1011
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1012
|
+
switch (errorCode) {
|
|
1013
|
+
case "AccessDeniedException":
|
|
1014
|
+
case "com.amazonaws.rolesanywhere#AccessDeniedException":
|
|
1015
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
1016
|
+
case "ValidationException":
|
|
1017
|
+
case "com.amazonaws.rolesanywhere#ValidationException":
|
|
1018
|
+
throw await de_ValidationExceptionRes(parsedOutput);
|
|
1019
|
+
case "ResourceNotFoundException":
|
|
1020
|
+
case "com.amazonaws.rolesanywhere#ResourceNotFoundException":
|
|
1021
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
1022
|
+
case "TooManyTagsException":
|
|
1023
|
+
case "com.amazonaws.rolesanywhere#TooManyTagsException":
|
|
1024
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput);
|
|
1025
|
+
default:
|
|
1026
|
+
const parsedBody = parsedOutput.body;
|
|
1027
|
+
return throwDefaultError({
|
|
1028
|
+
output,
|
|
1029
|
+
parsedBody,
|
|
1030
|
+
errorCode,
|
|
1031
|
+
});
|
|
1032
|
+
}
|
|
1033
|
+
};
|
|
1034
|
+
const throwDefaultError = smithyClient.withBaseException(RolesAnywhereServiceException);
|
|
1035
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1036
|
+
const contents = smithyClient.map({});
|
|
1037
|
+
const data = parsedOutput.body;
|
|
1038
|
+
const doc = smithyClient.take(data, {
|
|
1039
|
+
message: smithyClient.expectString,
|
|
1040
|
+
});
|
|
1041
|
+
Object.assign(contents, doc);
|
|
1042
|
+
const exception = new AccessDeniedException({
|
|
1043
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1044
|
+
...contents,
|
|
1045
|
+
});
|
|
1046
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1047
|
+
};
|
|
1048
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1049
|
+
const contents = smithyClient.map({});
|
|
1050
|
+
const data = parsedOutput.body;
|
|
1051
|
+
const doc = smithyClient.take(data, {
|
|
1052
|
+
message: smithyClient.expectString,
|
|
1053
|
+
});
|
|
1054
|
+
Object.assign(contents, doc);
|
|
1055
|
+
const exception = new ResourceNotFoundException({
|
|
1056
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1057
|
+
...contents,
|
|
1058
|
+
});
|
|
1059
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1060
|
+
};
|
|
1061
|
+
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
1062
|
+
const contents = smithyClient.map({});
|
|
1063
|
+
const data = parsedOutput.body;
|
|
1064
|
+
const doc = smithyClient.take(data, {
|
|
1065
|
+
message: smithyClient.expectString,
|
|
1066
|
+
});
|
|
1067
|
+
Object.assign(contents, doc);
|
|
1068
|
+
const exception = new TooManyTagsException({
|
|
1069
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1070
|
+
...contents,
|
|
1071
|
+
});
|
|
1072
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1073
|
+
};
|
|
1074
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1075
|
+
const contents = smithyClient.map({});
|
|
1076
|
+
const data = parsedOutput.body;
|
|
1077
|
+
const doc = smithyClient.take(data, {
|
|
1078
|
+
message: smithyClient.expectString,
|
|
1079
|
+
});
|
|
1080
|
+
Object.assign(contents, doc);
|
|
1081
|
+
const exception = new ValidationException({
|
|
1082
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1083
|
+
...contents,
|
|
1084
|
+
});
|
|
1085
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1086
|
+
};
|
|
1087
|
+
const de_CredentialSummaries = (output, context) => {
|
|
1088
|
+
const retVal = (output || [])
|
|
1089
|
+
.filter((e) => e != null)
|
|
1090
|
+
.map((entry) => {
|
|
1091
|
+
return de_CredentialSummary(entry);
|
|
1092
|
+
});
|
|
1093
|
+
return retVal;
|
|
1094
|
+
};
|
|
1095
|
+
const de_CredentialSummary = (output, context) => {
|
|
1096
|
+
return smithyClient.take(output, {
|
|
1097
|
+
enabled: smithyClient.expectBoolean,
|
|
1098
|
+
failed: smithyClient.expectBoolean,
|
|
1099
|
+
issuer: smithyClient.expectString,
|
|
1100
|
+
seenAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1101
|
+
serialNumber: smithyClient.expectString,
|
|
1102
|
+
x509CertificateData: smithyClient.expectString,
|
|
1103
|
+
});
|
|
1104
|
+
};
|
|
1105
|
+
const de_CrlDetail = (output, context) => {
|
|
1106
|
+
return smithyClient.take(output, {
|
|
1107
|
+
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1108
|
+
crlArn: smithyClient.expectString,
|
|
1109
|
+
crlData: context.base64Decoder,
|
|
1110
|
+
crlId: smithyClient.expectString,
|
|
1111
|
+
enabled: smithyClient.expectBoolean,
|
|
1112
|
+
name: smithyClient.expectString,
|
|
1113
|
+
trustAnchorArn: smithyClient.expectString,
|
|
1114
|
+
updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1115
|
+
});
|
|
1116
|
+
};
|
|
1117
|
+
const de_CrlDetails = (output, context) => {
|
|
1118
|
+
const retVal = (output || [])
|
|
1119
|
+
.filter((e) => e != null)
|
|
1120
|
+
.map((entry) => {
|
|
1121
|
+
return de_CrlDetail(entry, context);
|
|
1122
|
+
});
|
|
1123
|
+
return retVal;
|
|
1124
|
+
};
|
|
1125
|
+
const de_InstanceProperties = (output, context) => {
|
|
1126
|
+
const retVal = (output || [])
|
|
1127
|
+
.filter((e) => e != null)
|
|
1128
|
+
.map((entry) => {
|
|
1129
|
+
return de_InstanceProperty(entry);
|
|
1130
|
+
});
|
|
1131
|
+
return retVal;
|
|
1132
|
+
};
|
|
1133
|
+
const de_InstanceProperty = (output, context) => {
|
|
1134
|
+
return smithyClient.take(output, {
|
|
1135
|
+
failed: smithyClient.expectBoolean,
|
|
1136
|
+
properties: smithyClient._json,
|
|
1137
|
+
seenAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1138
|
+
});
|
|
1139
|
+
};
|
|
1140
|
+
const de_ProfileDetail = (output, context) => {
|
|
1141
|
+
return smithyClient.take(output, {
|
|
1142
|
+
acceptRoleSessionName: smithyClient.expectBoolean,
|
|
1143
|
+
attributeMappings: smithyClient._json,
|
|
1144
|
+
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1145
|
+
createdBy: smithyClient.expectString,
|
|
1146
|
+
durationSeconds: smithyClient.expectInt32,
|
|
1147
|
+
enabled: smithyClient.expectBoolean,
|
|
1148
|
+
managedPolicyArns: smithyClient._json,
|
|
1149
|
+
name: smithyClient.expectString,
|
|
1150
|
+
profileArn: smithyClient.expectString,
|
|
1151
|
+
profileId: smithyClient.expectString,
|
|
1152
|
+
requireInstanceProperties: smithyClient.expectBoolean,
|
|
1153
|
+
roleArns: smithyClient._json,
|
|
1154
|
+
sessionPolicy: smithyClient.expectString,
|
|
1155
|
+
updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1156
|
+
});
|
|
1157
|
+
};
|
|
1158
|
+
const de_ProfileDetails = (output, context) => {
|
|
1159
|
+
const retVal = (output || [])
|
|
1160
|
+
.filter((e) => e != null)
|
|
1161
|
+
.map((entry) => {
|
|
1162
|
+
return de_ProfileDetail(entry);
|
|
1163
|
+
});
|
|
1164
|
+
return retVal;
|
|
1165
|
+
};
|
|
1166
|
+
const de_SubjectDetail = (output, context) => {
|
|
1167
|
+
return smithyClient.take(output, {
|
|
1168
|
+
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1169
|
+
credentials: (_) => de_CredentialSummaries(_),
|
|
1170
|
+
enabled: smithyClient.expectBoolean,
|
|
1171
|
+
instanceProperties: (_) => de_InstanceProperties(_),
|
|
1172
|
+
lastSeenAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1173
|
+
subjectArn: smithyClient.expectString,
|
|
1174
|
+
subjectId: smithyClient.expectString,
|
|
1175
|
+
updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1176
|
+
x509Subject: smithyClient.expectString,
|
|
1177
|
+
});
|
|
1178
|
+
};
|
|
1179
|
+
const de_SubjectSummaries = (output, context) => {
|
|
1180
|
+
const retVal = (output || [])
|
|
1181
|
+
.filter((e) => e != null)
|
|
1182
|
+
.map((entry) => {
|
|
1183
|
+
return de_SubjectSummary(entry);
|
|
1184
|
+
});
|
|
1185
|
+
return retVal;
|
|
1186
|
+
};
|
|
1187
|
+
const de_SubjectSummary = (output, context) => {
|
|
1188
|
+
return smithyClient.take(output, {
|
|
1189
|
+
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1190
|
+
enabled: smithyClient.expectBoolean,
|
|
1191
|
+
lastSeenAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1192
|
+
subjectArn: smithyClient.expectString,
|
|
1193
|
+
subjectId: smithyClient.expectString,
|
|
1194
|
+
updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1195
|
+
x509Subject: smithyClient.expectString,
|
|
1196
|
+
});
|
|
1197
|
+
};
|
|
1198
|
+
const de_TrustAnchorDetail = (output, context) => {
|
|
1199
|
+
return smithyClient.take(output, {
|
|
1200
|
+
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1201
|
+
enabled: smithyClient.expectBoolean,
|
|
1202
|
+
name: smithyClient.expectString,
|
|
1203
|
+
notificationSettings: smithyClient._json,
|
|
1204
|
+
source: smithyClient._json,
|
|
1205
|
+
trustAnchorArn: smithyClient.expectString,
|
|
1206
|
+
trustAnchorId: smithyClient.expectString,
|
|
1207
|
+
updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1208
|
+
});
|
|
1209
|
+
};
|
|
1210
|
+
const de_TrustAnchorDetails = (output, context) => {
|
|
1211
|
+
const retVal = (output || [])
|
|
1212
|
+
.filter((e) => e != null)
|
|
1213
|
+
.map((entry) => {
|
|
1214
|
+
return de_TrustAnchorDetail(entry);
|
|
1215
|
+
});
|
|
1216
|
+
return retVal;
|
|
1217
|
+
};
|
|
1218
|
+
const deserializeMetadata = (output) => ({
|
|
1219
|
+
httpStatusCode: output.statusCode,
|
|
1220
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1221
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1222
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
1223
|
+
});
|
|
1224
|
+
const _cF = "certificateField";
|
|
1225
|
+
const _nT = "nextToken";
|
|
1226
|
+
const _pS = "pageSize";
|
|
1227
|
+
const _rA = "resourceArn";
|
|
1228
|
+
const _s = "specifiers";
|
|
1229
|
+
|
|
1230
|
+
class CreateProfileCommand extends smithyClient.Command
|
|
1231
|
+
.classBuilder()
|
|
1232
|
+
.ep(commonParams)
|
|
1233
|
+
.m(function (Command, cs, config, o) {
|
|
1234
|
+
return [
|
|
1235
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1236
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1237
|
+
];
|
|
1238
|
+
})
|
|
1239
|
+
.s("RolesAnywhere", "CreateProfile", {})
|
|
1240
|
+
.n("RolesAnywhereClient", "CreateProfileCommand")
|
|
1241
|
+
.f(CreateProfileRequestFilterSensitiveLog, void 0)
|
|
1242
|
+
.ser(se_CreateProfileCommand)
|
|
1243
|
+
.de(de_CreateProfileCommand)
|
|
1244
|
+
.build() {
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
class CreateTrustAnchorCommand extends smithyClient.Command
|
|
1248
|
+
.classBuilder()
|
|
1249
|
+
.ep(commonParams)
|
|
1250
|
+
.m(function (Command, cs, config, o) {
|
|
1251
|
+
return [
|
|
1252
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1253
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1254
|
+
];
|
|
1255
|
+
})
|
|
1256
|
+
.s("RolesAnywhere", "CreateTrustAnchor", {})
|
|
1257
|
+
.n("RolesAnywhereClient", "CreateTrustAnchorCommand")
|
|
1258
|
+
.f(CreateTrustAnchorRequestFilterSensitiveLog, void 0)
|
|
1259
|
+
.ser(se_CreateTrustAnchorCommand)
|
|
1260
|
+
.de(de_CreateTrustAnchorCommand)
|
|
1261
|
+
.build() {
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
class DeleteAttributeMappingCommand extends smithyClient.Command
|
|
1265
|
+
.classBuilder()
|
|
1266
|
+
.ep(commonParams)
|
|
1267
|
+
.m(function (Command, cs, config, o) {
|
|
1268
|
+
return [
|
|
1269
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1270
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1271
|
+
];
|
|
1272
|
+
})
|
|
1273
|
+
.s("RolesAnywhere", "DeleteAttributeMapping", {})
|
|
1274
|
+
.n("RolesAnywhereClient", "DeleteAttributeMappingCommand")
|
|
1275
|
+
.f(void 0, void 0)
|
|
1276
|
+
.ser(se_DeleteAttributeMappingCommand)
|
|
1277
|
+
.de(de_DeleteAttributeMappingCommand)
|
|
1278
|
+
.build() {
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
class DeleteCrlCommand extends smithyClient.Command
|
|
1282
|
+
.classBuilder()
|
|
1283
|
+
.ep(commonParams)
|
|
1284
|
+
.m(function (Command, cs, config, o) {
|
|
1285
|
+
return [
|
|
1286
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1287
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1288
|
+
];
|
|
1289
|
+
})
|
|
1290
|
+
.s("RolesAnywhere", "DeleteCrl", {})
|
|
1291
|
+
.n("RolesAnywhereClient", "DeleteCrlCommand")
|
|
1292
|
+
.f(void 0, void 0)
|
|
1293
|
+
.ser(se_DeleteCrlCommand)
|
|
1294
|
+
.de(de_DeleteCrlCommand)
|
|
1295
|
+
.build() {
|
|
1296
|
+
}
|
|
1297
|
+
|
|
1298
|
+
class DeleteProfileCommand extends smithyClient.Command
|
|
1299
|
+
.classBuilder()
|
|
1300
|
+
.ep(commonParams)
|
|
1301
|
+
.m(function (Command, cs, config, o) {
|
|
1302
|
+
return [
|
|
1303
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1304
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1305
|
+
];
|
|
1306
|
+
})
|
|
1307
|
+
.s("RolesAnywhere", "DeleteProfile", {})
|
|
1308
|
+
.n("RolesAnywhereClient", "DeleteProfileCommand")
|
|
1309
|
+
.f(void 0, void 0)
|
|
1310
|
+
.ser(se_DeleteProfileCommand)
|
|
1311
|
+
.de(de_DeleteProfileCommand)
|
|
1312
|
+
.build() {
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
class DeleteTrustAnchorCommand extends smithyClient.Command
|
|
1316
|
+
.classBuilder()
|
|
1317
|
+
.ep(commonParams)
|
|
1318
|
+
.m(function (Command, cs, config, o) {
|
|
1319
|
+
return [
|
|
1320
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1321
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1322
|
+
];
|
|
1323
|
+
})
|
|
1324
|
+
.s("RolesAnywhere", "DeleteTrustAnchor", {})
|
|
1325
|
+
.n("RolesAnywhereClient", "DeleteTrustAnchorCommand")
|
|
1326
|
+
.f(void 0, void 0)
|
|
1327
|
+
.ser(se_DeleteTrustAnchorCommand)
|
|
1328
|
+
.de(de_DeleteTrustAnchorCommand)
|
|
1329
|
+
.build() {
|
|
1330
|
+
}
|
|
1331
|
+
|
|
1332
|
+
class DisableCrlCommand extends smithyClient.Command
|
|
1333
|
+
.classBuilder()
|
|
1334
|
+
.ep(commonParams)
|
|
1335
|
+
.m(function (Command, cs, config, o) {
|
|
1336
|
+
return [
|
|
1337
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1338
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1339
|
+
];
|
|
1340
|
+
})
|
|
1341
|
+
.s("RolesAnywhere", "DisableCrl", {})
|
|
1342
|
+
.n("RolesAnywhereClient", "DisableCrlCommand")
|
|
1343
|
+
.f(void 0, void 0)
|
|
1344
|
+
.ser(se_DisableCrlCommand)
|
|
1345
|
+
.de(de_DisableCrlCommand)
|
|
1346
|
+
.build() {
|
|
1347
|
+
}
|
|
1348
|
+
|
|
1349
|
+
class DisableProfileCommand extends smithyClient.Command
|
|
1350
|
+
.classBuilder()
|
|
1351
|
+
.ep(commonParams)
|
|
1352
|
+
.m(function (Command, cs, config, o) {
|
|
1353
|
+
return [
|
|
1354
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1355
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1356
|
+
];
|
|
1357
|
+
})
|
|
1358
|
+
.s("RolesAnywhere", "DisableProfile", {})
|
|
1359
|
+
.n("RolesAnywhereClient", "DisableProfileCommand")
|
|
1360
|
+
.f(void 0, void 0)
|
|
1361
|
+
.ser(se_DisableProfileCommand)
|
|
1362
|
+
.de(de_DisableProfileCommand)
|
|
1363
|
+
.build() {
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
class DisableTrustAnchorCommand extends smithyClient.Command
|
|
1367
|
+
.classBuilder()
|
|
1368
|
+
.ep(commonParams)
|
|
1369
|
+
.m(function (Command, cs, config, o) {
|
|
1370
|
+
return [
|
|
1371
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1372
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1373
|
+
];
|
|
1374
|
+
})
|
|
1375
|
+
.s("RolesAnywhere", "DisableTrustAnchor", {})
|
|
1376
|
+
.n("RolesAnywhereClient", "DisableTrustAnchorCommand")
|
|
1377
|
+
.f(void 0, void 0)
|
|
1378
|
+
.ser(se_DisableTrustAnchorCommand)
|
|
1379
|
+
.de(de_DisableTrustAnchorCommand)
|
|
1380
|
+
.build() {
|
|
1381
|
+
}
|
|
1382
|
+
|
|
1383
|
+
class EnableCrlCommand extends smithyClient.Command
|
|
1384
|
+
.classBuilder()
|
|
1385
|
+
.ep(commonParams)
|
|
1386
|
+
.m(function (Command, cs, config, o) {
|
|
1387
|
+
return [
|
|
1388
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1389
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1390
|
+
];
|
|
1391
|
+
})
|
|
1392
|
+
.s("RolesAnywhere", "EnableCrl", {})
|
|
1393
|
+
.n("RolesAnywhereClient", "EnableCrlCommand")
|
|
1394
|
+
.f(void 0, void 0)
|
|
1395
|
+
.ser(se_EnableCrlCommand)
|
|
1396
|
+
.de(de_EnableCrlCommand)
|
|
1397
|
+
.build() {
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
class EnableProfileCommand extends smithyClient.Command
|
|
1401
|
+
.classBuilder()
|
|
1402
|
+
.ep(commonParams)
|
|
1403
|
+
.m(function (Command, cs, config, o) {
|
|
1404
|
+
return [
|
|
1405
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1406
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1407
|
+
];
|
|
1408
|
+
})
|
|
1409
|
+
.s("RolesAnywhere", "EnableProfile", {})
|
|
1410
|
+
.n("RolesAnywhereClient", "EnableProfileCommand")
|
|
1411
|
+
.f(void 0, void 0)
|
|
1412
|
+
.ser(se_EnableProfileCommand)
|
|
1413
|
+
.de(de_EnableProfileCommand)
|
|
1414
|
+
.build() {
|
|
1415
|
+
}
|
|
1416
|
+
|
|
1417
|
+
class EnableTrustAnchorCommand extends smithyClient.Command
|
|
1418
|
+
.classBuilder()
|
|
1419
|
+
.ep(commonParams)
|
|
1420
|
+
.m(function (Command, cs, config, o) {
|
|
1421
|
+
return [
|
|
1422
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1423
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1424
|
+
];
|
|
1425
|
+
})
|
|
1426
|
+
.s("RolesAnywhere", "EnableTrustAnchor", {})
|
|
1427
|
+
.n("RolesAnywhereClient", "EnableTrustAnchorCommand")
|
|
1428
|
+
.f(void 0, void 0)
|
|
1429
|
+
.ser(se_EnableTrustAnchorCommand)
|
|
1430
|
+
.de(de_EnableTrustAnchorCommand)
|
|
1431
|
+
.build() {
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1434
|
+
class GetCrlCommand extends smithyClient.Command
|
|
1435
|
+
.classBuilder()
|
|
1436
|
+
.ep(commonParams)
|
|
1437
|
+
.m(function (Command, cs, config, o) {
|
|
1438
|
+
return [
|
|
1439
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1440
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1441
|
+
];
|
|
1442
|
+
})
|
|
1443
|
+
.s("RolesAnywhere", "GetCrl", {})
|
|
1444
|
+
.n("RolesAnywhereClient", "GetCrlCommand")
|
|
1445
|
+
.f(void 0, void 0)
|
|
1446
|
+
.ser(se_GetCrlCommand)
|
|
1447
|
+
.de(de_GetCrlCommand)
|
|
1448
|
+
.build() {
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1451
|
+
class GetProfileCommand extends smithyClient.Command
|
|
1452
|
+
.classBuilder()
|
|
1453
|
+
.ep(commonParams)
|
|
1454
|
+
.m(function (Command, cs, config, o) {
|
|
1455
|
+
return [
|
|
1456
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1457
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1458
|
+
];
|
|
1459
|
+
})
|
|
1460
|
+
.s("RolesAnywhere", "GetProfile", {})
|
|
1461
|
+
.n("RolesAnywhereClient", "GetProfileCommand")
|
|
1462
|
+
.f(void 0, void 0)
|
|
1463
|
+
.ser(se_GetProfileCommand)
|
|
1464
|
+
.de(de_GetProfileCommand)
|
|
1465
|
+
.build() {
|
|
1466
|
+
}
|
|
1467
|
+
|
|
1468
|
+
class GetSubjectCommand extends smithyClient.Command
|
|
1469
|
+
.classBuilder()
|
|
1470
|
+
.ep(commonParams)
|
|
1471
|
+
.m(function (Command, cs, config, o) {
|
|
1472
|
+
return [
|
|
1473
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1474
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1475
|
+
];
|
|
1476
|
+
})
|
|
1477
|
+
.s("RolesAnywhere", "GetSubject", {})
|
|
1478
|
+
.n("RolesAnywhereClient", "GetSubjectCommand")
|
|
1479
|
+
.f(void 0, void 0)
|
|
1480
|
+
.ser(se_GetSubjectCommand)
|
|
1481
|
+
.de(de_GetSubjectCommand)
|
|
1482
|
+
.build() {
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
class GetTrustAnchorCommand extends smithyClient.Command
|
|
1486
|
+
.classBuilder()
|
|
1487
|
+
.ep(commonParams)
|
|
1488
|
+
.m(function (Command, cs, config, o) {
|
|
1489
|
+
return [
|
|
1490
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1491
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1492
|
+
];
|
|
1493
|
+
})
|
|
1494
|
+
.s("RolesAnywhere", "GetTrustAnchor", {})
|
|
1495
|
+
.n("RolesAnywhereClient", "GetTrustAnchorCommand")
|
|
1496
|
+
.f(void 0, void 0)
|
|
1497
|
+
.ser(se_GetTrustAnchorCommand)
|
|
1498
|
+
.de(de_GetTrustAnchorCommand)
|
|
1499
|
+
.build() {
|
|
1500
|
+
}
|
|
1501
|
+
|
|
1502
|
+
class ImportCrlCommand extends smithyClient.Command
|
|
1503
|
+
.classBuilder()
|
|
1504
|
+
.ep(commonParams)
|
|
1505
|
+
.m(function (Command, cs, config, o) {
|
|
1506
|
+
return [
|
|
1507
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1508
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1509
|
+
];
|
|
1510
|
+
})
|
|
1511
|
+
.s("RolesAnywhere", "ImportCrl", {})
|
|
1512
|
+
.n("RolesAnywhereClient", "ImportCrlCommand")
|
|
1513
|
+
.f(ImportCrlRequestFilterSensitiveLog, void 0)
|
|
1514
|
+
.ser(se_ImportCrlCommand)
|
|
1515
|
+
.de(de_ImportCrlCommand)
|
|
1516
|
+
.build() {
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1519
|
+
class ListCrlsCommand extends smithyClient.Command
|
|
1520
|
+
.classBuilder()
|
|
1521
|
+
.ep(commonParams)
|
|
1522
|
+
.m(function (Command, cs, config, o) {
|
|
1523
|
+
return [
|
|
1524
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1525
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1526
|
+
];
|
|
1527
|
+
})
|
|
1528
|
+
.s("RolesAnywhere", "ListCrls", {})
|
|
1529
|
+
.n("RolesAnywhereClient", "ListCrlsCommand")
|
|
1530
|
+
.f(void 0, void 0)
|
|
1531
|
+
.ser(se_ListCrlsCommand)
|
|
1532
|
+
.de(de_ListCrlsCommand)
|
|
1533
|
+
.build() {
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1536
|
+
class ListProfilesCommand extends smithyClient.Command
|
|
1537
|
+
.classBuilder()
|
|
1538
|
+
.ep(commonParams)
|
|
1539
|
+
.m(function (Command, cs, config, o) {
|
|
1540
|
+
return [
|
|
1541
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1542
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1543
|
+
];
|
|
1544
|
+
})
|
|
1545
|
+
.s("RolesAnywhere", "ListProfiles", {})
|
|
1546
|
+
.n("RolesAnywhereClient", "ListProfilesCommand")
|
|
1547
|
+
.f(void 0, void 0)
|
|
1548
|
+
.ser(se_ListProfilesCommand)
|
|
1549
|
+
.de(de_ListProfilesCommand)
|
|
1550
|
+
.build() {
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
class ListSubjectsCommand extends smithyClient.Command
|
|
1554
|
+
.classBuilder()
|
|
1555
|
+
.ep(commonParams)
|
|
1556
|
+
.m(function (Command, cs, config, o) {
|
|
1557
|
+
return [
|
|
1558
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1559
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1560
|
+
];
|
|
1561
|
+
})
|
|
1562
|
+
.s("RolesAnywhere", "ListSubjects", {})
|
|
1563
|
+
.n("RolesAnywhereClient", "ListSubjectsCommand")
|
|
1564
|
+
.f(void 0, void 0)
|
|
1565
|
+
.ser(se_ListSubjectsCommand)
|
|
1566
|
+
.de(de_ListSubjectsCommand)
|
|
1567
|
+
.build() {
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
class ListTagsForResourceCommand extends smithyClient.Command
|
|
1571
|
+
.classBuilder()
|
|
1572
|
+
.ep(commonParams)
|
|
1573
|
+
.m(function (Command, cs, config, o) {
|
|
1574
|
+
return [
|
|
1575
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1576
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1577
|
+
];
|
|
1578
|
+
})
|
|
1579
|
+
.s("RolesAnywhere", "ListTagsForResource", {})
|
|
1580
|
+
.n("RolesAnywhereClient", "ListTagsForResourceCommand")
|
|
1581
|
+
.f(void 0, ListTagsForResourceResponseFilterSensitiveLog)
|
|
1582
|
+
.ser(se_ListTagsForResourceCommand)
|
|
1583
|
+
.de(de_ListTagsForResourceCommand)
|
|
1584
|
+
.build() {
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1587
|
+
class ListTrustAnchorsCommand extends smithyClient.Command
|
|
1588
|
+
.classBuilder()
|
|
1589
|
+
.ep(commonParams)
|
|
1590
|
+
.m(function (Command, cs, config, o) {
|
|
1591
|
+
return [
|
|
1592
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1593
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1594
|
+
];
|
|
1595
|
+
})
|
|
1596
|
+
.s("RolesAnywhere", "ListTrustAnchors", {})
|
|
1597
|
+
.n("RolesAnywhereClient", "ListTrustAnchorsCommand")
|
|
1598
|
+
.f(void 0, void 0)
|
|
1599
|
+
.ser(se_ListTrustAnchorsCommand)
|
|
1600
|
+
.de(de_ListTrustAnchorsCommand)
|
|
1601
|
+
.build() {
|
|
1602
|
+
}
|
|
1603
|
+
|
|
1604
|
+
class PutAttributeMappingCommand extends smithyClient.Command
|
|
1605
|
+
.classBuilder()
|
|
1606
|
+
.ep(commonParams)
|
|
1607
|
+
.m(function (Command, cs, config, o) {
|
|
1608
|
+
return [
|
|
1609
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1610
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1611
|
+
];
|
|
1612
|
+
})
|
|
1613
|
+
.s("RolesAnywhere", "PutAttributeMapping", {})
|
|
1614
|
+
.n("RolesAnywhereClient", "PutAttributeMappingCommand")
|
|
1615
|
+
.f(void 0, void 0)
|
|
1616
|
+
.ser(se_PutAttributeMappingCommand)
|
|
1617
|
+
.de(de_PutAttributeMappingCommand)
|
|
1618
|
+
.build() {
|
|
1619
|
+
}
|
|
1620
|
+
|
|
1621
|
+
class PutNotificationSettingsCommand extends smithyClient.Command
|
|
1622
|
+
.classBuilder()
|
|
1623
|
+
.ep(commonParams)
|
|
1624
|
+
.m(function (Command, cs, config, o) {
|
|
1625
|
+
return [
|
|
1626
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1627
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1628
|
+
];
|
|
1629
|
+
})
|
|
1630
|
+
.s("RolesAnywhere", "PutNotificationSettings", {})
|
|
1631
|
+
.n("RolesAnywhereClient", "PutNotificationSettingsCommand")
|
|
1632
|
+
.f(void 0, void 0)
|
|
1633
|
+
.ser(se_PutNotificationSettingsCommand)
|
|
1634
|
+
.de(de_PutNotificationSettingsCommand)
|
|
1635
|
+
.build() {
|
|
1636
|
+
}
|
|
1637
|
+
|
|
1638
|
+
class ResetNotificationSettingsCommand extends smithyClient.Command
|
|
1639
|
+
.classBuilder()
|
|
1640
|
+
.ep(commonParams)
|
|
1641
|
+
.m(function (Command, cs, config, o) {
|
|
1642
|
+
return [
|
|
1643
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1644
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1645
|
+
];
|
|
1646
|
+
})
|
|
1647
|
+
.s("RolesAnywhere", "ResetNotificationSettings", {})
|
|
1648
|
+
.n("RolesAnywhereClient", "ResetNotificationSettingsCommand")
|
|
1649
|
+
.f(void 0, void 0)
|
|
1650
|
+
.ser(se_ResetNotificationSettingsCommand)
|
|
1651
|
+
.de(de_ResetNotificationSettingsCommand)
|
|
1652
|
+
.build() {
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1655
|
+
class TagResourceCommand extends smithyClient.Command
|
|
1656
|
+
.classBuilder()
|
|
1657
|
+
.ep(commonParams)
|
|
1658
|
+
.m(function (Command, cs, config, o) {
|
|
1659
|
+
return [
|
|
1660
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1661
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1662
|
+
];
|
|
1663
|
+
})
|
|
1664
|
+
.s("RolesAnywhere", "TagResource", {})
|
|
1665
|
+
.n("RolesAnywhereClient", "TagResourceCommand")
|
|
1666
|
+
.f(TagResourceRequestFilterSensitiveLog, void 0)
|
|
1667
|
+
.ser(se_TagResourceCommand)
|
|
1668
|
+
.de(de_TagResourceCommand)
|
|
1669
|
+
.build() {
|
|
1670
|
+
}
|
|
1671
|
+
|
|
1672
|
+
class UntagResourceCommand extends smithyClient.Command
|
|
1673
|
+
.classBuilder()
|
|
1674
|
+
.ep(commonParams)
|
|
1675
|
+
.m(function (Command, cs, config, o) {
|
|
1676
|
+
return [
|
|
1677
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1678
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1679
|
+
];
|
|
1680
|
+
})
|
|
1681
|
+
.s("RolesAnywhere", "UntagResource", {})
|
|
1682
|
+
.n("RolesAnywhereClient", "UntagResourceCommand")
|
|
1683
|
+
.f(UntagResourceRequestFilterSensitiveLog, void 0)
|
|
1684
|
+
.ser(se_UntagResourceCommand)
|
|
1685
|
+
.de(de_UntagResourceCommand)
|
|
1686
|
+
.build() {
|
|
1687
|
+
}
|
|
1688
|
+
|
|
1689
|
+
class UpdateCrlCommand extends smithyClient.Command
|
|
1690
|
+
.classBuilder()
|
|
1691
|
+
.ep(commonParams)
|
|
1692
|
+
.m(function (Command, cs, config, o) {
|
|
1693
|
+
return [
|
|
1694
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1695
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1696
|
+
];
|
|
1697
|
+
})
|
|
1698
|
+
.s("RolesAnywhere", "UpdateCrl", {})
|
|
1699
|
+
.n("RolesAnywhereClient", "UpdateCrlCommand")
|
|
1700
|
+
.f(void 0, void 0)
|
|
1701
|
+
.ser(se_UpdateCrlCommand)
|
|
1702
|
+
.de(de_UpdateCrlCommand)
|
|
1703
|
+
.build() {
|
|
1704
|
+
}
|
|
1705
|
+
|
|
1706
|
+
class UpdateProfileCommand extends smithyClient.Command
|
|
1707
|
+
.classBuilder()
|
|
1708
|
+
.ep(commonParams)
|
|
1709
|
+
.m(function (Command, cs, config, o) {
|
|
1710
|
+
return [
|
|
1711
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1712
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1713
|
+
];
|
|
1714
|
+
})
|
|
1715
|
+
.s("RolesAnywhere", "UpdateProfile", {})
|
|
1716
|
+
.n("RolesAnywhereClient", "UpdateProfileCommand")
|
|
1717
|
+
.f(void 0, void 0)
|
|
1718
|
+
.ser(se_UpdateProfileCommand)
|
|
1719
|
+
.de(de_UpdateProfileCommand)
|
|
1720
|
+
.build() {
|
|
1721
|
+
}
|
|
1722
|
+
|
|
1723
|
+
class UpdateTrustAnchorCommand extends smithyClient.Command
|
|
1724
|
+
.classBuilder()
|
|
1725
|
+
.ep(commonParams)
|
|
1726
|
+
.m(function (Command, cs, config, o) {
|
|
1727
|
+
return [
|
|
1728
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1729
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1730
|
+
];
|
|
1731
|
+
})
|
|
1732
|
+
.s("RolesAnywhere", "UpdateTrustAnchor", {})
|
|
1733
|
+
.n("RolesAnywhereClient", "UpdateTrustAnchorCommand")
|
|
1734
|
+
.f(void 0, void 0)
|
|
1735
|
+
.ser(se_UpdateTrustAnchorCommand)
|
|
1736
|
+
.de(de_UpdateTrustAnchorCommand)
|
|
1737
|
+
.build() {
|
|
1738
|
+
}
|
|
1739
|
+
|
|
1740
|
+
const commands = {
|
|
1741
|
+
CreateProfileCommand,
|
|
1742
|
+
CreateTrustAnchorCommand,
|
|
1743
|
+
DeleteAttributeMappingCommand,
|
|
1744
|
+
DeleteCrlCommand,
|
|
1745
|
+
DeleteProfileCommand,
|
|
1746
|
+
DeleteTrustAnchorCommand,
|
|
1747
|
+
DisableCrlCommand,
|
|
1748
|
+
DisableProfileCommand,
|
|
1749
|
+
DisableTrustAnchorCommand,
|
|
1750
|
+
EnableCrlCommand,
|
|
1751
|
+
EnableProfileCommand,
|
|
1752
|
+
EnableTrustAnchorCommand,
|
|
1753
|
+
GetCrlCommand,
|
|
1754
|
+
GetProfileCommand,
|
|
1755
|
+
GetSubjectCommand,
|
|
1756
|
+
GetTrustAnchorCommand,
|
|
1757
|
+
ImportCrlCommand,
|
|
1758
|
+
ListCrlsCommand,
|
|
1759
|
+
ListProfilesCommand,
|
|
1760
|
+
ListSubjectsCommand,
|
|
1761
|
+
ListTagsForResourceCommand,
|
|
1762
|
+
ListTrustAnchorsCommand,
|
|
1763
|
+
PutAttributeMappingCommand,
|
|
1764
|
+
PutNotificationSettingsCommand,
|
|
1765
|
+
ResetNotificationSettingsCommand,
|
|
1766
|
+
TagResourceCommand,
|
|
1767
|
+
UntagResourceCommand,
|
|
1768
|
+
UpdateCrlCommand,
|
|
1769
|
+
UpdateProfileCommand,
|
|
1770
|
+
UpdateTrustAnchorCommand,
|
|
1771
|
+
};
|
|
1772
|
+
class RolesAnywhere extends RolesAnywhereClient {
|
|
1773
|
+
}
|
|
1774
|
+
smithyClient.createAggregatedClient(commands, RolesAnywhere);
|
|
1841
1775
|
|
|
1842
|
-
|
|
1843
|
-
var commands = {
|
|
1844
|
-
CreateProfileCommand,
|
|
1845
|
-
CreateTrustAnchorCommand,
|
|
1846
|
-
DeleteAttributeMappingCommand,
|
|
1847
|
-
DeleteCrlCommand,
|
|
1848
|
-
DeleteProfileCommand,
|
|
1849
|
-
DeleteTrustAnchorCommand,
|
|
1850
|
-
DisableCrlCommand,
|
|
1851
|
-
DisableProfileCommand,
|
|
1852
|
-
DisableTrustAnchorCommand,
|
|
1853
|
-
EnableCrlCommand,
|
|
1854
|
-
EnableProfileCommand,
|
|
1855
|
-
EnableTrustAnchorCommand,
|
|
1856
|
-
GetCrlCommand,
|
|
1857
|
-
GetProfileCommand,
|
|
1858
|
-
GetSubjectCommand,
|
|
1859
|
-
GetTrustAnchorCommand,
|
|
1860
|
-
ImportCrlCommand,
|
|
1861
|
-
ListCrlsCommand,
|
|
1862
|
-
ListProfilesCommand,
|
|
1863
|
-
ListSubjectsCommand,
|
|
1864
|
-
ListTagsForResourceCommand,
|
|
1865
|
-
ListTrustAnchorsCommand,
|
|
1866
|
-
PutAttributeMappingCommand,
|
|
1867
|
-
PutNotificationSettingsCommand,
|
|
1868
|
-
ResetNotificationSettingsCommand,
|
|
1869
|
-
TagResourceCommand,
|
|
1870
|
-
UntagResourceCommand,
|
|
1871
|
-
UpdateCrlCommand,
|
|
1872
|
-
UpdateProfileCommand,
|
|
1873
|
-
UpdateTrustAnchorCommand
|
|
1874
|
-
};
|
|
1875
|
-
var RolesAnywhere = class extends RolesAnywhereClient {
|
|
1876
|
-
static {
|
|
1877
|
-
__name(this, "RolesAnywhere");
|
|
1878
|
-
}
|
|
1879
|
-
};
|
|
1880
|
-
(0, import_smithy_client.createAggregatedClient)(commands, RolesAnywhere);
|
|
1881
|
-
|
|
1882
|
-
// src/pagination/ListCrlsPaginator.ts
|
|
1883
|
-
|
|
1884
|
-
var paginateListCrls = (0, import_core.createPaginator)(RolesAnywhereClient, ListCrlsCommand, "nextToken", "nextToken", "");
|
|
1885
|
-
|
|
1886
|
-
// src/pagination/ListProfilesPaginator.ts
|
|
1887
|
-
|
|
1888
|
-
var paginateListProfiles = (0, import_core.createPaginator)(RolesAnywhereClient, ListProfilesCommand, "nextToken", "nextToken", "");
|
|
1889
|
-
|
|
1890
|
-
// src/pagination/ListSubjectsPaginator.ts
|
|
1776
|
+
const paginateListCrls = core.createPaginator(RolesAnywhereClient, ListCrlsCommand, "nextToken", "nextToken", "");
|
|
1891
1777
|
|
|
1892
|
-
|
|
1778
|
+
const paginateListProfiles = core.createPaginator(RolesAnywhereClient, ListProfilesCommand, "nextToken", "nextToken", "");
|
|
1893
1779
|
|
|
1894
|
-
|
|
1780
|
+
const paginateListSubjects = core.createPaginator(RolesAnywhereClient, ListSubjectsCommand, "nextToken", "nextToken", "");
|
|
1895
1781
|
|
|
1896
|
-
|
|
1897
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
1782
|
+
const paginateListTrustAnchors = core.createPaginator(RolesAnywhereClient, ListTrustAnchorsCommand, "nextToken", "nextToken", "");
|
|
1898
1783
|
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
RolesAnywhereClient,
|
|
1903
|
-
RolesAnywhere,
|
|
1904
|
-
$Command,
|
|
1905
|
-
CreateProfileCommand,
|
|
1906
|
-
CreateTrustAnchorCommand,
|
|
1907
|
-
DeleteAttributeMappingCommand,
|
|
1908
|
-
DeleteCrlCommand,
|
|
1909
|
-
DeleteProfileCommand,
|
|
1910
|
-
DeleteTrustAnchorCommand,
|
|
1911
|
-
DisableCrlCommand,
|
|
1912
|
-
DisableProfileCommand,
|
|
1913
|
-
DisableTrustAnchorCommand,
|
|
1914
|
-
EnableCrlCommand,
|
|
1915
|
-
EnableProfileCommand,
|
|
1916
|
-
EnableTrustAnchorCommand,
|
|
1917
|
-
GetCrlCommand,
|
|
1918
|
-
GetProfileCommand,
|
|
1919
|
-
GetSubjectCommand,
|
|
1920
|
-
GetTrustAnchorCommand,
|
|
1921
|
-
ImportCrlCommand,
|
|
1922
|
-
ListCrlsCommand,
|
|
1923
|
-
ListProfilesCommand,
|
|
1924
|
-
ListSubjectsCommand,
|
|
1925
|
-
ListTagsForResourceCommand,
|
|
1926
|
-
ListTrustAnchorsCommand,
|
|
1927
|
-
PutAttributeMappingCommand,
|
|
1928
|
-
PutNotificationSettingsCommand,
|
|
1929
|
-
ResetNotificationSettingsCommand,
|
|
1930
|
-
TagResourceCommand,
|
|
1931
|
-
UntagResourceCommand,
|
|
1932
|
-
UpdateCrlCommand,
|
|
1933
|
-
UpdateProfileCommand,
|
|
1934
|
-
UpdateTrustAnchorCommand,
|
|
1935
|
-
paginateListCrls,
|
|
1936
|
-
paginateListProfiles,
|
|
1937
|
-
paginateListSubjects,
|
|
1938
|
-
paginateListTrustAnchors,
|
|
1939
|
-
AccessDeniedException,
|
|
1940
|
-
CertificateField,
|
|
1941
|
-
ValidationException,
|
|
1942
|
-
NotificationChannel,
|
|
1943
|
-
NotificationEvent,
|
|
1944
|
-
SourceData,
|
|
1945
|
-
TrustAnchorType,
|
|
1946
|
-
ResourceNotFoundException,
|
|
1947
|
-
TooManyTagsException,
|
|
1948
|
-
TagFilterSensitiveLog,
|
|
1949
|
-
CreateProfileRequestFilterSensitiveLog,
|
|
1950
|
-
CreateTrustAnchorRequestFilterSensitiveLog,
|
|
1951
|
-
ImportCrlRequestFilterSensitiveLog,
|
|
1952
|
-
ListTagsForResourceResponseFilterSensitiveLog,
|
|
1953
|
-
TagResourceRequestFilterSensitiveLog,
|
|
1954
|
-
UntagResourceRequestFilterSensitiveLog
|
|
1784
|
+
Object.defineProperty(exports, "$Command", {
|
|
1785
|
+
enumerable: true,
|
|
1786
|
+
get: function () { return smithyClient.Command; }
|
|
1955
1787
|
});
|
|
1956
|
-
|
|
1788
|
+
Object.defineProperty(exports, "__Client", {
|
|
1789
|
+
enumerable: true,
|
|
1790
|
+
get: function () { return smithyClient.Client; }
|
|
1791
|
+
});
|
|
1792
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
1793
|
+
exports.CertificateField = CertificateField;
|
|
1794
|
+
exports.CreateProfileCommand = CreateProfileCommand;
|
|
1795
|
+
exports.CreateProfileRequestFilterSensitiveLog = CreateProfileRequestFilterSensitiveLog;
|
|
1796
|
+
exports.CreateTrustAnchorCommand = CreateTrustAnchorCommand;
|
|
1797
|
+
exports.CreateTrustAnchorRequestFilterSensitiveLog = CreateTrustAnchorRequestFilterSensitiveLog;
|
|
1798
|
+
exports.DeleteAttributeMappingCommand = DeleteAttributeMappingCommand;
|
|
1799
|
+
exports.DeleteCrlCommand = DeleteCrlCommand;
|
|
1800
|
+
exports.DeleteProfileCommand = DeleteProfileCommand;
|
|
1801
|
+
exports.DeleteTrustAnchorCommand = DeleteTrustAnchorCommand;
|
|
1802
|
+
exports.DisableCrlCommand = DisableCrlCommand;
|
|
1803
|
+
exports.DisableProfileCommand = DisableProfileCommand;
|
|
1804
|
+
exports.DisableTrustAnchorCommand = DisableTrustAnchorCommand;
|
|
1805
|
+
exports.EnableCrlCommand = EnableCrlCommand;
|
|
1806
|
+
exports.EnableProfileCommand = EnableProfileCommand;
|
|
1807
|
+
exports.EnableTrustAnchorCommand = EnableTrustAnchorCommand;
|
|
1808
|
+
exports.GetCrlCommand = GetCrlCommand;
|
|
1809
|
+
exports.GetProfileCommand = GetProfileCommand;
|
|
1810
|
+
exports.GetSubjectCommand = GetSubjectCommand;
|
|
1811
|
+
exports.GetTrustAnchorCommand = GetTrustAnchorCommand;
|
|
1812
|
+
exports.ImportCrlCommand = ImportCrlCommand;
|
|
1813
|
+
exports.ImportCrlRequestFilterSensitiveLog = ImportCrlRequestFilterSensitiveLog;
|
|
1814
|
+
exports.ListCrlsCommand = ListCrlsCommand;
|
|
1815
|
+
exports.ListProfilesCommand = ListProfilesCommand;
|
|
1816
|
+
exports.ListSubjectsCommand = ListSubjectsCommand;
|
|
1817
|
+
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1818
|
+
exports.ListTagsForResourceResponseFilterSensitiveLog = ListTagsForResourceResponseFilterSensitiveLog;
|
|
1819
|
+
exports.ListTrustAnchorsCommand = ListTrustAnchorsCommand;
|
|
1820
|
+
exports.NotificationChannel = NotificationChannel;
|
|
1821
|
+
exports.NotificationEvent = NotificationEvent;
|
|
1822
|
+
exports.PutAttributeMappingCommand = PutAttributeMappingCommand;
|
|
1823
|
+
exports.PutNotificationSettingsCommand = PutNotificationSettingsCommand;
|
|
1824
|
+
exports.ResetNotificationSettingsCommand = ResetNotificationSettingsCommand;
|
|
1825
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1826
|
+
exports.RolesAnywhere = RolesAnywhere;
|
|
1827
|
+
exports.RolesAnywhereClient = RolesAnywhereClient;
|
|
1828
|
+
exports.RolesAnywhereServiceException = RolesAnywhereServiceException;
|
|
1829
|
+
exports.TagFilterSensitiveLog = TagFilterSensitiveLog;
|
|
1830
|
+
exports.TagResourceCommand = TagResourceCommand;
|
|
1831
|
+
exports.TagResourceRequestFilterSensitiveLog = TagResourceRequestFilterSensitiveLog;
|
|
1832
|
+
exports.TooManyTagsException = TooManyTagsException;
|
|
1833
|
+
exports.TrustAnchorType = TrustAnchorType;
|
|
1834
|
+
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1835
|
+
exports.UntagResourceRequestFilterSensitiveLog = UntagResourceRequestFilterSensitiveLog;
|
|
1836
|
+
exports.UpdateCrlCommand = UpdateCrlCommand;
|
|
1837
|
+
exports.UpdateProfileCommand = UpdateProfileCommand;
|
|
1838
|
+
exports.UpdateTrustAnchorCommand = UpdateTrustAnchorCommand;
|
|
1839
|
+
exports.ValidationException = ValidationException;
|
|
1840
|
+
exports.paginateListCrls = paginateListCrls;
|
|
1841
|
+
exports.paginateListProfiles = paginateListProfiles;
|
|
1842
|
+
exports.paginateListSubjects = paginateListSubjects;
|
|
1843
|
+
exports.paginateListTrustAnchors = paginateListTrustAnchors;
|