@aws-sdk/client-appfabric 3.490.0 → 3.495.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 (44) hide show
  1. package/dist-cjs/AppFabric.js +1 -63
  2. package/dist-cjs/AppFabricClient.js +1 -43
  3. package/dist-cjs/commands/BatchGetUserAccessTasksCommand.js +1 -29
  4. package/dist-cjs/commands/ConnectAppAuthorizationCommand.js +1 -29
  5. package/dist-cjs/commands/CreateAppAuthorizationCommand.js +1 -29
  6. package/dist-cjs/commands/CreateAppBundleCommand.js +1 -28
  7. package/dist-cjs/commands/CreateIngestionCommand.js +1 -28
  8. package/dist-cjs/commands/CreateIngestionDestinationCommand.js +1 -28
  9. package/dist-cjs/commands/DeleteAppAuthorizationCommand.js +1 -28
  10. package/dist-cjs/commands/DeleteAppBundleCommand.js +1 -28
  11. package/dist-cjs/commands/DeleteIngestionCommand.js +1 -28
  12. package/dist-cjs/commands/DeleteIngestionDestinationCommand.js +1 -28
  13. package/dist-cjs/commands/GetAppAuthorizationCommand.js +1 -28
  14. package/dist-cjs/commands/GetAppBundleCommand.js +1 -28
  15. package/dist-cjs/commands/GetIngestionCommand.js +1 -28
  16. package/dist-cjs/commands/GetIngestionDestinationCommand.js +1 -28
  17. package/dist-cjs/commands/ListAppAuthorizationsCommand.js +1 -28
  18. package/dist-cjs/commands/ListAppBundlesCommand.js +1 -28
  19. package/dist-cjs/commands/ListIngestionDestinationsCommand.js +1 -28
  20. package/dist-cjs/commands/ListIngestionsCommand.js +1 -28
  21. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  22. package/dist-cjs/commands/StartIngestionCommand.js +1 -28
  23. package/dist-cjs/commands/StartUserAccessTasksCommand.js +1 -29
  24. package/dist-cjs/commands/StopIngestionCommand.js +1 -28
  25. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  26. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  27. package/dist-cjs/commands/UpdateAppAuthorizationCommand.js +1 -29
  28. package/dist-cjs/commands/UpdateIngestionDestinationCommand.js +1 -28
  29. package/dist-cjs/commands/index.js +1 -29
  30. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  31. package/dist-cjs/extensionConfiguration.js +1 -2
  32. package/dist-cjs/index.js +2792 -11
  33. package/dist-cjs/models/AppFabricServiceException.js +1 -12
  34. package/dist-cjs/models/index.js +1 -4
  35. package/dist-cjs/models/models_0.js +1 -255
  36. package/dist-cjs/pagination/Interfaces.js +1 -2
  37. package/dist-cjs/pagination/ListAppAuthorizationsPaginator.js +1 -7
  38. package/dist-cjs/pagination/ListAppBundlesPaginator.js +1 -7
  39. package/dist-cjs/pagination/ListIngestionDestinationsPaginator.js +1 -7
  40. package/dist-cjs/pagination/ListIngestionsPaginator.js +1 -7
  41. package/dist-cjs/pagination/index.js +1 -8
  42. package/dist-cjs/protocols/Aws_restJson1.js +1 -1784
  43. package/dist-cjs/runtimeExtensions.js +1 -22
  44. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AppFabricServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class AppFabricServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, AppFabricServiceException.prototype);
