@aws-sdk/client-appfabric 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 CHANGED
@@ -129,34 +129,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends AppFabricServi
129
129
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
130
  }
131
131
  };
132
- const AuthType = {
133
- API_KEY: "apiKey",
134
- OAUTH2: "oauth2",
135
- };
136
- const Persona = {
137
- ADMIN: "admin",
138
- ENDUSER: "endUser",
139
- };
140
- const AppAuthorizationStatus = {
141
- CONNECTED: "Connected",
142
- CONNECTION_VALIDATION_FAILED: "ConnectionValidationFailed",
143
- PENDING_CONNECT: "PendingConnect",
144
- TOKEN_AUTO_ROTATION_FAILED: "TokenAutoRotationFailed",
145
- };
146
- const Format = {
147
- JSON: "json",
148
- PARQUET: "parquet",
149
- };
150
- const Schema = {
151
- OCSF: "ocsf",
152
- RAW: "raw",
153
- };
154
- const ResultStatus = {
155
- COMPLETED: "COMPLETED",
156
- EXPIRED: "EXPIRED",
157
- FAILED: "FAILED",
158
- IN_PROGRESS: "IN_PROGRESS",
159
- };
160
132
  let InternalServerException$1 = class InternalServerException extends AppFabricServiceException$1 {
161
133
  name = "InternalServerException";
162
134
  $fault = "server";
@@ -209,12 +181,6 @@ let ThrottlingException$1 = class ThrottlingException extends AppFabricServiceEx
209
181
  this.retryAfterSeconds = opts.retryAfterSeconds;
210
182
  }
211
183
  };
212
- const ValidationExceptionReason = {
213
- CANNOT_PARSE: "cannotParse",
214
- FIELD_VALIDATION_FAILED: "fieldValidationFailed",
215
- OTHER: "other",
216
- UNKNOWN_OPERATION: "unknownOperation",
217
- };
218
184
  let ValidationException$1 = class ValidationException extends AppFabricServiceException$1 {
219
185
  name = "ValidationException";
220
186
  $fault = "client";
@@ -267,17 +233,6 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
267
233
  this.quotaCode = opts.quotaCode;
268
234
  }
269
235
  };
270
- const IngestionType = {
271
- AUDIT_LOG: "auditLog",
272
- };
273
- const IngestionState = {
274
- DISABLED: "disabled",
275
- ENABLED: "enabled",
276
- };
277
- const IngestionDestinationStatus = {
278
- ACTIVE: "Active",
279
- FAILED: "Failed",
280
- };
281
236
 
282
237
  const _AA = "AppAuthorization";
283
238
  const _AAS = "AppAuthorizationSummary";
