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