10
- }
11
- }
12
- exports.AppFabricServiceException = AppFabricServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,255 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateAppAuthorizationRequestFilterSensitiveLog = exports.StartUserAccessTasksRequestFilterSensitiveLog = exports.CreateAppAuthorizationRequestFilterSensitiveLog = exports.CredentialFilterSensitiveLog = exports.Oauth2CredentialFilterSensitiveLog = exports.ConnectAppAuthorizationRequestFilterSensitiveLog = exports.BatchGetUserAccessTasksResponseFilterSensitiveLog = exports.UserAccessResultItemFilterSensitiveLog = exports.AuthRequestFilterSensitiveLog = exports.ApiKeyCredentialFilterSensitiveLog = exports.IngestionDestinationStatus = exports.ProcessingConfiguration = exports.DestinationConfiguration = exports.IngestionState = exports.IngestionType = exports.ServiceQuotaExceededException = exports.Credential = exports.ConflictException = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ResultStatus = exports.Schema = exports.Format = exports.Destination = exports.AppAuthorizationStatus = exports.Persona = exports.AuthType = exports.AccessDeniedException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- const AppFabricServiceException_1 = require("./AppFabricServiceException");
6
- class AccessDeniedException extends AppFabricServiceException_1.AppFabricServiceException {
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
- }
17
- }
18
- exports.AccessDeniedException = AccessDeniedException;
19
- exports.AuthType = {
20
- API_KEY: "apiKey",
21
- OAUTH2: "oauth2",
22
- };
23
- exports.Persona = {
24
- ADMIN: "admin",
25
- ENDUSER: "endUser",
26
- };
27
- exports.AppAuthorizationStatus = {
28
- CONNECTED: "Connected",
29
- CONNECTION_VALIDATION_FAILED: "ConnectionValidationFailed",
30
- PENDING_CONNECT: "PendingConnect",
31
- TOKEN_AUTO_ROTATION_FAILED: "TokenAutoRotationFailed",
32
- };
33
- var Destination;
34
- (function (Destination) {
35
- Destination.visit = (value, visitor) => {
36
- if (value.s3Bucket !== undefined)
37
- return visitor.s3Bucket(value.s3Bucket);
38
- if (value.firehoseStream !== undefined)
39
- return visitor.firehoseStream(value.firehoseStream);
40
- return visitor._(value.$unknown[0], value.$unknown[1]);
41
- };
42
- })(Destination = exports.Destination || (exports.Destination = {}));
43
- exports.Format = {
44
- JSON: "json",
45
- PARQUET: "parquet",
46
- };
47
- exports.Schema = {
48
- OCSF: "ocsf",
49
- RAW: "raw",
50
- };
51
- exports.ResultStatus = {
52
- COMPLETED: "COMPLETED",
53
- EXPIRED: "EXPIRED",
54
- FAILED: "FAILED",
55
- IN_PROGRESS: "IN_PROGRESS",
56
- };
57
- class InternalServerException extends AppFabricServiceException_1.AppFabricServiceException {
58
- constructor(opts) {
59
- super({
60
- name: "InternalServerException",
61
- $fault: "server",
62
- ...opts,
63
- });
64
- this.name = "InternalServerException";
65
- this.$fault = "server";
66
- this.$retryable = {};
67
- Object.setPrototypeOf(this, InternalServerException.prototype);
68
- this.retryAfterSeconds = opts.retryAfterSeconds;
69
- }
70
- }
71
- exports.InternalServerException = InternalServerException;
72
- class ResourceNotFoundException extends AppFabricServiceException_1.AppFabricServiceException {
73
- constructor(opts) {
74
- super({
75
- name: "ResourceNotFoundException",
76
- $fault: "client",
77
- ...opts,
78
- });
79
- this.name = "ResourceNotFoundException";
80
- this.$fault = "client";
81
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
82
- this.resourceId = opts.resourceId;
83
- this.resourceType = opts.resourceType;
84
- }
85
- }
86
- exports.ResourceNotFoundException = ResourceNotFoundException;
87
- class ThrottlingException extends AppFabricServiceException_1.AppFabricServiceException {
88
- constructor(opts) {
89
- super({
90
- name: "ThrottlingException",
91
- $fault: "client",
92
- ...opts,
93
- });
94
- this.name = "ThrottlingException";
95
- this.$fault = "client";
96
- this.$retryable = {
97
- throttling: true,
98
- };
99
- Object.setPrototypeOf(this, ThrottlingException.prototype);
100
- this.serviceCode = opts.serviceCode;
101
- this.quotaCode = opts.quotaCode;
102
- this.retryAfterSeconds = opts.retryAfterSeconds;
103
- }
104
- }
105
- exports.ThrottlingException = ThrottlingException;
106
- exports.ValidationExceptionReason = {
107
- CANNOT_PARSE: "cannotParse",
108
- FIELD_VALIDATION_FAILED: "fieldValidationFailed",
109
- OTHER: "other",
110
- UNKNOWN_OPERATION: "unknownOperation",
111
- };
112
- class ValidationException extends AppFabricServiceException_1.AppFabricServiceException {
113
- constructor(opts) {
114
- super({
115
- name: "ValidationException",
116
- $fault: "client",
117
- ...opts,
118
- });
119
- this.name = "ValidationException";
120
- this.$fault = "client";
121
- Object.setPrototypeOf(this, ValidationException.prototype);
122
- this.reason = opts.reason;
123
- this.fieldList = opts.fieldList;
124
- }
125
- }
126
- exports.ValidationException = ValidationException;
127
- class ConflictException extends AppFabricServiceException_1.AppFabricServiceException {
128
- constructor(opts) {
129
- super({
130
- name: "ConflictException",
131
- $fault: "client",
132
- ...opts,
133
- });
134
- this.name = "ConflictException";
135
- this.$fault = "client";
136
- Object.setPrototypeOf(this, ConflictException.prototype);
137
- this.resourceId = opts.resourceId;
138
- this.resourceType = opts.resourceType;
139
- }
140
- }
141
- exports.ConflictException = ConflictException;
142
- var Credential;
143
- (function (Credential) {
144
- Credential.visit = (value, visitor) => {
145
- if (value.oauth2Credential !== undefined)
146
- return visitor.oauth2Credential(value.oauth2Credential);
147
- if (value.apiKeyCredential !== undefined)
148
- return visitor.apiKeyCredential(value.apiKeyCredential);
149
- return visitor._(value.$unknown[0], value.$unknown[1]);
150
- };
151
- })(Credential = exports.Credential || (exports.Credential = {}));
152
- class ServiceQuotaExceededException extends AppFabricServiceException_1.AppFabricServiceException {
153
- constructor(opts) {
154
- super({
155
- name: "ServiceQuotaExceededException",
156
- $fault: "client",
157
- ...opts,
158
- });
159
- this.name = "ServiceQuotaExceededException";
160
- this.$fault = "client";
161
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
162
- this.resourceId = opts.resourceId;
163
- this.resourceType = opts.resourceType;
164
- this.serviceCode = opts.serviceCode;
165
- this.quotaCode = opts.quotaCode;
166
- }
167
- }
168
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
169
- exports.IngestionType = {
170
- AUDIT_LOG: "auditLog",
171
- };
172
- exports.IngestionState = {
173
- DISABLED: "disabled",
174
- ENABLED: "enabled",
175
- };
176
- var DestinationConfiguration;
177
- (function (DestinationConfiguration) {
178
- DestinationConfiguration.visit = (value, visitor) => {
179
- if (value.auditLog !== undefined)
180
- return visitor.auditLog(value.auditLog);
181
- return visitor._(value.$unknown[0], value.$unknown[1]);
182
- };
183
- })(DestinationConfiguration = exports.DestinationConfiguration || (exports.DestinationConfiguration = {}));
184
- var ProcessingConfiguration;
185
- (function (ProcessingConfiguration) {
186
- ProcessingConfiguration.visit = (value, visitor) => {
187
- if (value.auditLog !== undefined)
188
- return visitor.auditLog(value.auditLog);
189
- return visitor._(value.$unknown[0], value.$unknown[1]);
190
- };
191
- })(ProcessingConfiguration = exports.ProcessingConfiguration || (exports.ProcessingConfiguration = {}));
192
- exports.IngestionDestinationStatus = {
193
- ACTIVE: "Active",
194
- FAILED: "Failed",
195
- };
196
- const ApiKeyCredentialFilterSensitiveLog = (obj) => ({
197
- ...obj,
198
- ...(obj.apiKey && { apiKey: smithy_client_1.SENSITIVE_STRING }),
199
- });
200
- exports.ApiKeyCredentialFilterSensitiveLog = ApiKeyCredentialFilterSensitiveLog;
201
- const AuthRequestFilterSensitiveLog = (obj) => ({
202
- ...obj,
203
- ...(obj.code && { code: smithy_client_1.SENSITIVE_STRING }),
204
- });
205
- exports.AuthRequestFilterSensitiveLog = AuthRequestFilterSensitiveLog;
206
- const UserAccessResultItemFilterSensitiveLog = (obj) => ({
207
- ...obj,
208
- ...(obj.email && { email: smithy_client_1.SENSITIVE_STRING }),
209
- ...(obj.userId && { userId: smithy_client_1.SENSITIVE_STRING }),
210
- ...(obj.userFullName && { userFullName: smithy_client_1.SENSITIVE_STRING }),
211
- ...(obj.userFirstName && { userFirstName: smithy_client_1.SENSITIVE_STRING }),
212
- ...(obj.userLastName && { userLastName: smithy_client_1.SENSITIVE_STRING }),
213
- });
214
- exports.UserAccessResultItemFilterSensitiveLog = UserAccessResultItemFilterSensitiveLog;
215
- const BatchGetUserAccessTasksResponseFilterSensitiveLog = (obj) => ({
216
- ...obj,
217
- ...(obj.userAccessResultsList && {
218
- userAccessResultsList: obj.userAccessResultsList.map((item) => (0, exports.UserAccessResultItemFilterSensitiveLog)(item)),
219
- }),
220
- });
221
- exports.BatchGetUserAccessTasksResponseFilterSensitiveLog = BatchGetUserAccessTasksResponseFilterSensitiveLog;
222
- const ConnectAppAuthorizationRequestFilterSensitiveLog = (obj) => ({
223
- ...obj,
224
- ...(obj.authRequest && { authRequest: (0, exports.AuthRequestFilterSensitiveLog)(obj.authRequest) }),
225
- });
226
- exports.ConnectAppAuthorizationRequestFilterSensitiveLog = ConnectAppAuthorizationRequestFilterSensitiveLog;
227
- const Oauth2CredentialFilterSensitiveLog = (obj) => ({
228
- ...obj,
229
- ...(obj.clientSecret && { clientSecret: smithy_client_1.SENSITIVE_STRING }),
230
- });
231
- exports.Oauth2CredentialFilterSensitiveLog = Oauth2CredentialFilterSensitiveLog;
232
- const CredentialFilterSensitiveLog = (obj) => {
233
- if (obj.oauth2Credential !== undefined)
234
- return { oauth2Credential: (0, exports.Oauth2CredentialFilterSensitiveLog)(obj.oauth2Credential) };
235
- if (obj.apiKeyCredential !== undefined)
236
- return { apiKeyCredential: (0, exports.ApiKeyCredentialFilterSensitiveLog)(obj.apiKeyCredential) };
237
- if (obj.$unknown !== undefined)
238
- return { [obj.$unknown[0]]: "UNKNOWN" };
239
- };
240
- exports.CredentialFilterSensitiveLog = CredentialFilterSensitiveLog;
241
- const CreateAppAuthorizationRequestFilterSensitiveLog = (obj) => ({
242
- ...obj,
243
- ...(obj.credential && { credential: (0, exports.CredentialFilterSensitiveLog)(obj.credential) }),
244
- });
245
- exports.CreateAppAuthorizationRequestFilterSensitiveLog = CreateAppAuthorizationRequestFilterSensitiveLog;
246
- const StartUserAccessTasksRequestFilterSensitiveLog = (obj) => ({
247
- ...obj,
248
- ...(obj.email && { email: smithy_client_1.SENSITIVE_STRING }),
249
- });
250
- exports.StartUserAccessTasksRequestFilterSensitiveLog = StartUserAccessTasksRequestFilterSensitiveLog;
251
- const UpdateAppAuthorizationRequestFilterSensitiveLog = (obj) => ({
252
- ...obj,
253
- ...(obj.credential && { credential: (0, exports.CredentialFilterSensitiveLog)(obj.credential) }),
254
- });
255
- exports.UpdateAppAuthorizationRequestFilterSensitiveLog = UpdateAppAuthorizationRequestFilterSensitiveLog;
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListAppAuthorizations = void 0;
4
- const core_1 = require("@smithy/core");
5
- const AppFabricClient_1 = require("../AppFabricClient");
6
- const ListAppAuthorizationsCommand_1 = require("../commands/ListAppAuthorizationsCommand");
7
- exports.paginateListAppAuthorizations = (0, core_1.createPaginator)(AppFabricClient_1.AppFabricClient, ListAppAuthorizationsCommand_1.ListAppAuthorizationsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListAppBundles = void 0;
4
- const core_1 = require("@smithy/core");
5
- const AppFabricClient_1 = require("../AppFabricClient");
6
- const ListAppBundlesCommand_1 = require("../commands/ListAppBundlesCommand");
7
- exports.paginateListAppBundles = (0, core_1.createPaginator)(AppFabricClient_1.AppFabricClient, ListAppBundlesCommand_1.ListAppBundlesCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListIngestionDestinations = void 0;
4
- const core_1 = require("@smithy/core");
5
- const AppFabricClient_1 = require("../AppFabricClient");
6
- const ListIngestionDestinationsCommand_1 = require("../commands/ListIngestionDestinationsCommand");
7
- exports.paginateListIngestionDestinations = (0, core_1.createPaginator)(AppFabricClient_1.AppFabricClient, ListIngestionDestinationsCommand_1.ListIngestionDestinationsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListIngestions = void 0;
4
- const core_1 = require("@smithy/core");
5
- const AppFabricClient_1 = require("../AppFabricClient");
6
- const ListIngestionsCommand_1 = require("../commands/ListIngestionsCommand");
7
- exports.paginateListIngestions = (0, core_1.createPaginator)(AppFabricClient_1.AppFabricClient, ListIngestionsCommand_1.ListIngestionsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,8 +1 @@
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("./ListAppAuthorizationsPaginator"), exports);
6
- tslib_1.__exportStar(require("./ListAppBundlesPaginator"), exports);
7
- tslib_1.__exportStar(require("./ListIngestionDestinationsPaginator"), exports);
8
- tslib_1.__exportStar(require("./ListIngestionsPaginator"), exports);
1
+ module.exports = require("../index.js");