@aws-sdk/client-pca-connector-ad 3.901.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 +1872 -2061
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -1,2104 +1,1915 @@
|
|
|
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
|
-
var
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
ConnectorStatusReason: () => ConnectorStatusReason,
|
|
34
|
-
CreateConnectorCommand: () => CreateConnectorCommand,
|
|
35
|
-
CreateDirectoryRegistrationCommand: () => CreateDirectoryRegistrationCommand,
|
|
36
|
-
CreateServicePrincipalNameCommand: () => CreateServicePrincipalNameCommand,
|
|
37
|
-
CreateTemplateCommand: () => CreateTemplateCommand,
|
|
38
|
-
CreateTemplateGroupAccessControlEntryCommand: () => CreateTemplateGroupAccessControlEntryCommand,
|
|
39
|
-
DeleteConnectorCommand: () => DeleteConnectorCommand,
|
|
40
|
-
DeleteDirectoryRegistrationCommand: () => DeleteDirectoryRegistrationCommand,
|
|
41
|
-
DeleteServicePrincipalNameCommand: () => DeleteServicePrincipalNameCommand,
|
|
42
|
-
DeleteTemplateCommand: () => DeleteTemplateCommand,
|
|
43
|
-
DeleteTemplateGroupAccessControlEntryCommand: () => DeleteTemplateGroupAccessControlEntryCommand,
|
|
44
|
-
DirectoryRegistrationStatus: () => DirectoryRegistrationStatus,
|
|
45
|
-
DirectoryRegistrationStatusReason: () => DirectoryRegistrationStatusReason,
|
|
46
|
-
GetConnectorCommand: () => GetConnectorCommand,
|
|
47
|
-
GetDirectoryRegistrationCommand: () => GetDirectoryRegistrationCommand,
|
|
48
|
-
GetServicePrincipalNameCommand: () => GetServicePrincipalNameCommand,
|
|
49
|
-
GetTemplateCommand: () => GetTemplateCommand,
|
|
50
|
-
GetTemplateGroupAccessControlEntryCommand: () => GetTemplateGroupAccessControlEntryCommand,
|
|
51
|
-
HashAlgorithm: () => HashAlgorithm,
|
|
52
|
-
InternalServerException: () => InternalServerException,
|
|
53
|
-
IpAddressType: () => IpAddressType,
|
|
54
|
-
KeySpec: () => KeySpec,
|
|
55
|
-
KeyUsageProperty: () => KeyUsageProperty,
|
|
56
|
-
KeyUsagePropertyType: () => KeyUsagePropertyType,
|
|
57
|
-
ListConnectorsCommand: () => ListConnectorsCommand,
|
|
58
|
-
ListDirectoryRegistrationsCommand: () => ListDirectoryRegistrationsCommand,
|
|
59
|
-
ListServicePrincipalNamesCommand: () => ListServicePrincipalNamesCommand,
|
|
60
|
-
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
61
|
-
ListTemplateGroupAccessControlEntriesCommand: () => ListTemplateGroupAccessControlEntriesCommand,
|
|
62
|
-
ListTemplatesCommand: () => ListTemplatesCommand,
|
|
63
|
-
PcaConnectorAd: () => PcaConnectorAd,
|
|
64
|
-
PcaConnectorAdClient: () => PcaConnectorAdClient,
|
|
65
|
-
PcaConnectorAdServiceException: () => PcaConnectorAdServiceException,
|
|
66
|
-
PrivateKeyAlgorithm: () => PrivateKeyAlgorithm,
|
|
67
|
-
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
68
|
-
ServicePrincipalNameStatus: () => ServicePrincipalNameStatus,
|
|
69
|
-
ServicePrincipalNameStatusReason: () => ServicePrincipalNameStatusReason,
|
|
70
|
-
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
71
|
-
TagResourceCommand: () => TagResourceCommand,
|
|
72
|
-
TemplateDefinition: () => TemplateDefinition,
|
|
73
|
-
TemplateStatus: () => TemplateStatus,
|
|
74
|
-
ThrottlingException: () => ThrottlingException,
|
|
75
|
-
UntagResourceCommand: () => UntagResourceCommand,
|
|
76
|
-
UpdateTemplateCommand: () => UpdateTemplateCommand,
|
|
77
|
-
UpdateTemplateGroupAccessControlEntryCommand: () => UpdateTemplateGroupAccessControlEntryCommand,
|
|
78
|
-
ValidationException: () => ValidationException,
|
|
79
|
-
ValidationExceptionReason: () => ValidationExceptionReason,
|
|
80
|
-
ValidityPeriodType: () => ValidityPeriodType,
|
|
81
|
-
__Client: () => import_smithy_client.Client,
|
|
82
|
-
paginateListConnectors: () => paginateListConnectors,
|
|
83
|
-
paginateListDirectoryRegistrations: () => paginateListDirectoryRegistrations,
|
|
84
|
-
paginateListServicePrincipalNames: () => paginateListServicePrincipalNames,
|
|
85
|
-
paginateListTemplateGroupAccessControlEntries: () => paginateListTemplateGroupAccessControlEntries,
|
|
86
|
-
paginateListTemplates: () => paginateListTemplates
|
|
87
|
-
});
|
|
88
|
-
module.exports = __toCommonJS(index_exports);
|
|
89
|
-
|
|
90
|
-
// src/PcaConnectorAdClient.ts
|
|
91
|
-
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
92
|
-
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
93
|
-
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
94
|
-
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
95
|
-
var import_config_resolver = require("@smithy/config-resolver");
|
|
96
|
-
var import_core = require("@smithy/core");
|
|
97
|
-
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
98
|
-
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
99
|
-
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
100
|
-
|
|
101
|
-
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
102
|
-
|
|
103
|
-
// src/endpoint/EndpointParameters.ts
|
|
104
|
-
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
105
|
-
return Object.assign(options, {
|
|
106
|
-
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
107
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
108
|
-
defaultSigningName: "pca-connector-ad"
|
|
109
|
-
});
|
|
110
|
-
}, "resolveClientEndpointParameters");
|
|
111
|
-
var commonParams = {
|
|
112
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
113
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
114
|
-
Region: { type: "builtInParams", name: "region" },
|
|
115
|
-
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
|
+
var uuid = require('@smithy/uuid');
|
|
20
|
+
|
|
21
|
+
const resolveClientEndpointParameters = (options) => {
|
|
22
|
+
return Object.assign(options, {
|
|
23
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
24
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
25
|
+
defaultSigningName: "pca-connector-ad",
|
|
26
|
+
});
|
|
27
|
+
};
|
|
28
|
+
const commonParams = {
|
|
29
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
30
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
31
|
+
Region: { type: "builtInParams", name: "region" },
|
|
32
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
116
33
|
};
|
|
117
34
|
|
|
118
|
-
|
|
119
|
-
|
|
35
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
36
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
37
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
38
|
+
let _credentials = runtimeConfig.credentials;
|
|
39
|
+
return {
|
|
40
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
41
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
42
|
+
if (index === -1) {
|
|
43
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
httpAuthSchemes() {
|
|
50
|
+
return _httpAuthSchemes;
|
|
51
|
+
},
|
|
52
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
53
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
54
|
+
},
|
|
55
|
+
httpAuthSchemeProvider() {
|
|
56
|
+
return _httpAuthSchemeProvider;
|
|
57
|
+
},
|
|
58
|
+
setCredentials(credentials) {
|
|
59
|
+
_credentials = credentials;
|
|
60
|
+
},
|
|
61
|
+
credentials() {
|
|
62
|
+
return _credentials;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
67
|
+
return {
|
|
68
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
69
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
70
|
+
credentials: config.credentials(),
|
|
71
|
+
};
|
|
72
|
+
};
|
|
120
73
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
74
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
75
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
76
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
77
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
78
|
+
};
|
|
125
79
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
80
|
+
class PcaConnectorAdClient extends smithyClient.Client {
|
|
81
|
+
config;
|
|
82
|
+
constructor(...[configuration]) {
|
|
83
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
84
|
+
super(_config_0);
|
|
85
|
+
this.initConfig = _config_0;
|
|
86
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
87
|
+
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
88
|
+
const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
|
|
89
|
+
const _config_4 = configResolver.resolveRegionConfig(_config_3);
|
|
90
|
+
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
91
|
+
const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
|
|
92
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
93
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
94
|
+
this.config = _config_8;
|
|
95
|
+
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
101
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
102
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultPcaConnectorAdHttpAuthSchemeParametersProvider,
|
|
103
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
104
|
+
"aws.auth#sigv4": config.credentials,
|
|
105
|
+
}),
|
|
106
|
+
}));
|
|
107
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
154
108
|
}
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
160
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
161
|
-
credentials: config.credentials()
|
|
162
|
-
};
|
|
163
|
-
}, "resolveHttpAuthRuntimeConfig");
|
|
109
|
+
destroy() {
|
|
110
|
+
super.destroy();
|
|
111
|
+
}
|
|
112
|
+
}
|
|
164
113
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
172
|
-
);
|
|
173
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
174
|
-
return Object.assign(
|
|
175
|
-
runtimeConfig,
|
|
176
|
-
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
177
|
-
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
178
|
-
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
179
|
-
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
180
|
-
);
|
|
181
|
-
}, "resolveRuntimeExtensions");
|
|
114
|
+
class PcaConnectorAdServiceException extends smithyClient.ServiceException {
|
|
115
|
+
constructor(options) {
|
|
116
|
+
super(options);
|
|
117
|
+
Object.setPrototypeOf(this, PcaConnectorAdServiceException.prototype);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
182
120
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
__name(this, "PcaConnectorAdClient");
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* The resolved configuration of PcaConnectorAdClient class. This is resolved and normalized from the {@link PcaConnectorAdClientConfig | constructor configuration interface}.
|
|
190
|
-
*/
|
|
191
|
-
config;
|
|
192
|
-
constructor(...[configuration]) {
|
|
193
|
-
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
194
|
-
super(_config_0);
|
|
195
|
-
this.initConfig = _config_0;
|
|
196
|
-
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
197
|
-
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
198
|
-
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
199
|
-
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
200
|
-
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
201
|
-
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
202
|
-
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
203
|
-
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
204
|
-
this.config = _config_8;
|
|
205
|
-
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
206
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
207
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
208
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
209
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
210
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
211
|
-
this.middlewareStack.use(
|
|
212
|
-
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
213
|
-
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultPcaConnectorAdHttpAuthSchemeParametersProvider,
|
|
214
|
-
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
215
|
-
"aws.auth#sigv4": config.credentials
|
|
216
|
-
}), "identityProviderConfigProvider")
|
|
217
|
-
})
|
|
218
|
-
);
|
|
219
|
-
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
220
|
-
}
|
|
221
|
-
/**
|
|
222
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
223
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
224
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
225
|
-
*/
|
|
226
|
-
destroy() {
|
|
227
|
-
super.destroy();
|
|
228
|
-
}
|
|
121
|
+
const AccessRight = {
|
|
122
|
+
ALLOW: "ALLOW",
|
|
123
|
+
DENY: "DENY",
|
|
229
124
|
};
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
125
|
+
class AccessDeniedException extends PcaConnectorAdServiceException {
|
|
126
|
+
name = "AccessDeniedException";
|
|
127
|
+
$fault = "client";
|
|
128
|
+
Message;
|
|
129
|
+
constructor(opts) {
|
|
130
|
+
super({
|
|
131
|
+
name: "AccessDeniedException",
|
|
132
|
+
$fault: "client",
|
|
133
|
+
...opts,
|
|
134
|
+
});
|
|
135
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
136
|
+
this.Message = opts.Message;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
const ApplicationPolicyType = {
|
|
140
|
+
ALL_APPLICATION_POLICIES: "ALL_APPLICATION_POLICIES",
|
|
141
|
+
ANY_PURPOSE: "ANY_PURPOSE",
|
|
142
|
+
ATTESTATION_IDENTITY_KEY_CERTIFICATE: "ATTESTATION_IDENTITY_KEY_CERTIFICATE",
|
|
143
|
+
CERTIFICATE_REQUEST_AGENT: "CERTIFICATE_REQUEST_AGENT",
|
|
144
|
+
CLIENT_AUTHENTICATION: "CLIENT_AUTHENTICATION",
|
|
145
|
+
CODE_SIGNING: "CODE_SIGNING",
|
|
146
|
+
CTL_USAGE: "CTL_USAGE",
|
|
147
|
+
DIGITAL_RIGHTS: "DIGITAL_RIGHTS",
|
|
148
|
+
DIRECTORY_SERVICE_EMAIL_REPLICATION: "DIRECTORY_SERVICE_EMAIL_REPLICATION",
|
|
149
|
+
DISALLOWED_LIST: "DISALLOWED_LIST",
|
|
150
|
+
DNS_SERVER_TRUST: "DNS_SERVER_TRUST",
|
|
151
|
+
DOCUMENT_ENCRYPTION: "DOCUMENT_ENCRYPTION",
|
|
152
|
+
DOCUMENT_SIGNING: "DOCUMENT_SIGNING",
|
|
153
|
+
DYNAMIC_CODE_GENERATOR: "DYNAMIC_CODE_GENERATOR",
|
|
154
|
+
EARLY_LAUNCH_ANTIMALWARE_DRIVER: "EARLY_LAUNCH_ANTIMALWARE_DRIVER",
|
|
155
|
+
EMBEDDED_WINDOWS_SYSTEM_COMPONENT_VERIFICATION: "EMBEDDED_WINDOWS_SYSTEM_COMPONENT_VERIFICATION",
|
|
156
|
+
ENCLAVE: "ENCLAVE",
|
|
157
|
+
ENCRYPTING_FILE_SYSTEM: "ENCRYPTING_FILE_SYSTEM",
|
|
158
|
+
ENDORSEMENT_KEY_CERTIFICATE: "ENDORSEMENT_KEY_CERTIFICATE",
|
|
159
|
+
FILE_RECOVERY: "FILE_RECOVERY",
|
|
160
|
+
HAL_EXTENSION: "HAL_EXTENSION",
|
|
161
|
+
IP_SECURITY_END_SYSTEM: "IP_SECURITY_END_SYSTEM",
|
|
162
|
+
IP_SECURITY_IKE_INTERMEDIATE: "IP_SECURITY_IKE_INTERMEDIATE",
|
|
163
|
+
IP_SECURITY_TUNNEL_TERMINATION: "IP_SECURITY_TUNNEL_TERMINATION",
|
|
164
|
+
IP_SECURITY_USER: "IP_SECURITY_USER",
|
|
165
|
+
ISOLATED_USER_MODE: "ISOLATED_USER_MODE",
|
|
166
|
+
KDC_AUTHENTICATION: "KDC_AUTHENTICATION",
|
|
167
|
+
KERNEL_MODE_CODE_SIGNING: "KERNEL_MODE_CODE_SIGNING",
|
|
168
|
+
KEY_PACK_LICENSES: "KEY_PACK_LICENSES",
|
|
169
|
+
KEY_RECOVERY: "KEY_RECOVERY",
|
|
170
|
+
KEY_RECOVERY_AGENT: "KEY_RECOVERY_AGENT",
|
|
171
|
+
LICENSE_SERVER_VERIFICATION: "LICENSE_SERVER_VERIFICATION",
|
|
172
|
+
LIFETIME_SIGNING: "LIFETIME_SIGNING",
|
|
173
|
+
MICROSOFT_PUBLISHER: "MICROSOFT_PUBLISHER",
|
|
174
|
+
MICROSOFT_TIME_STAMPING: "MICROSOFT_TIME_STAMPING",
|
|
175
|
+
MICROSOFT_TRUST_LIST_SIGNING: "MICROSOFT_TRUST_LIST_SIGNING",
|
|
176
|
+
OCSP_SIGNING: "OCSP_SIGNING",
|
|
177
|
+
OEM_WINDOWS_SYSTEM_COMPONENT_VERIFICATION: "OEM_WINDOWS_SYSTEM_COMPONENT_VERIFICATION",
|
|
178
|
+
PLATFORM_CERTIFICATE: "PLATFORM_CERTIFICATE",
|
|
179
|
+
PREVIEW_BUILD_SIGNING: "PREVIEW_BUILD_SIGNING",
|
|
180
|
+
PRIVATE_KEY_ARCHIVAL: "PRIVATE_KEY_ARCHIVAL",
|
|
181
|
+
PROTECTED_PROCESS_LIGHT_VERIFICATION: "PROTECTED_PROCESS_LIGHT_VERIFICATION",
|
|
182
|
+
PROTECTED_PROCESS_VERIFICATION: "PROTECTED_PROCESS_VERIFICATION",
|
|
183
|
+
QUALIFIED_SUBORDINATION: "QUALIFIED_SUBORDINATION",
|
|
184
|
+
REVOKED_LIST_SIGNER: "REVOKED_LIST_SIGNER",
|
|
185
|
+
ROOT_LIST_SIGNER: "ROOT_LIST_SIGNER",
|
|
186
|
+
ROOT_PROGRAM_AUTO_UPDATE_CA_REVOCATION: "ROOT_PROGRAM_AUTO_UPDATE_CA_REVOCATION",
|
|
187
|
+
ROOT_PROGRAM_AUTO_UPDATE_END_REVOCATION: "ROOT_PROGRAM_AUTO_UPDATE_END_REVOCATION",
|
|
188
|
+
ROOT_PROGRAM_NO_OSCP_FAILOVER_TO_CRL: "ROOT_PROGRAM_NO_OSCP_FAILOVER_TO_CRL",
|
|
189
|
+
SECURE_EMAIL: "SECURE_EMAIL",
|
|
190
|
+
SERVER_AUTHENTICATION: "SERVER_AUTHENTICATION",
|
|
191
|
+
SMART_CARD_LOGIN: "SMART_CARD_LOGIN",
|
|
192
|
+
SPC_ENCRYPTED_DIGEST_RETRY_COUNT: "SPC_ENCRYPTED_DIGEST_RETRY_COUNT",
|
|
193
|
+
SPC_RELAXED_PE_MARKER_CHECK: "SPC_RELAXED_PE_MARKER_CHECK",
|
|
194
|
+
TIME_STAMPING: "TIME_STAMPING",
|
|
195
|
+
WINDOWS_HARDWARE_DRIVER_ATTESTED_VERIFICATION: "WINDOWS_HARDWARE_DRIVER_ATTESTED_VERIFICATION",
|
|
196
|
+
WINDOWS_HARDWARE_DRIVER_EXTENDED_VERIFICATION: "WINDOWS_HARDWARE_DRIVER_EXTENDED_VERIFICATION",
|
|
197
|
+
WINDOWS_HARDWARE_DRIVER_VERIFICATION: "WINDOWS_HARDWARE_DRIVER_VERIFICATION",
|
|
198
|
+
WINDOWS_HELLO_RECOVERY_KEY_ENCRYPTION: "WINDOWS_HELLO_RECOVERY_KEY_ENCRYPTION",
|
|
199
|
+
WINDOWS_KITS_COMPONENT: "WINDOWS_KITS_COMPONENT",
|
|
200
|
+
WINDOWS_RT_VERIFICATION: "WINDOWS_RT_VERIFICATION",
|
|
201
|
+
WINDOWS_SOFTWARE_EXTENSION_VERIFICATION: "WINDOWS_SOFTWARE_EXTENSION_VERIFICATION",
|
|
202
|
+
WINDOWS_STORE: "WINDOWS_STORE",
|
|
203
|
+
WINDOWS_SYSTEM_COMPONENT_VERIFICATION: "WINDOWS_SYSTEM_COMPONENT_VERIFICATION",
|
|
204
|
+
WINDOWS_TCB_COMPONENT: "WINDOWS_TCB_COMPONENT",
|
|
205
|
+
WINDOWS_THIRD_PARTY_APPLICATION_COMPONENT: "WINDOWS_THIRD_PARTY_APPLICATION_COMPONENT",
|
|
206
|
+
WINDOWS_UPDATE: "WINDOWS_UPDATE",
|
|
258
207
|
};
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
constructor(opts) {
|
|
276
|
-
super({
|
|
277
|
-
name: "AccessDeniedException",
|
|
278
|
-
$fault: "client",
|
|
279
|
-
...opts
|
|
280
|
-
});
|
|
281
|
-
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
282
|
-
this.Message = opts.Message;
|
|
283
|
-
}
|
|
284
|
-
};
|
|
285
|
-
var ApplicationPolicyType = {
|
|
286
|
-
ALL_APPLICATION_POLICIES: "ALL_APPLICATION_POLICIES",
|
|
287
|
-
ANY_PURPOSE: "ANY_PURPOSE",
|
|
288
|
-
ATTESTATION_IDENTITY_KEY_CERTIFICATE: "ATTESTATION_IDENTITY_KEY_CERTIFICATE",
|
|
289
|
-
CERTIFICATE_REQUEST_AGENT: "CERTIFICATE_REQUEST_AGENT",
|
|
290
|
-
CLIENT_AUTHENTICATION: "CLIENT_AUTHENTICATION",
|
|
291
|
-
CODE_SIGNING: "CODE_SIGNING",
|
|
292
|
-
CTL_USAGE: "CTL_USAGE",
|
|
293
|
-
DIGITAL_RIGHTS: "DIGITAL_RIGHTS",
|
|
294
|
-
DIRECTORY_SERVICE_EMAIL_REPLICATION: "DIRECTORY_SERVICE_EMAIL_REPLICATION",
|
|
295
|
-
DISALLOWED_LIST: "DISALLOWED_LIST",
|
|
296
|
-
DNS_SERVER_TRUST: "DNS_SERVER_TRUST",
|
|
297
|
-
DOCUMENT_ENCRYPTION: "DOCUMENT_ENCRYPTION",
|
|
298
|
-
DOCUMENT_SIGNING: "DOCUMENT_SIGNING",
|
|
299
|
-
DYNAMIC_CODE_GENERATOR: "DYNAMIC_CODE_GENERATOR",
|
|
300
|
-
EARLY_LAUNCH_ANTIMALWARE_DRIVER: "EARLY_LAUNCH_ANTIMALWARE_DRIVER",
|
|
301
|
-
EMBEDDED_WINDOWS_SYSTEM_COMPONENT_VERIFICATION: "EMBEDDED_WINDOWS_SYSTEM_COMPONENT_VERIFICATION",
|
|
302
|
-
ENCLAVE: "ENCLAVE",
|
|
303
|
-
ENCRYPTING_FILE_SYSTEM: "ENCRYPTING_FILE_SYSTEM",
|
|
304
|
-
ENDORSEMENT_KEY_CERTIFICATE: "ENDORSEMENT_KEY_CERTIFICATE",
|
|
305
|
-
FILE_RECOVERY: "FILE_RECOVERY",
|
|
306
|
-
HAL_EXTENSION: "HAL_EXTENSION",
|
|
307
|
-
IP_SECURITY_END_SYSTEM: "IP_SECURITY_END_SYSTEM",
|
|
308
|
-
IP_SECURITY_IKE_INTERMEDIATE: "IP_SECURITY_IKE_INTERMEDIATE",
|
|
309
|
-
IP_SECURITY_TUNNEL_TERMINATION: "IP_SECURITY_TUNNEL_TERMINATION",
|
|
310
|
-
IP_SECURITY_USER: "IP_SECURITY_USER",
|
|
311
|
-
ISOLATED_USER_MODE: "ISOLATED_USER_MODE",
|
|
312
|
-
KDC_AUTHENTICATION: "KDC_AUTHENTICATION",
|
|
313
|
-
KERNEL_MODE_CODE_SIGNING: "KERNEL_MODE_CODE_SIGNING",
|
|
314
|
-
KEY_PACK_LICENSES: "KEY_PACK_LICENSES",
|
|
315
|
-
KEY_RECOVERY: "KEY_RECOVERY",
|
|
316
|
-
KEY_RECOVERY_AGENT: "KEY_RECOVERY_AGENT",
|
|
317
|
-
LICENSE_SERVER_VERIFICATION: "LICENSE_SERVER_VERIFICATION",
|
|
318
|
-
LIFETIME_SIGNING: "LIFETIME_SIGNING",
|
|
319
|
-
MICROSOFT_PUBLISHER: "MICROSOFT_PUBLISHER",
|
|
320
|
-
MICROSOFT_TIME_STAMPING: "MICROSOFT_TIME_STAMPING",
|
|
321
|
-
MICROSOFT_TRUST_LIST_SIGNING: "MICROSOFT_TRUST_LIST_SIGNING",
|
|
322
|
-
OCSP_SIGNING: "OCSP_SIGNING",
|
|
323
|
-
OEM_WINDOWS_SYSTEM_COMPONENT_VERIFICATION: "OEM_WINDOWS_SYSTEM_COMPONENT_VERIFICATION",
|
|
324
|
-
PLATFORM_CERTIFICATE: "PLATFORM_CERTIFICATE",
|
|
325
|
-
PREVIEW_BUILD_SIGNING: "PREVIEW_BUILD_SIGNING",
|
|
326
|
-
PRIVATE_KEY_ARCHIVAL: "PRIVATE_KEY_ARCHIVAL",
|
|
327
|
-
PROTECTED_PROCESS_LIGHT_VERIFICATION: "PROTECTED_PROCESS_LIGHT_VERIFICATION",
|
|
328
|
-
PROTECTED_PROCESS_VERIFICATION: "PROTECTED_PROCESS_VERIFICATION",
|
|
329
|
-
QUALIFIED_SUBORDINATION: "QUALIFIED_SUBORDINATION",
|
|
330
|
-
REVOKED_LIST_SIGNER: "REVOKED_LIST_SIGNER",
|
|
331
|
-
ROOT_LIST_SIGNER: "ROOT_LIST_SIGNER",
|
|
332
|
-
ROOT_PROGRAM_AUTO_UPDATE_CA_REVOCATION: "ROOT_PROGRAM_AUTO_UPDATE_CA_REVOCATION",
|
|
333
|
-
ROOT_PROGRAM_AUTO_UPDATE_END_REVOCATION: "ROOT_PROGRAM_AUTO_UPDATE_END_REVOCATION",
|
|
334
|
-
ROOT_PROGRAM_NO_OSCP_FAILOVER_TO_CRL: "ROOT_PROGRAM_NO_OSCP_FAILOVER_TO_CRL",
|
|
335
|
-
SECURE_EMAIL: "SECURE_EMAIL",
|
|
336
|
-
SERVER_AUTHENTICATION: "SERVER_AUTHENTICATION",
|
|
337
|
-
SMART_CARD_LOGIN: "SMART_CARD_LOGIN",
|
|
338
|
-
SPC_ENCRYPTED_DIGEST_RETRY_COUNT: "SPC_ENCRYPTED_DIGEST_RETRY_COUNT",
|
|
339
|
-
SPC_RELAXED_PE_MARKER_CHECK: "SPC_RELAXED_PE_MARKER_CHECK",
|
|
340
|
-
TIME_STAMPING: "TIME_STAMPING",
|
|
341
|
-
WINDOWS_HARDWARE_DRIVER_ATTESTED_VERIFICATION: "WINDOWS_HARDWARE_DRIVER_ATTESTED_VERIFICATION",
|
|
342
|
-
WINDOWS_HARDWARE_DRIVER_EXTENDED_VERIFICATION: "WINDOWS_HARDWARE_DRIVER_EXTENDED_VERIFICATION",
|
|
343
|
-
WINDOWS_HARDWARE_DRIVER_VERIFICATION: "WINDOWS_HARDWARE_DRIVER_VERIFICATION",
|
|
344
|
-
WINDOWS_HELLO_RECOVERY_KEY_ENCRYPTION: "WINDOWS_HELLO_RECOVERY_KEY_ENCRYPTION",
|
|
345
|
-
WINDOWS_KITS_COMPONENT: "WINDOWS_KITS_COMPONENT",
|
|
346
|
-
WINDOWS_RT_VERIFICATION: "WINDOWS_RT_VERIFICATION",
|
|
347
|
-
WINDOWS_SOFTWARE_EXTENSION_VERIFICATION: "WINDOWS_SOFTWARE_EXTENSION_VERIFICATION",
|
|
348
|
-
WINDOWS_STORE: "WINDOWS_STORE",
|
|
349
|
-
WINDOWS_SYSTEM_COMPONENT_VERIFICATION: "WINDOWS_SYSTEM_COMPONENT_VERIFICATION",
|
|
350
|
-
WINDOWS_TCB_COMPONENT: "WINDOWS_TCB_COMPONENT",
|
|
351
|
-
WINDOWS_THIRD_PARTY_APPLICATION_COMPONENT: "WINDOWS_THIRD_PARTY_APPLICATION_COMPONENT",
|
|
352
|
-
WINDOWS_UPDATE: "WINDOWS_UPDATE"
|
|
353
|
-
};
|
|
354
|
-
var ApplicationPolicy;
|
|
355
|
-
((ApplicationPolicy3) => {
|
|
356
|
-
ApplicationPolicy3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
357
|
-
if (value.PolicyType !== void 0) return visitor.PolicyType(value.PolicyType);
|
|
358
|
-
if (value.PolicyObjectIdentifier !== void 0) return visitor.PolicyObjectIdentifier(value.PolicyObjectIdentifier);
|
|
359
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
360
|
-
}, "visit");
|
|
361
|
-
})(ApplicationPolicy || (ApplicationPolicy = {}));
|
|
362
|
-
var ValidityPeriodType = {
|
|
363
|
-
DAYS: "DAYS",
|
|
364
|
-
HOURS: "HOURS",
|
|
365
|
-
MONTHS: "MONTHS",
|
|
366
|
-
WEEKS: "WEEKS",
|
|
367
|
-
YEARS: "YEARS"
|
|
368
|
-
};
|
|
369
|
-
var ClientCompatibilityV2 = {
|
|
370
|
-
WINDOWS_SERVER_2003: "WINDOWS_SERVER_2003",
|
|
371
|
-
WINDOWS_SERVER_2008: "WINDOWS_SERVER_2008",
|
|
372
|
-
WINDOWS_SERVER_2008_R2: "WINDOWS_SERVER_2008_R2",
|
|
373
|
-
WINDOWS_SERVER_2012: "WINDOWS_SERVER_2012",
|
|
374
|
-
WINDOWS_SERVER_2012_R2: "WINDOWS_SERVER_2012_R2",
|
|
375
|
-
WINDOWS_SERVER_2016: "WINDOWS_SERVER_2016"
|
|
376
|
-
};
|
|
377
|
-
var ClientCompatibilityV3 = {
|
|
378
|
-
WINDOWS_SERVER_2008: "WINDOWS_SERVER_2008",
|
|
379
|
-
WINDOWS_SERVER_2008_R2: "WINDOWS_SERVER_2008_R2",
|
|
380
|
-
WINDOWS_SERVER_2012: "WINDOWS_SERVER_2012",
|
|
381
|
-
WINDOWS_SERVER_2012_R2: "WINDOWS_SERVER_2012_R2",
|
|
382
|
-
WINDOWS_SERVER_2016: "WINDOWS_SERVER_2016"
|
|
383
|
-
};
|
|
384
|
-
var ClientCompatibilityV4 = {
|
|
385
|
-
WINDOWS_SERVER_2012: "WINDOWS_SERVER_2012",
|
|
386
|
-
WINDOWS_SERVER_2012_R2: "WINDOWS_SERVER_2012_R2",
|
|
387
|
-
WINDOWS_SERVER_2016: "WINDOWS_SERVER_2016"
|
|
388
|
-
};
|
|
389
|
-
var ConflictException = class _ConflictException extends PcaConnectorAdServiceException {
|
|
390
|
-
static {
|
|
391
|
-
__name(this, "ConflictException");
|
|
392
|
-
}
|
|
393
|
-
name = "ConflictException";
|
|
394
|
-
$fault = "client";
|
|
395
|
-
Message;
|
|
396
|
-
/**
|
|
397
|
-
* <p>The identifier of the Amazon Web Services resource.</p>
|
|
398
|
-
* @public
|
|
399
|
-
*/
|
|
400
|
-
ResourceId;
|
|
401
|
-
/**
|
|
402
|
-
* <p>The resource type, which can be one of <code>Connector</code>, <code>Template</code>, <code>TemplateGroupAccessControlEntry</code>, <code>ServicePrincipalName</code>, or <code>DirectoryRegistration</code>.</p>
|
|
403
|
-
* @public
|
|
404
|
-
*/
|
|
405
|
-
ResourceType;
|
|
406
|
-
/**
|
|
407
|
-
* @internal
|
|
408
|
-
*/
|
|
409
|
-
constructor(opts) {
|
|
410
|
-
super({
|
|
411
|
-
name: "ConflictException",
|
|
412
|
-
$fault: "client",
|
|
413
|
-
...opts
|
|
414
|
-
});
|
|
415
|
-
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
416
|
-
this.Message = opts.Message;
|
|
417
|
-
this.ResourceId = opts.ResourceId;
|
|
418
|
-
this.ResourceType = opts.ResourceType;
|
|
419
|
-
}
|
|
420
|
-
};
|
|
421
|
-
var ConnectorStatus = {
|
|
422
|
-
ACTIVE: "ACTIVE",
|
|
423
|
-
CREATING: "CREATING",
|
|
424
|
-
DELETING: "DELETING",
|
|
425
|
-
FAILED: "FAILED"
|
|
426
|
-
};
|
|
427
|
-
var ConnectorStatusReason = {
|
|
428
|
-
CA_CERTIFICATE_REGISTRATION_FAILED: "CA_CERTIFICATE_REGISTRATION_FAILED",
|
|
429
|
-
DIRECTORY_ACCESS_DENIED: "DIRECTORY_ACCESS_DENIED",
|
|
430
|
-
INSUFFICIENT_FREE_ADDRESSES: "INSUFFICIENT_FREE_ADDRESSES",
|
|
431
|
-
INTERNAL_FAILURE: "INTERNAL_FAILURE",
|
|
432
|
-
INVALID_SUBNET_IP_PROTOCOL: "INVALID_SUBNET_IP_PROTOCOL",
|
|
433
|
-
PRIVATECA_ACCESS_DENIED: "PRIVATECA_ACCESS_DENIED",
|
|
434
|
-
PRIVATECA_RESOURCE_NOT_FOUND: "PRIVATECA_RESOURCE_NOT_FOUND",
|
|
435
|
-
SECURITY_GROUP_NOT_IN_VPC: "SECURITY_GROUP_NOT_IN_VPC",
|
|
436
|
-
VPC_ACCESS_DENIED: "VPC_ACCESS_DENIED",
|
|
437
|
-
VPC_ENDPOINT_LIMIT_EXCEEDED: "VPC_ENDPOINT_LIMIT_EXCEEDED",
|
|
438
|
-
VPC_RESOURCE_NOT_FOUND: "VPC_RESOURCE_NOT_FOUND"
|
|
439
|
-
};
|
|
440
|
-
var IpAddressType = {
|
|
441
|
-
DUALSTACK: "DUALSTACK",
|
|
442
|
-
IPV4: "IPV4"
|
|
443
|
-
};
|
|
444
|
-
var InternalServerException = class _InternalServerException extends PcaConnectorAdServiceException {
|
|
445
|
-
static {
|
|
446
|
-
__name(this, "InternalServerException");
|
|
447
|
-
}
|
|
448
|
-
name = "InternalServerException";
|
|
449
|
-
$fault = "server";
|
|
450
|
-
$retryable = {};
|
|
451
|
-
Message;
|
|
452
|
-
/**
|
|
453
|
-
* @internal
|
|
454
|
-
*/
|
|
455
|
-
constructor(opts) {
|
|
456
|
-
super({
|
|
457
|
-
name: "InternalServerException",
|
|
458
|
-
$fault: "server",
|
|
459
|
-
...opts
|
|
460
|
-
});
|
|
461
|
-
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
462
|
-
this.Message = opts.Message;
|
|
463
|
-
}
|
|
464
|
-
};
|
|
465
|
-
var ResourceNotFoundException = class _ResourceNotFoundException extends PcaConnectorAdServiceException {
|
|
466
|
-
static {
|
|
467
|
-
__name(this, "ResourceNotFoundException");
|
|
468
|
-
}
|
|
469
|
-
name = "ResourceNotFoundException";
|
|
470
|
-
$fault = "client";
|
|
471
|
-
Message;
|
|
472
|
-
/**
|
|
473
|
-
* <p>The identifier of the Amazon Web Services resource.</p>
|
|
474
|
-
* @public
|
|
475
|
-
*/
|
|
476
|
-
ResourceId;
|
|
477
|
-
/**
|
|
478
|
-
* <p>The resource type, which can be one of <code>Connector</code>, <code>Template</code>, <code>TemplateGroupAccessControlEntry</code>, <code>ServicePrincipalName</code>, or <code>DirectoryRegistration</code>.</p>
|
|
479
|
-
* @public
|
|
480
|
-
*/
|
|
481
|
-
ResourceType;
|
|
482
|
-
/**
|
|
483
|
-
* @internal
|
|
484
|
-
*/
|
|
485
|
-
constructor(opts) {
|
|
486
|
-
super({
|
|
487
|
-
name: "ResourceNotFoundException",
|
|
488
|
-
$fault: "client",
|
|
489
|
-
...opts
|
|
490
|
-
});
|
|
491
|
-
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
492
|
-
this.Message = opts.Message;
|
|
493
|
-
this.ResourceId = opts.ResourceId;
|
|
494
|
-
this.ResourceType = opts.ResourceType;
|
|
495
|
-
}
|
|
496
|
-
};
|
|
497
|
-
var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends PcaConnectorAdServiceException {
|
|
498
|
-
static {
|
|
499
|
-
__name(this, "ServiceQuotaExceededException");
|
|
500
|
-
}
|
|
501
|
-
name = "ServiceQuotaExceededException";
|
|
502
|
-
$fault = "client";
|
|
503
|
-
Message;
|
|
504
|
-
/**
|
|
505
|
-
* <p>The identifier of the Amazon Web Services resource.</p>
|
|
506
|
-
* @public
|
|
507
|
-
*/
|
|
508
|
-
ResourceId;
|
|
509
|
-
/**
|
|
510
|
-
* <p>The resource type, which can be one of <code>Connector</code>, <code>Template</code>, <code>TemplateGroupAccessControlEntry</code>, <code>ServicePrincipalName</code>, or <code>DirectoryRegistration</code>.</p>
|
|
511
|
-
* @public
|
|
512
|
-
*/
|
|
513
|
-
ResourceType;
|
|
514
|
-
/**
|
|
515
|
-
* <p>Identifies the originating service.</p>
|
|
516
|
-
* @public
|
|
517
|
-
*/
|
|
518
|
-
ServiceCode;
|
|
519
|
-
/**
|
|
520
|
-
* <p>The code associated with the service quota.</p>
|
|
521
|
-
* @public
|
|
522
|
-
*/
|
|
523
|
-
QuotaCode;
|
|
524
|
-
/**
|
|
525
|
-
* @internal
|
|
526
|
-
*/
|
|
527
|
-
constructor(opts) {
|
|
528
|
-
super({
|
|
529
|
-
name: "ServiceQuotaExceededException",
|
|
530
|
-
$fault: "client",
|
|
531
|
-
...opts
|
|
532
|
-
});
|
|
533
|
-
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
534
|
-
this.Message = opts.Message;
|
|
535
|
-
this.ResourceId = opts.ResourceId;
|
|
536
|
-
this.ResourceType = opts.ResourceType;
|
|
537
|
-
this.ServiceCode = opts.ServiceCode;
|
|
538
|
-
this.QuotaCode = opts.QuotaCode;
|
|
539
|
-
}
|
|
540
|
-
};
|
|
541
|
-
var ThrottlingException = class _ThrottlingException extends PcaConnectorAdServiceException {
|
|
542
|
-
static {
|
|
543
|
-
__name(this, "ThrottlingException");
|
|
544
|
-
}
|
|
545
|
-
name = "ThrottlingException";
|
|
546
|
-
$fault = "client";
|
|
547
|
-
$retryable = {
|
|
548
|
-
throttling: true
|
|
549
|
-
};
|
|
550
|
-
Message;
|
|
551
|
-
/**
|
|
552
|
-
* <p>Identifies the originating service.</p>
|
|
553
|
-
* @public
|
|
554
|
-
*/
|
|
555
|
-
ServiceCode;
|
|
556
|
-
/**
|
|
557
|
-
* <p>The code associated with the quota.</p>
|
|
558
|
-
* @public
|
|
559
|
-
*/
|
|
560
|
-
QuotaCode;
|
|
561
|
-
/**
|
|
562
|
-
* @internal
|
|
563
|
-
*/
|
|
564
|
-
constructor(opts) {
|
|
565
|
-
super({
|
|
566
|
-
name: "ThrottlingException",
|
|
567
|
-
$fault: "client",
|
|
568
|
-
...opts
|
|
569
|
-
});
|
|
570
|
-
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
571
|
-
this.Message = opts.Message;
|
|
572
|
-
this.ServiceCode = opts.ServiceCode;
|
|
573
|
-
this.QuotaCode = opts.QuotaCode;
|
|
574
|
-
}
|
|
575
|
-
};
|
|
576
|
-
var ValidationExceptionReason = {
|
|
577
|
-
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
578
|
-
INVALID_CA_SUBJECT: "INVALID_CA_SUBJECT",
|
|
579
|
-
INVALID_PERMISSION: "INVALID_PERMISSION",
|
|
580
|
-
INVALID_STATE: "INVALID_STATE",
|
|
581
|
-
MISMATCHED_CONNECTOR: "MISMATCHED_CONNECTOR",
|
|
582
|
-
MISMATCHED_VPC: "MISMATCHED_VPC",
|
|
583
|
-
NO_CLIENT_TOKEN: "NO_CLIENT_TOKEN",
|
|
584
|
-
OTHER: "OTHER",
|
|
585
|
-
UNKNOWN_OPERATION: "UNKNOWN_OPERATION"
|
|
586
|
-
};
|
|
587
|
-
var ValidationException = class _ValidationException extends PcaConnectorAdServiceException {
|
|
588
|
-
static {
|
|
589
|
-
__name(this, "ValidationException");
|
|
590
|
-
}
|
|
591
|
-
name = "ValidationException";
|
|
592
|
-
$fault = "client";
|
|
593
|
-
Message;
|
|
594
|
-
/**
|
|
595
|
-
* <p>The reason for the validation error. This won't be return for every
|
|
596
|
-
* validation exception.</p>
|
|
597
|
-
* @public
|
|
598
|
-
*/
|
|
599
|
-
Reason;
|
|
600
|
-
/**
|
|
601
|
-
* @internal
|
|
602
|
-
*/
|
|
603
|
-
constructor(opts) {
|
|
604
|
-
super({
|
|
605
|
-
name: "ValidationException",
|
|
606
|
-
$fault: "client",
|
|
607
|
-
...opts
|
|
608
|
-
});
|
|
609
|
-
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
610
|
-
this.Message = opts.Message;
|
|
611
|
-
this.Reason = opts.Reason;
|
|
612
|
-
}
|
|
613
|
-
};
|
|
614
|
-
var KeySpec = {
|
|
615
|
-
KEY_EXCHANGE: "KEY_EXCHANGE",
|
|
616
|
-
SIGNATURE: "SIGNATURE"
|
|
617
|
-
};
|
|
618
|
-
var HashAlgorithm = {
|
|
619
|
-
SHA256: "SHA256",
|
|
620
|
-
SHA384: "SHA384",
|
|
621
|
-
SHA512: "SHA512"
|
|
622
|
-
};
|
|
623
|
-
var PrivateKeyAlgorithm = {
|
|
624
|
-
ECDH_P256: "ECDH_P256",
|
|
625
|
-
ECDH_P384: "ECDH_P384",
|
|
626
|
-
ECDH_P521: "ECDH_P521",
|
|
627
|
-
RSA: "RSA"
|
|
628
|
-
};
|
|
629
|
-
var KeyUsagePropertyType = {
|
|
630
|
-
ALL: "ALL"
|
|
631
|
-
};
|
|
632
|
-
var KeyUsageProperty;
|
|
633
|
-
((KeyUsageProperty3) => {
|
|
634
|
-
KeyUsageProperty3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
635
|
-
if (value.PropertyType !== void 0) return visitor.PropertyType(value.PropertyType);
|
|
636
|
-
if (value.PropertyFlags !== void 0) return visitor.PropertyFlags(value.PropertyFlags);
|
|
637
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
638
|
-
}, "visit");
|
|
639
|
-
})(KeyUsageProperty || (KeyUsageProperty = {}));
|
|
640
|
-
var TemplateDefinition;
|
|
641
|
-
((TemplateDefinition3) => {
|
|
642
|
-
TemplateDefinition3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
643
|
-
if (value.TemplateV2 !== void 0) return visitor.TemplateV2(value.TemplateV2);
|
|
644
|
-
if (value.TemplateV3 !== void 0) return visitor.TemplateV3(value.TemplateV3);
|
|
645
|
-
if (value.TemplateV4 !== void 0) return visitor.TemplateV4(value.TemplateV4);
|
|
646
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
647
|
-
}, "visit");
|
|
648
|
-
})(TemplateDefinition || (TemplateDefinition = {}));
|
|
649
|
-
var DirectoryRegistrationStatus = {
|
|
650
|
-
ACTIVE: "ACTIVE",
|
|
651
|
-
CREATING: "CREATING",
|
|
652
|
-
DELETING: "DELETING",
|
|
653
|
-
FAILED: "FAILED"
|
|
654
|
-
};
|
|
655
|
-
var DirectoryRegistrationStatusReason = {
|
|
656
|
-
DIRECTORY_ACCESS_DENIED: "DIRECTORY_ACCESS_DENIED",
|
|
657
|
-
DIRECTORY_NOT_ACTIVE: "DIRECTORY_NOT_ACTIVE",
|
|
658
|
-
DIRECTORY_NOT_REACHABLE: "DIRECTORY_NOT_REACHABLE",
|
|
659
|
-
DIRECTORY_RESOURCE_NOT_FOUND: "DIRECTORY_RESOURCE_NOT_FOUND",
|
|
660
|
-
DIRECTORY_TYPE_NOT_SUPPORTED: "DIRECTORY_TYPE_NOT_SUPPORTED",
|
|
661
|
-
INTERNAL_FAILURE: "INTERNAL_FAILURE"
|
|
662
|
-
};
|
|
663
|
-
var ServicePrincipalNameStatus = {
|
|
664
|
-
ACTIVE: "ACTIVE",
|
|
665
|
-
CREATING: "CREATING",
|
|
666
|
-
DELETING: "DELETING",
|
|
667
|
-
FAILED: "FAILED"
|
|
668
|
-
};
|
|
669
|
-
var ServicePrincipalNameStatusReason = {
|
|
670
|
-
DIRECTORY_ACCESS_DENIED: "DIRECTORY_ACCESS_DENIED",
|
|
671
|
-
DIRECTORY_NOT_REACHABLE: "DIRECTORY_NOT_REACHABLE",
|
|
672
|
-
DIRECTORY_RESOURCE_NOT_FOUND: "DIRECTORY_RESOURCE_NOT_FOUND",
|
|
673
|
-
INTERNAL_FAILURE: "INTERNAL_FAILURE",
|
|
674
|
-
SPN_EXISTS_ON_DIFFERENT_AD_OBJECT: "SPN_EXISTS_ON_DIFFERENT_AD_OBJECT",
|
|
675
|
-
SPN_LIMIT_EXCEEDED: "SPN_LIMIT_EXCEEDED"
|
|
676
|
-
};
|
|
677
|
-
var TemplateStatus = {
|
|
678
|
-
ACTIVE: "ACTIVE",
|
|
679
|
-
DELETING: "DELETING"
|
|
208
|
+
exports.ApplicationPolicy = void 0;
|
|
209
|
+
(function (ApplicationPolicy) {
|
|
210
|
+
ApplicationPolicy.visit = (value, visitor) => {
|
|
211
|
+
if (value.PolicyType !== undefined)
|
|
212
|
+
return visitor.PolicyType(value.PolicyType);
|
|
213
|
+
if (value.PolicyObjectIdentifier !== undefined)
|
|
214
|
+
return visitor.PolicyObjectIdentifier(value.PolicyObjectIdentifier);
|
|
215
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
216
|
+
};
|
|
217
|
+
})(exports.ApplicationPolicy || (exports.ApplicationPolicy = {}));
|
|
218
|
+
const ValidityPeriodType = {
|
|
219
|
+
DAYS: "DAYS",
|
|
220
|
+
HOURS: "HOURS",
|
|
221
|
+
MONTHS: "MONTHS",
|
|
222
|
+
WEEKS: "WEEKS",
|
|
223
|
+
YEARS: "YEARS",
|
|
680
224
|
};
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
b.bp("/connectors");
|
|
689
|
-
let body;
|
|
690
|
-
body = JSON.stringify(
|
|
691
|
-
(0, import_smithy_client.take)(input, {
|
|
692
|
-
CertificateAuthorityArn: [],
|
|
693
|
-
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
694
|
-
DirectoryId: [],
|
|
695
|
-
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"),
|
|
696
|
-
VpcInformation: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "VpcInformation")
|
|
697
|
-
})
|
|
698
|
-
);
|
|
699
|
-
b.m("POST").h(headers).b(body);
|
|
700
|
-
return b.build();
|
|
701
|
-
}, "se_CreateConnectorCommand");
|
|
702
|
-
var se_CreateDirectoryRegistrationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
703
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
704
|
-
const headers = {
|
|
705
|
-
"content-type": "application/json"
|
|
706
|
-
};
|
|
707
|
-
b.bp("/directoryRegistrations");
|
|
708
|
-
let body;
|
|
709
|
-
body = JSON.stringify(
|
|
710
|
-
(0, import_smithy_client.take)(input, {
|
|
711
|
-
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
712
|
-
DirectoryId: [],
|
|
713
|
-
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
714
|
-
})
|
|
715
|
-
);
|
|
716
|
-
b.m("POST").h(headers).b(body);
|
|
717
|
-
return b.build();
|
|
718
|
-
}, "se_CreateDirectoryRegistrationCommand");
|
|
719
|
-
var se_CreateServicePrincipalNameCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
720
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
721
|
-
const headers = {
|
|
722
|
-
"content-type": "application/json"
|
|
723
|
-
};
|
|
724
|
-
b.bp("/directoryRegistrations/{DirectoryRegistrationArn}/servicePrincipalNames/{ConnectorArn}");
|
|
725
|
-
b.p("DirectoryRegistrationArn", () => input.DirectoryRegistrationArn, "{DirectoryRegistrationArn}", false);
|
|
726
|
-
b.p("ConnectorArn", () => input.ConnectorArn, "{ConnectorArn}", false);
|
|
727
|
-
let body;
|
|
728
|
-
body = JSON.stringify(
|
|
729
|
-
(0, import_smithy_client.take)(input, {
|
|
730
|
-
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()]
|
|
731
|
-
})
|
|
732
|
-
);
|
|
733
|
-
b.m("POST").h(headers).b(body);
|
|
734
|
-
return b.build();
|
|
735
|
-
}, "se_CreateServicePrincipalNameCommand");
|
|
736
|
-
var se_CreateTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
737
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
738
|
-
const headers = {
|
|
739
|
-
"content-type": "application/json"
|
|
740
|
-
};
|
|
741
|
-
b.bp("/templates");
|
|
742
|
-
let body;
|
|
743
|
-
body = JSON.stringify(
|
|
744
|
-
(0, import_smithy_client.take)(input, {
|
|
745
|
-
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
746
|
-
ConnectorArn: [],
|
|
747
|
-
Definition: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Definition"),
|
|
748
|
-
Name: [],
|
|
749
|
-
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
750
|
-
})
|
|
751
|
-
);
|
|
752
|
-
b.m("POST").h(headers).b(body);
|
|
753
|
-
return b.build();
|
|
754
|
-
}, "se_CreateTemplateCommand");
|
|
755
|
-
var se_CreateTemplateGroupAccessControlEntryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
756
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
757
|
-
const headers = {
|
|
758
|
-
"content-type": "application/json"
|
|
759
|
-
};
|
|
760
|
-
b.bp("/templates/{TemplateArn}/accessControlEntries");
|
|
761
|
-
b.p("TemplateArn", () => input.TemplateArn, "{TemplateArn}", false);
|
|
762
|
-
let body;
|
|
763
|
-
body = JSON.stringify(
|
|
764
|
-
(0, import_smithy_client.take)(input, {
|
|
765
|
-
AccessRights: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AccessRights"),
|
|
766
|
-
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
767
|
-
GroupDisplayName: [],
|
|
768
|
-
GroupSecurityIdentifier: []
|
|
769
|
-
})
|
|
770
|
-
);
|
|
771
|
-
b.m("POST").h(headers).b(body);
|
|
772
|
-
return b.build();
|
|
773
|
-
}, "se_CreateTemplateGroupAccessControlEntryCommand");
|
|
774
|
-
var se_DeleteConnectorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
775
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
776
|
-
const headers = {};
|
|
777
|
-
b.bp("/connectors/{ConnectorArn}");
|
|
778
|
-
b.p("ConnectorArn", () => input.ConnectorArn, "{ConnectorArn}", false);
|
|
779
|
-
let body;
|
|
780
|
-
b.m("DELETE").h(headers).b(body);
|
|
781
|
-
return b.build();
|
|
782
|
-
}, "se_DeleteConnectorCommand");
|
|
783
|
-
var se_DeleteDirectoryRegistrationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
784
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
785
|
-
const headers = {};
|
|
786
|
-
b.bp("/directoryRegistrations/{DirectoryRegistrationArn}");
|
|
787
|
-
b.p("DirectoryRegistrationArn", () => input.DirectoryRegistrationArn, "{DirectoryRegistrationArn}", false);
|
|
788
|
-
let body;
|
|
789
|
-
b.m("DELETE").h(headers).b(body);
|
|
790
|
-
return b.build();
|
|
791
|
-
}, "se_DeleteDirectoryRegistrationCommand");
|
|
792
|
-
var se_DeleteServicePrincipalNameCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
793
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
794
|
-
const headers = {};
|
|
795
|
-
b.bp("/directoryRegistrations/{DirectoryRegistrationArn}/servicePrincipalNames/{ConnectorArn}");
|
|
796
|
-
b.p("DirectoryRegistrationArn", () => input.DirectoryRegistrationArn, "{DirectoryRegistrationArn}", false);
|
|
797
|
-
b.p("ConnectorArn", () => input.ConnectorArn, "{ConnectorArn}", false);
|
|
798
|
-
let body;
|
|
799
|
-
b.m("DELETE").h(headers).b(body);
|
|
800
|
-
return b.build();
|
|
801
|
-
}, "se_DeleteServicePrincipalNameCommand");
|
|
802
|
-
var se_DeleteTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
803
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
804
|
-
const headers = {};
|
|
805
|
-
b.bp("/templates/{TemplateArn}");
|
|
806
|
-
b.p("TemplateArn", () => input.TemplateArn, "{TemplateArn}", false);
|
|
807
|
-
let body;
|
|
808
|
-
b.m("DELETE").h(headers).b(body);
|
|
809
|
-
return b.build();
|
|
810
|
-
}, "se_DeleteTemplateCommand");
|
|
811
|
-
var se_DeleteTemplateGroupAccessControlEntryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
812
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
813
|
-
const headers = {};
|
|
814
|
-
b.bp("/templates/{TemplateArn}/accessControlEntries/{GroupSecurityIdentifier}");
|
|
815
|
-
b.p("TemplateArn", () => input.TemplateArn, "{TemplateArn}", false);
|
|
816
|
-
b.p("GroupSecurityIdentifier", () => input.GroupSecurityIdentifier, "{GroupSecurityIdentifier}", false);
|
|
817
|
-
let body;
|
|
818
|
-
b.m("DELETE").h(headers).b(body);
|
|
819
|
-
return b.build();
|
|
820
|
-
}, "se_DeleteTemplateGroupAccessControlEntryCommand");
|
|
821
|
-
var se_GetConnectorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
822
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
823
|
-
const headers = {};
|
|
824
|
-
b.bp("/connectors/{ConnectorArn}");
|
|
825
|
-
b.p("ConnectorArn", () => input.ConnectorArn, "{ConnectorArn}", false);
|
|
826
|
-
let body;
|
|
827
|
-
b.m("GET").h(headers).b(body);
|
|
828
|
-
return b.build();
|
|
829
|
-
}, "se_GetConnectorCommand");
|
|
830
|
-
var se_GetDirectoryRegistrationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
831
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
832
|
-
const headers = {};
|
|
833
|
-
b.bp("/directoryRegistrations/{DirectoryRegistrationArn}");
|
|
834
|
-
b.p("DirectoryRegistrationArn", () => input.DirectoryRegistrationArn, "{DirectoryRegistrationArn}", false);
|
|
835
|
-
let body;
|
|
836
|
-
b.m("GET").h(headers).b(body);
|
|
837
|
-
return b.build();
|
|
838
|
-
}, "se_GetDirectoryRegistrationCommand");
|
|
839
|
-
var se_GetServicePrincipalNameCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
840
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
841
|
-
const headers = {};
|
|
842
|
-
b.bp("/directoryRegistrations/{DirectoryRegistrationArn}/servicePrincipalNames/{ConnectorArn}");
|
|
843
|
-
b.p("DirectoryRegistrationArn", () => input.DirectoryRegistrationArn, "{DirectoryRegistrationArn}", false);
|
|
844
|
-
b.p("ConnectorArn", () => input.ConnectorArn, "{ConnectorArn}", false);
|
|
845
|
-
let body;
|
|
846
|
-
b.m("GET").h(headers).b(body);
|
|
847
|
-
return b.build();
|
|
848
|
-
}, "se_GetServicePrincipalNameCommand");
|
|
849
|
-
var se_GetTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
850
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
851
|
-
const headers = {};
|
|
852
|
-
b.bp("/templates/{TemplateArn}");
|
|
853
|
-
b.p("TemplateArn", () => input.TemplateArn, "{TemplateArn}", false);
|
|
854
|
-
let body;
|
|
855
|
-
b.m("GET").h(headers).b(body);
|
|
856
|
-
return b.build();
|
|
857
|
-
}, "se_GetTemplateCommand");
|
|
858
|
-
var se_GetTemplateGroupAccessControlEntryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
859
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
860
|
-
const headers = {};
|
|
861
|
-
b.bp("/templates/{TemplateArn}/accessControlEntries/{GroupSecurityIdentifier}");
|
|
862
|
-
b.p("TemplateArn", () => input.TemplateArn, "{TemplateArn}", false);
|
|
863
|
-
b.p("GroupSecurityIdentifier", () => input.GroupSecurityIdentifier, "{GroupSecurityIdentifier}", false);
|
|
864
|
-
let body;
|
|
865
|
-
b.m("GET").h(headers).b(body);
|
|
866
|
-
return b.build();
|
|
867
|
-
}, "se_GetTemplateGroupAccessControlEntryCommand");
|
|
868
|
-
var se_ListConnectorsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
869
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
870
|
-
const headers = {};
|
|
871
|
-
b.bp("/connectors");
|
|
872
|
-
const query = (0, import_smithy_client.map)({
|
|
873
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
874
|
-
[_NT]: [, input[_NT]]
|
|
875
|
-
});
|
|
876
|
-
let body;
|
|
877
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
878
|
-
return b.build();
|
|
879
|
-
}, "se_ListConnectorsCommand");
|
|
880
|
-
var se_ListDirectoryRegistrationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
881
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
882
|
-
const headers = {};
|
|
883
|
-
b.bp("/directoryRegistrations");
|
|
884
|
-
const query = (0, import_smithy_client.map)({
|
|
885
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
886
|
-
[_NT]: [, input[_NT]]
|
|
887
|
-
});
|
|
888
|
-
let body;
|
|
889
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
890
|
-
return b.build();
|
|
891
|
-
}, "se_ListDirectoryRegistrationsCommand");
|
|
892
|
-
var se_ListServicePrincipalNamesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
893
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
894
|
-
const headers = {};
|
|
895
|
-
b.bp("/directoryRegistrations/{DirectoryRegistrationArn}/servicePrincipalNames");
|
|
896
|
-
b.p("DirectoryRegistrationArn", () => input.DirectoryRegistrationArn, "{DirectoryRegistrationArn}", false);
|
|
897
|
-
const query = (0, import_smithy_client.map)({
|
|
898
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
899
|
-
[_NT]: [, input[_NT]]
|
|
900
|
-
});
|
|
901
|
-
let body;
|
|
902
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
903
|
-
return b.build();
|
|
904
|
-
}, "se_ListServicePrincipalNamesCommand");
|
|
905
|
-
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
906
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
907
|
-
const headers = {};
|
|
908
|
-
b.bp("/tags/{ResourceArn}");
|
|
909
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
910
|
-
let body;
|
|
911
|
-
b.m("GET").h(headers).b(body);
|
|
912
|
-
return b.build();
|
|
913
|
-
}, "se_ListTagsForResourceCommand");
|
|
914
|
-
var se_ListTemplateGroupAccessControlEntriesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
915
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
916
|
-
const headers = {};
|
|
917
|
-
b.bp("/templates/{TemplateArn}/accessControlEntries");
|
|
918
|
-
b.p("TemplateArn", () => input.TemplateArn, "{TemplateArn}", false);
|
|
919
|
-
const query = (0, import_smithy_client.map)({
|
|
920
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
921
|
-
[_NT]: [, input[_NT]]
|
|
922
|
-
});
|
|
923
|
-
let body;
|
|
924
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
925
|
-
return b.build();
|
|
926
|
-
}, "se_ListTemplateGroupAccessControlEntriesCommand");
|
|
927
|
-
var se_ListTemplatesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
928
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
929
|
-
const headers = {};
|
|
930
|
-
b.bp("/templates");
|
|
931
|
-
const query = (0, import_smithy_client.map)({
|
|
932
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
933
|
-
[_NT]: [, input[_NT]],
|
|
934
|
-
[_CA]: [, (0, import_smithy_client.expectNonNull)(input[_CA], `ConnectorArn`)]
|
|
935
|
-
});
|
|
936
|
-
let body;
|
|
937
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
938
|
-
return b.build();
|
|
939
|
-
}, "se_ListTemplatesCommand");
|
|
940
|
-
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
941
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
942
|
-
const headers = {
|
|
943
|
-
"content-type": "application/json"
|
|
944
|
-
};
|
|
945
|
-
b.bp("/tags/{ResourceArn}");
|
|
946
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
947
|
-
let body;
|
|
948
|
-
body = JSON.stringify(
|
|
949
|
-
(0, import_smithy_client.take)(input, {
|
|
950
|
-
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
951
|
-
})
|
|
952
|
-
);
|
|
953
|
-
b.m("POST").h(headers).b(body);
|
|
954
|
-
return b.build();
|
|
955
|
-
}, "se_TagResourceCommand");
|
|
956
|
-
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
957
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
958
|
-
const headers = {};
|
|
959
|
-
b.bp("/tags/{ResourceArn}");
|
|
960
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
961
|
-
const query = (0, import_smithy_client.map)({
|
|
962
|
-
[_tK]: [(0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []]
|
|
963
|
-
});
|
|
964
|
-
let body;
|
|
965
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
966
|
-
return b.build();
|
|
967
|
-
}, "se_UntagResourceCommand");
|
|
968
|
-
var se_UpdateTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
969
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
970
|
-
const headers = {
|
|
971
|
-
"content-type": "application/json"
|
|
972
|
-
};
|
|
973
|
-
b.bp("/templates/{TemplateArn}");
|
|
974
|
-
b.p("TemplateArn", () => input.TemplateArn, "{TemplateArn}", false);
|
|
975
|
-
let body;
|
|
976
|
-
body = JSON.stringify(
|
|
977
|
-
(0, import_smithy_client.take)(input, {
|
|
978
|
-
Definition: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Definition"),
|
|
979
|
-
ReenrollAllCertificateHolders: []
|
|
980
|
-
})
|
|
981
|
-
);
|
|
982
|
-
b.m("PATCH").h(headers).b(body);
|
|
983
|
-
return b.build();
|
|
984
|
-
}, "se_UpdateTemplateCommand");
|
|
985
|
-
var se_UpdateTemplateGroupAccessControlEntryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
986
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
987
|
-
const headers = {
|
|
988
|
-
"content-type": "application/json"
|
|
989
|
-
};
|
|
990
|
-
b.bp("/templates/{TemplateArn}/accessControlEntries/{GroupSecurityIdentifier}");
|
|
991
|
-
b.p("TemplateArn", () => input.TemplateArn, "{TemplateArn}", false);
|
|
992
|
-
b.p("GroupSecurityIdentifier", () => input.GroupSecurityIdentifier, "{GroupSecurityIdentifier}", false);
|
|
993
|
-
let body;
|
|
994
|
-
body = JSON.stringify(
|
|
995
|
-
(0, import_smithy_client.take)(input, {
|
|
996
|
-
AccessRights: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AccessRights"),
|
|
997
|
-
GroupDisplayName: []
|
|
998
|
-
})
|
|
999
|
-
);
|
|
1000
|
-
b.m("PATCH").h(headers).b(body);
|
|
1001
|
-
return b.build();
|
|
1002
|
-
}, "se_UpdateTemplateGroupAccessControlEntryCommand");
|
|
1003
|
-
var de_CreateConnectorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1004
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1005
|
-
return de_CommandError(output, context);
|
|
1006
|
-
}
|
|
1007
|
-
const contents = (0, import_smithy_client.map)({
|
|
1008
|
-
$metadata: deserializeMetadata(output)
|
|
1009
|
-
});
|
|
1010
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1011
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1012
|
-
ConnectorArn: import_smithy_client.expectString
|
|
1013
|
-
});
|
|
1014
|
-
Object.assign(contents, doc);
|
|
1015
|
-
return contents;
|
|
1016
|
-
}, "de_CreateConnectorCommand");
|
|
1017
|
-
var de_CreateDirectoryRegistrationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1018
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1019
|
-
return de_CommandError(output, context);
|
|
1020
|
-
}
|
|
1021
|
-
const contents = (0, import_smithy_client.map)({
|
|
1022
|
-
$metadata: deserializeMetadata(output)
|
|
1023
|
-
});
|
|
1024
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1025
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1026
|
-
DirectoryRegistrationArn: import_smithy_client.expectString
|
|
1027
|
-
});
|
|
1028
|
-
Object.assign(contents, doc);
|
|
1029
|
-
return contents;
|
|
1030
|
-
}, "de_CreateDirectoryRegistrationCommand");
|
|
1031
|
-
var de_CreateServicePrincipalNameCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1032
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1033
|
-
return de_CommandError(output, context);
|
|
1034
|
-
}
|
|
1035
|
-
const contents = (0, import_smithy_client.map)({
|
|
1036
|
-
$metadata: deserializeMetadata(output)
|
|
1037
|
-
});
|
|
1038
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1039
|
-
return contents;
|
|
1040
|
-
}, "de_CreateServicePrincipalNameCommand");
|
|
1041
|
-
var de_CreateTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1042
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1043
|
-
return de_CommandError(output, context);
|
|
1044
|
-
}
|
|
1045
|
-
const contents = (0, import_smithy_client.map)({
|
|
1046
|
-
$metadata: deserializeMetadata(output)
|
|
1047
|
-
});
|
|
1048
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1049
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1050
|
-
TemplateArn: import_smithy_client.expectString
|
|
1051
|
-
});
|
|
1052
|
-
Object.assign(contents, doc);
|
|
1053
|
-
return contents;
|
|
1054
|
-
}, "de_CreateTemplateCommand");
|
|
1055
|
-
var de_CreateTemplateGroupAccessControlEntryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1056
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1057
|
-
return de_CommandError(output, context);
|
|
1058
|
-
}
|
|
1059
|
-
const contents = (0, import_smithy_client.map)({
|
|
1060
|
-
$metadata: deserializeMetadata(output)
|
|
1061
|
-
});
|
|
1062
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1063
|
-
return contents;
|
|
1064
|
-
}, "de_CreateTemplateGroupAccessControlEntryCommand");
|
|
1065
|
-
var de_DeleteConnectorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1066
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1067
|
-
return de_CommandError(output, context);
|
|
1068
|
-
}
|
|
1069
|
-
const contents = (0, import_smithy_client.map)({
|
|
1070
|
-
$metadata: deserializeMetadata(output)
|
|
1071
|
-
});
|
|
1072
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1073
|
-
return contents;
|
|
1074
|
-
}, "de_DeleteConnectorCommand");
|
|
1075
|
-
var de_DeleteDirectoryRegistrationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1076
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1077
|
-
return de_CommandError(output, context);
|
|
1078
|
-
}
|
|
1079
|
-
const contents = (0, import_smithy_client.map)({
|
|
1080
|
-
$metadata: deserializeMetadata(output)
|
|
1081
|
-
});
|
|
1082
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1083
|
-
return contents;
|
|
1084
|
-
}, "de_DeleteDirectoryRegistrationCommand");
|
|
1085
|
-
var de_DeleteServicePrincipalNameCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1086
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1087
|
-
return de_CommandError(output, context);
|
|
1088
|
-
}
|
|
1089
|
-
const contents = (0, import_smithy_client.map)({
|
|
1090
|
-
$metadata: deserializeMetadata(output)
|
|
1091
|
-
});
|
|
1092
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1093
|
-
return contents;
|
|
1094
|
-
}, "de_DeleteServicePrincipalNameCommand");
|
|
1095
|
-
var de_DeleteTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1096
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1097
|
-
return de_CommandError(output, context);
|
|
1098
|
-
}
|
|
1099
|
-
const contents = (0, import_smithy_client.map)({
|
|
1100
|
-
$metadata: deserializeMetadata(output)
|
|
1101
|
-
});
|
|
1102
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1103
|
-
return contents;
|
|
1104
|
-
}, "de_DeleteTemplateCommand");
|
|
1105
|
-
var de_DeleteTemplateGroupAccessControlEntryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1106
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1107
|
-
return de_CommandError(output, context);
|
|
1108
|
-
}
|
|
1109
|
-
const contents = (0, import_smithy_client.map)({
|
|
1110
|
-
$metadata: deserializeMetadata(output)
|
|
1111
|
-
});
|
|
1112
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1113
|
-
return contents;
|
|
1114
|
-
}, "de_DeleteTemplateGroupAccessControlEntryCommand");
|
|
1115
|
-
var de_GetConnectorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1116
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1117
|
-
return de_CommandError(output, context);
|
|
1118
|
-
}
|
|
1119
|
-
const contents = (0, import_smithy_client.map)({
|
|
1120
|
-
$metadata: deserializeMetadata(output)
|
|
1121
|
-
});
|
|
1122
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1123
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1124
|
-
Connector: /* @__PURE__ */ __name((_) => de_Connector(_, context), "Connector")
|
|
1125
|
-
});
|
|
1126
|
-
Object.assign(contents, doc);
|
|
1127
|
-
return contents;
|
|
1128
|
-
}, "de_GetConnectorCommand");
|
|
1129
|
-
var de_GetDirectoryRegistrationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1130
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1131
|
-
return de_CommandError(output, context);
|
|
1132
|
-
}
|
|
1133
|
-
const contents = (0, import_smithy_client.map)({
|
|
1134
|
-
$metadata: deserializeMetadata(output)
|
|
1135
|
-
});
|
|
1136
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1137
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1138
|
-
DirectoryRegistration: /* @__PURE__ */ __name((_) => de_DirectoryRegistration(_, context), "DirectoryRegistration")
|
|
1139
|
-
});
|
|
1140
|
-
Object.assign(contents, doc);
|
|
1141
|
-
return contents;
|
|
1142
|
-
}, "de_GetDirectoryRegistrationCommand");
|
|
1143
|
-
var de_GetServicePrincipalNameCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1144
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1145
|
-
return de_CommandError(output, context);
|
|
1146
|
-
}
|
|
1147
|
-
const contents = (0, import_smithy_client.map)({
|
|
1148
|
-
$metadata: deserializeMetadata(output)
|
|
1149
|
-
});
|
|
1150
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1151
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1152
|
-
ServicePrincipalName: /* @__PURE__ */ __name((_) => de_ServicePrincipalName(_, context), "ServicePrincipalName")
|
|
1153
|
-
});
|
|
1154
|
-
Object.assign(contents, doc);
|
|
1155
|
-
return contents;
|
|
1156
|
-
}, "de_GetServicePrincipalNameCommand");
|
|
1157
|
-
var de_GetTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1158
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1159
|
-
return de_CommandError(output, context);
|
|
1160
|
-
}
|
|
1161
|
-
const contents = (0, import_smithy_client.map)({
|
|
1162
|
-
$metadata: deserializeMetadata(output)
|
|
1163
|
-
});
|
|
1164
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1165
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1166
|
-
Template: /* @__PURE__ */ __name((_) => de_Template(_, context), "Template")
|
|
1167
|
-
});
|
|
1168
|
-
Object.assign(contents, doc);
|
|
1169
|
-
return contents;
|
|
1170
|
-
}, "de_GetTemplateCommand");
|
|
1171
|
-
var de_GetTemplateGroupAccessControlEntryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1172
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1173
|
-
return de_CommandError(output, context);
|
|
1174
|
-
}
|
|
1175
|
-
const contents = (0, import_smithy_client.map)({
|
|
1176
|
-
$metadata: deserializeMetadata(output)
|
|
1177
|
-
});
|
|
1178
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1179
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1180
|
-
AccessControlEntry: /* @__PURE__ */ __name((_) => de_AccessControlEntry(_, context), "AccessControlEntry")
|
|
1181
|
-
});
|
|
1182
|
-
Object.assign(contents, doc);
|
|
1183
|
-
return contents;
|
|
1184
|
-
}, "de_GetTemplateGroupAccessControlEntryCommand");
|
|
1185
|
-
var de_ListConnectorsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1186
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1187
|
-
return de_CommandError(output, context);
|
|
1188
|
-
}
|
|
1189
|
-
const contents = (0, import_smithy_client.map)({
|
|
1190
|
-
$metadata: deserializeMetadata(output)
|
|
1191
|
-
});
|
|
1192
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1193
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1194
|
-
Connectors: /* @__PURE__ */ __name((_) => de_ConnectorList(_, context), "Connectors"),
|
|
1195
|
-
NextToken: import_smithy_client.expectString
|
|
1196
|
-
});
|
|
1197
|
-
Object.assign(contents, doc);
|
|
1198
|
-
return contents;
|
|
1199
|
-
}, "de_ListConnectorsCommand");
|
|
1200
|
-
var de_ListDirectoryRegistrationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1201
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1202
|
-
return de_CommandError(output, context);
|
|
1203
|
-
}
|
|
1204
|
-
const contents = (0, import_smithy_client.map)({
|
|
1205
|
-
$metadata: deserializeMetadata(output)
|
|
1206
|
-
});
|
|
1207
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1208
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1209
|
-
DirectoryRegistrations: /* @__PURE__ */ __name((_) => de_DirectoryRegistrationList(_, context), "DirectoryRegistrations"),
|
|
1210
|
-
NextToken: import_smithy_client.expectString
|
|
1211
|
-
});
|
|
1212
|
-
Object.assign(contents, doc);
|
|
1213
|
-
return contents;
|
|
1214
|
-
}, "de_ListDirectoryRegistrationsCommand");
|
|
1215
|
-
var de_ListServicePrincipalNamesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1216
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1217
|
-
return de_CommandError(output, context);
|
|
1218
|
-
}
|
|
1219
|
-
const contents = (0, import_smithy_client.map)({
|
|
1220
|
-
$metadata: deserializeMetadata(output)
|
|
1221
|
-
});
|
|
1222
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1223
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1224
|
-
NextToken: import_smithy_client.expectString,
|
|
1225
|
-
ServicePrincipalNames: /* @__PURE__ */ __name((_) => de_ServicePrincipalNameList(_, context), "ServicePrincipalNames")
|
|
1226
|
-
});
|
|
1227
|
-
Object.assign(contents, doc);
|
|
1228
|
-
return contents;
|
|
1229
|
-
}, "de_ListServicePrincipalNamesCommand");
|
|
1230
|
-
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1231
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1232
|
-
return de_CommandError(output, context);
|
|
1233
|
-
}
|
|
1234
|
-
const contents = (0, import_smithy_client.map)({
|
|
1235
|
-
$metadata: deserializeMetadata(output)
|
|
1236
|
-
});
|
|
1237
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1238
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1239
|
-
Tags: import_smithy_client._json
|
|
1240
|
-
});
|
|
1241
|
-
Object.assign(contents, doc);
|
|
1242
|
-
return contents;
|
|
1243
|
-
}, "de_ListTagsForResourceCommand");
|
|
1244
|
-
var de_ListTemplateGroupAccessControlEntriesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1245
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1246
|
-
return de_CommandError(output, context);
|
|
1247
|
-
}
|
|
1248
|
-
const contents = (0, import_smithy_client.map)({
|
|
1249
|
-
$metadata: deserializeMetadata(output)
|
|
1250
|
-
});
|
|
1251
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1252
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1253
|
-
AccessControlEntries: /* @__PURE__ */ __name((_) => de_AccessControlEntryList(_, context), "AccessControlEntries"),
|
|
1254
|
-
NextToken: import_smithy_client.expectString
|
|
1255
|
-
});
|
|
1256
|
-
Object.assign(contents, doc);
|
|
1257
|
-
return contents;
|
|
1258
|
-
}, "de_ListTemplateGroupAccessControlEntriesCommand");
|
|
1259
|
-
var de_ListTemplatesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1260
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1261
|
-
return de_CommandError(output, context);
|
|
1262
|
-
}
|
|
1263
|
-
const contents = (0, import_smithy_client.map)({
|
|
1264
|
-
$metadata: deserializeMetadata(output)
|
|
1265
|
-
});
|
|
1266
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1267
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1268
|
-
NextToken: import_smithy_client.expectString,
|
|
1269
|
-
Templates: /* @__PURE__ */ __name((_) => de_TemplateList(_, context), "Templates")
|
|
1270
|
-
});
|
|
1271
|
-
Object.assign(contents, doc);
|
|
1272
|
-
return contents;
|
|
1273
|
-
}, "de_ListTemplatesCommand");
|
|
1274
|
-
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1275
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1276
|
-
return de_CommandError(output, context);
|
|
1277
|
-
}
|
|
1278
|
-
const contents = (0, import_smithy_client.map)({
|
|
1279
|
-
$metadata: deserializeMetadata(output)
|
|
1280
|
-
});
|
|
1281
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1282
|
-
return contents;
|
|
1283
|
-
}, "de_TagResourceCommand");
|
|
1284
|
-
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1285
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1286
|
-
return de_CommandError(output, context);
|
|
1287
|
-
}
|
|
1288
|
-
const contents = (0, import_smithy_client.map)({
|
|
1289
|
-
$metadata: deserializeMetadata(output)
|
|
1290
|
-
});
|
|
1291
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1292
|
-
return contents;
|
|
1293
|
-
}, "de_UntagResourceCommand");
|
|
1294
|
-
var de_UpdateTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1295
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1296
|
-
return de_CommandError(output, context);
|
|
1297
|
-
}
|
|
1298
|
-
const contents = (0, import_smithy_client.map)({
|
|
1299
|
-
$metadata: deserializeMetadata(output)
|
|
1300
|
-
});
|
|
1301
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1302
|
-
return contents;
|
|
1303
|
-
}, "de_UpdateTemplateCommand");
|
|
1304
|
-
var de_UpdateTemplateGroupAccessControlEntryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1305
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1306
|
-
return de_CommandError(output, context);
|
|
1307
|
-
}
|
|
1308
|
-
const contents = (0, import_smithy_client.map)({
|
|
1309
|
-
$metadata: deserializeMetadata(output)
|
|
1310
|
-
});
|
|
1311
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1312
|
-
return contents;
|
|
1313
|
-
}, "de_UpdateTemplateGroupAccessControlEntryCommand");
|
|
1314
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1315
|
-
const parsedOutput = {
|
|
1316
|
-
...output,
|
|
1317
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1318
|
-
};
|
|
1319
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1320
|
-
switch (errorCode) {
|
|
1321
|
-
case "AccessDeniedException":
|
|
1322
|
-
case "com.amazonaws.pcaconnectorad#AccessDeniedException":
|
|
1323
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1324
|
-
case "ConflictException":
|
|
1325
|
-
case "com.amazonaws.pcaconnectorad#ConflictException":
|
|
1326
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1327
|
-
case "InternalServerException":
|
|
1328
|
-
case "com.amazonaws.pcaconnectorad#InternalServerException":
|
|
1329
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1330
|
-
case "ResourceNotFoundException":
|
|
1331
|
-
case "com.amazonaws.pcaconnectorad#ResourceNotFoundException":
|
|
1332
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1333
|
-
case "ServiceQuotaExceededException":
|
|
1334
|
-
case "com.amazonaws.pcaconnectorad#ServiceQuotaExceededException":
|
|
1335
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1336
|
-
case "ThrottlingException":
|
|
1337
|
-
case "com.amazonaws.pcaconnectorad#ThrottlingException":
|
|
1338
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1339
|
-
case "ValidationException":
|
|
1340
|
-
case "com.amazonaws.pcaconnectorad#ValidationException":
|
|
1341
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1342
|
-
default:
|
|
1343
|
-
const parsedBody = parsedOutput.body;
|
|
1344
|
-
return throwDefaultError({
|
|
1345
|
-
output,
|
|
1346
|
-
parsedBody,
|
|
1347
|
-
errorCode
|
|
1348
|
-
});
|
|
1349
|
-
}
|
|
1350
|
-
}, "de_CommandError");
|
|
1351
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(PcaConnectorAdServiceException);
|
|
1352
|
-
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1353
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1354
|
-
const data = parsedOutput.body;
|
|
1355
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1356
|
-
Message: import_smithy_client.expectString
|
|
1357
|
-
});
|
|
1358
|
-
Object.assign(contents, doc);
|
|
1359
|
-
const exception = new AccessDeniedException({
|
|
1360
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1361
|
-
...contents
|
|
1362
|
-
});
|
|
1363
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1364
|
-
}, "de_AccessDeniedExceptionRes");
|
|
1365
|
-
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1366
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1367
|
-
const data = parsedOutput.body;
|
|
1368
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1369
|
-
Message: import_smithy_client.expectString,
|
|
1370
|
-
ResourceId: import_smithy_client.expectString,
|
|
1371
|
-
ResourceType: import_smithy_client.expectString
|
|
1372
|
-
});
|
|
1373
|
-
Object.assign(contents, doc);
|
|
1374
|
-
const exception = new ConflictException({
|
|
1375
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1376
|
-
...contents
|
|
1377
|
-
});
|
|
1378
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1379
|
-
}, "de_ConflictExceptionRes");
|
|
1380
|
-
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1381
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1382
|
-
const data = parsedOutput.body;
|
|
1383
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1384
|
-
Message: import_smithy_client.expectString
|
|
1385
|
-
});
|
|
1386
|
-
Object.assign(contents, doc);
|
|
1387
|
-
const exception = new InternalServerException({
|
|
1388
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1389
|
-
...contents
|
|
1390
|
-
});
|
|
1391
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1392
|
-
}, "de_InternalServerExceptionRes");
|
|
1393
|
-
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1394
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1395
|
-
const data = parsedOutput.body;
|
|
1396
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1397
|
-
Message: import_smithy_client.expectString,
|
|
1398
|
-
ResourceId: import_smithy_client.expectString,
|
|
1399
|
-
ResourceType: import_smithy_client.expectString
|
|
1400
|
-
});
|
|
1401
|
-
Object.assign(contents, doc);
|
|
1402
|
-
const exception = new ResourceNotFoundException({
|
|
1403
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1404
|
-
...contents
|
|
1405
|
-
});
|
|
1406
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1407
|
-
}, "de_ResourceNotFoundExceptionRes");
|
|
1408
|
-
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1409
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1410
|
-
const data = parsedOutput.body;
|
|
1411
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1412
|
-
Message: import_smithy_client.expectString,
|
|
1413
|
-
QuotaCode: import_smithy_client.expectString,
|
|
1414
|
-
ResourceId: import_smithy_client.expectString,
|
|
1415
|
-
ResourceType: import_smithy_client.expectString,
|
|
1416
|
-
ServiceCode: import_smithy_client.expectString
|
|
1417
|
-
});
|
|
1418
|
-
Object.assign(contents, doc);
|
|
1419
|
-
const exception = new ServiceQuotaExceededException({
|
|
1420
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1421
|
-
...contents
|
|
1422
|
-
});
|
|
1423
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1424
|
-
}, "de_ServiceQuotaExceededExceptionRes");
|
|
1425
|
-
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1426
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1427
|
-
const data = parsedOutput.body;
|
|
1428
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1429
|
-
Message: import_smithy_client.expectString,
|
|
1430
|
-
QuotaCode: import_smithy_client.expectString,
|
|
1431
|
-
ServiceCode: import_smithy_client.expectString
|
|
1432
|
-
});
|
|
1433
|
-
Object.assign(contents, doc);
|
|
1434
|
-
const exception = new ThrottlingException({
|
|
1435
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1436
|
-
...contents
|
|
1437
|
-
});
|
|
1438
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1439
|
-
}, "de_ThrottlingExceptionRes");
|
|
1440
|
-
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1441
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1442
|
-
const data = parsedOutput.body;
|
|
1443
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1444
|
-
Message: import_smithy_client.expectString,
|
|
1445
|
-
Reason: import_smithy_client.expectString
|
|
1446
|
-
});
|
|
1447
|
-
Object.assign(contents, doc);
|
|
1448
|
-
const exception = new ValidationException({
|
|
1449
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1450
|
-
...contents
|
|
1451
|
-
});
|
|
1452
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1453
|
-
}, "de_ValidationExceptionRes");
|
|
1454
|
-
var de_AccessControlEntry = /* @__PURE__ */ __name((output, context) => {
|
|
1455
|
-
return (0, import_smithy_client.take)(output, {
|
|
1456
|
-
AccessRights: import_smithy_client._json,
|
|
1457
|
-
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1458
|
-
GroupDisplayName: import_smithy_client.expectString,
|
|
1459
|
-
GroupSecurityIdentifier: import_smithy_client.expectString,
|
|
1460
|
-
TemplateArn: import_smithy_client.expectString,
|
|
1461
|
-
UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt")
|
|
1462
|
-
});
|
|
1463
|
-
}, "de_AccessControlEntry");
|
|
1464
|
-
var de_AccessControlEntryList = /* @__PURE__ */ __name((output, context) => {
|
|
1465
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1466
|
-
return de_AccessControlEntrySummary(entry, context);
|
|
1467
|
-
});
|
|
1468
|
-
return retVal;
|
|
1469
|
-
}, "de_AccessControlEntryList");
|
|
1470
|
-
var de_AccessControlEntrySummary = /* @__PURE__ */ __name((output, context) => {
|
|
1471
|
-
return (0, import_smithy_client.take)(output, {
|
|
1472
|
-
AccessRights: import_smithy_client._json,
|
|
1473
|
-
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1474
|
-
GroupDisplayName: import_smithy_client.expectString,
|
|
1475
|
-
GroupSecurityIdentifier: import_smithy_client.expectString,
|
|
1476
|
-
TemplateArn: import_smithy_client.expectString,
|
|
1477
|
-
UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt")
|
|
1478
|
-
});
|
|
1479
|
-
}, "de_AccessControlEntrySummary");
|
|
1480
|
-
var de_Connector = /* @__PURE__ */ __name((output, context) => {
|
|
1481
|
-
return (0, import_smithy_client.take)(output, {
|
|
1482
|
-
Arn: import_smithy_client.expectString,
|
|
1483
|
-
CertificateAuthorityArn: import_smithy_client.expectString,
|
|
1484
|
-
CertificateEnrollmentPolicyServerEndpoint: import_smithy_client.expectString,
|
|
1485
|
-
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1486
|
-
DirectoryId: import_smithy_client.expectString,
|
|
1487
|
-
Status: import_smithy_client.expectString,
|
|
1488
|
-
StatusReason: import_smithy_client.expectString,
|
|
1489
|
-
UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt"),
|
|
1490
|
-
VpcInformation: import_smithy_client._json
|
|
1491
|
-
});
|
|
1492
|
-
}, "de_Connector");
|
|
1493
|
-
var de_ConnectorList = /* @__PURE__ */ __name((output, context) => {
|
|
1494
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1495
|
-
return de_ConnectorSummary(entry, context);
|
|
1496
|
-
});
|
|
1497
|
-
return retVal;
|
|
1498
|
-
}, "de_ConnectorList");
|
|
1499
|
-
var de_ConnectorSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1500
|
-
return (0, import_smithy_client.take)(output, {
|
|
1501
|
-
Arn: import_smithy_client.expectString,
|
|
1502
|
-
CertificateAuthorityArn: import_smithy_client.expectString,
|
|
1503
|
-
CertificateEnrollmentPolicyServerEndpoint: import_smithy_client.expectString,
|
|
1504
|
-
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1505
|
-
DirectoryId: import_smithy_client.expectString,
|
|
1506
|
-
Status: import_smithy_client.expectString,
|
|
1507
|
-
StatusReason: import_smithy_client.expectString,
|
|
1508
|
-
UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt"),
|
|
1509
|
-
VpcInformation: import_smithy_client._json
|
|
1510
|
-
});
|
|
1511
|
-
}, "de_ConnectorSummary");
|
|
1512
|
-
var de_DirectoryRegistration = /* @__PURE__ */ __name((output, context) => {
|
|
1513
|
-
return (0, import_smithy_client.take)(output, {
|
|
1514
|
-
Arn: import_smithy_client.expectString,
|
|
1515
|
-
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1516
|
-
DirectoryId: import_smithy_client.expectString,
|
|
1517
|
-
Status: import_smithy_client.expectString,
|
|
1518
|
-
StatusReason: import_smithy_client.expectString,
|
|
1519
|
-
UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt")
|
|
1520
|
-
});
|
|
1521
|
-
}, "de_DirectoryRegistration");
|
|
1522
|
-
var de_DirectoryRegistrationList = /* @__PURE__ */ __name((output, context) => {
|
|
1523
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1524
|
-
return de_DirectoryRegistrationSummary(entry, context);
|
|
1525
|
-
});
|
|
1526
|
-
return retVal;
|
|
1527
|
-
}, "de_DirectoryRegistrationList");
|
|
1528
|
-
var de_DirectoryRegistrationSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1529
|
-
return (0, import_smithy_client.take)(output, {
|
|
1530
|
-
Arn: import_smithy_client.expectString,
|
|
1531
|
-
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1532
|
-
DirectoryId: import_smithy_client.expectString,
|
|
1533
|
-
Status: import_smithy_client.expectString,
|
|
1534
|
-
StatusReason: import_smithy_client.expectString,
|
|
1535
|
-
UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt")
|
|
1536
|
-
});
|
|
1537
|
-
}, "de_DirectoryRegistrationSummary");
|
|
1538
|
-
var de_ServicePrincipalName = /* @__PURE__ */ __name((output, context) => {
|
|
1539
|
-
return (0, import_smithy_client.take)(output, {
|
|
1540
|
-
ConnectorArn: import_smithy_client.expectString,
|
|
1541
|
-
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1542
|
-
DirectoryRegistrationArn: import_smithy_client.expectString,
|
|
1543
|
-
Status: import_smithy_client.expectString,
|
|
1544
|
-
StatusReason: import_smithy_client.expectString,
|
|
1545
|
-
UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt")
|
|
1546
|
-
});
|
|
1547
|
-
}, "de_ServicePrincipalName");
|
|
1548
|
-
var de_ServicePrincipalNameList = /* @__PURE__ */ __name((output, context) => {
|
|
1549
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1550
|
-
return de_ServicePrincipalNameSummary(entry, context);
|
|
1551
|
-
});
|
|
1552
|
-
return retVal;
|
|
1553
|
-
}, "de_ServicePrincipalNameList");
|
|
1554
|
-
var de_ServicePrincipalNameSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1555
|
-
return (0, import_smithy_client.take)(output, {
|
|
1556
|
-
ConnectorArn: import_smithy_client.expectString,
|
|
1557
|
-
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1558
|
-
DirectoryRegistrationArn: import_smithy_client.expectString,
|
|
1559
|
-
Status: import_smithy_client.expectString,
|
|
1560
|
-
StatusReason: import_smithy_client.expectString,
|
|
1561
|
-
UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt")
|
|
1562
|
-
});
|
|
1563
|
-
}, "de_ServicePrincipalNameSummary");
|
|
1564
|
-
var de_Template = /* @__PURE__ */ __name((output, context) => {
|
|
1565
|
-
return (0, import_smithy_client.take)(output, {
|
|
1566
|
-
Arn: import_smithy_client.expectString,
|
|
1567
|
-
ConnectorArn: import_smithy_client.expectString,
|
|
1568
|
-
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1569
|
-
Definition: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "Definition"),
|
|
1570
|
-
Name: import_smithy_client.expectString,
|
|
1571
|
-
ObjectIdentifier: import_smithy_client.expectString,
|
|
1572
|
-
PolicySchema: import_smithy_client.expectInt32,
|
|
1573
|
-
Revision: import_smithy_client._json,
|
|
1574
|
-
Status: import_smithy_client.expectString,
|
|
1575
|
-
UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt")
|
|
1576
|
-
});
|
|
1577
|
-
}, "de_Template");
|
|
1578
|
-
var de_TemplateList = /* @__PURE__ */ __name((output, context) => {
|
|
1579
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1580
|
-
return de_TemplateSummary(entry, context);
|
|
1581
|
-
});
|
|
1582
|
-
return retVal;
|
|
1583
|
-
}, "de_TemplateList");
|
|
1584
|
-
var de_TemplateSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1585
|
-
return (0, import_smithy_client.take)(output, {
|
|
1586
|
-
Arn: import_smithy_client.expectString,
|
|
1587
|
-
ConnectorArn: import_smithy_client.expectString,
|
|
1588
|
-
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1589
|
-
Definition: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "Definition"),
|
|
1590
|
-
Name: import_smithy_client.expectString,
|
|
1591
|
-
ObjectIdentifier: import_smithy_client.expectString,
|
|
1592
|
-
PolicySchema: import_smithy_client.expectInt32,
|
|
1593
|
-
Revision: import_smithy_client._json,
|
|
1594
|
-
Status: import_smithy_client.expectString,
|
|
1595
|
-
UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt")
|
|
1596
|
-
});
|
|
1597
|
-
}, "de_TemplateSummary");
|
|
1598
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1599
|
-
httpStatusCode: output.statusCode,
|
|
1600
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1601
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1602
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
1603
|
-
}), "deserializeMetadata");
|
|
1604
|
-
var _CA = "ConnectorArn";
|
|
1605
|
-
var _MR = "MaxResults";
|
|
1606
|
-
var _NT = "NextToken";
|
|
1607
|
-
var _TK = "TagKeys";
|
|
1608
|
-
var _tK = "tagKeys";
|
|
1609
|
-
|
|
1610
|
-
// src/commands/CreateConnectorCommand.ts
|
|
1611
|
-
var CreateConnectorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1612
|
-
return [
|
|
1613
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1614
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1615
|
-
];
|
|
1616
|
-
}).s("PcaConnectorAd", "CreateConnector", {}).n("PcaConnectorAdClient", "CreateConnectorCommand").f(void 0, void 0).ser(se_CreateConnectorCommand).de(de_CreateConnectorCommand).build() {
|
|
1617
|
-
static {
|
|
1618
|
-
__name(this, "CreateConnectorCommand");
|
|
1619
|
-
}
|
|
225
|
+
const ClientCompatibilityV2 = {
|
|
226
|
+
WINDOWS_SERVER_2003: "WINDOWS_SERVER_2003",
|
|
227
|
+
WINDOWS_SERVER_2008: "WINDOWS_SERVER_2008",
|
|
228
|
+
WINDOWS_SERVER_2008_R2: "WINDOWS_SERVER_2008_R2",
|
|
229
|
+
WINDOWS_SERVER_2012: "WINDOWS_SERVER_2012",
|
|
230
|
+
WINDOWS_SERVER_2012_R2: "WINDOWS_SERVER_2012_R2",
|
|
231
|
+
WINDOWS_SERVER_2016: "WINDOWS_SERVER_2016",
|
|
1620
232
|
};
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
return [
|
|
1628
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1629
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1630
|
-
];
|
|
1631
|
-
}).s("PcaConnectorAd", "CreateDirectoryRegistration", {}).n("PcaConnectorAdClient", "CreateDirectoryRegistrationCommand").f(void 0, void 0).ser(se_CreateDirectoryRegistrationCommand).de(de_CreateDirectoryRegistrationCommand).build() {
|
|
1632
|
-
static {
|
|
1633
|
-
__name(this, "CreateDirectoryRegistrationCommand");
|
|
1634
|
-
}
|
|
233
|
+
const ClientCompatibilityV3 = {
|
|
234
|
+
WINDOWS_SERVER_2008: "WINDOWS_SERVER_2008",
|
|
235
|
+
WINDOWS_SERVER_2008_R2: "WINDOWS_SERVER_2008_R2",
|
|
236
|
+
WINDOWS_SERVER_2012: "WINDOWS_SERVER_2012",
|
|
237
|
+
WINDOWS_SERVER_2012_R2: "WINDOWS_SERVER_2012_R2",
|
|
238
|
+
WINDOWS_SERVER_2016: "WINDOWS_SERVER_2016",
|
|
1635
239
|
};
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
var CreateServicePrincipalNameCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1642
|
-
return [
|
|
1643
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1644
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1645
|
-
];
|
|
1646
|
-
}).s("PcaConnectorAd", "CreateServicePrincipalName", {}).n("PcaConnectorAdClient", "CreateServicePrincipalNameCommand").f(void 0, void 0).ser(se_CreateServicePrincipalNameCommand).de(de_CreateServicePrincipalNameCommand).build() {
|
|
1647
|
-
static {
|
|
1648
|
-
__name(this, "CreateServicePrincipalNameCommand");
|
|
1649
|
-
}
|
|
240
|
+
const ClientCompatibilityV4 = {
|
|
241
|
+
WINDOWS_SERVER_2012: "WINDOWS_SERVER_2012",
|
|
242
|
+
WINDOWS_SERVER_2012_R2: "WINDOWS_SERVER_2012_R2",
|
|
243
|
+
WINDOWS_SERVER_2016: "WINDOWS_SERVER_2016",
|
|
1650
244
|
};
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
245
|
+
class ConflictException extends PcaConnectorAdServiceException {
|
|
246
|
+
name = "ConflictException";
|
|
247
|
+
$fault = "client";
|
|
248
|
+
Message;
|
|
249
|
+
ResourceId;
|
|
250
|
+
ResourceType;
|
|
251
|
+
constructor(opts) {
|
|
252
|
+
super({
|
|
253
|
+
name: "ConflictException",
|
|
254
|
+
$fault: "client",
|
|
255
|
+
...opts,
|
|
256
|
+
});
|
|
257
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
258
|
+
this.Message = opts.Message;
|
|
259
|
+
this.ResourceId = opts.ResourceId;
|
|
260
|
+
this.ResourceType = opts.ResourceType;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
const ConnectorStatus = {
|
|
264
|
+
ACTIVE: "ACTIVE",
|
|
265
|
+
CREATING: "CREATING",
|
|
266
|
+
DELETING: "DELETING",
|
|
267
|
+
FAILED: "FAILED",
|
|
1665
268
|
};
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
__name(this, "CreateTemplateGroupAccessControlEntryCommand");
|
|
1679
|
-
}
|
|
269
|
+
const ConnectorStatusReason = {
|
|
270
|
+
CA_CERTIFICATE_REGISTRATION_FAILED: "CA_CERTIFICATE_REGISTRATION_FAILED",
|
|
271
|
+
DIRECTORY_ACCESS_DENIED: "DIRECTORY_ACCESS_DENIED",
|
|
272
|
+
INSUFFICIENT_FREE_ADDRESSES: "INSUFFICIENT_FREE_ADDRESSES",
|
|
273
|
+
INTERNAL_FAILURE: "INTERNAL_FAILURE",
|
|
274
|
+
INVALID_SUBNET_IP_PROTOCOL: "INVALID_SUBNET_IP_PROTOCOL",
|
|
275
|
+
PRIVATECA_ACCESS_DENIED: "PRIVATECA_ACCESS_DENIED",
|
|
276
|
+
PRIVATECA_RESOURCE_NOT_FOUND: "PRIVATECA_RESOURCE_NOT_FOUND",
|
|
277
|
+
SECURITY_GROUP_NOT_IN_VPC: "SECURITY_GROUP_NOT_IN_VPC",
|
|
278
|
+
VPC_ACCESS_DENIED: "VPC_ACCESS_DENIED",
|
|
279
|
+
VPC_ENDPOINT_LIMIT_EXCEEDED: "VPC_ENDPOINT_LIMIT_EXCEEDED",
|
|
280
|
+
VPC_RESOURCE_NOT_FOUND: "VPC_RESOURCE_NOT_FOUND",
|
|
1680
281
|
};
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
var DeleteConnectorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1687
|
-
return [
|
|
1688
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1689
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1690
|
-
];
|
|
1691
|
-
}).s("PcaConnectorAd", "DeleteConnector", {}).n("PcaConnectorAdClient", "DeleteConnectorCommand").f(void 0, void 0).ser(se_DeleteConnectorCommand).de(de_DeleteConnectorCommand).build() {
|
|
1692
|
-
static {
|
|
1693
|
-
__name(this, "DeleteConnectorCommand");
|
|
1694
|
-
}
|
|
282
|
+
const IpAddressType = {
|
|
283
|
+
DUALSTACK: "DUALSTACK",
|
|
284
|
+
IPV4: "IPV4",
|
|
1695
285
|
};
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
})
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
286
|
+
class InternalServerException extends PcaConnectorAdServiceException {
|
|
287
|
+
name = "InternalServerException";
|
|
288
|
+
$fault = "server";
|
|
289
|
+
$retryable = {};
|
|
290
|
+
Message;
|
|
291
|
+
constructor(opts) {
|
|
292
|
+
super({
|
|
293
|
+
name: "InternalServerException",
|
|
294
|
+
$fault: "server",
|
|
295
|
+
...opts,
|
|
296
|
+
});
|
|
297
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
298
|
+
this.Message = opts.Message;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
class ResourceNotFoundException extends PcaConnectorAdServiceException {
|
|
302
|
+
name = "ResourceNotFoundException";
|
|
303
|
+
$fault = "client";
|
|
304
|
+
Message;
|
|
305
|
+
ResourceId;
|
|
306
|
+
ResourceType;
|
|
307
|
+
constructor(opts) {
|
|
308
|
+
super({
|
|
309
|
+
name: "ResourceNotFoundException",
|
|
310
|
+
$fault: "client",
|
|
311
|
+
...opts,
|
|
312
|
+
});
|
|
313
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
314
|
+
this.Message = opts.Message;
|
|
315
|
+
this.ResourceId = opts.ResourceId;
|
|
316
|
+
this.ResourceType = opts.ResourceType;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
class ServiceQuotaExceededException extends PcaConnectorAdServiceException {
|
|
320
|
+
name = "ServiceQuotaExceededException";
|
|
321
|
+
$fault = "client";
|
|
322
|
+
Message;
|
|
323
|
+
ResourceId;
|
|
324
|
+
ResourceType;
|
|
325
|
+
ServiceCode;
|
|
326
|
+
QuotaCode;
|
|
327
|
+
constructor(opts) {
|
|
328
|
+
super({
|
|
329
|
+
name: "ServiceQuotaExceededException",
|
|
330
|
+
$fault: "client",
|
|
331
|
+
...opts,
|
|
332
|
+
});
|
|
333
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
334
|
+
this.Message = opts.Message;
|
|
335
|
+
this.ResourceId = opts.ResourceId;
|
|
336
|
+
this.ResourceType = opts.ResourceType;
|
|
337
|
+
this.ServiceCode = opts.ServiceCode;
|
|
338
|
+
this.QuotaCode = opts.QuotaCode;
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
class ThrottlingException extends PcaConnectorAdServiceException {
|
|
342
|
+
name = "ThrottlingException";
|
|
343
|
+
$fault = "client";
|
|
344
|
+
$retryable = {
|
|
345
|
+
throttling: true,
|
|
346
|
+
};
|
|
347
|
+
Message;
|
|
348
|
+
ServiceCode;
|
|
349
|
+
QuotaCode;
|
|
350
|
+
constructor(opts) {
|
|
351
|
+
super({
|
|
352
|
+
name: "ThrottlingException",
|
|
353
|
+
$fault: "client",
|
|
354
|
+
...opts,
|
|
355
|
+
});
|
|
356
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
357
|
+
this.Message = opts.Message;
|
|
358
|
+
this.ServiceCode = opts.ServiceCode;
|
|
359
|
+
this.QuotaCode = opts.QuotaCode;
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
const ValidationExceptionReason = {
|
|
363
|
+
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
364
|
+
INVALID_CA_SUBJECT: "INVALID_CA_SUBJECT",
|
|
365
|
+
INVALID_PERMISSION: "INVALID_PERMISSION",
|
|
366
|
+
INVALID_STATE: "INVALID_STATE",
|
|
367
|
+
MISMATCHED_CONNECTOR: "MISMATCHED_CONNECTOR",
|
|
368
|
+
MISMATCHED_VPC: "MISMATCHED_VPC",
|
|
369
|
+
NO_CLIENT_TOKEN: "NO_CLIENT_TOKEN",
|
|
370
|
+
OTHER: "OTHER",
|
|
371
|
+
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
1710
372
|
};
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
})
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
373
|
+
class ValidationException extends PcaConnectorAdServiceException {
|
|
374
|
+
name = "ValidationException";
|
|
375
|
+
$fault = "client";
|
|
376
|
+
Message;
|
|
377
|
+
Reason;
|
|
378
|
+
constructor(opts) {
|
|
379
|
+
super({
|
|
380
|
+
name: "ValidationException",
|
|
381
|
+
$fault: "client",
|
|
382
|
+
...opts,
|
|
383
|
+
});
|
|
384
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
385
|
+
this.Message = opts.Message;
|
|
386
|
+
this.Reason = opts.Reason;
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
const KeySpec = {
|
|
390
|
+
KEY_EXCHANGE: "KEY_EXCHANGE",
|
|
391
|
+
SIGNATURE: "SIGNATURE",
|
|
1725
392
|
};
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
var DeleteTemplateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1732
|
-
return [
|
|
1733
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1734
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1735
|
-
];
|
|
1736
|
-
}).s("PcaConnectorAd", "DeleteTemplate", {}).n("PcaConnectorAdClient", "DeleteTemplateCommand").f(void 0, void 0).ser(se_DeleteTemplateCommand).de(de_DeleteTemplateCommand).build() {
|
|
1737
|
-
static {
|
|
1738
|
-
__name(this, "DeleteTemplateCommand");
|
|
1739
|
-
}
|
|
393
|
+
const HashAlgorithm = {
|
|
394
|
+
SHA256: "SHA256",
|
|
395
|
+
SHA384: "SHA384",
|
|
396
|
+
SHA512: "SHA512",
|
|
1740
397
|
};
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
var DeleteTemplateGroupAccessControlEntryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1747
|
-
return [
|
|
1748
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1749
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1750
|
-
];
|
|
1751
|
-
}).s("PcaConnectorAd", "DeleteTemplateGroupAccessControlEntry", {}).n("PcaConnectorAdClient", "DeleteTemplateGroupAccessControlEntryCommand").f(void 0, void 0).ser(se_DeleteTemplateGroupAccessControlEntryCommand).de(de_DeleteTemplateGroupAccessControlEntryCommand).build() {
|
|
1752
|
-
static {
|
|
1753
|
-
__name(this, "DeleteTemplateGroupAccessControlEntryCommand");
|
|
1754
|
-
}
|
|
398
|
+
const PrivateKeyAlgorithm = {
|
|
399
|
+
ECDH_P256: "ECDH_P256",
|
|
400
|
+
ECDH_P384: "ECDH_P384",
|
|
401
|
+
ECDH_P521: "ECDH_P521",
|
|
402
|
+
RSA: "RSA",
|
|
1755
403
|
};
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
var GetConnectorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1762
|
-
return [
|
|
1763
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1764
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1765
|
-
];
|
|
1766
|
-
}).s("PcaConnectorAd", "GetConnector", {}).n("PcaConnectorAdClient", "GetConnectorCommand").f(void 0, void 0).ser(se_GetConnectorCommand).de(de_GetConnectorCommand).build() {
|
|
1767
|
-
static {
|
|
1768
|
-
__name(this, "GetConnectorCommand");
|
|
1769
|
-
}
|
|
404
|
+
const KeyUsagePropertyType = {
|
|
405
|
+
ALL: "ALL",
|
|
1770
406
|
};
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
407
|
+
exports.KeyUsageProperty = void 0;
|
|
408
|
+
(function (KeyUsageProperty) {
|
|
409
|
+
KeyUsageProperty.visit = (value, visitor) => {
|
|
410
|
+
if (value.PropertyType !== undefined)
|
|
411
|
+
return visitor.PropertyType(value.PropertyType);
|
|
412
|
+
if (value.PropertyFlags !== undefined)
|
|
413
|
+
return visitor.PropertyFlags(value.PropertyFlags);
|
|
414
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
415
|
+
};
|
|
416
|
+
})(exports.KeyUsageProperty || (exports.KeyUsageProperty = {}));
|
|
417
|
+
exports.TemplateDefinition = void 0;
|
|
418
|
+
(function (TemplateDefinition) {
|
|
419
|
+
TemplateDefinition.visit = (value, visitor) => {
|
|
420
|
+
if (value.TemplateV2 !== undefined)
|
|
421
|
+
return visitor.TemplateV2(value.TemplateV2);
|
|
422
|
+
if (value.TemplateV3 !== undefined)
|
|
423
|
+
return visitor.TemplateV3(value.TemplateV3);
|
|
424
|
+
if (value.TemplateV4 !== undefined)
|
|
425
|
+
return visitor.TemplateV4(value.TemplateV4);
|
|
426
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
427
|
+
};
|
|
428
|
+
})(exports.TemplateDefinition || (exports.TemplateDefinition = {}));
|
|
429
|
+
const DirectoryRegistrationStatus = {
|
|
430
|
+
ACTIVE: "ACTIVE",
|
|
431
|
+
CREATING: "CREATING",
|
|
432
|
+
DELETING: "DELETING",
|
|
433
|
+
FAILED: "FAILED",
|
|
1785
434
|
};
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1794
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1795
|
-
];
|
|
1796
|
-
}).s("PcaConnectorAd", "GetServicePrincipalName", {}).n("PcaConnectorAdClient", "GetServicePrincipalNameCommand").f(void 0, void 0).ser(se_GetServicePrincipalNameCommand).de(de_GetServicePrincipalNameCommand).build() {
|
|
1797
|
-
static {
|
|
1798
|
-
__name(this, "GetServicePrincipalNameCommand");
|
|
1799
|
-
}
|
|
435
|
+
const DirectoryRegistrationStatusReason = {
|
|
436
|
+
DIRECTORY_ACCESS_DENIED: "DIRECTORY_ACCESS_DENIED",
|
|
437
|
+
DIRECTORY_NOT_ACTIVE: "DIRECTORY_NOT_ACTIVE",
|
|
438
|
+
DIRECTORY_NOT_REACHABLE: "DIRECTORY_NOT_REACHABLE",
|
|
439
|
+
DIRECTORY_RESOURCE_NOT_FOUND: "DIRECTORY_RESOURCE_NOT_FOUND",
|
|
440
|
+
DIRECTORY_TYPE_NOT_SUPPORTED: "DIRECTORY_TYPE_NOT_SUPPORTED",
|
|
441
|
+
INTERNAL_FAILURE: "INTERNAL_FAILURE",
|
|
1800
442
|
};
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
var GetTemplateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1807
|
-
return [
|
|
1808
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1809
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1810
|
-
];
|
|
1811
|
-
}).s("PcaConnectorAd", "GetTemplate", {}).n("PcaConnectorAdClient", "GetTemplateCommand").f(void 0, void 0).ser(se_GetTemplateCommand).de(de_GetTemplateCommand).build() {
|
|
1812
|
-
static {
|
|
1813
|
-
__name(this, "GetTemplateCommand");
|
|
1814
|
-
}
|
|
443
|
+
const ServicePrincipalNameStatus = {
|
|
444
|
+
ACTIVE: "ACTIVE",
|
|
445
|
+
CREATING: "CREATING",
|
|
446
|
+
DELETING: "DELETING",
|
|
447
|
+
FAILED: "FAILED",
|
|
1815
448
|
};
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1824
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1825
|
-
];
|
|
1826
|
-
}).s("PcaConnectorAd", "GetTemplateGroupAccessControlEntry", {}).n("PcaConnectorAdClient", "GetTemplateGroupAccessControlEntryCommand").f(void 0, void 0).ser(se_GetTemplateGroupAccessControlEntryCommand).de(de_GetTemplateGroupAccessControlEntryCommand).build() {
|
|
1827
|
-
static {
|
|
1828
|
-
__name(this, "GetTemplateGroupAccessControlEntryCommand");
|
|
1829
|
-
}
|
|
449
|
+
const ServicePrincipalNameStatusReason = {
|
|
450
|
+
DIRECTORY_ACCESS_DENIED: "DIRECTORY_ACCESS_DENIED",
|
|
451
|
+
DIRECTORY_NOT_REACHABLE: "DIRECTORY_NOT_REACHABLE",
|
|
452
|
+
DIRECTORY_RESOURCE_NOT_FOUND: "DIRECTORY_RESOURCE_NOT_FOUND",
|
|
453
|
+
INTERNAL_FAILURE: "INTERNAL_FAILURE",
|
|
454
|
+
SPN_EXISTS_ON_DIFFERENT_AD_OBJECT: "SPN_EXISTS_ON_DIFFERENT_AD_OBJECT",
|
|
455
|
+
SPN_LIMIT_EXCEEDED: "SPN_LIMIT_EXCEEDED",
|
|
1830
456
|
};
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
var ListConnectorsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1837
|
-
return [
|
|
1838
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1839
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1840
|
-
];
|
|
1841
|
-
}).s("PcaConnectorAd", "ListConnectors", {}).n("PcaConnectorAdClient", "ListConnectorsCommand").f(void 0, void 0).ser(se_ListConnectorsCommand).de(de_ListConnectorsCommand).build() {
|
|
1842
|
-
static {
|
|
1843
|
-
__name(this, "ListConnectorsCommand");
|
|
1844
|
-
}
|
|
457
|
+
const TemplateStatus = {
|
|
458
|
+
ACTIVE: "ACTIVE",
|
|
459
|
+
DELETING: "DELETING",
|
|
1845
460
|
};
|
|
1846
461
|
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
462
|
+
const se_CreateConnectorCommand = async (input, context) => {
|
|
463
|
+
const b = core.requestBuilder(input, context);
|
|
464
|
+
const headers = {
|
|
465
|
+
"content-type": "application/json",
|
|
466
|
+
};
|
|
467
|
+
b.bp("/connectors");
|
|
468
|
+
let body;
|
|
469
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
470
|
+
CertificateAuthorityArn: [],
|
|
471
|
+
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
472
|
+
DirectoryId: [],
|
|
473
|
+
Tags: (_) => smithyClient._json(_),
|
|
474
|
+
VpcInformation: (_) => smithyClient._json(_),
|
|
475
|
+
}));
|
|
476
|
+
b.m("POST").h(headers).b(body);
|
|
477
|
+
return b.build();
|
|
1860
478
|
};
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
479
|
+
const se_CreateDirectoryRegistrationCommand = async (input, context) => {
|
|
480
|
+
const b = core.requestBuilder(input, context);
|
|
481
|
+
const headers = {
|
|
482
|
+
"content-type": "application/json",
|
|
483
|
+
};
|
|
484
|
+
b.bp("/directoryRegistrations");
|
|
485
|
+
let body;
|
|
486
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
487
|
+
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
488
|
+
DirectoryId: [],
|
|
489
|
+
Tags: (_) => smithyClient._json(_),
|
|
490
|
+
}));
|
|
491
|
+
b.m("POST").h(headers).b(body);
|
|
492
|
+
return b.build();
|
|
1875
493
|
};
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
(
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
494
|
+
const se_CreateServicePrincipalNameCommand = async (input, context) => {
|
|
495
|
+
const b = core.requestBuilder(input, context);
|
|
496
|
+
const headers = {
|
|
497
|
+
"content-type": "application/json",
|
|
498
|
+
};
|
|
499
|
+
b.bp("/directoryRegistrations/{DirectoryRegistrationArn}/servicePrincipalNames/{ConnectorArn}");
|
|
500
|
+
b.p("DirectoryRegistrationArn", () => input.DirectoryRegistrationArn, "{DirectoryRegistrationArn}", false);
|
|
501
|
+
b.p("ConnectorArn", () => input.ConnectorArn, "{ConnectorArn}", false);
|
|
502
|
+
let body;
|
|
503
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
504
|
+
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
505
|
+
}));
|
|
506
|
+
b.m("POST").h(headers).b(body);
|
|
507
|
+
return b.build();
|
|
1890
508
|
};
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
509
|
+
const se_CreateTemplateCommand = async (input, context) => {
|
|
510
|
+
const b = core.requestBuilder(input, context);
|
|
511
|
+
const headers = {
|
|
512
|
+
"content-type": "application/json",
|
|
513
|
+
};
|
|
514
|
+
b.bp("/templates");
|
|
515
|
+
let body;
|
|
516
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
517
|
+
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
518
|
+
ConnectorArn: [],
|
|
519
|
+
Definition: (_) => smithyClient._json(_),
|
|
520
|
+
Name: [],
|
|
521
|
+
Tags: (_) => smithyClient._json(_),
|
|
522
|
+
}));
|
|
523
|
+
b.m("POST").h(headers).b(body);
|
|
524
|
+
return b.build();
|
|
1905
525
|
};
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
526
|
+
const se_CreateTemplateGroupAccessControlEntryCommand = async (input, context) => {
|
|
527
|
+
const b = core.requestBuilder(input, context);
|
|
528
|
+
const headers = {
|
|
529
|
+
"content-type": "application/json",
|
|
530
|
+
};
|
|
531
|
+
b.bp("/templates/{TemplateArn}/accessControlEntries");
|
|
532
|
+
b.p("TemplateArn", () => input.TemplateArn, "{TemplateArn}", false);
|
|
533
|
+
let body;
|
|
534
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
535
|
+
AccessRights: (_) => smithyClient._json(_),
|
|
536
|
+
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
537
|
+
GroupDisplayName: [],
|
|
538
|
+
GroupSecurityIdentifier: [],
|
|
539
|
+
}));
|
|
540
|
+
b.m("POST").h(headers).b(body);
|
|
541
|
+
return b.build();
|
|
1920
542
|
};
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1930
|
-
];
|
|
1931
|
-
}).s("PcaConnectorAd", "TagResource", {}).n("PcaConnectorAdClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
1932
|
-
static {
|
|
1933
|
-
__name(this, "TagResourceCommand");
|
|
1934
|
-
}
|
|
543
|
+
const se_DeleteConnectorCommand = async (input, context) => {
|
|
544
|
+
const b = core.requestBuilder(input, context);
|
|
545
|
+
const headers = {};
|
|
546
|
+
b.bp("/connectors/{ConnectorArn}");
|
|
547
|
+
b.p("ConnectorArn", () => input.ConnectorArn, "{ConnectorArn}", false);
|
|
548
|
+
let body;
|
|
549
|
+
b.m("DELETE").h(headers).b(body);
|
|
550
|
+
return b.build();
|
|
1935
551
|
};
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1945
|
-
];
|
|
1946
|
-
}).s("PcaConnectorAd", "UntagResource", {}).n("PcaConnectorAdClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
1947
|
-
static {
|
|
1948
|
-
__name(this, "UntagResourceCommand");
|
|
1949
|
-
}
|
|
552
|
+
const se_DeleteDirectoryRegistrationCommand = async (input, context) => {
|
|
553
|
+
const b = core.requestBuilder(input, context);
|
|
554
|
+
const headers = {};
|
|
555
|
+
b.bp("/directoryRegistrations/{DirectoryRegistrationArn}");
|
|
556
|
+
b.p("DirectoryRegistrationArn", () => input.DirectoryRegistrationArn, "{DirectoryRegistrationArn}", false);
|
|
557
|
+
let body;
|
|
558
|
+
b.m("DELETE").h(headers).b(body);
|
|
559
|
+
return b.build();
|
|
1950
560
|
};
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
(
|
|
1959
|
-
|
|
1960
|
-
];
|
|
1961
|
-
}).s("PcaConnectorAd", "UpdateTemplate", {}).n("PcaConnectorAdClient", "UpdateTemplateCommand").f(void 0, void 0).ser(se_UpdateTemplateCommand).de(de_UpdateTemplateCommand).build() {
|
|
1962
|
-
static {
|
|
1963
|
-
__name(this, "UpdateTemplateCommand");
|
|
1964
|
-
}
|
|
561
|
+
const se_DeleteServicePrincipalNameCommand = async (input, context) => {
|
|
562
|
+
const b = core.requestBuilder(input, context);
|
|
563
|
+
const headers = {};
|
|
564
|
+
b.bp("/directoryRegistrations/{DirectoryRegistrationArn}/servicePrincipalNames/{ConnectorArn}");
|
|
565
|
+
b.p("DirectoryRegistrationArn", () => input.DirectoryRegistrationArn, "{DirectoryRegistrationArn}", false);
|
|
566
|
+
b.p("ConnectorArn", () => input.ConnectorArn, "{ConnectorArn}", false);
|
|
567
|
+
let body;
|
|
568
|
+
b.m("DELETE").h(headers).b(body);
|
|
569
|
+
return b.build();
|
|
1965
570
|
};
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1975
|
-
];
|
|
1976
|
-
}).s("PcaConnectorAd", "UpdateTemplateGroupAccessControlEntry", {}).n("PcaConnectorAdClient", "UpdateTemplateGroupAccessControlEntryCommand").f(void 0, void 0).ser(se_UpdateTemplateGroupAccessControlEntryCommand).de(de_UpdateTemplateGroupAccessControlEntryCommand).build() {
|
|
1977
|
-
static {
|
|
1978
|
-
__name(this, "UpdateTemplateGroupAccessControlEntryCommand");
|
|
1979
|
-
}
|
|
571
|
+
const se_DeleteTemplateCommand = async (input, context) => {
|
|
572
|
+
const b = core.requestBuilder(input, context);
|
|
573
|
+
const headers = {};
|
|
574
|
+
b.bp("/templates/{TemplateArn}");
|
|
575
|
+
b.p("TemplateArn", () => input.TemplateArn, "{TemplateArn}", false);
|
|
576
|
+
let body;
|
|
577
|
+
b.m("DELETE").h(headers).b(body);
|
|
578
|
+
return b.build();
|
|
1980
579
|
};
|
|
580
|
+
const se_DeleteTemplateGroupAccessControlEntryCommand = async (input, context) => {
|
|
581
|
+
const b = core.requestBuilder(input, context);
|
|
582
|
+
const headers = {};
|
|
583
|
+
b.bp("/templates/{TemplateArn}/accessControlEntries/{GroupSecurityIdentifier}");
|
|
584
|
+
b.p("TemplateArn", () => input.TemplateArn, "{TemplateArn}", false);
|
|
585
|
+
b.p("GroupSecurityIdentifier", () => input.GroupSecurityIdentifier, "{GroupSecurityIdentifier}", false);
|
|
586
|
+
let body;
|
|
587
|
+
b.m("DELETE").h(headers).b(body);
|
|
588
|
+
return b.build();
|
|
589
|
+
};
|
|
590
|
+
const se_GetConnectorCommand = async (input, context) => {
|
|
591
|
+
const b = core.requestBuilder(input, context);
|
|
592
|
+
const headers = {};
|
|
593
|
+
b.bp("/connectors/{ConnectorArn}");
|
|
594
|
+
b.p("ConnectorArn", () => input.ConnectorArn, "{ConnectorArn}", false);
|
|
595
|
+
let body;
|
|
596
|
+
b.m("GET").h(headers).b(body);
|
|
597
|
+
return b.build();
|
|
598
|
+
};
|
|
599
|
+
const se_GetDirectoryRegistrationCommand = async (input, context) => {
|
|
600
|
+
const b = core.requestBuilder(input, context);
|
|
601
|
+
const headers = {};
|
|
602
|
+
b.bp("/directoryRegistrations/{DirectoryRegistrationArn}");
|
|
603
|
+
b.p("DirectoryRegistrationArn", () => input.DirectoryRegistrationArn, "{DirectoryRegistrationArn}", false);
|
|
604
|
+
let body;
|
|
605
|
+
b.m("GET").h(headers).b(body);
|
|
606
|
+
return b.build();
|
|
607
|
+
};
|
|
608
|
+
const se_GetServicePrincipalNameCommand = async (input, context) => {
|
|
609
|
+
const b = core.requestBuilder(input, context);
|
|
610
|
+
const headers = {};
|
|
611
|
+
b.bp("/directoryRegistrations/{DirectoryRegistrationArn}/servicePrincipalNames/{ConnectorArn}");
|
|
612
|
+
b.p("DirectoryRegistrationArn", () => input.DirectoryRegistrationArn, "{DirectoryRegistrationArn}", false);
|
|
613
|
+
b.p("ConnectorArn", () => input.ConnectorArn, "{ConnectorArn}", false);
|
|
614
|
+
let body;
|
|
615
|
+
b.m("GET").h(headers).b(body);
|
|
616
|
+
return b.build();
|
|
617
|
+
};
|
|
618
|
+
const se_GetTemplateCommand = async (input, context) => {
|
|
619
|
+
const b = core.requestBuilder(input, context);
|
|
620
|
+
const headers = {};
|
|
621
|
+
b.bp("/templates/{TemplateArn}");
|
|
622
|
+
b.p("TemplateArn", () => input.TemplateArn, "{TemplateArn}", false);
|
|
623
|
+
let body;
|
|
624
|
+
b.m("GET").h(headers).b(body);
|
|
625
|
+
return b.build();
|
|
626
|
+
};
|
|
627
|
+
const se_GetTemplateGroupAccessControlEntryCommand = async (input, context) => {
|
|
628
|
+
const b = core.requestBuilder(input, context);
|
|
629
|
+
const headers = {};
|
|
630
|
+
b.bp("/templates/{TemplateArn}/accessControlEntries/{GroupSecurityIdentifier}");
|
|
631
|
+
b.p("TemplateArn", () => input.TemplateArn, "{TemplateArn}", false);
|
|
632
|
+
b.p("GroupSecurityIdentifier", () => input.GroupSecurityIdentifier, "{GroupSecurityIdentifier}", false);
|
|
633
|
+
let body;
|
|
634
|
+
b.m("GET").h(headers).b(body);
|
|
635
|
+
return b.build();
|
|
636
|
+
};
|
|
637
|
+
const se_ListConnectorsCommand = async (input, context) => {
|
|
638
|
+
const b = core.requestBuilder(input, context);
|
|
639
|
+
const headers = {};
|
|
640
|
+
b.bp("/connectors");
|
|
641
|
+
const query = smithyClient.map({
|
|
642
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
643
|
+
[_NT]: [, input[_NT]],
|
|
644
|
+
});
|
|
645
|
+
let body;
|
|
646
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
647
|
+
return b.build();
|
|
648
|
+
};
|
|
649
|
+
const se_ListDirectoryRegistrationsCommand = async (input, context) => {
|
|
650
|
+
const b = core.requestBuilder(input, context);
|
|
651
|
+
const headers = {};
|
|
652
|
+
b.bp("/directoryRegistrations");
|
|
653
|
+
const query = smithyClient.map({
|
|
654
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
655
|
+
[_NT]: [, input[_NT]],
|
|
656
|
+
});
|
|
657
|
+
let body;
|
|
658
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
659
|
+
return b.build();
|
|
660
|
+
};
|
|
661
|
+
const se_ListServicePrincipalNamesCommand = async (input, context) => {
|
|
662
|
+
const b = core.requestBuilder(input, context);
|
|
663
|
+
const headers = {};
|
|
664
|
+
b.bp("/directoryRegistrations/{DirectoryRegistrationArn}/servicePrincipalNames");
|
|
665
|
+
b.p("DirectoryRegistrationArn", () => input.DirectoryRegistrationArn, "{DirectoryRegistrationArn}", false);
|
|
666
|
+
const query = smithyClient.map({
|
|
667
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
668
|
+
[_NT]: [, input[_NT]],
|
|
669
|
+
});
|
|
670
|
+
let body;
|
|
671
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
672
|
+
return b.build();
|
|
673
|
+
};
|
|
674
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
675
|
+
const b = core.requestBuilder(input, context);
|
|
676
|
+
const headers = {};
|
|
677
|
+
b.bp("/tags/{ResourceArn}");
|
|
678
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
679
|
+
let body;
|
|
680
|
+
b.m("GET").h(headers).b(body);
|
|
681
|
+
return b.build();
|
|
682
|
+
};
|
|
683
|
+
const se_ListTemplateGroupAccessControlEntriesCommand = async (input, context) => {
|
|
684
|
+
const b = core.requestBuilder(input, context);
|
|
685
|
+
const headers = {};
|
|
686
|
+
b.bp("/templates/{TemplateArn}/accessControlEntries");
|
|
687
|
+
b.p("TemplateArn", () => input.TemplateArn, "{TemplateArn}", false);
|
|
688
|
+
const query = smithyClient.map({
|
|
689
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
690
|
+
[_NT]: [, input[_NT]],
|
|
691
|
+
});
|
|
692
|
+
let body;
|
|
693
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
694
|
+
return b.build();
|
|
695
|
+
};
|
|
696
|
+
const se_ListTemplatesCommand = async (input, context) => {
|
|
697
|
+
const b = core.requestBuilder(input, context);
|
|
698
|
+
const headers = {};
|
|
699
|
+
b.bp("/templates");
|
|
700
|
+
const query = smithyClient.map({
|
|
701
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
702
|
+
[_NT]: [, input[_NT]],
|
|
703
|
+
[_CA]: [, smithyClient.expectNonNull(input[_CA], `ConnectorArn`)],
|
|
704
|
+
});
|
|
705
|
+
let body;
|
|
706
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
707
|
+
return b.build();
|
|
708
|
+
};
|
|
709
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
710
|
+
const b = core.requestBuilder(input, context);
|
|
711
|
+
const headers = {
|
|
712
|
+
"content-type": "application/json",
|
|
713
|
+
};
|
|
714
|
+
b.bp("/tags/{ResourceArn}");
|
|
715
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
716
|
+
let body;
|
|
717
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
718
|
+
Tags: (_) => smithyClient._json(_),
|
|
719
|
+
}));
|
|
720
|
+
b.m("POST").h(headers).b(body);
|
|
721
|
+
return b.build();
|
|
722
|
+
};
|
|
723
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
724
|
+
const b = core.requestBuilder(input, context);
|
|
725
|
+
const headers = {};
|
|
726
|
+
b.bp("/tags/{ResourceArn}");
|
|
727
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
728
|
+
const query = smithyClient.map({
|
|
729
|
+
[_tK]: [smithyClient.expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
|
|
730
|
+
});
|
|
731
|
+
let body;
|
|
732
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
733
|
+
return b.build();
|
|
734
|
+
};
|
|
735
|
+
const se_UpdateTemplateCommand = async (input, context) => {
|
|
736
|
+
const b = core.requestBuilder(input, context);
|
|
737
|
+
const headers = {
|
|
738
|
+
"content-type": "application/json",
|
|
739
|
+
};
|
|
740
|
+
b.bp("/templates/{TemplateArn}");
|
|
741
|
+
b.p("TemplateArn", () => input.TemplateArn, "{TemplateArn}", false);
|
|
742
|
+
let body;
|
|
743
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
744
|
+
Definition: (_) => smithyClient._json(_),
|
|
745
|
+
ReenrollAllCertificateHolders: [],
|
|
746
|
+
}));
|
|
747
|
+
b.m("PATCH").h(headers).b(body);
|
|
748
|
+
return b.build();
|
|
749
|
+
};
|
|
750
|
+
const se_UpdateTemplateGroupAccessControlEntryCommand = async (input, context) => {
|
|
751
|
+
const b = core.requestBuilder(input, context);
|
|
752
|
+
const headers = {
|
|
753
|
+
"content-type": "application/json",
|
|
754
|
+
};
|
|
755
|
+
b.bp("/templates/{TemplateArn}/accessControlEntries/{GroupSecurityIdentifier}");
|
|
756
|
+
b.p("TemplateArn", () => input.TemplateArn, "{TemplateArn}", false);
|
|
757
|
+
b.p("GroupSecurityIdentifier", () => input.GroupSecurityIdentifier, "{GroupSecurityIdentifier}", false);
|
|
758
|
+
let body;
|
|
759
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
760
|
+
AccessRights: (_) => smithyClient._json(_),
|
|
761
|
+
GroupDisplayName: [],
|
|
762
|
+
}));
|
|
763
|
+
b.m("PATCH").h(headers).b(body);
|
|
764
|
+
return b.build();
|
|
765
|
+
};
|
|
766
|
+
const de_CreateConnectorCommand = async (output, context) => {
|
|
767
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
768
|
+
return de_CommandError(output, context);
|
|
769
|
+
}
|
|
770
|
+
const contents = smithyClient.map({
|
|
771
|
+
$metadata: deserializeMetadata(output),
|
|
772
|
+
});
|
|
773
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
774
|
+
const doc = smithyClient.take(data, {
|
|
775
|
+
ConnectorArn: smithyClient.expectString,
|
|
776
|
+
});
|
|
777
|
+
Object.assign(contents, doc);
|
|
778
|
+
return contents;
|
|
779
|
+
};
|
|
780
|
+
const de_CreateDirectoryRegistrationCommand = async (output, context) => {
|
|
781
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
782
|
+
return de_CommandError(output, context);
|
|
783
|
+
}
|
|
784
|
+
const contents = smithyClient.map({
|
|
785
|
+
$metadata: deserializeMetadata(output),
|
|
786
|
+
});
|
|
787
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
788
|
+
const doc = smithyClient.take(data, {
|
|
789
|
+
DirectoryRegistrationArn: smithyClient.expectString,
|
|
790
|
+
});
|
|
791
|
+
Object.assign(contents, doc);
|
|
792
|
+
return contents;
|
|
793
|
+
};
|
|
794
|
+
const de_CreateServicePrincipalNameCommand = async (output, context) => {
|
|
795
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
796
|
+
return de_CommandError(output, context);
|
|
797
|
+
}
|
|
798
|
+
const contents = smithyClient.map({
|
|
799
|
+
$metadata: deserializeMetadata(output),
|
|
800
|
+
});
|
|
801
|
+
await smithyClient.collectBody(output.body, context);
|
|
802
|
+
return contents;
|
|
803
|
+
};
|
|
804
|
+
const de_CreateTemplateCommand = async (output, context) => {
|
|
805
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
806
|
+
return de_CommandError(output, context);
|
|
807
|
+
}
|
|
808
|
+
const contents = smithyClient.map({
|
|
809
|
+
$metadata: deserializeMetadata(output),
|
|
810
|
+
});
|
|
811
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
812
|
+
const doc = smithyClient.take(data, {
|
|
813
|
+
TemplateArn: smithyClient.expectString,
|
|
814
|
+
});
|
|
815
|
+
Object.assign(contents, doc);
|
|
816
|
+
return contents;
|
|
817
|
+
};
|
|
818
|
+
const de_CreateTemplateGroupAccessControlEntryCommand = async (output, context) => {
|
|
819
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
820
|
+
return de_CommandError(output, context);
|
|
821
|
+
}
|
|
822
|
+
const contents = smithyClient.map({
|
|
823
|
+
$metadata: deserializeMetadata(output),
|
|
824
|
+
});
|
|
825
|
+
await smithyClient.collectBody(output.body, context);
|
|
826
|
+
return contents;
|
|
827
|
+
};
|
|
828
|
+
const de_DeleteConnectorCommand = async (output, context) => {
|
|
829
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
830
|
+
return de_CommandError(output, context);
|
|
831
|
+
}
|
|
832
|
+
const contents = smithyClient.map({
|
|
833
|
+
$metadata: deserializeMetadata(output),
|
|
834
|
+
});
|
|
835
|
+
await smithyClient.collectBody(output.body, context);
|
|
836
|
+
return contents;
|
|
837
|
+
};
|
|
838
|
+
const de_DeleteDirectoryRegistrationCommand = async (output, context) => {
|
|
839
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
840
|
+
return de_CommandError(output, context);
|
|
841
|
+
}
|
|
842
|
+
const contents = smithyClient.map({
|
|
843
|
+
$metadata: deserializeMetadata(output),
|
|
844
|
+
});
|
|
845
|
+
await smithyClient.collectBody(output.body, context);
|
|
846
|
+
return contents;
|
|
847
|
+
};
|
|
848
|
+
const de_DeleteServicePrincipalNameCommand = async (output, context) => {
|
|
849
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
850
|
+
return de_CommandError(output, context);
|
|
851
|
+
}
|
|
852
|
+
const contents = smithyClient.map({
|
|
853
|
+
$metadata: deserializeMetadata(output),
|
|
854
|
+
});
|
|
855
|
+
await smithyClient.collectBody(output.body, context);
|
|
856
|
+
return contents;
|
|
857
|
+
};
|
|
858
|
+
const de_DeleteTemplateCommand = async (output, context) => {
|
|
859
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
860
|
+
return de_CommandError(output, context);
|
|
861
|
+
}
|
|
862
|
+
const contents = smithyClient.map({
|
|
863
|
+
$metadata: deserializeMetadata(output),
|
|
864
|
+
});
|
|
865
|
+
await smithyClient.collectBody(output.body, context);
|
|
866
|
+
return contents;
|
|
867
|
+
};
|
|
868
|
+
const de_DeleteTemplateGroupAccessControlEntryCommand = async (output, context) => {
|
|
869
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
870
|
+
return de_CommandError(output, context);
|
|
871
|
+
}
|
|
872
|
+
const contents = smithyClient.map({
|
|
873
|
+
$metadata: deserializeMetadata(output),
|
|
874
|
+
});
|
|
875
|
+
await smithyClient.collectBody(output.body, context);
|
|
876
|
+
return contents;
|
|
877
|
+
};
|
|
878
|
+
const de_GetConnectorCommand = async (output, context) => {
|
|
879
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
880
|
+
return de_CommandError(output, context);
|
|
881
|
+
}
|
|
882
|
+
const contents = smithyClient.map({
|
|
883
|
+
$metadata: deserializeMetadata(output),
|
|
884
|
+
});
|
|
885
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
886
|
+
const doc = smithyClient.take(data, {
|
|
887
|
+
Connector: (_) => de_Connector(_),
|
|
888
|
+
});
|
|
889
|
+
Object.assign(contents, doc);
|
|
890
|
+
return contents;
|
|
891
|
+
};
|
|
892
|
+
const de_GetDirectoryRegistrationCommand = async (output, context) => {
|
|
893
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
894
|
+
return de_CommandError(output, context);
|
|
895
|
+
}
|
|
896
|
+
const contents = smithyClient.map({
|
|
897
|
+
$metadata: deserializeMetadata(output),
|
|
898
|
+
});
|
|
899
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
900
|
+
const doc = smithyClient.take(data, {
|
|
901
|
+
DirectoryRegistration: (_) => de_DirectoryRegistration(_),
|
|
902
|
+
});
|
|
903
|
+
Object.assign(contents, doc);
|
|
904
|
+
return contents;
|
|
905
|
+
};
|
|
906
|
+
const de_GetServicePrincipalNameCommand = async (output, context) => {
|
|
907
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
908
|
+
return de_CommandError(output, context);
|
|
909
|
+
}
|
|
910
|
+
const contents = smithyClient.map({
|
|
911
|
+
$metadata: deserializeMetadata(output),
|
|
912
|
+
});
|
|
913
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
914
|
+
const doc = smithyClient.take(data, {
|
|
915
|
+
ServicePrincipalName: (_) => de_ServicePrincipalName(_),
|
|
916
|
+
});
|
|
917
|
+
Object.assign(contents, doc);
|
|
918
|
+
return contents;
|
|
919
|
+
};
|
|
920
|
+
const de_GetTemplateCommand = async (output, context) => {
|
|
921
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
922
|
+
return de_CommandError(output, context);
|
|
923
|
+
}
|
|
924
|
+
const contents = smithyClient.map({
|
|
925
|
+
$metadata: deserializeMetadata(output),
|
|
926
|
+
});
|
|
927
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
928
|
+
const doc = smithyClient.take(data, {
|
|
929
|
+
Template: (_) => de_Template(_),
|
|
930
|
+
});
|
|
931
|
+
Object.assign(contents, doc);
|
|
932
|
+
return contents;
|
|
933
|
+
};
|
|
934
|
+
const de_GetTemplateGroupAccessControlEntryCommand = async (output, context) => {
|
|
935
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
936
|
+
return de_CommandError(output, context);
|
|
937
|
+
}
|
|
938
|
+
const contents = smithyClient.map({
|
|
939
|
+
$metadata: deserializeMetadata(output),
|
|
940
|
+
});
|
|
941
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
942
|
+
const doc = smithyClient.take(data, {
|
|
943
|
+
AccessControlEntry: (_) => de_AccessControlEntry(_),
|
|
944
|
+
});
|
|
945
|
+
Object.assign(contents, doc);
|
|
946
|
+
return contents;
|
|
947
|
+
};
|
|
948
|
+
const de_ListConnectorsCommand = async (output, context) => {
|
|
949
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
950
|
+
return de_CommandError(output, context);
|
|
951
|
+
}
|
|
952
|
+
const contents = smithyClient.map({
|
|
953
|
+
$metadata: deserializeMetadata(output),
|
|
954
|
+
});
|
|
955
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
956
|
+
const doc = smithyClient.take(data, {
|
|
957
|
+
Connectors: (_) => de_ConnectorList(_),
|
|
958
|
+
NextToken: smithyClient.expectString,
|
|
959
|
+
});
|
|
960
|
+
Object.assign(contents, doc);
|
|
961
|
+
return contents;
|
|
962
|
+
};
|
|
963
|
+
const de_ListDirectoryRegistrationsCommand = async (output, context) => {
|
|
964
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
965
|
+
return de_CommandError(output, context);
|
|
966
|
+
}
|
|
967
|
+
const contents = smithyClient.map({
|
|
968
|
+
$metadata: deserializeMetadata(output),
|
|
969
|
+
});
|
|
970
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
971
|
+
const doc = smithyClient.take(data, {
|
|
972
|
+
DirectoryRegistrations: (_) => de_DirectoryRegistrationList(_),
|
|
973
|
+
NextToken: smithyClient.expectString,
|
|
974
|
+
});
|
|
975
|
+
Object.assign(contents, doc);
|
|
976
|
+
return contents;
|
|
977
|
+
};
|
|
978
|
+
const de_ListServicePrincipalNamesCommand = 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
|
+
NextToken: smithyClient.expectString,
|
|
988
|
+
ServicePrincipalNames: (_) => de_ServicePrincipalNameList(_),
|
|
989
|
+
});
|
|
990
|
+
Object.assign(contents, doc);
|
|
991
|
+
return contents;
|
|
992
|
+
};
|
|
993
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
994
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
995
|
+
return de_CommandError(output, context);
|
|
996
|
+
}
|
|
997
|
+
const contents = smithyClient.map({
|
|
998
|
+
$metadata: deserializeMetadata(output),
|
|
999
|
+
});
|
|
1000
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1001
|
+
const doc = smithyClient.take(data, {
|
|
1002
|
+
Tags: smithyClient._json,
|
|
1003
|
+
});
|
|
1004
|
+
Object.assign(contents, doc);
|
|
1005
|
+
return contents;
|
|
1006
|
+
};
|
|
1007
|
+
const de_ListTemplateGroupAccessControlEntriesCommand = async (output, context) => {
|
|
1008
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1009
|
+
return de_CommandError(output, context);
|
|
1010
|
+
}
|
|
1011
|
+
const contents = smithyClient.map({
|
|
1012
|
+
$metadata: deserializeMetadata(output),
|
|
1013
|
+
});
|
|
1014
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1015
|
+
const doc = smithyClient.take(data, {
|
|
1016
|
+
AccessControlEntries: (_) => de_AccessControlEntryList(_),
|
|
1017
|
+
NextToken: smithyClient.expectString,
|
|
1018
|
+
});
|
|
1019
|
+
Object.assign(contents, doc);
|
|
1020
|
+
return contents;
|
|
1021
|
+
};
|
|
1022
|
+
const de_ListTemplatesCommand = async (output, context) => {
|
|
1023
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1024
|
+
return de_CommandError(output, context);
|
|
1025
|
+
}
|
|
1026
|
+
const contents = smithyClient.map({
|
|
1027
|
+
$metadata: deserializeMetadata(output),
|
|
1028
|
+
});
|
|
1029
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1030
|
+
const doc = smithyClient.take(data, {
|
|
1031
|
+
NextToken: smithyClient.expectString,
|
|
1032
|
+
Templates: (_) => de_TemplateList(_),
|
|
1033
|
+
});
|
|
1034
|
+
Object.assign(contents, doc);
|
|
1035
|
+
return contents;
|
|
1036
|
+
};
|
|
1037
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
1038
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1039
|
+
return de_CommandError(output, context);
|
|
1040
|
+
}
|
|
1041
|
+
const contents = smithyClient.map({
|
|
1042
|
+
$metadata: deserializeMetadata(output),
|
|
1043
|
+
});
|
|
1044
|
+
await smithyClient.collectBody(output.body, context);
|
|
1045
|
+
return contents;
|
|
1046
|
+
};
|
|
1047
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
1048
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1049
|
+
return de_CommandError(output, context);
|
|
1050
|
+
}
|
|
1051
|
+
const contents = smithyClient.map({
|
|
1052
|
+
$metadata: deserializeMetadata(output),
|
|
1053
|
+
});
|
|
1054
|
+
await smithyClient.collectBody(output.body, context);
|
|
1055
|
+
return contents;
|
|
1056
|
+
};
|
|
1057
|
+
const de_UpdateTemplateCommand = async (output, context) => {
|
|
1058
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1059
|
+
return de_CommandError(output, context);
|
|
1060
|
+
}
|
|
1061
|
+
const contents = smithyClient.map({
|
|
1062
|
+
$metadata: deserializeMetadata(output),
|
|
1063
|
+
});
|
|
1064
|
+
await smithyClient.collectBody(output.body, context);
|
|
1065
|
+
return contents;
|
|
1066
|
+
};
|
|
1067
|
+
const de_UpdateTemplateGroupAccessControlEntryCommand = async (output, context) => {
|
|
1068
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1069
|
+
return de_CommandError(output, context);
|
|
1070
|
+
}
|
|
1071
|
+
const contents = smithyClient.map({
|
|
1072
|
+
$metadata: deserializeMetadata(output),
|
|
1073
|
+
});
|
|
1074
|
+
await smithyClient.collectBody(output.body, context);
|
|
1075
|
+
return contents;
|
|
1076
|
+
};
|
|
1077
|
+
const de_CommandError = async (output, context) => {
|
|
1078
|
+
const parsedOutput = {
|
|
1079
|
+
...output,
|
|
1080
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
1081
|
+
};
|
|
1082
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1083
|
+
switch (errorCode) {
|
|
1084
|
+
case "AccessDeniedException":
|
|
1085
|
+
case "com.amazonaws.pcaconnectorad#AccessDeniedException":
|
|
1086
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
1087
|
+
case "ConflictException":
|
|
1088
|
+
case "com.amazonaws.pcaconnectorad#ConflictException":
|
|
1089
|
+
throw await de_ConflictExceptionRes(parsedOutput);
|
|
1090
|
+
case "InternalServerException":
|
|
1091
|
+
case "com.amazonaws.pcaconnectorad#InternalServerException":
|
|
1092
|
+
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
1093
|
+
case "ResourceNotFoundException":
|
|
1094
|
+
case "com.amazonaws.pcaconnectorad#ResourceNotFoundException":
|
|
1095
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
1096
|
+
case "ServiceQuotaExceededException":
|
|
1097
|
+
case "com.amazonaws.pcaconnectorad#ServiceQuotaExceededException":
|
|
1098
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
1099
|
+
case "ThrottlingException":
|
|
1100
|
+
case "com.amazonaws.pcaconnectorad#ThrottlingException":
|
|
1101
|
+
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
1102
|
+
case "ValidationException":
|
|
1103
|
+
case "com.amazonaws.pcaconnectorad#ValidationException":
|
|
1104
|
+
throw await de_ValidationExceptionRes(parsedOutput);
|
|
1105
|
+
default:
|
|
1106
|
+
const parsedBody = parsedOutput.body;
|
|
1107
|
+
return throwDefaultError({
|
|
1108
|
+
output,
|
|
1109
|
+
parsedBody,
|
|
1110
|
+
errorCode,
|
|
1111
|
+
});
|
|
1112
|
+
}
|
|
1113
|
+
};
|
|
1114
|
+
const throwDefaultError = smithyClient.withBaseException(PcaConnectorAdServiceException);
|
|
1115
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1116
|
+
const contents = smithyClient.map({});
|
|
1117
|
+
const data = parsedOutput.body;
|
|
1118
|
+
const doc = smithyClient.take(data, {
|
|
1119
|
+
Message: smithyClient.expectString,
|
|
1120
|
+
});
|
|
1121
|
+
Object.assign(contents, doc);
|
|
1122
|
+
const exception = new AccessDeniedException({
|
|
1123
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1124
|
+
...contents,
|
|
1125
|
+
});
|
|
1126
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1127
|
+
};
|
|
1128
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1129
|
+
const contents = smithyClient.map({});
|
|
1130
|
+
const data = parsedOutput.body;
|
|
1131
|
+
const doc = smithyClient.take(data, {
|
|
1132
|
+
Message: smithyClient.expectString,
|
|
1133
|
+
ResourceId: smithyClient.expectString,
|
|
1134
|
+
ResourceType: smithyClient.expectString,
|
|
1135
|
+
});
|
|
1136
|
+
Object.assign(contents, doc);
|
|
1137
|
+
const exception = new ConflictException({
|
|
1138
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1139
|
+
...contents,
|
|
1140
|
+
});
|
|
1141
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1142
|
+
};
|
|
1143
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1144
|
+
const contents = smithyClient.map({});
|
|
1145
|
+
const data = parsedOutput.body;
|
|
1146
|
+
const doc = smithyClient.take(data, {
|
|
1147
|
+
Message: smithyClient.expectString,
|
|
1148
|
+
});
|
|
1149
|
+
Object.assign(contents, doc);
|
|
1150
|
+
const exception = new InternalServerException({
|
|
1151
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1152
|
+
...contents,
|
|
1153
|
+
});
|
|
1154
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1155
|
+
};
|
|
1156
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1157
|
+
const contents = smithyClient.map({});
|
|
1158
|
+
const data = parsedOutput.body;
|
|
1159
|
+
const doc = smithyClient.take(data, {
|
|
1160
|
+
Message: smithyClient.expectString,
|
|
1161
|
+
ResourceId: smithyClient.expectString,
|
|
1162
|
+
ResourceType: smithyClient.expectString,
|
|
1163
|
+
});
|
|
1164
|
+
Object.assign(contents, doc);
|
|
1165
|
+
const exception = new ResourceNotFoundException({
|
|
1166
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1167
|
+
...contents,
|
|
1168
|
+
});
|
|
1169
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1170
|
+
};
|
|
1171
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1172
|
+
const contents = smithyClient.map({});
|
|
1173
|
+
const data = parsedOutput.body;
|
|
1174
|
+
const doc = smithyClient.take(data, {
|
|
1175
|
+
Message: smithyClient.expectString,
|
|
1176
|
+
QuotaCode: smithyClient.expectString,
|
|
1177
|
+
ResourceId: smithyClient.expectString,
|
|
1178
|
+
ResourceType: smithyClient.expectString,
|
|
1179
|
+
ServiceCode: smithyClient.expectString,
|
|
1180
|
+
});
|
|
1181
|
+
Object.assign(contents, doc);
|
|
1182
|
+
const exception = new ServiceQuotaExceededException({
|
|
1183
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1184
|
+
...contents,
|
|
1185
|
+
});
|
|
1186
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1187
|
+
};
|
|
1188
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1189
|
+
const contents = smithyClient.map({});
|
|
1190
|
+
const data = parsedOutput.body;
|
|
1191
|
+
const doc = smithyClient.take(data, {
|
|
1192
|
+
Message: smithyClient.expectString,
|
|
1193
|
+
QuotaCode: smithyClient.expectString,
|
|
1194
|
+
ServiceCode: smithyClient.expectString,
|
|
1195
|
+
});
|
|
1196
|
+
Object.assign(contents, doc);
|
|
1197
|
+
const exception = new ThrottlingException({
|
|
1198
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1199
|
+
...contents,
|
|
1200
|
+
});
|
|
1201
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1202
|
+
};
|
|
1203
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1204
|
+
const contents = smithyClient.map({});
|
|
1205
|
+
const data = parsedOutput.body;
|
|
1206
|
+
const doc = smithyClient.take(data, {
|
|
1207
|
+
Message: smithyClient.expectString,
|
|
1208
|
+
Reason: smithyClient.expectString,
|
|
1209
|
+
});
|
|
1210
|
+
Object.assign(contents, doc);
|
|
1211
|
+
const exception = new ValidationException({
|
|
1212
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1213
|
+
...contents,
|
|
1214
|
+
});
|
|
1215
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1216
|
+
};
|
|
1217
|
+
const de_AccessControlEntry = (output, context) => {
|
|
1218
|
+
return smithyClient.take(output, {
|
|
1219
|
+
AccessRights: smithyClient._json,
|
|
1220
|
+
CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1221
|
+
GroupDisplayName: smithyClient.expectString,
|
|
1222
|
+
GroupSecurityIdentifier: smithyClient.expectString,
|
|
1223
|
+
TemplateArn: smithyClient.expectString,
|
|
1224
|
+
UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1225
|
+
});
|
|
1226
|
+
};
|
|
1227
|
+
const de_AccessControlEntryList = (output, context) => {
|
|
1228
|
+
const retVal = (output || [])
|
|
1229
|
+
.filter((e) => e != null)
|
|
1230
|
+
.map((entry) => {
|
|
1231
|
+
return de_AccessControlEntrySummary(entry);
|
|
1232
|
+
});
|
|
1233
|
+
return retVal;
|
|
1234
|
+
};
|
|
1235
|
+
const de_AccessControlEntrySummary = (output, context) => {
|
|
1236
|
+
return smithyClient.take(output, {
|
|
1237
|
+
AccessRights: smithyClient._json,
|
|
1238
|
+
CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1239
|
+
GroupDisplayName: smithyClient.expectString,
|
|
1240
|
+
GroupSecurityIdentifier: smithyClient.expectString,
|
|
1241
|
+
TemplateArn: smithyClient.expectString,
|
|
1242
|
+
UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1243
|
+
});
|
|
1244
|
+
};
|
|
1245
|
+
const de_Connector = (output, context) => {
|
|
1246
|
+
return smithyClient.take(output, {
|
|
1247
|
+
Arn: smithyClient.expectString,
|
|
1248
|
+
CertificateAuthorityArn: smithyClient.expectString,
|
|
1249
|
+
CertificateEnrollmentPolicyServerEndpoint: smithyClient.expectString,
|
|
1250
|
+
CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1251
|
+
DirectoryId: smithyClient.expectString,
|
|
1252
|
+
Status: smithyClient.expectString,
|
|
1253
|
+
StatusReason: smithyClient.expectString,
|
|
1254
|
+
UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1255
|
+
VpcInformation: smithyClient._json,
|
|
1256
|
+
});
|
|
1257
|
+
};
|
|
1258
|
+
const de_ConnectorList = (output, context) => {
|
|
1259
|
+
const retVal = (output || [])
|
|
1260
|
+
.filter((e) => e != null)
|
|
1261
|
+
.map((entry) => {
|
|
1262
|
+
return de_ConnectorSummary(entry);
|
|
1263
|
+
});
|
|
1264
|
+
return retVal;
|
|
1265
|
+
};
|
|
1266
|
+
const de_ConnectorSummary = (output, context) => {
|
|
1267
|
+
return smithyClient.take(output, {
|
|
1268
|
+
Arn: smithyClient.expectString,
|
|
1269
|
+
CertificateAuthorityArn: smithyClient.expectString,
|
|
1270
|
+
CertificateEnrollmentPolicyServerEndpoint: smithyClient.expectString,
|
|
1271
|
+
CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1272
|
+
DirectoryId: smithyClient.expectString,
|
|
1273
|
+
Status: smithyClient.expectString,
|
|
1274
|
+
StatusReason: smithyClient.expectString,
|
|
1275
|
+
UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1276
|
+
VpcInformation: smithyClient._json,
|
|
1277
|
+
});
|
|
1278
|
+
};
|
|
1279
|
+
const de_DirectoryRegistration = (output, context) => {
|
|
1280
|
+
return smithyClient.take(output, {
|
|
1281
|
+
Arn: smithyClient.expectString,
|
|
1282
|
+
CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1283
|
+
DirectoryId: smithyClient.expectString,
|
|
1284
|
+
Status: smithyClient.expectString,
|
|
1285
|
+
StatusReason: smithyClient.expectString,
|
|
1286
|
+
UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1287
|
+
});
|
|
1288
|
+
};
|
|
1289
|
+
const de_DirectoryRegistrationList = (output, context) => {
|
|
1290
|
+
const retVal = (output || [])
|
|
1291
|
+
.filter((e) => e != null)
|
|
1292
|
+
.map((entry) => {
|
|
1293
|
+
return de_DirectoryRegistrationSummary(entry);
|
|
1294
|
+
});
|
|
1295
|
+
return retVal;
|
|
1296
|
+
};
|
|
1297
|
+
const de_DirectoryRegistrationSummary = (output, context) => {
|
|
1298
|
+
return smithyClient.take(output, {
|
|
1299
|
+
Arn: smithyClient.expectString,
|
|
1300
|
+
CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1301
|
+
DirectoryId: smithyClient.expectString,
|
|
1302
|
+
Status: smithyClient.expectString,
|
|
1303
|
+
StatusReason: smithyClient.expectString,
|
|
1304
|
+
UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1305
|
+
});
|
|
1306
|
+
};
|
|
1307
|
+
const de_ServicePrincipalName = (output, context) => {
|
|
1308
|
+
return smithyClient.take(output, {
|
|
1309
|
+
ConnectorArn: smithyClient.expectString,
|
|
1310
|
+
CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1311
|
+
DirectoryRegistrationArn: smithyClient.expectString,
|
|
1312
|
+
Status: smithyClient.expectString,
|
|
1313
|
+
StatusReason: smithyClient.expectString,
|
|
1314
|
+
UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1315
|
+
});
|
|
1316
|
+
};
|
|
1317
|
+
const de_ServicePrincipalNameList = (output, context) => {
|
|
1318
|
+
const retVal = (output || [])
|
|
1319
|
+
.filter((e) => e != null)
|
|
1320
|
+
.map((entry) => {
|
|
1321
|
+
return de_ServicePrincipalNameSummary(entry);
|
|
1322
|
+
});
|
|
1323
|
+
return retVal;
|
|
1324
|
+
};
|
|
1325
|
+
const de_ServicePrincipalNameSummary = (output, context) => {
|
|
1326
|
+
return smithyClient.take(output, {
|
|
1327
|
+
ConnectorArn: smithyClient.expectString,
|
|
1328
|
+
CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1329
|
+
DirectoryRegistrationArn: smithyClient.expectString,
|
|
1330
|
+
Status: smithyClient.expectString,
|
|
1331
|
+
StatusReason: smithyClient.expectString,
|
|
1332
|
+
UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1333
|
+
});
|
|
1334
|
+
};
|
|
1335
|
+
const de_Template = (output, context) => {
|
|
1336
|
+
return smithyClient.take(output, {
|
|
1337
|
+
Arn: smithyClient.expectString,
|
|
1338
|
+
ConnectorArn: smithyClient.expectString,
|
|
1339
|
+
CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1340
|
+
Definition: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
|
|
1341
|
+
Name: smithyClient.expectString,
|
|
1342
|
+
ObjectIdentifier: smithyClient.expectString,
|
|
1343
|
+
PolicySchema: smithyClient.expectInt32,
|
|
1344
|
+
Revision: smithyClient._json,
|
|
1345
|
+
Status: smithyClient.expectString,
|
|
1346
|
+
UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1347
|
+
});
|
|
1348
|
+
};
|
|
1349
|
+
const de_TemplateList = (output, context) => {
|
|
1350
|
+
const retVal = (output || [])
|
|
1351
|
+
.filter((e) => e != null)
|
|
1352
|
+
.map((entry) => {
|
|
1353
|
+
return de_TemplateSummary(entry);
|
|
1354
|
+
});
|
|
1355
|
+
return retVal;
|
|
1356
|
+
};
|
|
1357
|
+
const de_TemplateSummary = (output, context) => {
|
|
1358
|
+
return smithyClient.take(output, {
|
|
1359
|
+
Arn: smithyClient.expectString,
|
|
1360
|
+
ConnectorArn: smithyClient.expectString,
|
|
1361
|
+
CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1362
|
+
Definition: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
|
|
1363
|
+
Name: smithyClient.expectString,
|
|
1364
|
+
ObjectIdentifier: smithyClient.expectString,
|
|
1365
|
+
PolicySchema: smithyClient.expectInt32,
|
|
1366
|
+
Revision: smithyClient._json,
|
|
1367
|
+
Status: smithyClient.expectString,
|
|
1368
|
+
UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1369
|
+
});
|
|
1370
|
+
};
|
|
1371
|
+
const deserializeMetadata = (output) => ({
|
|
1372
|
+
httpStatusCode: output.statusCode,
|
|
1373
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1374
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1375
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
1376
|
+
});
|
|
1377
|
+
const _CA = "ConnectorArn";
|
|
1378
|
+
const _MR = "MaxResults";
|
|
1379
|
+
const _NT = "NextToken";
|
|
1380
|
+
const _TK = "TagKeys";
|
|
1381
|
+
const _tK = "tagKeys";
|
|
1382
|
+
|
|
1383
|
+
class CreateConnectorCommand 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("PcaConnectorAd", "CreateConnector", {})
|
|
1393
|
+
.n("PcaConnectorAdClient", "CreateConnectorCommand")
|
|
1394
|
+
.f(void 0, void 0)
|
|
1395
|
+
.ser(se_CreateConnectorCommand)
|
|
1396
|
+
.de(de_CreateConnectorCommand)
|
|
1397
|
+
.build() {
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
class CreateDirectoryRegistrationCommand 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("PcaConnectorAd", "CreateDirectoryRegistration", {})
|
|
1410
|
+
.n("PcaConnectorAdClient", "CreateDirectoryRegistrationCommand")
|
|
1411
|
+
.f(void 0, void 0)
|
|
1412
|
+
.ser(se_CreateDirectoryRegistrationCommand)
|
|
1413
|
+
.de(de_CreateDirectoryRegistrationCommand)
|
|
1414
|
+
.build() {
|
|
1415
|
+
}
|
|
1416
|
+
|
|
1417
|
+
class CreateServicePrincipalNameCommand 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("PcaConnectorAd", "CreateServicePrincipalName", {})
|
|
1427
|
+
.n("PcaConnectorAdClient", "CreateServicePrincipalNameCommand")
|
|
1428
|
+
.f(void 0, void 0)
|
|
1429
|
+
.ser(se_CreateServicePrincipalNameCommand)
|
|
1430
|
+
.de(de_CreateServicePrincipalNameCommand)
|
|
1431
|
+
.build() {
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1434
|
+
class CreateTemplateCommand 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("PcaConnectorAd", "CreateTemplate", {})
|
|
1444
|
+
.n("PcaConnectorAdClient", "CreateTemplateCommand")
|
|
1445
|
+
.f(void 0, void 0)
|
|
1446
|
+
.ser(se_CreateTemplateCommand)
|
|
1447
|
+
.de(de_CreateTemplateCommand)
|
|
1448
|
+
.build() {
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1451
|
+
class CreateTemplateGroupAccessControlEntryCommand 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("PcaConnectorAd", "CreateTemplateGroupAccessControlEntry", {})
|
|
1461
|
+
.n("PcaConnectorAdClient", "CreateTemplateGroupAccessControlEntryCommand")
|
|
1462
|
+
.f(void 0, void 0)
|
|
1463
|
+
.ser(se_CreateTemplateGroupAccessControlEntryCommand)
|
|
1464
|
+
.de(de_CreateTemplateGroupAccessControlEntryCommand)
|
|
1465
|
+
.build() {
|
|
1466
|
+
}
|
|
1467
|
+
|
|
1468
|
+
class DeleteConnectorCommand 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("PcaConnectorAd", "DeleteConnector", {})
|
|
1478
|
+
.n("PcaConnectorAdClient", "DeleteConnectorCommand")
|
|
1479
|
+
.f(void 0, void 0)
|
|
1480
|
+
.ser(se_DeleteConnectorCommand)
|
|
1481
|
+
.de(de_DeleteConnectorCommand)
|
|
1482
|
+
.build() {
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
class DeleteDirectoryRegistrationCommand 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("PcaConnectorAd", "DeleteDirectoryRegistration", {})
|
|
1495
|
+
.n("PcaConnectorAdClient", "DeleteDirectoryRegistrationCommand")
|
|
1496
|
+
.f(void 0, void 0)
|
|
1497
|
+
.ser(se_DeleteDirectoryRegistrationCommand)
|
|
1498
|
+
.de(de_DeleteDirectoryRegistrationCommand)
|
|
1499
|
+
.build() {
|
|
1500
|
+
}
|
|
1501
|
+
|
|
1502
|
+
class DeleteServicePrincipalNameCommand 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("PcaConnectorAd", "DeleteServicePrincipalName", {})
|
|
1512
|
+
.n("PcaConnectorAdClient", "DeleteServicePrincipalNameCommand")
|
|
1513
|
+
.f(void 0, void 0)
|
|
1514
|
+
.ser(se_DeleteServicePrincipalNameCommand)
|
|
1515
|
+
.de(de_DeleteServicePrincipalNameCommand)
|
|
1516
|
+
.build() {
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1519
|
+
class DeleteTemplateCommand 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("PcaConnectorAd", "DeleteTemplate", {})
|
|
1529
|
+
.n("PcaConnectorAdClient", "DeleteTemplateCommand")
|
|
1530
|
+
.f(void 0, void 0)
|
|
1531
|
+
.ser(se_DeleteTemplateCommand)
|
|
1532
|
+
.de(de_DeleteTemplateCommand)
|
|
1533
|
+
.build() {
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1536
|
+
class DeleteTemplateGroupAccessControlEntryCommand 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("PcaConnectorAd", "DeleteTemplateGroupAccessControlEntry", {})
|
|
1546
|
+
.n("PcaConnectorAdClient", "DeleteTemplateGroupAccessControlEntryCommand")
|
|
1547
|
+
.f(void 0, void 0)
|
|
1548
|
+
.ser(se_DeleteTemplateGroupAccessControlEntryCommand)
|
|
1549
|
+
.de(de_DeleteTemplateGroupAccessControlEntryCommand)
|
|
1550
|
+
.build() {
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
class GetConnectorCommand 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("PcaConnectorAd", "GetConnector", {})
|
|
1563
|
+
.n("PcaConnectorAdClient", "GetConnectorCommand")
|
|
1564
|
+
.f(void 0, void 0)
|
|
1565
|
+
.ser(se_GetConnectorCommand)
|
|
1566
|
+
.de(de_GetConnectorCommand)
|
|
1567
|
+
.build() {
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
class GetDirectoryRegistrationCommand 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("PcaConnectorAd", "GetDirectoryRegistration", {})
|
|
1580
|
+
.n("PcaConnectorAdClient", "GetDirectoryRegistrationCommand")
|
|
1581
|
+
.f(void 0, void 0)
|
|
1582
|
+
.ser(se_GetDirectoryRegistrationCommand)
|
|
1583
|
+
.de(de_GetDirectoryRegistrationCommand)
|
|
1584
|
+
.build() {
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1587
|
+
class GetServicePrincipalNameCommand 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("PcaConnectorAd", "GetServicePrincipalName", {})
|
|
1597
|
+
.n("PcaConnectorAdClient", "GetServicePrincipalNameCommand")
|
|
1598
|
+
.f(void 0, void 0)
|
|
1599
|
+
.ser(se_GetServicePrincipalNameCommand)
|
|
1600
|
+
.de(de_GetServicePrincipalNameCommand)
|
|
1601
|
+
.build() {
|
|
1602
|
+
}
|
|
1603
|
+
|
|
1604
|
+
class GetTemplateCommand 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("PcaConnectorAd", "GetTemplate", {})
|
|
1614
|
+
.n("PcaConnectorAdClient", "GetTemplateCommand")
|
|
1615
|
+
.f(void 0, void 0)
|
|
1616
|
+
.ser(se_GetTemplateCommand)
|
|
1617
|
+
.de(de_GetTemplateCommand)
|
|
1618
|
+
.build() {
|
|
1619
|
+
}
|
|
1620
|
+
|
|
1621
|
+
class GetTemplateGroupAccessControlEntryCommand 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("PcaConnectorAd", "GetTemplateGroupAccessControlEntry", {})
|
|
1631
|
+
.n("PcaConnectorAdClient", "GetTemplateGroupAccessControlEntryCommand")
|
|
1632
|
+
.f(void 0, void 0)
|
|
1633
|
+
.ser(se_GetTemplateGroupAccessControlEntryCommand)
|
|
1634
|
+
.de(de_GetTemplateGroupAccessControlEntryCommand)
|
|
1635
|
+
.build() {
|
|
1636
|
+
}
|
|
1637
|
+
|
|
1638
|
+
class ListConnectorsCommand 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("PcaConnectorAd", "ListConnectors", {})
|
|
1648
|
+
.n("PcaConnectorAdClient", "ListConnectorsCommand")
|
|
1649
|
+
.f(void 0, void 0)
|
|
1650
|
+
.ser(se_ListConnectorsCommand)
|
|
1651
|
+
.de(de_ListConnectorsCommand)
|
|
1652
|
+
.build() {
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1655
|
+
class ListDirectoryRegistrationsCommand 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("PcaConnectorAd", "ListDirectoryRegistrations", {})
|
|
1665
|
+
.n("PcaConnectorAdClient", "ListDirectoryRegistrationsCommand")
|
|
1666
|
+
.f(void 0, void 0)
|
|
1667
|
+
.ser(se_ListDirectoryRegistrationsCommand)
|
|
1668
|
+
.de(de_ListDirectoryRegistrationsCommand)
|
|
1669
|
+
.build() {
|
|
1670
|
+
}
|
|
1671
|
+
|
|
1672
|
+
class ListServicePrincipalNamesCommand 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("PcaConnectorAd", "ListServicePrincipalNames", {})
|
|
1682
|
+
.n("PcaConnectorAdClient", "ListServicePrincipalNamesCommand")
|
|
1683
|
+
.f(void 0, void 0)
|
|
1684
|
+
.ser(se_ListServicePrincipalNamesCommand)
|
|
1685
|
+
.de(de_ListServicePrincipalNamesCommand)
|
|
1686
|
+
.build() {
|
|
1687
|
+
}
|
|
1688
|
+
|
|
1689
|
+
class ListTagsForResourceCommand 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("PcaConnectorAd", "ListTagsForResource", {})
|
|
1699
|
+
.n("PcaConnectorAdClient", "ListTagsForResourceCommand")
|
|
1700
|
+
.f(void 0, void 0)
|
|
1701
|
+
.ser(se_ListTagsForResourceCommand)
|
|
1702
|
+
.de(de_ListTagsForResourceCommand)
|
|
1703
|
+
.build() {
|
|
1704
|
+
}
|
|
1705
|
+
|
|
1706
|
+
class ListTemplateGroupAccessControlEntriesCommand 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("PcaConnectorAd", "ListTemplateGroupAccessControlEntries", {})
|
|
1716
|
+
.n("PcaConnectorAdClient", "ListTemplateGroupAccessControlEntriesCommand")
|
|
1717
|
+
.f(void 0, void 0)
|
|
1718
|
+
.ser(se_ListTemplateGroupAccessControlEntriesCommand)
|
|
1719
|
+
.de(de_ListTemplateGroupAccessControlEntriesCommand)
|
|
1720
|
+
.build() {
|
|
1721
|
+
}
|
|
1722
|
+
|
|
1723
|
+
class ListTemplatesCommand 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("PcaConnectorAd", "ListTemplates", {})
|
|
1733
|
+
.n("PcaConnectorAdClient", "ListTemplatesCommand")
|
|
1734
|
+
.f(void 0, void 0)
|
|
1735
|
+
.ser(se_ListTemplatesCommand)
|
|
1736
|
+
.de(de_ListTemplatesCommand)
|
|
1737
|
+
.build() {
|
|
1738
|
+
}
|
|
1739
|
+
|
|
1740
|
+
class TagResourceCommand extends smithyClient.Command
|
|
1741
|
+
.classBuilder()
|
|
1742
|
+
.ep(commonParams)
|
|
1743
|
+
.m(function (Command, cs, config, o) {
|
|
1744
|
+
return [
|
|
1745
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1746
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1747
|
+
];
|
|
1748
|
+
})
|
|
1749
|
+
.s("PcaConnectorAd", "TagResource", {})
|
|
1750
|
+
.n("PcaConnectorAdClient", "TagResourceCommand")
|
|
1751
|
+
.f(void 0, void 0)
|
|
1752
|
+
.ser(se_TagResourceCommand)
|
|
1753
|
+
.de(de_TagResourceCommand)
|
|
1754
|
+
.build() {
|
|
1755
|
+
}
|
|
1756
|
+
|
|
1757
|
+
class UntagResourceCommand extends smithyClient.Command
|
|
1758
|
+
.classBuilder()
|
|
1759
|
+
.ep(commonParams)
|
|
1760
|
+
.m(function (Command, cs, config, o) {
|
|
1761
|
+
return [
|
|
1762
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1763
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1764
|
+
];
|
|
1765
|
+
})
|
|
1766
|
+
.s("PcaConnectorAd", "UntagResource", {})
|
|
1767
|
+
.n("PcaConnectorAdClient", "UntagResourceCommand")
|
|
1768
|
+
.f(void 0, void 0)
|
|
1769
|
+
.ser(se_UntagResourceCommand)
|
|
1770
|
+
.de(de_UntagResourceCommand)
|
|
1771
|
+
.build() {
|
|
1772
|
+
}
|
|
1773
|
+
|
|
1774
|
+
class UpdateTemplateCommand extends smithyClient.Command
|
|
1775
|
+
.classBuilder()
|
|
1776
|
+
.ep(commonParams)
|
|
1777
|
+
.m(function (Command, cs, config, o) {
|
|
1778
|
+
return [
|
|
1779
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1780
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1781
|
+
];
|
|
1782
|
+
})
|
|
1783
|
+
.s("PcaConnectorAd", "UpdateTemplate", {})
|
|
1784
|
+
.n("PcaConnectorAdClient", "UpdateTemplateCommand")
|
|
1785
|
+
.f(void 0, void 0)
|
|
1786
|
+
.ser(se_UpdateTemplateCommand)
|
|
1787
|
+
.de(de_UpdateTemplateCommand)
|
|
1788
|
+
.build() {
|
|
1789
|
+
}
|
|
1790
|
+
|
|
1791
|
+
class UpdateTemplateGroupAccessControlEntryCommand extends smithyClient.Command
|
|
1792
|
+
.classBuilder()
|
|
1793
|
+
.ep(commonParams)
|
|
1794
|
+
.m(function (Command, cs, config, o) {
|
|
1795
|
+
return [
|
|
1796
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1797
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1798
|
+
];
|
|
1799
|
+
})
|
|
1800
|
+
.s("PcaConnectorAd", "UpdateTemplateGroupAccessControlEntry", {})
|
|
1801
|
+
.n("PcaConnectorAdClient", "UpdateTemplateGroupAccessControlEntryCommand")
|
|
1802
|
+
.f(void 0, void 0)
|
|
1803
|
+
.ser(se_UpdateTemplateGroupAccessControlEntryCommand)
|
|
1804
|
+
.de(de_UpdateTemplateGroupAccessControlEntryCommand)
|
|
1805
|
+
.build() {
|
|
1806
|
+
}
|
|
1807
|
+
|
|
1808
|
+
const commands = {
|
|
1809
|
+
CreateConnectorCommand,
|
|
1810
|
+
CreateDirectoryRegistrationCommand,
|
|
1811
|
+
CreateServicePrincipalNameCommand,
|
|
1812
|
+
CreateTemplateCommand,
|
|
1813
|
+
CreateTemplateGroupAccessControlEntryCommand,
|
|
1814
|
+
DeleteConnectorCommand,
|
|
1815
|
+
DeleteDirectoryRegistrationCommand,
|
|
1816
|
+
DeleteServicePrincipalNameCommand,
|
|
1817
|
+
DeleteTemplateCommand,
|
|
1818
|
+
DeleteTemplateGroupAccessControlEntryCommand,
|
|
1819
|
+
GetConnectorCommand,
|
|
1820
|
+
GetDirectoryRegistrationCommand,
|
|
1821
|
+
GetServicePrincipalNameCommand,
|
|
1822
|
+
GetTemplateCommand,
|
|
1823
|
+
GetTemplateGroupAccessControlEntryCommand,
|
|
1824
|
+
ListConnectorsCommand,
|
|
1825
|
+
ListDirectoryRegistrationsCommand,
|
|
1826
|
+
ListServicePrincipalNamesCommand,
|
|
1827
|
+
ListTagsForResourceCommand,
|
|
1828
|
+
ListTemplateGroupAccessControlEntriesCommand,
|
|
1829
|
+
ListTemplatesCommand,
|
|
1830
|
+
TagResourceCommand,
|
|
1831
|
+
UntagResourceCommand,
|
|
1832
|
+
UpdateTemplateCommand,
|
|
1833
|
+
UpdateTemplateGroupAccessControlEntryCommand,
|
|
1834
|
+
};
|
|
1835
|
+
class PcaConnectorAd extends PcaConnectorAdClient {
|
|
1836
|
+
}
|
|
1837
|
+
smithyClient.createAggregatedClient(commands, PcaConnectorAd);
|
|
1981
1838
|
|
|
1982
|
-
|
|
1983
|
-
var commands = {
|
|
1984
|
-
CreateConnectorCommand,
|
|
1985
|
-
CreateDirectoryRegistrationCommand,
|
|
1986
|
-
CreateServicePrincipalNameCommand,
|
|
1987
|
-
CreateTemplateCommand,
|
|
1988
|
-
CreateTemplateGroupAccessControlEntryCommand,
|
|
1989
|
-
DeleteConnectorCommand,
|
|
1990
|
-
DeleteDirectoryRegistrationCommand,
|
|
1991
|
-
DeleteServicePrincipalNameCommand,
|
|
1992
|
-
DeleteTemplateCommand,
|
|
1993
|
-
DeleteTemplateGroupAccessControlEntryCommand,
|
|
1994
|
-
GetConnectorCommand,
|
|
1995
|
-
GetDirectoryRegistrationCommand,
|
|
1996
|
-
GetServicePrincipalNameCommand,
|
|
1997
|
-
GetTemplateCommand,
|
|
1998
|
-
GetTemplateGroupAccessControlEntryCommand,
|
|
1999
|
-
ListConnectorsCommand,
|
|
2000
|
-
ListDirectoryRegistrationsCommand,
|
|
2001
|
-
ListServicePrincipalNamesCommand,
|
|
2002
|
-
ListTagsForResourceCommand,
|
|
2003
|
-
ListTemplateGroupAccessControlEntriesCommand,
|
|
2004
|
-
ListTemplatesCommand,
|
|
2005
|
-
TagResourceCommand,
|
|
2006
|
-
UntagResourceCommand,
|
|
2007
|
-
UpdateTemplateCommand,
|
|
2008
|
-
UpdateTemplateGroupAccessControlEntryCommand
|
|
2009
|
-
};
|
|
2010
|
-
var PcaConnectorAd = class extends PcaConnectorAdClient {
|
|
2011
|
-
static {
|
|
2012
|
-
__name(this, "PcaConnectorAd");
|
|
2013
|
-
}
|
|
2014
|
-
};
|
|
2015
|
-
(0, import_smithy_client.createAggregatedClient)(commands, PcaConnectorAd);
|
|
2016
|
-
|
|
2017
|
-
// src/pagination/ListConnectorsPaginator.ts
|
|
2018
|
-
|
|
2019
|
-
var paginateListConnectors = (0, import_core.createPaginator)(PcaConnectorAdClient, ListConnectorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2020
|
-
|
|
2021
|
-
// src/pagination/ListDirectoryRegistrationsPaginator.ts
|
|
2022
|
-
|
|
2023
|
-
var paginateListDirectoryRegistrations = (0, import_core.createPaginator)(PcaConnectorAdClient, ListDirectoryRegistrationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2024
|
-
|
|
2025
|
-
// src/pagination/ListServicePrincipalNamesPaginator.ts
|
|
2026
|
-
|
|
2027
|
-
var paginateListServicePrincipalNames = (0, import_core.createPaginator)(PcaConnectorAdClient, ListServicePrincipalNamesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1839
|
+
const paginateListConnectors = core.createPaginator(PcaConnectorAdClient, ListConnectorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2028
1840
|
|
|
2029
|
-
|
|
1841
|
+
const paginateListDirectoryRegistrations = core.createPaginator(PcaConnectorAdClient, ListDirectoryRegistrationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2030
1842
|
|
|
2031
|
-
|
|
1843
|
+
const paginateListServicePrincipalNames = core.createPaginator(PcaConnectorAdClient, ListServicePrincipalNamesCommand, "NextToken", "NextToken", "MaxResults");
|
|
2032
1844
|
|
|
2033
|
-
|
|
1845
|
+
const paginateListTemplateGroupAccessControlEntries = core.createPaginator(PcaConnectorAdClient, ListTemplateGroupAccessControlEntriesCommand, "NextToken", "NextToken", "MaxResults");
|
|
2034
1846
|
|
|
2035
|
-
|
|
2036
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
1847
|
+
const paginateListTemplates = core.createPaginator(PcaConnectorAdClient, ListTemplatesCommand, "NextToken", "NextToken", "MaxResults");
|
|
2037
1848
|
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
PcaConnectorAdClient,
|
|
2042
|
-
PcaConnectorAd,
|
|
2043
|
-
$Command,
|
|
2044
|
-
CreateConnectorCommand,
|
|
2045
|
-
CreateDirectoryRegistrationCommand,
|
|
2046
|
-
CreateServicePrincipalNameCommand,
|
|
2047
|
-
CreateTemplateCommand,
|
|
2048
|
-
CreateTemplateGroupAccessControlEntryCommand,
|
|
2049
|
-
DeleteConnectorCommand,
|
|
2050
|
-
DeleteDirectoryRegistrationCommand,
|
|
2051
|
-
DeleteServicePrincipalNameCommand,
|
|
2052
|
-
DeleteTemplateCommand,
|
|
2053
|
-
DeleteTemplateGroupAccessControlEntryCommand,
|
|
2054
|
-
GetConnectorCommand,
|
|
2055
|
-
GetDirectoryRegistrationCommand,
|
|
2056
|
-
GetServicePrincipalNameCommand,
|
|
2057
|
-
GetTemplateCommand,
|
|
2058
|
-
GetTemplateGroupAccessControlEntryCommand,
|
|
2059
|
-
ListConnectorsCommand,
|
|
2060
|
-
ListDirectoryRegistrationsCommand,
|
|
2061
|
-
ListServicePrincipalNamesCommand,
|
|
2062
|
-
ListTagsForResourceCommand,
|
|
2063
|
-
ListTemplateGroupAccessControlEntriesCommand,
|
|
2064
|
-
ListTemplatesCommand,
|
|
2065
|
-
TagResourceCommand,
|
|
2066
|
-
UntagResourceCommand,
|
|
2067
|
-
UpdateTemplateCommand,
|
|
2068
|
-
UpdateTemplateGroupAccessControlEntryCommand,
|
|
2069
|
-
paginateListConnectors,
|
|
2070
|
-
paginateListDirectoryRegistrations,
|
|
2071
|
-
paginateListServicePrincipalNames,
|
|
2072
|
-
paginateListTemplateGroupAccessControlEntries,
|
|
2073
|
-
paginateListTemplates,
|
|
2074
|
-
AccessRight,
|
|
2075
|
-
AccessDeniedException,
|
|
2076
|
-
ApplicationPolicyType,
|
|
2077
|
-
ApplicationPolicy,
|
|
2078
|
-
ValidityPeriodType,
|
|
2079
|
-
ClientCompatibilityV2,
|
|
2080
|
-
ClientCompatibilityV3,
|
|
2081
|
-
ClientCompatibilityV4,
|
|
2082
|
-
ConflictException,
|
|
2083
|
-
ConnectorStatus,
|
|
2084
|
-
ConnectorStatusReason,
|
|
2085
|
-
IpAddressType,
|
|
2086
|
-
InternalServerException,
|
|
2087
|
-
ResourceNotFoundException,
|
|
2088
|
-
ServiceQuotaExceededException,
|
|
2089
|
-
ThrottlingException,
|
|
2090
|
-
ValidationExceptionReason,
|
|
2091
|
-
ValidationException,
|
|
2092
|
-
KeySpec,
|
|
2093
|
-
HashAlgorithm,
|
|
2094
|
-
PrivateKeyAlgorithm,
|
|
2095
|
-
KeyUsagePropertyType,
|
|
2096
|
-
KeyUsageProperty,
|
|
2097
|
-
TemplateDefinition,
|
|
2098
|
-
DirectoryRegistrationStatus,
|
|
2099
|
-
DirectoryRegistrationStatusReason,
|
|
2100
|
-
ServicePrincipalNameStatus,
|
|
2101
|
-
ServicePrincipalNameStatusReason,
|
|
2102
|
-
TemplateStatus
|
|
1849
|
+
Object.defineProperty(exports, "$Command", {
|
|
1850
|
+
enumerable: true,
|
|
1851
|
+
get: function () { return smithyClient.Command; }
|
|
2103
1852
|
});
|
|
2104
|
-
|
|
1853
|
+
Object.defineProperty(exports, "__Client", {
|
|
1854
|
+
enumerable: true,
|
|
1855
|
+
get: function () { return smithyClient.Client; }
|
|
1856
|
+
});
|
|
1857
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
1858
|
+
exports.AccessRight = AccessRight;
|
|
1859
|
+
exports.ApplicationPolicyType = ApplicationPolicyType;
|
|
1860
|
+
exports.ClientCompatibilityV2 = ClientCompatibilityV2;
|
|
1861
|
+
exports.ClientCompatibilityV3 = ClientCompatibilityV3;
|
|
1862
|
+
exports.ClientCompatibilityV4 = ClientCompatibilityV4;
|
|
1863
|
+
exports.ConflictException = ConflictException;
|
|
1864
|
+
exports.ConnectorStatus = ConnectorStatus;
|
|
1865
|
+
exports.ConnectorStatusReason = ConnectorStatusReason;
|
|
1866
|
+
exports.CreateConnectorCommand = CreateConnectorCommand;
|
|
1867
|
+
exports.CreateDirectoryRegistrationCommand = CreateDirectoryRegistrationCommand;
|
|
1868
|
+
exports.CreateServicePrincipalNameCommand = CreateServicePrincipalNameCommand;
|
|
1869
|
+
exports.CreateTemplateCommand = CreateTemplateCommand;
|
|
1870
|
+
exports.CreateTemplateGroupAccessControlEntryCommand = CreateTemplateGroupAccessControlEntryCommand;
|
|
1871
|
+
exports.DeleteConnectorCommand = DeleteConnectorCommand;
|
|
1872
|
+
exports.DeleteDirectoryRegistrationCommand = DeleteDirectoryRegistrationCommand;
|
|
1873
|
+
exports.DeleteServicePrincipalNameCommand = DeleteServicePrincipalNameCommand;
|
|
1874
|
+
exports.DeleteTemplateCommand = DeleteTemplateCommand;
|
|
1875
|
+
exports.DeleteTemplateGroupAccessControlEntryCommand = DeleteTemplateGroupAccessControlEntryCommand;
|
|
1876
|
+
exports.DirectoryRegistrationStatus = DirectoryRegistrationStatus;
|
|
1877
|
+
exports.DirectoryRegistrationStatusReason = DirectoryRegistrationStatusReason;
|
|
1878
|
+
exports.GetConnectorCommand = GetConnectorCommand;
|
|
1879
|
+
exports.GetDirectoryRegistrationCommand = GetDirectoryRegistrationCommand;
|
|
1880
|
+
exports.GetServicePrincipalNameCommand = GetServicePrincipalNameCommand;
|
|
1881
|
+
exports.GetTemplateCommand = GetTemplateCommand;
|
|
1882
|
+
exports.GetTemplateGroupAccessControlEntryCommand = GetTemplateGroupAccessControlEntryCommand;
|
|
1883
|
+
exports.HashAlgorithm = HashAlgorithm;
|
|
1884
|
+
exports.InternalServerException = InternalServerException;
|
|
1885
|
+
exports.IpAddressType = IpAddressType;
|
|
1886
|
+
exports.KeySpec = KeySpec;
|
|
1887
|
+
exports.KeyUsagePropertyType = KeyUsagePropertyType;
|
|
1888
|
+
exports.ListConnectorsCommand = ListConnectorsCommand;
|
|
1889
|
+
exports.ListDirectoryRegistrationsCommand = ListDirectoryRegistrationsCommand;
|
|
1890
|
+
exports.ListServicePrincipalNamesCommand = ListServicePrincipalNamesCommand;
|
|
1891
|
+
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1892
|
+
exports.ListTemplateGroupAccessControlEntriesCommand = ListTemplateGroupAccessControlEntriesCommand;
|
|
1893
|
+
exports.ListTemplatesCommand = ListTemplatesCommand;
|
|
1894
|
+
exports.PcaConnectorAd = PcaConnectorAd;
|
|
1895
|
+
exports.PcaConnectorAdClient = PcaConnectorAdClient;
|
|
1896
|
+
exports.PcaConnectorAdServiceException = PcaConnectorAdServiceException;
|
|
1897
|
+
exports.PrivateKeyAlgorithm = PrivateKeyAlgorithm;
|
|
1898
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1899
|
+
exports.ServicePrincipalNameStatus = ServicePrincipalNameStatus;
|
|
1900
|
+
exports.ServicePrincipalNameStatusReason = ServicePrincipalNameStatusReason;
|
|
1901
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1902
|
+
exports.TagResourceCommand = TagResourceCommand;
|
|
1903
|
+
exports.TemplateStatus = TemplateStatus;
|
|
1904
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1905
|
+
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1906
|
+
exports.UpdateTemplateCommand = UpdateTemplateCommand;
|
|
1907
|
+
exports.UpdateTemplateGroupAccessControlEntryCommand = UpdateTemplateGroupAccessControlEntryCommand;
|
|
1908
|
+
exports.ValidationException = ValidationException;
|
|
1909
|
+
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
1910
|
+
exports.ValidityPeriodType = ValidityPeriodType;
|
|
1911
|
+
exports.paginateListConnectors = paginateListConnectors;
|
|
1912
|
+
exports.paginateListDirectoryRegistrations = paginateListDirectoryRegistrations;
|
|
1913
|
+
exports.paginateListServicePrincipalNames = paginateListServicePrincipalNames;
|
|
1914
|
+
exports.paginateListTemplateGroupAccessControlEntries = paginateListTemplateGroupAccessControlEntries;
|
|
1915
|
+
exports.paginateListTemplates = paginateListTemplates;
|