@aws-sdk/client-pca-connector-scep 3.933.0 → 3.935.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 +26 -25
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +25 -0
- package/dist-es/models/errors.js +133 -0
- package/dist-es/models/models_0.js +1 -158
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +57 -0
- package/dist-types/models/errors.d.ts +157 -0
- package/dist-types/models/models_0.d.ts +1 -213
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +32 -0
- package/dist-types/ts3.4/models/errors.d.ts +77 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -108
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -233,15 +233,6 @@ let ThrottlingException$1 = class ThrottlingException extends PcaConnectorScepSe
|
|
|
233
233
|
this.Message = opts.Message;
|
|
234
234
|
}
|
|
235
235
|
};
|
|
236
|
-
const ValidationExceptionReason = {
|
|
237
|
-
CA_CERT_VALIDITY_TOO_SHORT: "CA_CERT_VALIDITY_TOO_SHORT",
|
|
238
|
-
INVALID_CA_USAGE_MODE: "INVALID_CA_USAGE_MODE",
|
|
239
|
-
INVALID_CONNECTOR_TYPE: "INVALID_CONNECTOR_TYPE",
|
|
240
|
-
INVALID_STATE: "INVALID_STATE",
|
|
241
|
-
NO_CLIENT_TOKEN: "NO_CLIENT_TOKEN",
|
|
242
|
-
OTHER: "OTHER",
|
|
243
|
-
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
244
|
-
};
|
|
245
236
|
let ValidationException$1 = class ValidationException extends PcaConnectorScepServiceException$1 {
|
|
246
237
|
name = "ValidationException";
|
|
247
238
|
$fault = "client";
|
|
@@ -258,22 +249,6 @@ let ValidationException$1 = class ValidationException extends PcaConnectorScepSe
|
|
|
258
249
|
this.Reason = opts.Reason;
|
|
259
250
|
}
|
|
260
251
|
};
|
|
261
|
-
const ConnectorStatus = {
|
|
262
|
-
ACTIVE: "ACTIVE",
|
|
263
|
-
CREATING: "CREATING",
|
|
264
|
-
DELETING: "DELETING",
|
|
265
|
-
FAILED: "FAILED",
|
|
266
|
-
};
|
|
267
|
-
const ConnectorStatusReason = {
|
|
268
|
-
INTERNAL_FAILURE: "INTERNAL_FAILURE",
|
|
269
|
-
PRIVATECA_ACCESS_DENIED: "PRIVATECA_ACCESS_DENIED",
|
|
270
|
-
PRIVATECA_INVALID_STATE: "PRIVATECA_INVALID_STATE",
|
|
271
|
-
PRIVATECA_RESOURCE_NOT_FOUND: "PRIVATECA_RESOURCE_NOT_FOUND",
|
|
272
|
-
};
|
|
273
|
-
const ConnectorType = {
|
|
274
|
-
GENERAL_PURPOSE: "GENERAL_PURPOSE",
|
|
275
|
-
INTUNE: "INTUNE",
|
|
276
|
-
};
|
|
277
252
|
|
|
278
253
|
const _A = "Arn";
|
|
279
254
|
const _AAI = "AzureApplicationId";
|
|
@@ -886,6 +861,32 @@ const paginateListChallengeMetadata = core.createPaginator(PcaConnectorScepClien
|
|
|
886
861
|
|
|
887
862
|
const paginateListConnectors = core.createPaginator(PcaConnectorScepClient, ListConnectorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
888
863
|
|
|
864
|
+
const ValidationExceptionReason = {
|
|
865
|
+
CA_CERT_VALIDITY_TOO_SHORT: "CA_CERT_VALIDITY_TOO_SHORT",
|
|
866
|
+
INVALID_CA_USAGE_MODE: "INVALID_CA_USAGE_MODE",
|
|
867
|
+
INVALID_CONNECTOR_TYPE: "INVALID_CONNECTOR_TYPE",
|
|
868
|
+
INVALID_STATE: "INVALID_STATE",
|
|
869
|
+
NO_CLIENT_TOKEN: "NO_CLIENT_TOKEN",
|
|
870
|
+
OTHER: "OTHER",
|
|
871
|
+
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
872
|
+
};
|
|
873
|
+
const ConnectorStatus = {
|
|
874
|
+
ACTIVE: "ACTIVE",
|
|
875
|
+
CREATING: "CREATING",
|
|
876
|
+
DELETING: "DELETING",
|
|
877
|
+
FAILED: "FAILED",
|
|
878
|
+
};
|
|
879
|
+
const ConnectorStatusReason = {
|
|
880
|
+
INTERNAL_FAILURE: "INTERNAL_FAILURE",
|
|
881
|
+
PRIVATECA_ACCESS_DENIED: "PRIVATECA_ACCESS_DENIED",
|
|
882
|
+
PRIVATECA_INVALID_STATE: "PRIVATECA_INVALID_STATE",
|
|
883
|
+
PRIVATECA_RESOURCE_NOT_FOUND: "PRIVATECA_RESOURCE_NOT_FOUND",
|
|
884
|
+
};
|
|
885
|
+
const ConnectorType = {
|
|
886
|
+
GENERAL_PURPOSE: "GENERAL_PURPOSE",
|
|
887
|
+
INTUNE: "INTUNE",
|
|
888
|
+
};
|
|
889
|
+
|
|
889
890
|
Object.defineProperty(exports, "$Command", {
|
|
890
891
|
enumerable: true,
|
|
891
892
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./PcaConnectorScepClient";
|
|
|
2
2
|
export * from "./PcaConnectorScep";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { PcaConnectorScepServiceException } from "./models/PcaConnectorScepServiceException";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export const ValidationExceptionReason = {
|
|
2
|
+
CA_CERT_VALIDITY_TOO_SHORT: "CA_CERT_VALIDITY_TOO_SHORT",
|
|
3
|
+
INVALID_CA_USAGE_MODE: "INVALID_CA_USAGE_MODE",
|
|
4
|
+
INVALID_CONNECTOR_TYPE: "INVALID_CONNECTOR_TYPE",
|
|
5
|
+
INVALID_STATE: "INVALID_STATE",
|
|
6
|
+
NO_CLIENT_TOKEN: "NO_CLIENT_TOKEN",
|
|
7
|
+
OTHER: "OTHER",
|
|
8
|
+
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
9
|
+
};
|
|
10
|
+
export const ConnectorStatus = {
|
|
11
|
+
ACTIVE: "ACTIVE",
|
|
12
|
+
CREATING: "CREATING",
|
|
13
|
+
DELETING: "DELETING",
|
|
14
|
+
FAILED: "FAILED",
|
|
15
|
+
};
|
|
16
|
+
export const ConnectorStatusReason = {
|
|
17
|
+
INTERNAL_FAILURE: "INTERNAL_FAILURE",
|
|
18
|
+
PRIVATECA_ACCESS_DENIED: "PRIVATECA_ACCESS_DENIED",
|
|
19
|
+
PRIVATECA_INVALID_STATE: "PRIVATECA_INVALID_STATE",
|
|
20
|
+
PRIVATECA_RESOURCE_NOT_FOUND: "PRIVATECA_RESOURCE_NOT_FOUND",
|
|
21
|
+
};
|
|
22
|
+
export const ConnectorType = {
|
|
23
|
+
GENERAL_PURPOSE: "GENERAL_PURPOSE",
|
|
24
|
+
INTUNE: "INTUNE",
|
|
25
|
+
};
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { PcaConnectorScepServiceException as __BaseException } from "./PcaConnectorScepServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Message;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "AccessDeniedException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
+
this.Message = opts.Message;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class BadRequestException extends __BaseException {
|
|
17
|
+
name = "BadRequestException";
|
|
18
|
+
$fault = "client";
|
|
19
|
+
Message;
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "BadRequestException",
|
|
23
|
+
$fault: "client",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
27
|
+
this.Message = opts.Message;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class ConflictException extends __BaseException {
|
|
31
|
+
name = "ConflictException";
|
|
32
|
+
$fault = "client";
|
|
33
|
+
Message;
|
|
34
|
+
ResourceId;
|
|
35
|
+
ResourceType;
|
|
36
|
+
constructor(opts) {
|
|
37
|
+
super({
|
|
38
|
+
name: "ConflictException",
|
|
39
|
+
$fault: "client",
|
|
40
|
+
...opts,
|
|
41
|
+
});
|
|
42
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
43
|
+
this.Message = opts.Message;
|
|
44
|
+
this.ResourceId = opts.ResourceId;
|
|
45
|
+
this.ResourceType = opts.ResourceType;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
export class InternalServerException extends __BaseException {
|
|
49
|
+
name = "InternalServerException";
|
|
50
|
+
$fault = "server";
|
|
51
|
+
$retryable = {};
|
|
52
|
+
Message;
|
|
53
|
+
constructor(opts) {
|
|
54
|
+
super({
|
|
55
|
+
name: "InternalServerException",
|
|
56
|
+
$fault: "server",
|
|
57
|
+
...opts,
|
|
58
|
+
});
|
|
59
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
60
|
+
this.Message = opts.Message;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
64
|
+
name = "ResourceNotFoundException";
|
|
65
|
+
$fault = "client";
|
|
66
|
+
Message;
|
|
67
|
+
ResourceId;
|
|
68
|
+
ResourceType;
|
|
69
|
+
constructor(opts) {
|
|
70
|
+
super({
|
|
71
|
+
name: "ResourceNotFoundException",
|
|
72
|
+
$fault: "client",
|
|
73
|
+
...opts,
|
|
74
|
+
});
|
|
75
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
76
|
+
this.Message = opts.Message;
|
|
77
|
+
this.ResourceId = opts.ResourceId;
|
|
78
|
+
this.ResourceType = opts.ResourceType;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
82
|
+
name = "ServiceQuotaExceededException";
|
|
83
|
+
$fault = "client";
|
|
84
|
+
Message;
|
|
85
|
+
ResourceType;
|
|
86
|
+
ServiceCode;
|
|
87
|
+
QuotaCode;
|
|
88
|
+
constructor(opts) {
|
|
89
|
+
super({
|
|
90
|
+
name: "ServiceQuotaExceededException",
|
|
91
|
+
$fault: "client",
|
|
92
|
+
...opts,
|
|
93
|
+
});
|
|
94
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
95
|
+
this.Message = opts.Message;
|
|
96
|
+
this.ResourceType = opts.ResourceType;
|
|
97
|
+
this.ServiceCode = opts.ServiceCode;
|
|
98
|
+
this.QuotaCode = opts.QuotaCode;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
export class ThrottlingException extends __BaseException {
|
|
102
|
+
name = "ThrottlingException";
|
|
103
|
+
$fault = "client";
|
|
104
|
+
$retryable = {
|
|
105
|
+
throttling: true,
|
|
106
|
+
};
|
|
107
|
+
Message;
|
|
108
|
+
constructor(opts) {
|
|
109
|
+
super({
|
|
110
|
+
name: "ThrottlingException",
|
|
111
|
+
$fault: "client",
|
|
112
|
+
...opts,
|
|
113
|
+
});
|
|
114
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
115
|
+
this.Message = opts.Message;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
export class ValidationException extends __BaseException {
|
|
119
|
+
name = "ValidationException";
|
|
120
|
+
$fault = "client";
|
|
121
|
+
Message;
|
|
122
|
+
Reason;
|
|
123
|
+
constructor(opts) {
|
|
124
|
+
super({
|
|
125
|
+
name: "ValidationException",
|
|
126
|
+
$fault: "client",
|
|
127
|
+
...opts,
|
|
128
|
+
});
|
|
129
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
130
|
+
this.Message = opts.Message;
|
|
131
|
+
this.Reason = opts.Reason;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
@@ -1,158 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
Message;
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "AccessDeniedException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
-
this.Message = opts.Message;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export class BadRequestException extends __BaseException {
|
|
17
|
-
name = "BadRequestException";
|
|
18
|
-
$fault = "client";
|
|
19
|
-
Message;
|
|
20
|
-
constructor(opts) {
|
|
21
|
-
super({
|
|
22
|
-
name: "BadRequestException",
|
|
23
|
-
$fault: "client",
|
|
24
|
-
...opts,
|
|
25
|
-
});
|
|
26
|
-
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
27
|
-
this.Message = opts.Message;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
export class ConflictException extends __BaseException {
|
|
31
|
-
name = "ConflictException";
|
|
32
|
-
$fault = "client";
|
|
33
|
-
Message;
|
|
34
|
-
ResourceId;
|
|
35
|
-
ResourceType;
|
|
36
|
-
constructor(opts) {
|
|
37
|
-
super({
|
|
38
|
-
name: "ConflictException",
|
|
39
|
-
$fault: "client",
|
|
40
|
-
...opts,
|
|
41
|
-
});
|
|
42
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
43
|
-
this.Message = opts.Message;
|
|
44
|
-
this.ResourceId = opts.ResourceId;
|
|
45
|
-
this.ResourceType = opts.ResourceType;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
export class InternalServerException extends __BaseException {
|
|
49
|
-
name = "InternalServerException";
|
|
50
|
-
$fault = "server";
|
|
51
|
-
$retryable = {};
|
|
52
|
-
Message;
|
|
53
|
-
constructor(opts) {
|
|
54
|
-
super({
|
|
55
|
-
name: "InternalServerException",
|
|
56
|
-
$fault: "server",
|
|
57
|
-
...opts,
|
|
58
|
-
});
|
|
59
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
60
|
-
this.Message = opts.Message;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
64
|
-
name = "ResourceNotFoundException";
|
|
65
|
-
$fault = "client";
|
|
66
|
-
Message;
|
|
67
|
-
ResourceId;
|
|
68
|
-
ResourceType;
|
|
69
|
-
constructor(opts) {
|
|
70
|
-
super({
|
|
71
|
-
name: "ResourceNotFoundException",
|
|
72
|
-
$fault: "client",
|
|
73
|
-
...opts,
|
|
74
|
-
});
|
|
75
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
76
|
-
this.Message = opts.Message;
|
|
77
|
-
this.ResourceId = opts.ResourceId;
|
|
78
|
-
this.ResourceType = opts.ResourceType;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
82
|
-
name = "ServiceQuotaExceededException";
|
|
83
|
-
$fault = "client";
|
|
84
|
-
Message;
|
|
85
|
-
ResourceType;
|
|
86
|
-
ServiceCode;
|
|
87
|
-
QuotaCode;
|
|
88
|
-
constructor(opts) {
|
|
89
|
-
super({
|
|
90
|
-
name: "ServiceQuotaExceededException",
|
|
91
|
-
$fault: "client",
|
|
92
|
-
...opts,
|
|
93
|
-
});
|
|
94
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
95
|
-
this.Message = opts.Message;
|
|
96
|
-
this.ResourceType = opts.ResourceType;
|
|
97
|
-
this.ServiceCode = opts.ServiceCode;
|
|
98
|
-
this.QuotaCode = opts.QuotaCode;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
export class ThrottlingException extends __BaseException {
|
|
102
|
-
name = "ThrottlingException";
|
|
103
|
-
$fault = "client";
|
|
104
|
-
$retryable = {
|
|
105
|
-
throttling: true,
|
|
106
|
-
};
|
|
107
|
-
Message;
|
|
108
|
-
constructor(opts) {
|
|
109
|
-
super({
|
|
110
|
-
name: "ThrottlingException",
|
|
111
|
-
$fault: "client",
|
|
112
|
-
...opts,
|
|
113
|
-
});
|
|
114
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
115
|
-
this.Message = opts.Message;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
export const ValidationExceptionReason = {
|
|
119
|
-
CA_CERT_VALIDITY_TOO_SHORT: "CA_CERT_VALIDITY_TOO_SHORT",
|
|
120
|
-
INVALID_CA_USAGE_MODE: "INVALID_CA_USAGE_MODE",
|
|
121
|
-
INVALID_CONNECTOR_TYPE: "INVALID_CONNECTOR_TYPE",
|
|
122
|
-
INVALID_STATE: "INVALID_STATE",
|
|
123
|
-
NO_CLIENT_TOKEN: "NO_CLIENT_TOKEN",
|
|
124
|
-
OTHER: "OTHER",
|
|
125
|
-
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
126
|
-
};
|
|
127
|
-
export class ValidationException extends __BaseException {
|
|
128
|
-
name = "ValidationException";
|
|
129
|
-
$fault = "client";
|
|
130
|
-
Message;
|
|
131
|
-
Reason;
|
|
132
|
-
constructor(opts) {
|
|
133
|
-
super({
|
|
134
|
-
name: "ValidationException",
|
|
135
|
-
$fault: "client",
|
|
136
|
-
...opts,
|
|
137
|
-
});
|
|
138
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
139
|
-
this.Message = opts.Message;
|
|
140
|
-
this.Reason = opts.Reason;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
export const ConnectorStatus = {
|
|
144
|
-
ACTIVE: "ACTIVE",
|
|
145
|
-
CREATING: "CREATING",
|
|
146
|
-
DELETING: "DELETING",
|
|
147
|
-
FAILED: "FAILED",
|
|
148
|
-
};
|
|
149
|
-
export const ConnectorStatusReason = {
|
|
150
|
-
INTERNAL_FAILURE: "INTERNAL_FAILURE",
|
|
151
|
-
PRIVATECA_ACCESS_DENIED: "PRIVATECA_ACCESS_DENIED",
|
|
152
|
-
PRIVATECA_INVALID_STATE: "PRIVATECA_INVALID_STATE",
|
|
153
|
-
PRIVATECA_RESOURCE_NOT_FOUND: "PRIVATECA_RESOURCE_NOT_FOUND",
|
|
154
|
-
};
|
|
155
|
-
export const ConnectorType = {
|
|
156
|
-
GENERAL_PURPOSE: "GENERAL_PURPOSE",
|
|
157
|
-
INTUNE: "INTUNE",
|
|
158
|
-
};
|
|
1
|
+
export {};
|
|
@@ -90,7 +90,7 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.pcaconnectorscep";
|
|
|
90
90
|
const _tK = "tagKeys";
|
|
91
91
|
const n0 = "com.amazonaws.pcaconnectorscep";
|
|
92
92
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
93
|
-
import { AccessDeniedException as __AccessDeniedException, BadRequestException as __BadRequestException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
93
|
+
import { AccessDeniedException as __AccessDeniedException, BadRequestException as __BadRequestException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
94
94
|
import { PcaConnectorScepServiceException as __PcaConnectorScepServiceException } from "../models/PcaConnectorScepServiceException";
|
|
95
95
|
export var SensitiveString = [0, n0, _SS, 8, 0];
|
|
96
96
|
export var AccessDeniedException = [
|
package/dist-types/index.d.ts
CHANGED
|
@@ -10,5 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
10
10
|
export type { PcaConnectorScepExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export * from "./pagination";
|
|
13
|
-
export * from "./models";
|
|
13
|
+
export * from "./models/enums";
|
|
14
|
+
export * from "./models/errors";
|
|
15
|
+
export type * from "./models/models_0";
|
|
14
16
|
export { PcaConnectorScepServiceException } from "./models/PcaConnectorScepServiceException";
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const ValidationExceptionReason: {
|
|
6
|
+
readonly CA_CERT_VALIDITY_TOO_SHORT: "CA_CERT_VALIDITY_TOO_SHORT";
|
|
7
|
+
readonly INVALID_CA_USAGE_MODE: "INVALID_CA_USAGE_MODE";
|
|
8
|
+
readonly INVALID_CONNECTOR_TYPE: "INVALID_CONNECTOR_TYPE";
|
|
9
|
+
readonly INVALID_STATE: "INVALID_STATE";
|
|
10
|
+
readonly NO_CLIENT_TOKEN: "NO_CLIENT_TOKEN";
|
|
11
|
+
readonly OTHER: "OTHER";
|
|
12
|
+
readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
* @enum
|
|
21
|
+
*/
|
|
22
|
+
export declare const ConnectorStatus: {
|
|
23
|
+
readonly ACTIVE: "ACTIVE";
|
|
24
|
+
readonly CREATING: "CREATING";
|
|
25
|
+
readonly DELETING: "DELETING";
|
|
26
|
+
readonly FAILED: "FAILED";
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export type ConnectorStatus = (typeof ConnectorStatus)[keyof typeof ConnectorStatus];
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
* @enum
|
|
35
|
+
*/
|
|
36
|
+
export declare const ConnectorStatusReason: {
|
|
37
|
+
readonly INTERNAL_FAILURE: "INTERNAL_FAILURE";
|
|
38
|
+
readonly PRIVATECA_ACCESS_DENIED: "PRIVATECA_ACCESS_DENIED";
|
|
39
|
+
readonly PRIVATECA_INVALID_STATE: "PRIVATECA_INVALID_STATE";
|
|
40
|
+
readonly PRIVATECA_RESOURCE_NOT_FOUND: "PRIVATECA_RESOURCE_NOT_FOUND";
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
export type ConnectorStatusReason = (typeof ConnectorStatusReason)[keyof typeof ConnectorStatusReason];
|
|
46
|
+
/**
|
|
47
|
+
* @public
|
|
48
|
+
* @enum
|
|
49
|
+
*/
|
|
50
|
+
export declare const ConnectorType: {
|
|
51
|
+
readonly GENERAL_PURPOSE: "GENERAL_PURPOSE";
|
|
52
|
+
readonly INTUNE: "INTUNE";
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
export type ConnectorType = (typeof ConnectorType)[keyof typeof ConnectorType];
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ValidationExceptionReason } from "./enums";
|
|
3
|
+
import { PcaConnectorScepServiceException as __BaseException } from "./PcaConnectorScepServiceException";
|
|
4
|
+
/**
|
|
5
|
+
* <p>You can receive this error if you attempt to perform an operation and you don't have
|
|
6
|
+
* the required permissions. This can be caused by insufficient permissions in policies
|
|
7
|
+
* attached to your Amazon Web Services Identity and Access Management (IAM) principal. It can also happen
|
|
8
|
+
* because of restrictions in place from an Amazon Web Services Organizations service control policy (SCP)
|
|
9
|
+
* that affects your Amazon Web Services account.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
13
|
+
readonly name: "AccessDeniedException";
|
|
14
|
+
readonly $fault: "client";
|
|
15
|
+
Message: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* <p>The request is malformed or contains an error such as an invalid parameter value or a missing required parameter.</p>
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
export declare class BadRequestException extends __BaseException {
|
|
26
|
+
readonly name: "BadRequestException";
|
|
27
|
+
readonly $fault: "client";
|
|
28
|
+
Message: string | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* <p>This request can't be completed for one of the following reasons because the requested
|
|
36
|
+
* resource was being concurrently modified by another request.</p>
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
export declare class ConflictException extends __BaseException {
|
|
40
|
+
readonly name: "ConflictException";
|
|
41
|
+
readonly $fault: "client";
|
|
42
|
+
Message: string | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* <p>The identifier of the Amazon Web Services resource.</p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
ResourceId: string | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* <p>The resource type, which can be either <code>Connector</code> or <code>Challenge</code>.</p>
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
ResourceType: string | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
56
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* <p>The request processing has failed because of an unknown error, exception or failure with
|
|
60
|
+
* an internal server.</p>
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
export declare class InternalServerException extends __BaseException {
|
|
64
|
+
readonly name: "InternalServerException";
|
|
65
|
+
readonly $fault: "server";
|
|
66
|
+
$retryable: {};
|
|
67
|
+
Message: string | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* <p>The operation tried to access a nonexistent resource. The resource might be incorrectly specified, or it might have a status other than <code>ACTIVE</code>.</p>
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
78
|
+
readonly name: "ResourceNotFoundException";
|
|
79
|
+
readonly $fault: "client";
|
|
80
|
+
Message: string | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* <p>The identifier of the Amazon Web Services resource.</p>
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
ResourceId: string | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* <p>The resource type, which can be either <code>Connector</code> or <code>Challenge</code>.</p>
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
ResourceType: string | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* <p>The request would cause a service quota to be exceeded.</p>
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
101
|
+
readonly name: "ServiceQuotaExceededException";
|
|
102
|
+
readonly $fault: "client";
|
|
103
|
+
Message: string | undefined;
|
|
104
|
+
/**
|
|
105
|
+
* <p>The resource type, which can be either <code>Connector</code> or <code>Challenge</code>.</p>
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
ResourceType: string | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* <p>Identifies the originating service.</p>
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
ServiceCode: string | undefined;
|
|
114
|
+
/**
|
|
115
|
+
* <p>The quota identifier.</p>
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
QuotaCode: string | undefined;
|
|
119
|
+
/**
|
|
120
|
+
* @internal
|
|
121
|
+
*/
|
|
122
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
export declare class ThrottlingException extends __BaseException {
|
|
129
|
+
readonly name: "ThrottlingException";
|
|
130
|
+
readonly $fault: "client";
|
|
131
|
+
$retryable: {
|
|
132
|
+
throttling: boolean;
|
|
133
|
+
};
|
|
134
|
+
Message: string | undefined;
|
|
135
|
+
/**
|
|
136
|
+
* @internal
|
|
137
|
+
*/
|
|
138
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* <p>An input validation error occurred. For example, invalid characters in a name tag, or an invalid pagination token.</p>
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
144
|
+
export declare class ValidationException extends __BaseException {
|
|
145
|
+
readonly name: "ValidationException";
|
|
146
|
+
readonly $fault: "client";
|
|
147
|
+
Message: string | undefined;
|
|
148
|
+
/**
|
|
149
|
+
* <p>The reason for the validation error, if available. The service doesn't return a reason for every validation exception.</p>
|
|
150
|
+
* @public
|
|
151
|
+
*/
|
|
152
|
+
Reason?: ValidationExceptionReason | undefined;
|
|
153
|
+
/**
|
|
154
|
+
* @internal
|
|
155
|
+
*/
|
|
156
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
157
|
+
}
|
|
@@ -1,35 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { PcaConnectorScepServiceException as __BaseException } from "./PcaConnectorScepServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* <p>You can receive this error if you attempt to perform an operation and you don't have
|
|
5
|
-
* the required permissions. This can be caused by insufficient permissions in policies
|
|
6
|
-
* attached to your Amazon Web Services Identity and Access Management (IAM) principal. It can also happen
|
|
7
|
-
* because of restrictions in place from an Amazon Web Services Organizations service control policy (SCP)
|
|
8
|
-
* that affects your Amazon Web Services account.</p>
|
|
9
|
-
* @public
|
|
10
|
-
*/
|
|
11
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
12
|
-
readonly name: "AccessDeniedException";
|
|
13
|
-
readonly $fault: "client";
|
|
14
|
-
Message: string | undefined;
|
|
15
|
-
/**
|
|
16
|
-
* @internal
|
|
17
|
-
*/
|
|
18
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* <p>The request is malformed or contains an error such as an invalid parameter value or a missing required parameter.</p>
|
|
22
|
-
* @public
|
|
23
|
-
*/
|
|
24
|
-
export declare class BadRequestException extends __BaseException {
|
|
25
|
-
readonly name: "BadRequestException";
|
|
26
|
-
readonly $fault: "client";
|
|
27
|
-
Message: string | undefined;
|
|
28
|
-
/**
|
|
29
|
-
* @internal
|
|
30
|
-
*/
|
|
31
|
-
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
32
|
-
}
|
|
1
|
+
import { ConnectorStatus, ConnectorStatusReason, ConnectorType } from "./enums";
|
|
33
2
|
/**
|
|
34
3
|
* <p>For Connector for SCEP for general-purpose. An object containing information about the specified connector's SCEP challenge passwords.</p>
|
|
35
4
|
* @public
|
|
@@ -113,30 +82,6 @@ export interface ChallengeMetadataSummary {
|
|
|
113
82
|
*/
|
|
114
83
|
UpdatedAt?: Date | undefined;
|
|
115
84
|
}
|
|
116
|
-
/**
|
|
117
|
-
* <p>This request can't be completed for one of the following reasons because the requested
|
|
118
|
-
* resource was being concurrently modified by another request.</p>
|
|
119
|
-
* @public
|
|
120
|
-
*/
|
|
121
|
-
export declare class ConflictException extends __BaseException {
|
|
122
|
-
readonly name: "ConflictException";
|
|
123
|
-
readonly $fault: "client";
|
|
124
|
-
Message: string | undefined;
|
|
125
|
-
/**
|
|
126
|
-
* <p>The identifier of the Amazon Web Services resource.</p>
|
|
127
|
-
* @public
|
|
128
|
-
*/
|
|
129
|
-
ResourceId: string | undefined;
|
|
130
|
-
/**
|
|
131
|
-
* <p>The resource type, which can be either <code>Connector</code> or <code>Challenge</code>.</p>
|
|
132
|
-
* @public
|
|
133
|
-
*/
|
|
134
|
-
ResourceType: string | undefined;
|
|
135
|
-
/**
|
|
136
|
-
* @internal
|
|
137
|
-
*/
|
|
138
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
139
|
-
}
|
|
140
85
|
/**
|
|
141
86
|
* @public
|
|
142
87
|
*/
|
|
@@ -167,123 +112,6 @@ export interface CreateChallengeResponse {
|
|
|
167
112
|
*/
|
|
168
113
|
Challenge?: Challenge | undefined;
|
|
169
114
|
}
|
|
170
|
-
/**
|
|
171
|
-
* <p>The request processing has failed because of an unknown error, exception or failure with
|
|
172
|
-
* an internal server.</p>
|
|
173
|
-
* @public
|
|
174
|
-
*/
|
|
175
|
-
export declare class InternalServerException extends __BaseException {
|
|
176
|
-
readonly name: "InternalServerException";
|
|
177
|
-
readonly $fault: "server";
|
|
178
|
-
$retryable: {};
|
|
179
|
-
Message: string | undefined;
|
|
180
|
-
/**
|
|
181
|
-
* @internal
|
|
182
|
-
*/
|
|
183
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
184
|
-
}
|
|
185
|
-
/**
|
|
186
|
-
* <p>The operation tried to access a nonexistent resource. The resource might be incorrectly specified, or it might have a status other than <code>ACTIVE</code>.</p>
|
|
187
|
-
* @public
|
|
188
|
-
*/
|
|
189
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
190
|
-
readonly name: "ResourceNotFoundException";
|
|
191
|
-
readonly $fault: "client";
|
|
192
|
-
Message: string | undefined;
|
|
193
|
-
/**
|
|
194
|
-
* <p>The identifier of the Amazon Web Services resource.</p>
|
|
195
|
-
* @public
|
|
196
|
-
*/
|
|
197
|
-
ResourceId: string | undefined;
|
|
198
|
-
/**
|
|
199
|
-
* <p>The resource type, which can be either <code>Connector</code> or <code>Challenge</code>.</p>
|
|
200
|
-
* @public
|
|
201
|
-
*/
|
|
202
|
-
ResourceType: string | undefined;
|
|
203
|
-
/**
|
|
204
|
-
* @internal
|
|
205
|
-
*/
|
|
206
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
207
|
-
}
|
|
208
|
-
/**
|
|
209
|
-
* <p>The request would cause a service quota to be exceeded.</p>
|
|
210
|
-
* @public
|
|
211
|
-
*/
|
|
212
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
213
|
-
readonly name: "ServiceQuotaExceededException";
|
|
214
|
-
readonly $fault: "client";
|
|
215
|
-
Message: string | undefined;
|
|
216
|
-
/**
|
|
217
|
-
* <p>The resource type, which can be either <code>Connector</code> or <code>Challenge</code>.</p>
|
|
218
|
-
* @public
|
|
219
|
-
*/
|
|
220
|
-
ResourceType: string | undefined;
|
|
221
|
-
/**
|
|
222
|
-
* <p>Identifies the originating service.</p>
|
|
223
|
-
* @public
|
|
224
|
-
*/
|
|
225
|
-
ServiceCode: string | undefined;
|
|
226
|
-
/**
|
|
227
|
-
* <p>The quota identifier.</p>
|
|
228
|
-
* @public
|
|
229
|
-
*/
|
|
230
|
-
QuotaCode: string | undefined;
|
|
231
|
-
/**
|
|
232
|
-
* @internal
|
|
233
|
-
*/
|
|
234
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
235
|
-
}
|
|
236
|
-
/**
|
|
237
|
-
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
238
|
-
* @public
|
|
239
|
-
*/
|
|
240
|
-
export declare class ThrottlingException extends __BaseException {
|
|
241
|
-
readonly name: "ThrottlingException";
|
|
242
|
-
readonly $fault: "client";
|
|
243
|
-
$retryable: {
|
|
244
|
-
throttling: boolean;
|
|
245
|
-
};
|
|
246
|
-
Message: string | undefined;
|
|
247
|
-
/**
|
|
248
|
-
* @internal
|
|
249
|
-
*/
|
|
250
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
251
|
-
}
|
|
252
|
-
/**
|
|
253
|
-
* @public
|
|
254
|
-
* @enum
|
|
255
|
-
*/
|
|
256
|
-
export declare const ValidationExceptionReason: {
|
|
257
|
-
readonly CA_CERT_VALIDITY_TOO_SHORT: "CA_CERT_VALIDITY_TOO_SHORT";
|
|
258
|
-
readonly INVALID_CA_USAGE_MODE: "INVALID_CA_USAGE_MODE";
|
|
259
|
-
readonly INVALID_CONNECTOR_TYPE: "INVALID_CONNECTOR_TYPE";
|
|
260
|
-
readonly INVALID_STATE: "INVALID_STATE";
|
|
261
|
-
readonly NO_CLIENT_TOKEN: "NO_CLIENT_TOKEN";
|
|
262
|
-
readonly OTHER: "OTHER";
|
|
263
|
-
readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
|
|
264
|
-
};
|
|
265
|
-
/**
|
|
266
|
-
* @public
|
|
267
|
-
*/
|
|
268
|
-
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
269
|
-
/**
|
|
270
|
-
* <p>An input validation error occurred. For example, invalid characters in a name tag, or an invalid pagination token.</p>
|
|
271
|
-
* @public
|
|
272
|
-
*/
|
|
273
|
-
export declare class ValidationException extends __BaseException {
|
|
274
|
-
readonly name: "ValidationException";
|
|
275
|
-
readonly $fault: "client";
|
|
276
|
-
Message: string | undefined;
|
|
277
|
-
/**
|
|
278
|
-
* <p>The reason for the validation error, if available. The service doesn't return a reason for every validation exception.</p>
|
|
279
|
-
* @public
|
|
280
|
-
*/
|
|
281
|
-
Reason?: ValidationExceptionReason | undefined;
|
|
282
|
-
/**
|
|
283
|
-
* @internal
|
|
284
|
-
*/
|
|
285
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
286
|
-
}
|
|
287
115
|
/**
|
|
288
116
|
* @public
|
|
289
117
|
*/
|
|
@@ -447,46 +275,6 @@ export interface OpenIdConfiguration {
|
|
|
447
275
|
*/
|
|
448
276
|
Audience?: string | undefined;
|
|
449
277
|
}
|
|
450
|
-
/**
|
|
451
|
-
* @public
|
|
452
|
-
* @enum
|
|
453
|
-
*/
|
|
454
|
-
export declare const ConnectorStatus: {
|
|
455
|
-
readonly ACTIVE: "ACTIVE";
|
|
456
|
-
readonly CREATING: "CREATING";
|
|
457
|
-
readonly DELETING: "DELETING";
|
|
458
|
-
readonly FAILED: "FAILED";
|
|
459
|
-
};
|
|
460
|
-
/**
|
|
461
|
-
* @public
|
|
462
|
-
*/
|
|
463
|
-
export type ConnectorStatus = (typeof ConnectorStatus)[keyof typeof ConnectorStatus];
|
|
464
|
-
/**
|
|
465
|
-
* @public
|
|
466
|
-
* @enum
|
|
467
|
-
*/
|
|
468
|
-
export declare const ConnectorStatusReason: {
|
|
469
|
-
readonly INTERNAL_FAILURE: "INTERNAL_FAILURE";
|
|
470
|
-
readonly PRIVATECA_ACCESS_DENIED: "PRIVATECA_ACCESS_DENIED";
|
|
471
|
-
readonly PRIVATECA_INVALID_STATE: "PRIVATECA_INVALID_STATE";
|
|
472
|
-
readonly PRIVATECA_RESOURCE_NOT_FOUND: "PRIVATECA_RESOURCE_NOT_FOUND";
|
|
473
|
-
};
|
|
474
|
-
/**
|
|
475
|
-
* @public
|
|
476
|
-
*/
|
|
477
|
-
export type ConnectorStatusReason = (typeof ConnectorStatusReason)[keyof typeof ConnectorStatusReason];
|
|
478
|
-
/**
|
|
479
|
-
* @public
|
|
480
|
-
* @enum
|
|
481
|
-
*/
|
|
482
|
-
export declare const ConnectorType: {
|
|
483
|
-
readonly GENERAL_PURPOSE: "GENERAL_PURPOSE";
|
|
484
|
-
readonly INTUNE: "INTUNE";
|
|
485
|
-
};
|
|
486
|
-
/**
|
|
487
|
-
* @public
|
|
488
|
-
*/
|
|
489
|
-
export type ConnectorType = (typeof ConnectorType)[keyof typeof ConnectorType];
|
|
490
278
|
/**
|
|
491
279
|
* <p>Connector for SCEP is a service that links Amazon Web Services Private Certificate Authority to your SCEP-enabled devices. The connector brokers the exchange of certificates from Amazon Web Services Private CA to your SCEP-enabled devices and mobile device management systems. The connector is a complex type that contains the connector's configuration settings.</p>
|
|
492
280
|
* @public
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { PcaConnectorScepExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { PcaConnectorScepServiceException } from "./models/PcaConnectorScepServiceException";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare const ValidationExceptionReason: {
|
|
2
|
+
readonly CA_CERT_VALIDITY_TOO_SHORT: "CA_CERT_VALIDITY_TOO_SHORT";
|
|
3
|
+
readonly INVALID_CA_USAGE_MODE: "INVALID_CA_USAGE_MODE";
|
|
4
|
+
readonly INVALID_CONNECTOR_TYPE: "INVALID_CONNECTOR_TYPE";
|
|
5
|
+
readonly INVALID_STATE: "INVALID_STATE";
|
|
6
|
+
readonly NO_CLIENT_TOKEN: "NO_CLIENT_TOKEN";
|
|
7
|
+
readonly OTHER: "OTHER";
|
|
8
|
+
readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
|
|
9
|
+
};
|
|
10
|
+
export type ValidationExceptionReason =
|
|
11
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
12
|
+
export declare const ConnectorStatus: {
|
|
13
|
+
readonly ACTIVE: "ACTIVE";
|
|
14
|
+
readonly CREATING: "CREATING";
|
|
15
|
+
readonly DELETING: "DELETING";
|
|
16
|
+
readonly FAILED: "FAILED";
|
|
17
|
+
};
|
|
18
|
+
export type ConnectorStatus =
|
|
19
|
+
(typeof ConnectorStatus)[keyof typeof ConnectorStatus];
|
|
20
|
+
export declare const ConnectorStatusReason: {
|
|
21
|
+
readonly INTERNAL_FAILURE: "INTERNAL_FAILURE";
|
|
22
|
+
readonly PRIVATECA_ACCESS_DENIED: "PRIVATECA_ACCESS_DENIED";
|
|
23
|
+
readonly PRIVATECA_INVALID_STATE: "PRIVATECA_INVALID_STATE";
|
|
24
|
+
readonly PRIVATECA_RESOURCE_NOT_FOUND: "PRIVATECA_RESOURCE_NOT_FOUND";
|
|
25
|
+
};
|
|
26
|
+
export type ConnectorStatusReason =
|
|
27
|
+
(typeof ConnectorStatusReason)[keyof typeof ConnectorStatusReason];
|
|
28
|
+
export declare const ConnectorType: {
|
|
29
|
+
readonly GENERAL_PURPOSE: "GENERAL_PURPOSE";
|
|
30
|
+
readonly INTUNE: "INTUNE";
|
|
31
|
+
};
|
|
32
|
+
export type ConnectorType = (typeof ConnectorType)[keyof typeof ConnectorType];
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ValidationExceptionReason } from "./enums";
|
|
3
|
+
import { PcaConnectorScepServiceException as __BaseException } from "./PcaConnectorScepServiceException";
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
|
+
Message: string | undefined;
|
|
8
|
+
constructor(
|
|
9
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
10
|
+
);
|
|
11
|
+
}
|
|
12
|
+
export declare class BadRequestException extends __BaseException {
|
|
13
|
+
readonly name: "BadRequestException";
|
|
14
|
+
readonly $fault: "client";
|
|
15
|
+
Message: string | undefined;
|
|
16
|
+
constructor(
|
|
17
|
+
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
export declare class ConflictException extends __BaseException {
|
|
21
|
+
readonly name: "ConflictException";
|
|
22
|
+
readonly $fault: "client";
|
|
23
|
+
Message: string | undefined;
|
|
24
|
+
ResourceId: string | undefined;
|
|
25
|
+
ResourceType: string | undefined;
|
|
26
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
27
|
+
}
|
|
28
|
+
export declare class InternalServerException extends __BaseException {
|
|
29
|
+
readonly name: "InternalServerException";
|
|
30
|
+
readonly $fault: "server";
|
|
31
|
+
$retryable: {};
|
|
32
|
+
Message: string | undefined;
|
|
33
|
+
constructor(
|
|
34
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
38
|
+
readonly name: "ResourceNotFoundException";
|
|
39
|
+
readonly $fault: "client";
|
|
40
|
+
Message: string | undefined;
|
|
41
|
+
ResourceId: string | undefined;
|
|
42
|
+
ResourceType: string | undefined;
|
|
43
|
+
constructor(
|
|
44
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
48
|
+
readonly name: "ServiceQuotaExceededException";
|
|
49
|
+
readonly $fault: "client";
|
|
50
|
+
Message: string | undefined;
|
|
51
|
+
ResourceType: string | undefined;
|
|
52
|
+
ServiceCode: string | undefined;
|
|
53
|
+
QuotaCode: string | undefined;
|
|
54
|
+
constructor(
|
|
55
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
export declare class ThrottlingException extends __BaseException {
|
|
59
|
+
readonly name: "ThrottlingException";
|
|
60
|
+
readonly $fault: "client";
|
|
61
|
+
$retryable: {
|
|
62
|
+
throttling: boolean;
|
|
63
|
+
};
|
|
64
|
+
Message: string | undefined;
|
|
65
|
+
constructor(
|
|
66
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
export declare class ValidationException extends __BaseException {
|
|
70
|
+
readonly name: "ValidationException";
|
|
71
|
+
readonly $fault: "client";
|
|
72
|
+
Message: string | undefined;
|
|
73
|
+
Reason?: ValidationExceptionReason | undefined;
|
|
74
|
+
constructor(
|
|
75
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
76
|
+
);
|
|
77
|
+
}
|
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { PcaConnectorScepServiceException as __BaseException } from "./PcaConnectorScepServiceException";
|
|
3
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
-
readonly name: "AccessDeniedException";
|
|
5
|
-
readonly $fault: "client";
|
|
6
|
-
Message: string | undefined;
|
|
7
|
-
constructor(
|
|
8
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
|
-
);
|
|
10
|
-
}
|
|
11
|
-
export declare class BadRequestException extends __BaseException {
|
|
12
|
-
readonly name: "BadRequestException";
|
|
13
|
-
readonly $fault: "client";
|
|
14
|
-
Message: string | undefined;
|
|
15
|
-
constructor(
|
|
16
|
-
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
17
|
-
);
|
|
18
|
-
}
|
|
1
|
+
import { ConnectorStatus, ConnectorStatusReason, ConnectorType } from "./enums";
|
|
19
2
|
export interface Challenge {
|
|
20
3
|
Arn?: string | undefined;
|
|
21
4
|
ConnectorArn?: string | undefined;
|
|
@@ -35,14 +18,6 @@ export interface ChallengeMetadataSummary {
|
|
|
35
18
|
CreatedAt?: Date | undefined;
|
|
36
19
|
UpdatedAt?: Date | undefined;
|
|
37
20
|
}
|
|
38
|
-
export declare class ConflictException extends __BaseException {
|
|
39
|
-
readonly name: "ConflictException";
|
|
40
|
-
readonly $fault: "client";
|
|
41
|
-
Message: string | undefined;
|
|
42
|
-
ResourceId: string | undefined;
|
|
43
|
-
ResourceType: string | undefined;
|
|
44
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
45
|
-
}
|
|
46
21
|
export interface CreateChallengeRequest {
|
|
47
22
|
ConnectorArn: string | undefined;
|
|
48
23
|
ClientToken?: string | undefined;
|
|
@@ -51,67 +26,6 @@ export interface CreateChallengeRequest {
|
|
|
51
26
|
export interface CreateChallengeResponse {
|
|
52
27
|
Challenge?: Challenge | undefined;
|
|
53
28
|
}
|
|
54
|
-
export declare class InternalServerException extends __BaseException {
|
|
55
|
-
readonly name: "InternalServerException";
|
|
56
|
-
readonly $fault: "server";
|
|
57
|
-
$retryable: {};
|
|
58
|
-
Message: string | undefined;
|
|
59
|
-
constructor(
|
|
60
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
61
|
-
);
|
|
62
|
-
}
|
|
63
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
64
|
-
readonly name: "ResourceNotFoundException";
|
|
65
|
-
readonly $fault: "client";
|
|
66
|
-
Message: string | undefined;
|
|
67
|
-
ResourceId: string | undefined;
|
|
68
|
-
ResourceType: string | undefined;
|
|
69
|
-
constructor(
|
|
70
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
71
|
-
);
|
|
72
|
-
}
|
|
73
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
74
|
-
readonly name: "ServiceQuotaExceededException";
|
|
75
|
-
readonly $fault: "client";
|
|
76
|
-
Message: string | undefined;
|
|
77
|
-
ResourceType: string | undefined;
|
|
78
|
-
ServiceCode: string | undefined;
|
|
79
|
-
QuotaCode: string | undefined;
|
|
80
|
-
constructor(
|
|
81
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
export declare class ThrottlingException extends __BaseException {
|
|
85
|
-
readonly name: "ThrottlingException";
|
|
86
|
-
readonly $fault: "client";
|
|
87
|
-
$retryable: {
|
|
88
|
-
throttling: boolean;
|
|
89
|
-
};
|
|
90
|
-
Message: string | undefined;
|
|
91
|
-
constructor(
|
|
92
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
93
|
-
);
|
|
94
|
-
}
|
|
95
|
-
export declare const ValidationExceptionReason: {
|
|
96
|
-
readonly CA_CERT_VALIDITY_TOO_SHORT: "CA_CERT_VALIDITY_TOO_SHORT";
|
|
97
|
-
readonly INVALID_CA_USAGE_MODE: "INVALID_CA_USAGE_MODE";
|
|
98
|
-
readonly INVALID_CONNECTOR_TYPE: "INVALID_CONNECTOR_TYPE";
|
|
99
|
-
readonly INVALID_STATE: "INVALID_STATE";
|
|
100
|
-
readonly NO_CLIENT_TOKEN: "NO_CLIENT_TOKEN";
|
|
101
|
-
readonly OTHER: "OTHER";
|
|
102
|
-
readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
|
|
103
|
-
};
|
|
104
|
-
export type ValidationExceptionReason =
|
|
105
|
-
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
106
|
-
export declare class ValidationException extends __BaseException {
|
|
107
|
-
readonly name: "ValidationException";
|
|
108
|
-
readonly $fault: "client";
|
|
109
|
-
Message: string | undefined;
|
|
110
|
-
Reason?: ValidationExceptionReason | undefined;
|
|
111
|
-
constructor(
|
|
112
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
113
|
-
);
|
|
114
|
-
}
|
|
115
29
|
export interface DeleteChallengeRequest {
|
|
116
30
|
ChallengeArn: string | undefined;
|
|
117
31
|
}
|
|
@@ -162,27 +76,6 @@ export interface OpenIdConfiguration {
|
|
|
162
76
|
Subject?: string | undefined;
|
|
163
77
|
Audience?: string | undefined;
|
|
164
78
|
}
|
|
165
|
-
export declare const ConnectorStatus: {
|
|
166
|
-
readonly ACTIVE: "ACTIVE";
|
|
167
|
-
readonly CREATING: "CREATING";
|
|
168
|
-
readonly DELETING: "DELETING";
|
|
169
|
-
readonly FAILED: "FAILED";
|
|
170
|
-
};
|
|
171
|
-
export type ConnectorStatus =
|
|
172
|
-
(typeof ConnectorStatus)[keyof typeof ConnectorStatus];
|
|
173
|
-
export declare const ConnectorStatusReason: {
|
|
174
|
-
readonly INTERNAL_FAILURE: "INTERNAL_FAILURE";
|
|
175
|
-
readonly PRIVATECA_ACCESS_DENIED: "PRIVATECA_ACCESS_DENIED";
|
|
176
|
-
readonly PRIVATECA_INVALID_STATE: "PRIVATECA_INVALID_STATE";
|
|
177
|
-
readonly PRIVATECA_RESOURCE_NOT_FOUND: "PRIVATECA_RESOURCE_NOT_FOUND";
|
|
178
|
-
};
|
|
179
|
-
export type ConnectorStatusReason =
|
|
180
|
-
(typeof ConnectorStatusReason)[keyof typeof ConnectorStatusReason];
|
|
181
|
-
export declare const ConnectorType: {
|
|
182
|
-
readonly GENERAL_PURPOSE: "GENERAL_PURPOSE";
|
|
183
|
-
readonly INTUNE: "INTUNE";
|
|
184
|
-
};
|
|
185
|
-
export type ConnectorType = (typeof ConnectorType)[keyof typeof ConnectorType];
|
|
186
79
|
export interface Connector {
|
|
187
80
|
Arn?: string | undefined;
|
|
188
81
|
CertificateAuthorityArn?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-pca-connector-scep",
|
|
3
3
|
"description": "AWS SDK for JavaScript Pca Connector Scep Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.935.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-pca-connector-scep",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|