@aws-sdk/client-pca-connector-ad 3.403.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/LICENSE +201 -0
- package/README.md +407 -0
- package/dist-cjs/PcaConnectorAd.js +61 -0
- package/dist-cjs/PcaConnectorAdClient.js +43 -0
- package/dist-cjs/commands/CreateConnectorCommand.js +46 -0
- package/dist-cjs/commands/CreateDirectoryRegistrationCommand.js +46 -0
- package/dist-cjs/commands/CreateServicePrincipalNameCommand.js +46 -0
- package/dist-cjs/commands/CreateTemplateCommand.js +46 -0
- package/dist-cjs/commands/CreateTemplateGroupAccessControlEntryCommand.js +46 -0
- package/dist-cjs/commands/DeleteConnectorCommand.js +46 -0
- package/dist-cjs/commands/DeleteDirectoryRegistrationCommand.js +46 -0
- package/dist-cjs/commands/DeleteServicePrincipalNameCommand.js +46 -0
- package/dist-cjs/commands/DeleteTemplateCommand.js +46 -0
- package/dist-cjs/commands/DeleteTemplateGroupAccessControlEntryCommand.js +46 -0
- package/dist-cjs/commands/GetConnectorCommand.js +46 -0
- package/dist-cjs/commands/GetDirectoryRegistrationCommand.js +46 -0
- package/dist-cjs/commands/GetServicePrincipalNameCommand.js +46 -0
- package/dist-cjs/commands/GetTemplateCommand.js +46 -0
- package/dist-cjs/commands/GetTemplateGroupAccessControlEntryCommand.js +46 -0
- package/dist-cjs/commands/ListConnectorsCommand.js +46 -0
- package/dist-cjs/commands/ListDirectoryRegistrationsCommand.js +46 -0
- package/dist-cjs/commands/ListServicePrincipalNamesCommand.js +46 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
- package/dist-cjs/commands/ListTemplateGroupAccessControlEntriesCommand.js +46 -0
- package/dist-cjs/commands/ListTemplatesCommand.js +46 -0
- package/dist-cjs/commands/TagResourceCommand.js +46 -0
- package/dist-cjs/commands/UntagResourceCommand.js +46 -0
- package/dist-cjs/commands/UpdateTemplateCommand.js +46 -0
- package/dist-cjs/commands/UpdateTemplateGroupAccessControlEntryCommand.js +46 -0
- package/dist-cjs/commands/index.js +28 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/PcaConnectorAdServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +324 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListConnectorsPaginator.js +29 -0
- package/dist-cjs/pagination/ListDirectoryRegistrationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListServicePrincipalNamesPaginator.js +29 -0
- package/dist-cjs/pagination/ListTemplateGroupAccessControlEntriesPaginator.js +29 -0
- package/dist-cjs/pagination/ListTemplatesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1985 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +48 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +22 -0
- package/dist-cjs/runtimeExtensions.js +16 -0
- package/dist-es/PcaConnectorAd.js +57 -0
- package/dist-es/PcaConnectorAdClient.js +39 -0
- package/dist-es/commands/CreateConnectorCommand.js +42 -0
- package/dist-es/commands/CreateDirectoryRegistrationCommand.js +42 -0
- package/dist-es/commands/CreateServicePrincipalNameCommand.js +42 -0
- package/dist-es/commands/CreateTemplateCommand.js +42 -0
- package/dist-es/commands/CreateTemplateGroupAccessControlEntryCommand.js +42 -0
- package/dist-es/commands/DeleteConnectorCommand.js +42 -0
- package/dist-es/commands/DeleteDirectoryRegistrationCommand.js +42 -0
- package/dist-es/commands/DeleteServicePrincipalNameCommand.js +42 -0
- package/dist-es/commands/DeleteTemplateCommand.js +42 -0
- package/dist-es/commands/DeleteTemplateGroupAccessControlEntryCommand.js +42 -0
- package/dist-es/commands/GetConnectorCommand.js +42 -0
- package/dist-es/commands/GetDirectoryRegistrationCommand.js +42 -0
- package/dist-es/commands/GetServicePrincipalNameCommand.js +42 -0
- package/dist-es/commands/GetTemplateCommand.js +42 -0
- package/dist-es/commands/GetTemplateGroupAccessControlEntryCommand.js +42 -0
- package/dist-es/commands/ListConnectorsCommand.js +42 -0
- package/dist-es/commands/ListDirectoryRegistrationsCommand.js +42 -0
- package/dist-es/commands/ListServicePrincipalNamesCommand.js +42 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
- package/dist-es/commands/ListTemplateGroupAccessControlEntriesCommand.js +42 -0
- package/dist-es/commands/ListTemplatesCommand.js +42 -0
- package/dist-es/commands/TagResourceCommand.js +42 -0
- package/dist-es/commands/UntagResourceCommand.js +42 -0
- package/dist-es/commands/UpdateTemplateCommand.js +42 -0
- package/dist-es/commands/UpdateTemplateGroupAccessControlEntryCommand.js +42 -0
- package/dist-es/commands/index.js +25 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/PcaConnectorAdServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +314 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListConnectorsPaginator.js +25 -0
- package/dist-es/pagination/ListDirectoryRegistrationsPaginator.js +25 -0
- package/dist-es/pagination/ListServicePrincipalNamesPaginator.js +25 -0
- package/dist-es/pagination/ListTemplateGroupAccessControlEntriesPaginator.js +25 -0
- package/dist-es/pagination/ListTemplatesPaginator.js +25 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +1932 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +43 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +18 -0
- package/dist-es/runtimeExtensions.js +12 -0
- package/dist-types/PcaConnectorAd.d.ts +187 -0
- package/dist-types/PcaConnectorAdClient.d.ts +194 -0
- package/dist-types/commands/CreateConnectorCommand.d.ts +113 -0
- package/dist-types/commands/CreateDirectoryRegistrationCommand.d.ts +104 -0
- package/dist-types/commands/CreateServicePrincipalNameCommand.d.ts +101 -0
- package/dist-types/commands/CreateTemplateCommand.d.ts +344 -0
- package/dist-types/commands/CreateTemplateGroupAccessControlEntryCommand.d.ts +108 -0
- package/dist-types/commands/DeleteConnectorCommand.d.ts +101 -0
- package/dist-types/commands/DeleteDirectoryRegistrationCommand.d.ts +94 -0
- package/dist-types/commands/DeleteServicePrincipalNameCommand.d.ts +95 -0
- package/dist-types/commands/DeleteTemplateCommand.d.ts +98 -0
- package/dist-types/commands/DeleteTemplateGroupAccessControlEntryCommand.d.ts +98 -0
- package/dist-types/commands/GetConnectorCommand.d.ts +110 -0
- package/dist-types/commands/GetDirectoryRegistrationCommand.d.ts +102 -0
- package/dist-types/commands/GetServicePrincipalNameCommand.d.ts +104 -0
- package/dist-types/commands/GetTemplateCommand.d.ts +345 -0
- package/dist-types/commands/GetTemplateGroupAccessControlEntryCommand.d.ts +106 -0
- package/dist-types/commands/ListConnectorsCommand.d.ts +109 -0
- package/dist-types/commands/ListDirectoryRegistrationsCommand.d.ts +103 -0
- package/dist-types/commands/ListServicePrincipalNamesCommand.d.ts +108 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +97 -0
- package/dist-types/commands/ListTemplateGroupAccessControlEntriesCommand.d.ts +110 -0
- package/dist-types/commands/ListTemplatesCommand.d.ts +349 -0
- package/dist-types/commands/TagResourceCommand.d.ts +96 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +96 -0
- package/dist-types/commands/UpdateTemplateCommand.d.ts +334 -0
- package/dist-types/commands/UpdateTemplateGroupAccessControlEntryCommand.d.ts +103 -0
- package/dist-types/commands/index.d.ts +25 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +6 -0
- package/dist-types/index.d.ts +14 -0
- package/dist-types/models/PcaConnectorAdServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2690 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListConnectorsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDirectoryRegistrationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListServicePrincipalNamesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTemplateGroupAccessControlEntriesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTemplatesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +227 -0
- package/dist-types/runtimeConfig.browser.d.ts +43 -0
- package/dist-types/runtimeConfig.d.ts +43 -0
- package/dist-types/runtimeConfig.native.d.ts +42 -0
- package/dist-types/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/PcaConnectorAd.d.ts +462 -0
- package/dist-types/ts3.4/PcaConnectorAdClient.d.ts +269 -0
- package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateDirectoryRegistrationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateServicePrincipalNameCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateTemplateCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateTemplateGroupAccessControlEntryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/DeleteDirectoryRegistrationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteServicePrincipalNameCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteTemplateCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/DeleteTemplateGroupAccessControlEntryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetConnectorCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetDirectoryRegistrationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetServicePrincipalNameCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetTemplateCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetTemplateGroupAccessControlEntryCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListDirectoryRegistrationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListServicePrincipalNamesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTemplateGroupAccessControlEntriesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/UpdateTemplateCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/UpdateTemplateGroupAccessControlEntryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +25 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -0
- package/dist-types/ts3.4/index.d.ts +7 -0
- package/dist-types/ts3.4/models/PcaConnectorAdServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +812 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListConnectorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDirectoryRegistrationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListServicePrincipalNamesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTemplateGroupAccessControlEntriesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTemplatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +305 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +90 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +90 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +81 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +101 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./CreateConnectorCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./CreateDirectoryRegistrationCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./CreateServicePrincipalNameCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./CreateTemplateCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./CreateTemplateGroupAccessControlEntryCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./DeleteConnectorCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./DeleteDirectoryRegistrationCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./DeleteServicePrincipalNameCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./DeleteTemplateCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./DeleteTemplateGroupAccessControlEntryCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./GetConnectorCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./GetDirectoryRegistrationCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./GetServicePrincipalNameCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./GetTemplateCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./GetTemplateGroupAccessControlEntryCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./ListConnectorsCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./ListDirectoryRegistrationsCommand"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./ListServicePrincipalNamesCommand"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./ListTemplateGroupAccessControlEntriesCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./ListTemplatesCommand"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./UpdateTemplateCommand"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./UpdateTemplateGroupAccessControlEntryCommand"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveClientEndpointParameters = void 0;
|
|
4
|
+
const resolveClientEndpointParameters = (options) => {
|
|
5
|
+
return {
|
|
6
|
+
...options,
|
|
7
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
8
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
9
|
+
defaultSigningName: "pca-connector-ad",
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defaultEndpointResolver = void 0;
|
|
4
|
+
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
+
const ruleset_1 = require("./ruleset");
|
|
6
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
7
|
+
return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
8
|
+
endpointParams: endpointParams,
|
|
9
|
+
logger: context.logger,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ruleSet = void 0;
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://pca-connector-ad-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://pca-connector-ad-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://pca-connector-ad.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://pca-connector-ad.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
|
+
exports.ruleSet = _data;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PcaConnectorAdServiceException = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
tslib_1.__exportStar(require("./PcaConnectorAdClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./PcaConnectorAd"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./pagination"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
10
|
+
var PcaConnectorAdServiceException_1 = require("./models/PcaConnectorAdServiceException");
|
|
11
|
+
Object.defineProperty(exports, "PcaConnectorAdServiceException", { enumerable: true, get: function () { return PcaConnectorAdServiceException_1.PcaConnectorAdServiceException; } });
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PcaConnectorAdServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class PcaConnectorAdServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, PcaConnectorAdServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.PcaConnectorAdServiceException = PcaConnectorAdServiceException;
|
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TemplateStatus = exports.ServicePrincipalNameStatusReason = exports.ServicePrincipalNameStatus = exports.DirectoryRegistrationStatusReason = exports.DirectoryRegistrationStatus = exports.TemplateDefinition = exports.KeyUsageProperty = exports.KeyUsagePropertyType = exports.PrivateKeyAlgorithm = exports.HashAlgorithm = exports.KeySpec = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConnectorStatusReason = exports.ConnectorStatus = exports.ConflictException = exports.ClientCompatibilityV4 = exports.ClientCompatibilityV3 = exports.ClientCompatibilityV2 = exports.ValidityPeriodType = exports.ApplicationPolicy = exports.ApplicationPolicyType = exports.AccessDeniedException = exports.AccessRight = void 0;
|
|
4
|
+
const PcaConnectorAdServiceException_1 = require("./PcaConnectorAdServiceException");
|
|
5
|
+
exports.AccessRight = {
|
|
6
|
+
ALLOW: "ALLOW",
|
|
7
|
+
DENY: "DENY",
|
|
8
|
+
};
|
|
9
|
+
class AccessDeniedException extends PcaConnectorAdServiceException_1.PcaConnectorAdServiceException {
|
|
10
|
+
constructor(opts) {
|
|
11
|
+
super({
|
|
12
|
+
name: "AccessDeniedException",
|
|
13
|
+
$fault: "client",
|
|
14
|
+
...opts,
|
|
15
|
+
});
|
|
16
|
+
this.name = "AccessDeniedException";
|
|
17
|
+
this.$fault = "client";
|
|
18
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
19
|
+
this.Message = opts.Message;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
23
|
+
exports.ApplicationPolicyType = {
|
|
24
|
+
ALL_APPLICATION_POLICIES: "ALL_APPLICATION_POLICIES",
|
|
25
|
+
ANY_PURPOSE: "ANY_PURPOSE",
|
|
26
|
+
ATTESTATION_IDENTITY_KEY_CERTIFICATE: "ATTESTATION_IDENTITY_KEY_CERTIFICATE",
|
|
27
|
+
CERTIFICATE_REQUEST_AGENT: "CERTIFICATE_REQUEST_AGENT",
|
|
28
|
+
CLIENT_AUTHENTICATION: "CLIENT_AUTHENTICATION",
|
|
29
|
+
CODE_SIGNING: "CODE_SIGNING",
|
|
30
|
+
CTL_USAGE: "CTL_USAGE",
|
|
31
|
+
DIGITAL_RIGHTS: "DIGITAL_RIGHTS",
|
|
32
|
+
DIRECTORY_SERVICE_EMAIL_REPLICATION: "DIRECTORY_SERVICE_EMAIL_REPLICATION",
|
|
33
|
+
DISALLOWED_LIST: "DISALLOWED_LIST",
|
|
34
|
+
DNS_SERVER_TRUST: "DNS_SERVER_TRUST",
|
|
35
|
+
DOCUMENT_ENCRYPTION: "DOCUMENT_ENCRYPTION",
|
|
36
|
+
DOCUMENT_SIGNING: "DOCUMENT_SIGNING",
|
|
37
|
+
DYNAMIC_CODE_GENERATOR: "DYNAMIC_CODE_GENERATOR",
|
|
38
|
+
EARLY_LAUNCH_ANTIMALWARE_DRIVER: "EARLY_LAUNCH_ANTIMALWARE_DRIVER",
|
|
39
|
+
EMBEDDED_WINDOWS_SYSTEM_COMPONENT_VERIFICATION: "EMBEDDED_WINDOWS_SYSTEM_COMPONENT_VERIFICATION",
|
|
40
|
+
ENCLAVE: "ENCLAVE",
|
|
41
|
+
ENCRYPTING_FILE_SYSTEM: "ENCRYPTING_FILE_SYSTEM",
|
|
42
|
+
ENDORSEMENT_KEY_CERTIFICATE: "ENDORSEMENT_KEY_CERTIFICATE",
|
|
43
|
+
FILE_RECOVERY: "FILE_RECOVERY",
|
|
44
|
+
HAL_EXTENSION: "HAL_EXTENSION",
|
|
45
|
+
IP_SECURITY_END_SYSTEM: "IP_SECURITY_END_SYSTEM",
|
|
46
|
+
IP_SECURITY_IKE_INTERMEDIATE: "IP_SECURITY_IKE_INTERMEDIATE",
|
|
47
|
+
IP_SECURITY_TUNNEL_TERMINATION: "IP_SECURITY_TUNNEL_TERMINATION",
|
|
48
|
+
IP_SECURITY_USER: "IP_SECURITY_USER",
|
|
49
|
+
ISOLATED_USER_MODE: "ISOLATED_USER_MODE",
|
|
50
|
+
KDC_AUTHENTICATION: "KDC_AUTHENTICATION",
|
|
51
|
+
KERNEL_MODE_CODE_SIGNING: "KERNEL_MODE_CODE_SIGNING",
|
|
52
|
+
KEY_PACK_LICENSES: "KEY_PACK_LICENSES",
|
|
53
|
+
KEY_RECOVERY: "KEY_RECOVERY",
|
|
54
|
+
KEY_RECOVERY_AGENT: "KEY_RECOVERY_AGENT",
|
|
55
|
+
LICENSE_SERVER_VERIFICATION: "LICENSE_SERVER_VERIFICATION",
|
|
56
|
+
LIFETIME_SIGNING: "LIFETIME_SIGNING",
|
|
57
|
+
MICROSOFT_PUBLISHER: "MICROSOFT_PUBLISHER",
|
|
58
|
+
MICROSOFT_TIME_STAMPING: "MICROSOFT_TIME_STAMPING",
|
|
59
|
+
MICROSOFT_TRUST_LIST_SIGNING: "MICROSOFT_TRUST_LIST_SIGNING",
|
|
60
|
+
OCSP_SIGNING: "OCSP_SIGNING",
|
|
61
|
+
OEM_WINDOWS_SYSTEM_COMPONENT_VERIFICATION: "OEM_WINDOWS_SYSTEM_COMPONENT_VERIFICATION",
|
|
62
|
+
PLATFORM_CERTIFICATE: "PLATFORM_CERTIFICATE",
|
|
63
|
+
PREVIEW_BUILD_SIGNING: "PREVIEW_BUILD_SIGNING",
|
|
64
|
+
PRIVATE_KEY_ARCHIVAL: "PRIVATE_KEY_ARCHIVAL",
|
|
65
|
+
PROTECTED_PROCESS_LIGHT_VERIFICATION: "PROTECTED_PROCESS_LIGHT_VERIFICATION",
|
|
66
|
+
PROTECTED_PROCESS_VERIFICATION: "PROTECTED_PROCESS_VERIFICATION",
|
|
67
|
+
QUALIFIED_SUBORDINATION: "QUALIFIED_SUBORDINATION",
|
|
68
|
+
REVOKED_LIST_SIGNER: "REVOKED_LIST_SIGNER",
|
|
69
|
+
ROOT_LIST_SIGNER: "ROOT_LIST_SIGNER",
|
|
70
|
+
ROOT_PROGRAM_AUTO_UPDATE_CA_REVOCATION: "ROOT_PROGRAM_AUTO_UPDATE_CA_REVOCATION",
|
|
71
|
+
ROOT_PROGRAM_AUTO_UPDATE_END_REVOCATION: "ROOT_PROGRAM_AUTO_UPDATE_END_REVOCATION",
|
|
72
|
+
ROOT_PROGRAM_NO_OSCP_FAILOVER_TO_CRL: "ROOT_PROGRAM_NO_OSCP_FAILOVER_TO_CRL",
|
|
73
|
+
SECURE_EMAIL: "SECURE_EMAIL",
|
|
74
|
+
SERVER_AUTHENTICATION: "SERVER_AUTHENTICATION",
|
|
75
|
+
SMART_CARD_LOGIN: "SMART_CARD_LOGIN",
|
|
76
|
+
SPC_ENCRYPTED_DIGEST_RETRY_COUNT: "SPC_ENCRYPTED_DIGEST_RETRY_COUNT",
|
|
77
|
+
SPC_RELAXED_PE_MARKER_CHECK: "SPC_RELAXED_PE_MARKER_CHECK",
|
|
78
|
+
TIME_STAMPING: "TIME_STAMPING",
|
|
79
|
+
WINDOWS_HARDWARE_DRIVER_ATTESTED_VERIFICATION: "WINDOWS_HARDWARE_DRIVER_ATTESTED_VERIFICATION",
|
|
80
|
+
WINDOWS_HARDWARE_DRIVER_EXTENDED_VERIFICATION: "WINDOWS_HARDWARE_DRIVER_EXTENDED_VERIFICATION",
|
|
81
|
+
WINDOWS_HARDWARE_DRIVER_VERIFICATION: "WINDOWS_HARDWARE_DRIVER_VERIFICATION",
|
|
82
|
+
WINDOWS_HELLO_RECOVERY_KEY_ENCRYPTION: "WINDOWS_HELLO_RECOVERY_KEY_ENCRYPTION",
|
|
83
|
+
WINDOWS_KITS_COMPONENT: "WINDOWS_KITS_COMPONENT",
|
|
84
|
+
WINDOWS_RT_VERIFICATION: "WINDOWS_RT_VERIFICATION",
|
|
85
|
+
WINDOWS_SOFTWARE_EXTENSION_VERIFICATION: "WINDOWS_SOFTWARE_EXTENSION_VERIFICATION",
|
|
86
|
+
WINDOWS_STORE: "WINDOWS_STORE",
|
|
87
|
+
WINDOWS_SYSTEM_COMPONENT_VERIFICATION: "WINDOWS_SYSTEM_COMPONENT_VERIFICATION",
|
|
88
|
+
WINDOWS_TCB_COMPONENT: "WINDOWS_TCB_COMPONENT",
|
|
89
|
+
WINDOWS_THIRD_PARTY_APPLICATION_COMPONENT: "WINDOWS_THIRD_PARTY_APPLICATION_COMPONENT",
|
|
90
|
+
WINDOWS_UPDATE: "WINDOWS_UPDATE",
|
|
91
|
+
};
|
|
92
|
+
var ApplicationPolicy;
|
|
93
|
+
(function (ApplicationPolicy) {
|
|
94
|
+
ApplicationPolicy.visit = (value, visitor) => {
|
|
95
|
+
if (value.PolicyType !== undefined)
|
|
96
|
+
return visitor.PolicyType(value.PolicyType);
|
|
97
|
+
if (value.PolicyObjectIdentifier !== undefined)
|
|
98
|
+
return visitor.PolicyObjectIdentifier(value.PolicyObjectIdentifier);
|
|
99
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
100
|
+
};
|
|
101
|
+
})(ApplicationPolicy = exports.ApplicationPolicy || (exports.ApplicationPolicy = {}));
|
|
102
|
+
exports.ValidityPeriodType = {
|
|
103
|
+
DAYS: "DAYS",
|
|
104
|
+
HOURS: "HOURS",
|
|
105
|
+
MONTHS: "MONTHS",
|
|
106
|
+
WEEKS: "WEEKS",
|
|
107
|
+
YEARS: "YEARS",
|
|
108
|
+
};
|
|
109
|
+
exports.ClientCompatibilityV2 = {
|
|
110
|
+
WINDOWS_SERVER_2003: "WINDOWS_SERVER_2003",
|
|
111
|
+
WINDOWS_SERVER_2008: "WINDOWS_SERVER_2008",
|
|
112
|
+
WINDOWS_SERVER_2008_R2: "WINDOWS_SERVER_2008_R2",
|
|
113
|
+
WINDOWS_SERVER_2012: "WINDOWS_SERVER_2012",
|
|
114
|
+
WINDOWS_SERVER_2012_R2: "WINDOWS_SERVER_2012_R2",
|
|
115
|
+
WINDOWS_SERVER_2016: "WINDOWS_SERVER_2016",
|
|
116
|
+
};
|
|
117
|
+
exports.ClientCompatibilityV3 = {
|
|
118
|
+
WINDOWS_SERVER_2008: "WINDOWS_SERVER_2008",
|
|
119
|
+
WINDOWS_SERVER_2008_R2: "WINDOWS_SERVER_2008_R2",
|
|
120
|
+
WINDOWS_SERVER_2012: "WINDOWS_SERVER_2012",
|
|
121
|
+
WINDOWS_SERVER_2012_R2: "WINDOWS_SERVER_2012_R2",
|
|
122
|
+
WINDOWS_SERVER_2016: "WINDOWS_SERVER_2016",
|
|
123
|
+
};
|
|
124
|
+
exports.ClientCompatibilityV4 = {
|
|
125
|
+
WINDOWS_SERVER_2012: "WINDOWS_SERVER_2012",
|
|
126
|
+
WINDOWS_SERVER_2012_R2: "WINDOWS_SERVER_2012_R2",
|
|
127
|
+
WINDOWS_SERVER_2016: "WINDOWS_SERVER_2016",
|
|
128
|
+
};
|
|
129
|
+
class ConflictException extends PcaConnectorAdServiceException_1.PcaConnectorAdServiceException {
|
|
130
|
+
constructor(opts) {
|
|
131
|
+
super({
|
|
132
|
+
name: "ConflictException",
|
|
133
|
+
$fault: "client",
|
|
134
|
+
...opts,
|
|
135
|
+
});
|
|
136
|
+
this.name = "ConflictException";
|
|
137
|
+
this.$fault = "client";
|
|
138
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
139
|
+
this.Message = opts.Message;
|
|
140
|
+
this.ResourceId = opts.ResourceId;
|
|
141
|
+
this.ResourceType = opts.ResourceType;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
exports.ConflictException = ConflictException;
|
|
145
|
+
exports.ConnectorStatus = {
|
|
146
|
+
ACTIVE: "ACTIVE",
|
|
147
|
+
CREATING: "CREATING",
|
|
148
|
+
DELETING: "DELETING",
|
|
149
|
+
FAILED: "FAILED",
|
|
150
|
+
};
|
|
151
|
+
exports.ConnectorStatusReason = {
|
|
152
|
+
DIRECTORY_ACCESS_DENIED: "DIRECTORY_ACCESS_DENIED",
|
|
153
|
+
INTERNAL_FAILURE: "INTERNAL_FAILURE",
|
|
154
|
+
PRIVATECA_ACCESS_DENIED: "PRIVATECA_ACCESS_DENIED",
|
|
155
|
+
PRIVATECA_RESOURCE_NOT_FOUND: "PRIVATECA_RESOURCE_NOT_FOUND",
|
|
156
|
+
SECURITY_GROUP_NOT_IN_VPC: "SECURITY_GROUP_NOT_IN_VPC",
|
|
157
|
+
VPC_ACCESS_DENIED: "VPC_ACCESS_DENIED",
|
|
158
|
+
VPC_ENDPOINT_LIMIT_EXCEEDED: "VPC_ENDPOINT_LIMIT_EXCEEDED",
|
|
159
|
+
VPC_RESOURCE_NOT_FOUND: "VPC_RESOURCE_NOT_FOUND",
|
|
160
|
+
};
|
|
161
|
+
class InternalServerException extends PcaConnectorAdServiceException_1.PcaConnectorAdServiceException {
|
|
162
|
+
constructor(opts) {
|
|
163
|
+
super({
|
|
164
|
+
name: "InternalServerException",
|
|
165
|
+
$fault: "server",
|
|
166
|
+
...opts,
|
|
167
|
+
});
|
|
168
|
+
this.name = "InternalServerException";
|
|
169
|
+
this.$fault = "server";
|
|
170
|
+
this.$retryable = {};
|
|
171
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
172
|
+
this.Message = opts.Message;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
exports.InternalServerException = InternalServerException;
|
|
176
|
+
class ResourceNotFoundException extends PcaConnectorAdServiceException_1.PcaConnectorAdServiceException {
|
|
177
|
+
constructor(opts) {
|
|
178
|
+
super({
|
|
179
|
+
name: "ResourceNotFoundException",
|
|
180
|
+
$fault: "client",
|
|
181
|
+
...opts,
|
|
182
|
+
});
|
|
183
|
+
this.name = "ResourceNotFoundException";
|
|
184
|
+
this.$fault = "client";
|
|
185
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
186
|
+
this.Message = opts.Message;
|
|
187
|
+
this.ResourceId = opts.ResourceId;
|
|
188
|
+
this.ResourceType = opts.ResourceType;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
192
|
+
class ServiceQuotaExceededException extends PcaConnectorAdServiceException_1.PcaConnectorAdServiceException {
|
|
193
|
+
constructor(opts) {
|
|
194
|
+
super({
|
|
195
|
+
name: "ServiceQuotaExceededException",
|
|
196
|
+
$fault: "client",
|
|
197
|
+
...opts,
|
|
198
|
+
});
|
|
199
|
+
this.name = "ServiceQuotaExceededException";
|
|
200
|
+
this.$fault = "client";
|
|
201
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
202
|
+
this.Message = opts.Message;
|
|
203
|
+
this.ResourceId = opts.ResourceId;
|
|
204
|
+
this.ResourceType = opts.ResourceType;
|
|
205
|
+
this.ServiceCode = opts.ServiceCode;
|
|
206
|
+
this.QuotaCode = opts.QuotaCode;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
210
|
+
class ThrottlingException extends PcaConnectorAdServiceException_1.PcaConnectorAdServiceException {
|
|
211
|
+
constructor(opts) {
|
|
212
|
+
super({
|
|
213
|
+
name: "ThrottlingException",
|
|
214
|
+
$fault: "client",
|
|
215
|
+
...opts,
|
|
216
|
+
});
|
|
217
|
+
this.name = "ThrottlingException";
|
|
218
|
+
this.$fault = "client";
|
|
219
|
+
this.$retryable = {
|
|
220
|
+
throttling: true,
|
|
221
|
+
};
|
|
222
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
223
|
+
this.Message = opts.Message;
|
|
224
|
+
this.ServiceCode = opts.ServiceCode;
|
|
225
|
+
this.QuotaCode = opts.QuotaCode;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
exports.ThrottlingException = ThrottlingException;
|
|
229
|
+
exports.ValidationExceptionReason = {
|
|
230
|
+
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
231
|
+
INVALID_PERMISSION: "INVALID_PERMISSION",
|
|
232
|
+
INVALID_STATE: "INVALID_STATE",
|
|
233
|
+
MISMATCHED_CONNECTOR: "MISMATCHED_CONNECTOR",
|
|
234
|
+
MISMATCHED_VPC: "MISMATCHED_VPC",
|
|
235
|
+
NO_CLIENT_TOKEN: "NO_CLIENT_TOKEN",
|
|
236
|
+
OTHER: "OTHER",
|
|
237
|
+
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
238
|
+
};
|
|
239
|
+
class ValidationException extends PcaConnectorAdServiceException_1.PcaConnectorAdServiceException {
|
|
240
|
+
constructor(opts) {
|
|
241
|
+
super({
|
|
242
|
+
name: "ValidationException",
|
|
243
|
+
$fault: "client",
|
|
244
|
+
...opts,
|
|
245
|
+
});
|
|
246
|
+
this.name = "ValidationException";
|
|
247
|
+
this.$fault = "client";
|
|
248
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
249
|
+
this.Message = opts.Message;
|
|
250
|
+
this.Reason = opts.Reason;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
exports.ValidationException = ValidationException;
|
|
254
|
+
exports.KeySpec = {
|
|
255
|
+
KEY_EXCHANGE: "KEY_EXCHANGE",
|
|
256
|
+
SIGNATURE: "SIGNATURE",
|
|
257
|
+
};
|
|
258
|
+
exports.HashAlgorithm = {
|
|
259
|
+
SHA256: "SHA256",
|
|
260
|
+
SHA384: "SHA384",
|
|
261
|
+
SHA512: "SHA512",
|
|
262
|
+
};
|
|
263
|
+
exports.PrivateKeyAlgorithm = {
|
|
264
|
+
ECDH_P256: "ECDH_P256",
|
|
265
|
+
ECDH_P384: "ECDH_P384",
|
|
266
|
+
ECDH_P521: "ECDH_P521",
|
|
267
|
+
RSA: "RSA",
|
|
268
|
+
};
|
|
269
|
+
exports.KeyUsagePropertyType = {
|
|
270
|
+
ALL: "ALL",
|
|
271
|
+
};
|
|
272
|
+
var KeyUsageProperty;
|
|
273
|
+
(function (KeyUsageProperty) {
|
|
274
|
+
KeyUsageProperty.visit = (value, visitor) => {
|
|
275
|
+
if (value.PropertyType !== undefined)
|
|
276
|
+
return visitor.PropertyType(value.PropertyType);
|
|
277
|
+
if (value.PropertyFlags !== undefined)
|
|
278
|
+
return visitor.PropertyFlags(value.PropertyFlags);
|
|
279
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
280
|
+
};
|
|
281
|
+
})(KeyUsageProperty = exports.KeyUsageProperty || (exports.KeyUsageProperty = {}));
|
|
282
|
+
var TemplateDefinition;
|
|
283
|
+
(function (TemplateDefinition) {
|
|
284
|
+
TemplateDefinition.visit = (value, visitor) => {
|
|
285
|
+
if (value.TemplateV2 !== undefined)
|
|
286
|
+
return visitor.TemplateV2(value.TemplateV2);
|
|
287
|
+
if (value.TemplateV3 !== undefined)
|
|
288
|
+
return visitor.TemplateV3(value.TemplateV3);
|
|
289
|
+
if (value.TemplateV4 !== undefined)
|
|
290
|
+
return visitor.TemplateV4(value.TemplateV4);
|
|
291
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
292
|
+
};
|
|
293
|
+
})(TemplateDefinition = exports.TemplateDefinition || (exports.TemplateDefinition = {}));
|
|
294
|
+
exports.DirectoryRegistrationStatus = {
|
|
295
|
+
ACTIVE: "ACTIVE",
|
|
296
|
+
CREATING: "CREATING",
|
|
297
|
+
DELETING: "DELETING",
|
|
298
|
+
FAILED: "FAILED",
|
|
299
|
+
};
|
|
300
|
+
exports.DirectoryRegistrationStatusReason = {
|
|
301
|
+
DIRECTORY_ACCESS_DENIED: "DIRECTORY_ACCESS_DENIED",
|
|
302
|
+
DIRECTORY_NOT_ACTIVE: "DIRECTORY_NOT_ACTIVE",
|
|
303
|
+
DIRECTORY_NOT_REACHABLE: "DIRECTORY_NOT_REACHABLE",
|
|
304
|
+
DIRECTORY_RESOURCE_NOT_FOUND: "DIRECTORY_RESOURCE_NOT_FOUND",
|
|
305
|
+
DIRECTORY_TYPE_NOT_SUPPORTED: "DIRECTORY_TYPE_NOT_SUPPORTED",
|
|
306
|
+
INTERNAL_FAILURE: "INTERNAL_FAILURE",
|
|
307
|
+
};
|
|
308
|
+
exports.ServicePrincipalNameStatus = {
|
|
309
|
+
ACTIVE: "ACTIVE",
|
|
310
|
+
CREATING: "CREATING",
|
|
311
|
+
DELETING: "DELETING",
|
|
312
|
+
FAILED: "FAILED",
|
|
313
|
+
};
|
|
314
|
+
exports.ServicePrincipalNameStatusReason = {
|
|
315
|
+
DIRECTORY_ACCESS_DENIED: "DIRECTORY_ACCESS_DENIED",
|
|
316
|
+
DIRECTORY_NOT_REACHABLE: "DIRECTORY_NOT_REACHABLE",
|
|
317
|
+
DIRECTORY_RESOURCE_NOT_FOUND: "DIRECTORY_RESOURCE_NOT_FOUND",
|
|
318
|
+
INTERNAL_FAILURE: "INTERNAL_FAILURE",
|
|
319
|
+
SPN_EXISTS_ON_DIFFERENT_AD_OBJECT: "SPN_EXISTS_ON_DIFFERENT_AD_OBJECT",
|
|
320
|
+
};
|
|
321
|
+
exports.TemplateStatus = {
|
|
322
|
+
ACTIVE: "ACTIVE",
|
|
323
|
+
DELETING: "DELETING",
|
|
324
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListConnectors = void 0;
|
|
4
|
+
const ListConnectorsCommand_1 = require("../commands/ListConnectorsCommand");
|
|
5
|
+
const PcaConnectorAdClient_1 = require("../PcaConnectorAdClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListConnectorsCommand_1.ListConnectorsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListConnectors(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof PcaConnectorAdClient_1.PcaConnectorAdClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected PcaConnectorAd | PcaConnectorAdClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListConnectors = paginateListConnectors;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListDirectoryRegistrations = void 0;
|
|
4
|
+
const ListDirectoryRegistrationsCommand_1 = require("../commands/ListDirectoryRegistrationsCommand");
|
|
5
|
+
const PcaConnectorAdClient_1 = require("../PcaConnectorAdClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListDirectoryRegistrationsCommand_1.ListDirectoryRegistrationsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListDirectoryRegistrations(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof PcaConnectorAdClient_1.PcaConnectorAdClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected PcaConnectorAd | PcaConnectorAdClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListDirectoryRegistrations = paginateListDirectoryRegistrations;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListServicePrincipalNames = void 0;
|
|
4
|
+
const ListServicePrincipalNamesCommand_1 = require("../commands/ListServicePrincipalNamesCommand");
|
|
5
|
+
const PcaConnectorAdClient_1 = require("../PcaConnectorAdClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListServicePrincipalNamesCommand_1.ListServicePrincipalNamesCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListServicePrincipalNames(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof PcaConnectorAdClient_1.PcaConnectorAdClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected PcaConnectorAd | PcaConnectorAdClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListServicePrincipalNames = paginateListServicePrincipalNames;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListTemplateGroupAccessControlEntries = void 0;
|
|
4
|
+
const ListTemplateGroupAccessControlEntriesCommand_1 = require("../commands/ListTemplateGroupAccessControlEntriesCommand");
|
|
5
|
+
const PcaConnectorAdClient_1 = require("../PcaConnectorAdClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListTemplateGroupAccessControlEntriesCommand_1.ListTemplateGroupAccessControlEntriesCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListTemplateGroupAccessControlEntries(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof PcaConnectorAdClient_1.PcaConnectorAdClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected PcaConnectorAd | PcaConnectorAdClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListTemplateGroupAccessControlEntries = paginateListTemplateGroupAccessControlEntries;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListTemplates = void 0;
|
|
4
|
+
const ListTemplatesCommand_1 = require("../commands/ListTemplatesCommand");
|
|
5
|
+
const PcaConnectorAdClient_1 = require("../PcaConnectorAdClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListTemplatesCommand_1.ListTemplatesCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListTemplates(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof PcaConnectorAdClient_1.PcaConnectorAdClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected PcaConnectorAd | PcaConnectorAdClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListTemplates = paginateListTemplates;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ListConnectorsPaginator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ListDirectoryRegistrationsPaginator"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ListServicePrincipalNamesPaginator"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./ListTemplateGroupAccessControlEntriesPaginator"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./ListTemplatesPaginator"), exports);
|