@aws-sdk/client-pca-connector-scep 3.595.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 +305 -0
- package/dist-cjs/PcaConnectorScep.js +35 -0
- package/dist-cjs/PcaConnectorScepClient.js +56 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/CreateChallengeCommand.js +29 -0
- package/dist-cjs/commands/CreateConnectorCommand.js +28 -0
- package/dist-cjs/commands/DeleteChallengeCommand.js +28 -0
- package/dist-cjs/commands/DeleteConnectorCommand.js +28 -0
- package/dist-cjs/commands/GetChallengeMetadataCommand.js +28 -0
- package/dist-cjs/commands/GetChallengePasswordCommand.js +29 -0
- package/dist-cjs/commands/GetConnectorCommand.js +28 -0
- package/dist-cjs/commands/ListChallengeMetadataCommand.js +28 -0
- package/dist-cjs/commands/ListConnectorsCommand.js +28 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +28 -0
- package/dist-cjs/commands/TagResourceCommand.js +28 -0
- package/dist-cjs/commands/UntagResourceCommand.js +28 -0
- package/dist-cjs/commands/index.js +15 -0
- package/dist-cjs/endpoint/EndpointParameters.js +18 -0
- package/dist-cjs/endpoint/endpointResolver.js +14 -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/PcaConnectorScepServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +177 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListChallengeMetadataPaginator.js +7 -0
- package/dist-cjs/pagination/ListConnectorsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_restJson1.js +565 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +49 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/PcaConnectorScep.js +31 -0
- package/dist-es/PcaConnectorScepClient.js +52 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/CreateChallengeCommand.js +25 -0
- package/dist-es/commands/CreateConnectorCommand.js +24 -0
- package/dist-es/commands/DeleteChallengeCommand.js +24 -0
- package/dist-es/commands/DeleteConnectorCommand.js +24 -0
- package/dist-es/commands/GetChallengeMetadataCommand.js +24 -0
- package/dist-es/commands/GetChallengePasswordCommand.js +25 -0
- package/dist-es/commands/GetConnectorCommand.js +24 -0
- package/dist-es/commands/ListChallengeMetadataCommand.js +24 -0
- package/dist-es/commands/ListConnectorsCommand.js +24 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +24 -0
- package/dist-es/commands/TagResourceCommand.js +24 -0
- package/dist-es/commands/UntagResourceCommand.js +24 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/endpoint/EndpointParameters.js +14 -0
- package/dist-es/endpoint/endpointResolver.js +10 -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/PcaConnectorScepServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +163 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListChallengeMetadataPaginator.js +4 -0
- package/dist-es/pagination/ListConnectorsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +538 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +44 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/PcaConnectorScep.d.ts +99 -0
- package/dist-types/PcaConnectorScepClient.d.ts +187 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/CreateChallengeCommand.d.ts +101 -0
- package/dist-types/commands/CreateConnectorCommand.d.ts +97 -0
- package/dist-types/commands/DeleteChallengeCommand.d.ts +82 -0
- package/dist-types/commands/DeleteConnectorCommand.d.ts +82 -0
- package/dist-types/commands/GetChallengeMetadataCommand.d.ts +85 -0
- package/dist-types/commands/GetChallengePasswordCommand.d.ts +80 -0
- package/dist-types/commands/GetConnectorCommand.d.ts +100 -0
- package/dist-types/commands/ListChallengeMetadataCommand.d.ts +90 -0
- package/dist-types/commands/ListConnectorsCommand.d.ts +101 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +86 -0
- package/dist-types/commands/TagResourceCommand.d.ts +81 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +81 -0
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +40 -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 +9 -0
- package/dist-types/index.d.ts +18 -0
- package/dist-types/models/PcaConnectorScepServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +763 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListChallengeMetadataPaginator.d.ts +7 -0
- package/dist-types/pagination/ListConnectorsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +110 -0
- package/dist-types/runtimeConfig.browser.d.ts +45 -0
- package/dist-types/runtimeConfig.d.ts +45 -0
- package/dist-types/runtimeConfig.native.d.ts +44 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/PcaConnectorScep.d.ts +212 -0
- package/dist-types/ts3.4/PcaConnectorScepClient.d.ts +195 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/CreateChallengeCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteChallengeCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetChallengeMetadataCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetChallengePasswordCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetConnectorCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListChallengeMetadataCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -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 +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/PcaConnectorScepServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +257 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListChallengeMetadataPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListConnectorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +149 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +87 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +81 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/package.json +103 -0
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetChallengePasswordResponseFilterSensitiveLog = exports.CreateChallengeResponseFilterSensitiveLog = exports.ChallengeFilterSensitiveLog = exports.ConnectorType = exports.ConnectorStatusReason = exports.ConnectorStatus = exports.MobileDeviceManagement = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.BadRequestException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
const PcaConnectorScepServiceException_1 = require("./PcaConnectorScepServiceException");
|
|
6
|
+
class AccessDeniedException extends PcaConnectorScepServiceException_1.PcaConnectorScepServiceException {
|
|
7
|
+
constructor(opts) {
|
|
8
|
+
super({
|
|
9
|
+
name: "AccessDeniedException",
|
|
10
|
+
$fault: "client",
|
|
11
|
+
...opts,
|
|
12
|
+
});
|
|
13
|
+
this.name = "AccessDeniedException";
|
|
14
|
+
this.$fault = "client";
|
|
15
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
16
|
+
this.Message = opts.Message;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
20
|
+
class BadRequestException extends PcaConnectorScepServiceException_1.PcaConnectorScepServiceException {
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "BadRequestException",
|
|
24
|
+
$fault: "client",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
this.name = "BadRequestException";
|
|
28
|
+
this.$fault = "client";
|
|
29
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
30
|
+
this.Message = opts.Message;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.BadRequestException = BadRequestException;
|
|
34
|
+
class ConflictException extends PcaConnectorScepServiceException_1.PcaConnectorScepServiceException {
|
|
35
|
+
constructor(opts) {
|
|
36
|
+
super({
|
|
37
|
+
name: "ConflictException",
|
|
38
|
+
$fault: "client",
|
|
39
|
+
...opts,
|
|
40
|
+
});
|
|
41
|
+
this.name = "ConflictException";
|
|
42
|
+
this.$fault = "client";
|
|
43
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
44
|
+
this.Message = opts.Message;
|
|
45
|
+
this.ResourceId = opts.ResourceId;
|
|
46
|
+
this.ResourceType = opts.ResourceType;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.ConflictException = ConflictException;
|
|
50
|
+
class InternalServerException extends PcaConnectorScepServiceException_1.PcaConnectorScepServiceException {
|
|
51
|
+
constructor(opts) {
|
|
52
|
+
super({
|
|
53
|
+
name: "InternalServerException",
|
|
54
|
+
$fault: "server",
|
|
55
|
+
...opts,
|
|
56
|
+
});
|
|
57
|
+
this.name = "InternalServerException";
|
|
58
|
+
this.$fault = "server";
|
|
59
|
+
this.$retryable = {};
|
|
60
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
61
|
+
this.Message = opts.Message;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.InternalServerException = InternalServerException;
|
|
65
|
+
class ResourceNotFoundException extends PcaConnectorScepServiceException_1.PcaConnectorScepServiceException {
|
|
66
|
+
constructor(opts) {
|
|
67
|
+
super({
|
|
68
|
+
name: "ResourceNotFoundException",
|
|
69
|
+
$fault: "client",
|
|
70
|
+
...opts,
|
|
71
|
+
});
|
|
72
|
+
this.name = "ResourceNotFoundException";
|
|
73
|
+
this.$fault = "client";
|
|
74
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
75
|
+
this.Message = opts.Message;
|
|
76
|
+
this.ResourceId = opts.ResourceId;
|
|
77
|
+
this.ResourceType = opts.ResourceType;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
81
|
+
class ServiceQuotaExceededException extends PcaConnectorScepServiceException_1.PcaConnectorScepServiceException {
|
|
82
|
+
constructor(opts) {
|
|
83
|
+
super({
|
|
84
|
+
name: "ServiceQuotaExceededException",
|
|
85
|
+
$fault: "client",
|
|
86
|
+
...opts,
|
|
87
|
+
});
|
|
88
|
+
this.name = "ServiceQuotaExceededException";
|
|
89
|
+
this.$fault = "client";
|
|
90
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
91
|
+
this.Message = opts.Message;
|
|
92
|
+
this.ResourceType = opts.ResourceType;
|
|
93
|
+
this.ServiceCode = opts.ServiceCode;
|
|
94
|
+
this.QuotaCode = opts.QuotaCode;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
98
|
+
class ThrottlingException extends PcaConnectorScepServiceException_1.PcaConnectorScepServiceException {
|
|
99
|
+
constructor(opts) {
|
|
100
|
+
super({
|
|
101
|
+
name: "ThrottlingException",
|
|
102
|
+
$fault: "client",
|
|
103
|
+
...opts,
|
|
104
|
+
});
|
|
105
|
+
this.name = "ThrottlingException";
|
|
106
|
+
this.$fault = "client";
|
|
107
|
+
this.$retryable = {
|
|
108
|
+
throttling: true,
|
|
109
|
+
};
|
|
110
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
111
|
+
this.Message = opts.Message;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
exports.ThrottlingException = ThrottlingException;
|
|
115
|
+
exports.ValidationExceptionReason = {
|
|
116
|
+
CA_CERT_VALIDITY_TOO_SHORT: "CA_CERT_VALIDITY_TOO_SHORT",
|
|
117
|
+
INVALID_CA_USAGE_MODE: "INVALID_CA_USAGE_MODE",
|
|
118
|
+
INVALID_CONNECTOR_TYPE: "INVALID_CONNECTOR_TYPE",
|
|
119
|
+
INVALID_STATE: "INVALID_STATE",
|
|
120
|
+
NO_CLIENT_TOKEN: "NO_CLIENT_TOKEN",
|
|
121
|
+
OTHER: "OTHER",
|
|
122
|
+
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
123
|
+
};
|
|
124
|
+
class ValidationException extends PcaConnectorScepServiceException_1.PcaConnectorScepServiceException {
|
|
125
|
+
constructor(opts) {
|
|
126
|
+
super({
|
|
127
|
+
name: "ValidationException",
|
|
128
|
+
$fault: "client",
|
|
129
|
+
...opts,
|
|
130
|
+
});
|
|
131
|
+
this.name = "ValidationException";
|
|
132
|
+
this.$fault = "client";
|
|
133
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
134
|
+
this.Message = opts.Message;
|
|
135
|
+
this.Reason = opts.Reason;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
exports.ValidationException = ValidationException;
|
|
139
|
+
var MobileDeviceManagement;
|
|
140
|
+
(function (MobileDeviceManagement) {
|
|
141
|
+
MobileDeviceManagement.visit = (value, visitor) => {
|
|
142
|
+
if (value.Intune !== undefined)
|
|
143
|
+
return visitor.Intune(value.Intune);
|
|
144
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
145
|
+
};
|
|
146
|
+
})(MobileDeviceManagement = exports.MobileDeviceManagement || (exports.MobileDeviceManagement = {}));
|
|
147
|
+
exports.ConnectorStatus = {
|
|
148
|
+
ACTIVE: "ACTIVE",
|
|
149
|
+
CREATING: "CREATING",
|
|
150
|
+
DELETING: "DELETING",
|
|
151
|
+
FAILED: "FAILED",
|
|
152
|
+
};
|
|
153
|
+
exports.ConnectorStatusReason = {
|
|
154
|
+
INTERNAL_FAILURE: "INTERNAL_FAILURE",
|
|
155
|
+
PRIVATECA_ACCESS_DENIED: "PRIVATECA_ACCESS_DENIED",
|
|
156
|
+
PRIVATECA_INVALID_STATE: "PRIVATECA_INVALID_STATE",
|
|
157
|
+
PRIVATECA_RESOURCE_NOT_FOUND: "PRIVATECA_RESOURCE_NOT_FOUND",
|
|
158
|
+
};
|
|
159
|
+
exports.ConnectorType = {
|
|
160
|
+
GENERAL_PURPOSE: "GENERAL_PURPOSE",
|
|
161
|
+
INTUNE: "INTUNE",
|
|
162
|
+
};
|
|
163
|
+
const ChallengeFilterSensitiveLog = (obj) => ({
|
|
164
|
+
...obj,
|
|
165
|
+
...(obj.Password && { Password: smithy_client_1.SENSITIVE_STRING }),
|
|
166
|
+
});
|
|
167
|
+
exports.ChallengeFilterSensitiveLog = ChallengeFilterSensitiveLog;
|
|
168
|
+
const CreateChallengeResponseFilterSensitiveLog = (obj) => ({
|
|
169
|
+
...obj,
|
|
170
|
+
...(obj.Challenge && { Challenge: (0, exports.ChallengeFilterSensitiveLog)(obj.Challenge) }),
|
|
171
|
+
});
|
|
172
|
+
exports.CreateChallengeResponseFilterSensitiveLog = CreateChallengeResponseFilterSensitiveLog;
|
|
173
|
+
const GetChallengePasswordResponseFilterSensitiveLog = (obj) => ({
|
|
174
|
+
...obj,
|
|
175
|
+
...(obj.Password && { Password: smithy_client_1.SENSITIVE_STRING }),
|
|
176
|
+
});
|
|
177
|
+
exports.GetChallengePasswordResponseFilterSensitiveLog = GetChallengePasswordResponseFilterSensitiveLog;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListChallengeMetadata = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const ListChallengeMetadataCommand_1 = require("../commands/ListChallengeMetadataCommand");
|
|
6
|
+
const PcaConnectorScepClient_1 = require("../PcaConnectorScepClient");
|
|
7
|
+
exports.paginateListChallengeMetadata = (0, core_1.createPaginator)(PcaConnectorScepClient_1.PcaConnectorScepClient, ListChallengeMetadataCommand_1.ListChallengeMetadataCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListConnectors = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const ListConnectorsCommand_1 = require("../commands/ListConnectorsCommand");
|
|
6
|
+
const PcaConnectorScepClient_1 = require("../PcaConnectorScepClient");
|
|
7
|
+
exports.paginateListConnectors = (0, core_1.createPaginator)(PcaConnectorScepClient_1.PcaConnectorScepClient, ListConnectorsCommand_1.ListConnectorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,6 @@
|
|
|
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("./ListChallengeMetadataPaginator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ListConnectorsPaginator"), exports);
|