@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,163 @@
|
|
|
1
|
+
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
+
import { PcaConnectorScepServiceException as __BaseException } from "./PcaConnectorScepServiceException";
|
|
3
|
+
export class AccessDeniedException extends __BaseException {
|
|
4
|
+
constructor(opts) {
|
|
5
|
+
super({
|
|
6
|
+
name: "AccessDeniedException",
|
|
7
|
+
$fault: "client",
|
|
8
|
+
...opts,
|
|
9
|
+
});
|
|
10
|
+
this.name = "AccessDeniedException";
|
|
11
|
+
this.$fault = "client";
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
+
this.Message = opts.Message;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class BadRequestException extends __BaseException {
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "BadRequestException",
|
|
20
|
+
$fault: "client",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
this.name = "BadRequestException";
|
|
24
|
+
this.$fault = "client";
|
|
25
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
26
|
+
this.Message = opts.Message;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export class ConflictException extends __BaseException {
|
|
30
|
+
constructor(opts) {
|
|
31
|
+
super({
|
|
32
|
+
name: "ConflictException",
|
|
33
|
+
$fault: "client",
|
|
34
|
+
...opts,
|
|
35
|
+
});
|
|
36
|
+
this.name = "ConflictException";
|
|
37
|
+
this.$fault = "client";
|
|
38
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
39
|
+
this.Message = opts.Message;
|
|
40
|
+
this.ResourceId = opts.ResourceId;
|
|
41
|
+
this.ResourceType = opts.ResourceType;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
export class InternalServerException extends __BaseException {
|
|
45
|
+
constructor(opts) {
|
|
46
|
+
super({
|
|
47
|
+
name: "InternalServerException",
|
|
48
|
+
$fault: "server",
|
|
49
|
+
...opts,
|
|
50
|
+
});
|
|
51
|
+
this.name = "InternalServerException";
|
|
52
|
+
this.$fault = "server";
|
|
53
|
+
this.$retryable = {};
|
|
54
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
55
|
+
this.Message = opts.Message;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
59
|
+
constructor(opts) {
|
|
60
|
+
super({
|
|
61
|
+
name: "ResourceNotFoundException",
|
|
62
|
+
$fault: "client",
|
|
63
|
+
...opts,
|
|
64
|
+
});
|
|
65
|
+
this.name = "ResourceNotFoundException";
|
|
66
|
+
this.$fault = "client";
|
|
67
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
68
|
+
this.Message = opts.Message;
|
|
69
|
+
this.ResourceId = opts.ResourceId;
|
|
70
|
+
this.ResourceType = opts.ResourceType;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
74
|
+
constructor(opts) {
|
|
75
|
+
super({
|
|
76
|
+
name: "ServiceQuotaExceededException",
|
|
77
|
+
$fault: "client",
|
|
78
|
+
...opts,
|
|
79
|
+
});
|
|
80
|
+
this.name = "ServiceQuotaExceededException";
|
|
81
|
+
this.$fault = "client";
|
|
82
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
83
|
+
this.Message = opts.Message;
|
|
84
|
+
this.ResourceType = opts.ResourceType;
|
|
85
|
+
this.ServiceCode = opts.ServiceCode;
|
|
86
|
+
this.QuotaCode = opts.QuotaCode;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
export class ThrottlingException extends __BaseException {
|
|
90
|
+
constructor(opts) {
|
|
91
|
+
super({
|
|
92
|
+
name: "ThrottlingException",
|
|
93
|
+
$fault: "client",
|
|
94
|
+
...opts,
|
|
95
|
+
});
|
|
96
|
+
this.name = "ThrottlingException";
|
|
97
|
+
this.$fault = "client";
|
|
98
|
+
this.$retryable = {
|
|
99
|
+
throttling: true,
|
|
100
|
+
};
|
|
101
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
102
|
+
this.Message = opts.Message;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
export const ValidationExceptionReason = {
|
|
106
|
+
CA_CERT_VALIDITY_TOO_SHORT: "CA_CERT_VALIDITY_TOO_SHORT",
|
|
107
|
+
INVALID_CA_USAGE_MODE: "INVALID_CA_USAGE_MODE",
|
|
108
|
+
INVALID_CONNECTOR_TYPE: "INVALID_CONNECTOR_TYPE",
|
|
109
|
+
INVALID_STATE: "INVALID_STATE",
|
|
110
|
+
NO_CLIENT_TOKEN: "NO_CLIENT_TOKEN",
|
|
111
|
+
OTHER: "OTHER",
|
|
112
|
+
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
113
|
+
};
|
|
114
|
+
export class ValidationException extends __BaseException {
|
|
115
|
+
constructor(opts) {
|
|
116
|
+
super({
|
|
117
|
+
name: "ValidationException",
|
|
118
|
+
$fault: "client",
|
|
119
|
+
...opts,
|
|
120
|
+
});
|
|
121
|
+
this.name = "ValidationException";
|
|
122
|
+
this.$fault = "client";
|
|
123
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
124
|
+
this.Message = opts.Message;
|
|
125
|
+
this.Reason = opts.Reason;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
export var MobileDeviceManagement;
|
|
129
|
+
(function (MobileDeviceManagement) {
|
|
130
|
+
MobileDeviceManagement.visit = (value, visitor) => {
|
|
131
|
+
if (value.Intune !== undefined)
|
|
132
|
+
return visitor.Intune(value.Intune);
|
|
133
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
134
|
+
};
|
|
135
|
+
})(MobileDeviceManagement || (MobileDeviceManagement = {}));
|
|
136
|
+
export const ConnectorStatus = {
|
|
137
|
+
ACTIVE: "ACTIVE",
|
|
138
|
+
CREATING: "CREATING",
|
|
139
|
+
DELETING: "DELETING",
|
|
140
|
+
FAILED: "FAILED",
|
|
141
|
+
};
|
|
142
|
+
export const ConnectorStatusReason = {
|
|
143
|
+
INTERNAL_FAILURE: "INTERNAL_FAILURE",
|
|
144
|
+
PRIVATECA_ACCESS_DENIED: "PRIVATECA_ACCESS_DENIED",
|
|
145
|
+
PRIVATECA_INVALID_STATE: "PRIVATECA_INVALID_STATE",
|
|
146
|
+
PRIVATECA_RESOURCE_NOT_FOUND: "PRIVATECA_RESOURCE_NOT_FOUND",
|
|
147
|
+
};
|
|
148
|
+
export const ConnectorType = {
|
|
149
|
+
GENERAL_PURPOSE: "GENERAL_PURPOSE",
|
|
150
|
+
INTUNE: "INTUNE",
|
|
151
|
+
};
|
|
152
|
+
export const ChallengeFilterSensitiveLog = (obj) => ({
|
|
153
|
+
...obj,
|
|
154
|
+
...(obj.Password && { Password: SENSITIVE_STRING }),
|
|
155
|
+
});
|
|
156
|
+
export const CreateChallengeResponseFilterSensitiveLog = (obj) => ({
|
|
157
|
+
...obj,
|
|
158
|
+
...(obj.Challenge && { Challenge: ChallengeFilterSensitiveLog(obj.Challenge) }),
|
|
159
|
+
});
|
|
160
|
+
export const GetChallengePasswordResponseFilterSensitiveLog = (obj) => ({
|
|
161
|
+
...obj,
|
|
162
|
+
...(obj.Password && { Password: SENSITIVE_STRING }),
|
|
163
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListChallengeMetadataCommand, } from "../commands/ListChallengeMetadataCommand";
|
|
3
|
+
import { PcaConnectorScepClient } from "../PcaConnectorScepClient";
|
|
4
|
+
export const paginateListChallengeMetadata = createPaginator(PcaConnectorScepClient, ListChallengeMetadataCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListConnectorsCommand, } from "../commands/ListConnectorsCommand";
|
|
3
|
+
import { PcaConnectorScepClient } from "../PcaConnectorScepClient";
|
|
4
|
+
export const paginateListConnectors = createPaginator(PcaConnectorScepClient, ListConnectorsCommand, "NextToken", "NextToken", "MaxResults");
|