@@ -1685,6 +1640,52 @@ const paginateListIngestionDestinations = core.createPaginator(AppFabricClient,
1685
1640
 
1686
1641
  const paginateListIngestions = core.createPaginator(AppFabricClient, ListIngestionsCommand, "nextToken", "nextToken", "maxResults");
1687
1642
 
1643
+ const AuthType = {
1644
+ API_KEY: "apiKey",
1645
+ OAUTH2: "oauth2",
1646
+ };
1647
+ const Persona = {
1648
+ ADMIN: "admin",
1649
+ ENDUSER: "endUser",
1650
+ };
1651
+ const AppAuthorizationStatus = {
1652
+ CONNECTED: "Connected",
1653
+ CONNECTION_VALIDATION_FAILED: "ConnectionValidationFailed",
1654
+ PENDING_CONNECT: "PendingConnect",
1655
+ TOKEN_AUTO_ROTATION_FAILED: "TokenAutoRotationFailed",
1656
+ };
1657
+ const Format = {
1658
+ JSON: "json",
1659
+ PARQUET: "parquet",
1660
+ };
1661
+ const Schema = {
1662
+ OCSF: "ocsf",
1663
+ RAW: "raw",
1664
+ };
1665
+ const ResultStatus = {
1666
+ COMPLETED: "COMPLETED",
1667
+ EXPIRED: "EXPIRED",
1668
+ FAILED: "FAILED",
1669
+ IN_PROGRESS: "IN_PROGRESS",
1670
+ };
1671
+ const ValidationExceptionReason = {
1672
+ CANNOT_PARSE: "cannotParse",
1673
+ FIELD_VALIDATION_FAILED: "fieldValidationFailed",
1674
+ OTHER: "other",
1675
+ UNKNOWN_OPERATION: "unknownOperation",
1676
+ };
1677
+ const IngestionType = {
1678
+ AUDIT_LOG: "auditLog",
1679
+ };
1680
+ const IngestionState = {
1681
+ DISABLED: "disabled",
1682
+ ENABLED: "enabled",
1683
+ };
1684
+ const IngestionDestinationStatus = {
1685
+ ACTIVE: "Active",
1686
+ FAILED: "Failed",
1687
+ };
1688
+
1688
1689
  Object.defineProperty(exports, "$Command", {
1689
1690
  enumerable: true,
1690
1691
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./AppFabricClient";
2
2
  export * from "./AppFabric";
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 { AppFabricServiceException } from "./models/AppFabricServiceException";
@@ -0,0 +1,45 @@
1
+ export const AuthType = {
2
+ API_KEY: "apiKey",
3
+ OAUTH2: "oauth2",
4
+ };
5
+ export const Persona = {
6
+ ADMIN: "admin",
7
+ ENDUSER: "endUser",
8
+ };
9
+ export const AppAuthorizationStatus = {
10
+ CONNECTED: "Connected",
11
+ CONNECTION_VALIDATION_FAILED: "ConnectionValidationFailed",
12
+ PENDING_CONNECT: "PendingConnect",
13
+ TOKEN_AUTO_ROTATION_FAILED: "TokenAutoRotationFailed",
14
+ };
15
+ export const Format = {
16
+ JSON: "json",
17
+ PARQUET: "parquet",
18
+ };
19
+ export const Schema = {
20
+ OCSF: "ocsf",
21
+ RAW: "raw",
22
+ };
23
+ export const ResultStatus = {
24
+ COMPLETED: "COMPLETED",
25
+ EXPIRED: "EXPIRED",
26
+ FAILED: "FAILED",
27
+ IN_PROGRESS: "IN_PROGRESS",
28
+ };
29
+ export const ValidationExceptionReason = {
30
+ CANNOT_PARSE: "cannotParse",
31
+ FIELD_VALIDATION_FAILED: "fieldValidationFailed",
32
+ OTHER: "other",
33
+ UNKNOWN_OPERATION: "unknownOperation",
34
+ };
35
+ export const IngestionType = {
36
+ AUDIT_LOG: "auditLog",
37
+ };
38
+ export const IngestionState = {
39
+ DISABLED: "disabled",
40
+ ENABLED: "enabled",
41
+ };
42
+ export const IngestionDestinationStatus = {
43
+ ACTIVE: "Active",
44
+ FAILED: "Failed",
45
+ };
@@ -0,0 +1,117 @@
1
+ import { AppFabricServiceException as __BaseException } from "./AppFabricServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "AccessDeniedException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
+ }
13
+ }
14
+ export class InternalServerException extends __BaseException {
15
+ name = "InternalServerException";
16
+ $fault = "server";
17
+ $retryable = {};
18
+ retryAfterSeconds;
19
+ constructor(opts) {
20
+ super({
21
+ name: "InternalServerException",
22
+ $fault: "server",
23
+ ...opts,
24
+ });
25
+ Object.setPrototypeOf(this, InternalServerException.prototype);
26
+ this.retryAfterSeconds = opts.retryAfterSeconds;
27
+ }
28
+ }
29
+ export class ResourceNotFoundException extends __BaseException {
30
+ name = "ResourceNotFoundException";
31
+ $fault = "client";
32
+ resourceId;
33
+ resourceType;
34
+ constructor(opts) {
35
+ super({
36
+ name: "ResourceNotFoundException",
37
+ $fault: "client",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
41
+ this.resourceId = opts.resourceId;
42
+ this.resourceType = opts.resourceType;
43
+ }
44
+ }
45
+ export class ThrottlingException extends __BaseException {
46
+ name = "ThrottlingException";
47
+ $fault = "client";
48
+ $retryable = {
49
+ throttling: true,
50
+ };
51
+ serviceCode;
52
+ quotaCode;
53
+ retryAfterSeconds;
54
+ constructor(opts) {
55
+ super({
56
+ name: "ThrottlingException",
57
+ $fault: "client",
58
+ ...opts,
59
+ });
60
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
61
+ this.serviceCode = opts.serviceCode;
62
+ this.quotaCode = opts.quotaCode;
63
+ this.retryAfterSeconds = opts.retryAfterSeconds;
64
+ }
65
+ }
66
+ export class ValidationException extends __BaseException {
67
+ name = "ValidationException";
68
+ $fault = "client";
69
+ reason;
70
+ fieldList;
71
+ constructor(opts) {
72
+ super({
73
+ name: "ValidationException",
74
+ $fault: "client",
75
+ ...opts,
76
+ });
77
+ Object.setPrototypeOf(this, ValidationException.prototype);
78
+ this.reason = opts.reason;
79
+ this.fieldList = opts.fieldList;
80
+ }
81
+ }
82
+ export class ConflictException extends __BaseException {
83
+ name = "ConflictException";
84
+ $fault = "client";
85
+ resourceId;
86
+ resourceType;
87
+ constructor(opts) {
88
+ super({
89
+ name: "ConflictException",
90
+ $fault: "client",
91
+ ...opts,
92
+ });
93
+ Object.setPrototypeOf(this, ConflictException.prototype);
94
+ this.resourceId = opts.resourceId;
95
+ this.resourceType = opts.resourceType;
96
+ }
97
+ }
98
+ export class ServiceQuotaExceededException extends __BaseException {
99
+ name = "ServiceQuotaExceededException";
100
+ $fault = "client";
101
+ resourceId;
102
+ resourceType;
103
+ serviceCode;
104
+ quotaCode;
105
+ constructor(opts) {
106
+ super({
107
+ name: "ServiceQuotaExceededException",
108
+ $fault: "client",
109
+ ...opts,
110
+ });
111
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
112
+ this.resourceId = opts.resourceId;
113
+ this.resourceType = opts.resourceType;
114
+ this.serviceCode = opts.serviceCode;
115
+ this.quotaCode = opts.quotaCode;
116
+ }
117
+ }
@@ -1,162 +1 @@
1
- import { AppFabricServiceException as __BaseException } from "./AppFabricServiceException";
2
- export class AccessDeniedException extends __BaseException {
3
- name = "AccessDeniedException";
4
- $fault = "client";
5
- constructor(opts) {
6
- super({
7
- name: "AccessDeniedException",
8
- $fault: "client",
9
- ...opts,
10
- });
11
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
- }
13
- }
14
- export const AuthType = {
15
- API_KEY: "apiKey",
16
- OAUTH2: "oauth2",
17
- };
18
- export const Persona = {
19
- ADMIN: "admin",
20
- ENDUSER: "endUser",
21
- };
22
- export const AppAuthorizationStatus = {
23
- CONNECTED: "Connected",
24
- CONNECTION_VALIDATION_FAILED: "ConnectionValidationFailed",
25
- PENDING_CONNECT: "PendingConnect",
26
- TOKEN_AUTO_ROTATION_FAILED: "TokenAutoRotationFailed",
27
- };
28
- export const Format = {
29
- JSON: "json",
30
- PARQUET: "parquet",
31
- };
32
- export const Schema = {
33
- OCSF: "ocsf",
34
- RAW: "raw",
35
- };
36
- export const ResultStatus = {
37
- COMPLETED: "COMPLETED",
38
- EXPIRED: "EXPIRED",
39
- FAILED: "FAILED",
40
- IN_PROGRESS: "IN_PROGRESS",
41
- };
42
- export class InternalServerException extends __BaseException {
43
- name = "InternalServerException";
44
- $fault = "server";
45
- $retryable = {};
46
- retryAfterSeconds;
47
- constructor(opts) {
48
- super({
49
- name: "InternalServerException",
50
- $fault: "server",
51
- ...opts,
52
- });
53
- Object.setPrototypeOf(this, InternalServerException.prototype);
54
- this.retryAfterSeconds = opts.retryAfterSeconds;
55
- }
56
- }
57
- export class ResourceNotFoundException extends __BaseException {
58
- name = "ResourceNotFoundException";
59
- $fault = "client";
60
- resourceId;
61
- resourceType;
62
- constructor(opts) {
63
- super({
64
- name: "ResourceNotFoundException",
65
- $fault: "client",
66
- ...opts,
67
- });
68
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
69
- this.resourceId = opts.resourceId;
70
- this.resourceType = opts.resourceType;
71
- }
72
- }
73
- export class ThrottlingException extends __BaseException {
74
- name = "ThrottlingException";
75
- $fault = "client";
76
- $retryable = {
77
- throttling: true,
78
- };
79
- serviceCode;
80
- quotaCode;
81
- retryAfterSeconds;
82
- constructor(opts) {
83
- super({
84
- name: "ThrottlingException",
85
- $fault: "client",
86
- ...opts,
87
- });
88
- Object.setPrototypeOf(this, ThrottlingException.prototype);
89
- this.serviceCode = opts.serviceCode;
90
- this.quotaCode = opts.quotaCode;
91
- this.retryAfterSeconds = opts.retryAfterSeconds;
92
- }
93
- }
94
- export const ValidationExceptionReason = {
95
- CANNOT_PARSE: "cannotParse",
96
- FIELD_VALIDATION_FAILED: "fieldValidationFailed",
97
- OTHER: "other",
98
- UNKNOWN_OPERATION: "unknownOperation",
99
- };
100
- export class ValidationException extends __BaseException {
101
- name = "ValidationException";
102
- $fault = "client";
103
- reason;
104
- fieldList;
105
- constructor(opts) {
106
- super({
107
- name: "ValidationException",
108
- $fault: "client",
109
- ...opts,
110
- });
111
- Object.setPrototypeOf(this, ValidationException.prototype);
112
- this.reason = opts.reason;
113
- this.fieldList = opts.fieldList;
114
- }
115
- }
116
- export class ConflictException extends __BaseException {
117
- name = "ConflictException";
118
- $fault = "client";
119
- resourceId;
120
- resourceType;
121
- constructor(opts) {
122
- super({
123
- name: "ConflictException",
124
- $fault: "client",
125
- ...opts,
126
- });
127
- Object.setPrototypeOf(this, ConflictException.prototype);
128
- this.resourceId = opts.resourceId;
129
- this.resourceType = opts.resourceType;
130
- }
131
- }
132
- export class ServiceQuotaExceededException extends __BaseException {
133
- name = "ServiceQuotaExceededException";
134
- $fault = "client";
135
- resourceId;
136
- resourceType;
137
- serviceCode;
138
- quotaCode;
139
- constructor(opts) {
140
- super({
141
- name: "ServiceQuotaExceededException",
142
- $fault: "client",
143
- ...opts,
144
- });
145
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
146
- this.resourceId = opts.resourceId;
147
- this.resourceType = opts.resourceType;
148
- this.serviceCode = opts.serviceCode;
149
- this.quotaCode = opts.quotaCode;
150
- }
151
- }
152
- export const IngestionType = {
153
- AUDIT_LOG: "auditLog",
154
- };
155
- export const IngestionState = {
156
- DISABLED: "disabled",
157
- ENABLED: "enabled",
158
- };
159
- export const IngestionDestinationStatus = {
160
- ACTIVE: "Active",
161
- FAILED: "Failed",
162
- };
1
+ export {};
@@ -214,7 +214,7 @@ const _v = "value";
214
214
  const n0 = "com.amazonaws.appfabric";
215
215
  import { TypeRegistry } from "@smithy/core/schema";
216
216
  import { AppFabricServiceException as __AppFabricServiceException } from "../models/AppFabricServiceException";
217
- import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/index";
217
+ import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
218
218
  export var Email = [0, n0, _E, 8, 0];
219
219
  export var SensitiveString2048 = [0, n0, _SS, 8, 0];
220
220
  export var AccessDeniedException = [
@@ -18,5 +18,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
18
18
  export type { AppFabricExtensionConfiguration } from "./extensionConfiguration";
19
19
  export * from "./commands";
20
20
  export * from "./pagination";
21
- export * from "./models";
21
+ export * from "./models/enums";
22
+ export * from "./models/errors";
23
+ export type * from "./models/models_0";
22
24
  export { AppFabricServiceException } from "./models/AppFabricServiceException";
@@ -0,0 +1,125 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const AuthType: {
6
+ readonly API_KEY: "apiKey";
7
+ readonly OAUTH2: "oauth2";
8
+ };
9
+ /**
10
+ * @public
11
+ */
12
+ export type AuthType = (typeof AuthType)[keyof typeof AuthType];
13
+ /**
14
+ * @public
15
+ * @enum
16
+ */
17
+ export declare const Persona: {
18
+ readonly ADMIN: "admin";
19
+ readonly ENDUSER: "endUser";
20
+ };
21
+ /**
22
+ * @public
23
+ */
24
+ export type Persona = (typeof Persona)[keyof typeof Persona];
25
+ /**
26
+ * @public
27
+ * @enum
28
+ */
29
+ export declare const AppAuthorizationStatus: {
30
+ readonly CONNECTED: "Connected";
31
+ readonly CONNECTION_VALIDATION_FAILED: "ConnectionValidationFailed";
32
+ readonly PENDING_CONNECT: "PendingConnect";
33
+ readonly TOKEN_AUTO_ROTATION_FAILED: "TokenAutoRotationFailed";
34
+ };
35
+ /**
36
+ * @public
37
+ */
38
+ export type AppAuthorizationStatus = (typeof AppAuthorizationStatus)[keyof typeof AppAuthorizationStatus];
39
+ /**
40
+ * @public
41
+ * @enum
42
+ */
43
+ export declare const Format: {
44
+ readonly JSON: "json";
45
+ readonly PARQUET: "parquet";
46
+ };
47
+ /**
48
+ * @public
49
+ */
50
+ export type Format = (typeof Format)[keyof typeof Format];
51
+ /**
52
+ * @public
53
+ * @enum
54
+ */
55
+ export declare const Schema: {
56
+ readonly OCSF: "ocsf";
57
+ readonly RAW: "raw";
58
+ };
59
+ /**
60
+ * @public
61
+ */
62
+ export type Schema = (typeof Schema)[keyof typeof Schema];
63
+ /**
64
+ * @public
65
+ * @enum
66
+ */
67
+ export declare const ResultStatus: {
68
+ readonly COMPLETED: "COMPLETED";
69
+ readonly EXPIRED: "EXPIRED";
70
+ readonly FAILED: "FAILED";
71
+ readonly IN_PROGRESS: "IN_PROGRESS";
72
+ };
73
+ /**
74
+ * @public
75
+ */
76
+ export type ResultStatus = (typeof ResultStatus)[keyof typeof ResultStatus];
77
+ /**
78
+ * @public
79
+ * @enum
80
+ */
81
+ export declare const ValidationExceptionReason: {
82
+ readonly CANNOT_PARSE: "cannotParse";
83
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
84
+ readonly OTHER: "other";
85
+ readonly UNKNOWN_OPERATION: "unknownOperation";
86
+ };
87
+ /**
88
+ * @public
89
+ */
90
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
91
+ /**
92
+ * @public
93
+ * @enum
94
+ */
95
+ export declare const IngestionType: {
96
+ readonly AUDIT_LOG: "auditLog";
97
+ };
98
+ /**
99
+ * @public
100
+ */
101
+ export type IngestionType = (typeof IngestionType)[keyof typeof IngestionType];
102
+ /**
103
+ * @public
104
+ * @enum
105
+ */
106
+ export declare const IngestionState: {
107
+ readonly DISABLED: "disabled";
108
+ readonly ENABLED: "enabled";
109
+ };
110
+ /**
111
+ * @public
112
+ */
113
+ export type IngestionState = (typeof IngestionState)[keyof typeof IngestionState];
114
+ /**
115
+ * @public
116
+ * @enum
117
+ */
118
+ export declare const IngestionDestinationStatus: {
119
+ readonly ACTIVE: "Active";
120
+ readonly FAILED: "Failed";
121
+ };
122
+ /**
123
+ * @public
124
+ */
125
+ export type IngestionDestinationStatus = (typeof IngestionDestinationStatus)[keyof typeof IngestionDestinationStatus];