@aws-sdk/client-appfabric 3.934.0 → 3.936.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.
@@ -0,0 +1,163 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { AppFabricServiceException as __BaseException } from "./AppFabricServiceException";
3
+ import { ValidationExceptionReason } from "./enums";
4
+ import { ValidationExceptionField } from "./models_0";
5
+ /**
6
+ * <p>You are not authorized to perform this operation.</p>
7
+ * @public
8
+ */
9
+ export declare class AccessDeniedException extends __BaseException {
10
+ readonly name: "AccessDeniedException";
11
+ readonly $fault: "client";
12
+ /**
13
+ * @internal
14
+ */
15
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
16
+ }
17
+ /**
18
+ * <p>The request processing has failed because of an unknown error, exception, or failure
19
+ * with an internal server.</p>
20
+ * @public
21
+ */
22
+ export declare class InternalServerException extends __BaseException {
23
+ readonly name: "InternalServerException";
24
+ readonly $fault: "server";
25
+ $retryable: {};
26
+ /**
27
+ * <p>The period of time after which you should retry your request.</p>
28
+ * @public
29
+ */
30
+ retryAfterSeconds?: number | undefined;
31
+ /**
32
+ * @internal
33
+ */
34
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
35
+ }
36
+ /**
37
+ * <p>The specified resource does not exist.</p>
38
+ * @public
39
+ */
40
+ export declare class ResourceNotFoundException extends __BaseException {
41
+ readonly name: "ResourceNotFoundException";
42
+ readonly $fault: "client";
43
+ /**
44
+ * <p>The resource ID.</p>
45
+ * @public
46
+ */
47
+ resourceId: string | undefined;
48
+ /**
49
+ * <p>The resource type.</p>
50
+ * @public
51
+ */
52
+ resourceType: string | undefined;
53
+ /**
54
+ * @internal
55
+ */
56
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
57
+ }
58
+ /**
59
+ * <p>The request rate exceeds the limit.</p>
60
+ * @public
61
+ */
62
+ export declare class ThrottlingException extends __BaseException {
63
+ readonly name: "ThrottlingException";
64
+ readonly $fault: "client";
65
+ $retryable: {
66
+ throttling: boolean;
67
+ };
68
+ /**
69
+ * <p>The code of the service.</p>
70
+ * @public
71
+ */
72
+ serviceCode?: string | undefined;
73
+ /**
74
+ * <p>The code for the quota exceeded.</p>
75
+ * @public
76
+ */
77
+ quotaCode?: string | undefined;
78
+ /**
79
+ * <p>The period of time after which you should retry your request.</p>
80
+ * @public
81
+ */
82
+ retryAfterSeconds?: number | undefined;
83
+ /**
84
+ * @internal
85
+ */
86
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
87
+ }
88
+ /**
89
+ * <p>The request has invalid or missing parameters.</p>
90
+ * @public
91
+ */
92
+ export declare class ValidationException extends __BaseException {
93
+ readonly name: "ValidationException";
94
+ readonly $fault: "client";
95
+ /**
96
+ * <p>The reason for the exception.</p>
97
+ * @public
98
+ */
99
+ reason: ValidationExceptionReason | undefined;
100
+ /**
101
+ * <p>The field list.</p>
102
+ * @public
103
+ */
104
+ fieldList?: ValidationExceptionField[] | undefined;
105
+ /**
106
+ * @internal
107
+ */
108
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
109
+ }
110
+ /**
111
+ * <p>The request has created a conflict. Check the request parameters and try again.</p>
112
+ * @public
113
+ */
114
+ export declare class ConflictException extends __BaseException {
115
+ readonly name: "ConflictException";
116
+ readonly $fault: "client";
117
+ /**
118
+ * <p>The resource ID.</p>
119
+ * @public
120
+ */
121
+ resourceId: string | undefined;
122
+ /**
123
+ * <p>The resource type.</p>
124
+ * @public
125
+ */
126
+ resourceType: string | undefined;
127
+ /**
128
+ * @internal
129
+ */
130
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
131
+ }
132
+ /**
133
+ * <p>The request exceeds a service quota.</p>
134
+ * @public
135
+ */
136
+ export declare class ServiceQuotaExceededException extends __BaseException {
137
+ readonly name: "ServiceQuotaExceededException";
138
+ readonly $fault: "client";
139
+ /**
140
+ * <p>The resource ID.</p>
141
+ * @public
142
+ */
143
+ resourceId: string | undefined;
144
+ /**
145
+ * <p>The resource type.</p>
146
+ * @public
147
+ */
148
+ resourceType: string | undefined;
149
+ /**
150
+ * <p>The code of the service.</p>
151
+ * @public
152
+ */
153
+ serviceCode: string | undefined;
154
+ /**
155
+ * <p>The code for the quota exceeded.</p>
156
+ * @public
157
+ */
158
+ quotaCode: string | undefined;
159
+ /**
160
+ * @internal
161
+ */
162
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
163
+ }
@@ -1,17 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { AppFabricServiceException as __BaseException } from "./AppFabricServiceException";
3
- /**
4
- * <p>You are not authorized to perform this operation.</p>
5
- * @public
6
- */
7
- export declare class AccessDeniedException extends __BaseException {
8
- readonly name: "AccessDeniedException";
9
- readonly $fault: "client";
10
- /**
11
- * @internal
12
- */
13
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
- }
1
+ import { AppAuthorizationStatus, AuthType, Format, IngestionDestinationStatus, IngestionState, IngestionType, Persona, ResultStatus, Schema } from "./enums";
15
2
  /**
16
3
  * <p>Contains API key credential information.</p>
17
4
  * @public
@@ -23,44 +10,6 @@ export interface ApiKeyCredential {
23
10
  */
24
11
  apiKey: string | undefined;
25
12
  }
26
- /**
27
- * @public
28
- * @enum
29
- */
30
- export declare const AuthType: {
31
- readonly API_KEY: "apiKey";
32
- readonly OAUTH2: "oauth2";
33
- };
34
- /**
35
- * @public
36
- */
37
- export type AuthType = (typeof AuthType)[keyof typeof AuthType];
38
- /**
39
- * @public
40
- * @enum
41
- */
42
- export declare const Persona: {
43
- readonly ADMIN: "admin";
44
- readonly ENDUSER: "endUser";
45
- };
46
- /**
47
- * @public
48
- */
49
- export type Persona = (typeof Persona)[keyof typeof Persona];
50
- /**
51
- * @public
52
- * @enum
53
- */
54
- export declare const AppAuthorizationStatus: {
55
- readonly CONNECTED: "Connected";
56
- readonly CONNECTION_VALIDATION_FAILED: "ConnectionValidationFailed";
57
- readonly PENDING_CONNECT: "PendingConnect";
58
- readonly TOKEN_AUTO_ROTATION_FAILED: "TokenAutoRotationFailed";
59
- };
60
- /**
61
- * @public
62
- */
63
- export type AppAuthorizationStatus = (typeof AppAuthorizationStatus)[keyof typeof AppAuthorizationStatus];
64
13
  /**
65
14
  * <p>Contains information about an application tenant.</p>
66
15
  * @public
@@ -335,30 +284,6 @@ export interface AuditLogDestinationConfiguration {
335
284
  */
336
285
  destination: Destination | undefined;
337
286
  }
338
- /**
339
- * @public
340
- * @enum
341
- */
342
- export declare const Format: {
343
- readonly JSON: "json";
344
- readonly PARQUET: "parquet";
345
- };
346
- /**
347
- * @public
348
- */
349
- export type Format = (typeof Format)[keyof typeof Format];
350
- /**
351
- * @public
352
- * @enum
353
- */
354
- export declare const Schema: {
355
- readonly OCSF: "ocsf";
356
- readonly RAW: "raw";
357
- };
358
- /**
359
- * @public
360
- */
361
- export type Schema = (typeof Schema)[keyof typeof Schema];
362
287
  /**
363
288
  * <p>Contains information about an audit log processing configuration.</p>
364
289
  * @public
@@ -409,20 +334,6 @@ export interface BatchGetUserAccessTasksRequest {
409
334
  */
410
335
  taskIdList: string[] | undefined;
411
336
  }
412
- /**
413
- * @public
414
- * @enum
415
- */
416
- export declare const ResultStatus: {
417
- readonly COMPLETED: "COMPLETED";
418
- readonly EXPIRED: "EXPIRED";
419
- readonly FAILED: "FAILED";
420
- readonly IN_PROGRESS: "IN_PROGRESS";
421
- };
422
- /**
423
- * @public
424
- */
425
- export type ResultStatus = (typeof ResultStatus)[keyof typeof ResultStatus];
426
337
  /**
427
338
  * <p>Contains information about an error returned from a user access task.</p>
428
339
  * @public
@@ -534,77 +445,6 @@ export interface BatchGetUserAccessTasksResponse {
534
445
  */
535
446
  userAccessResultsList?: UserAccessResultItem[] | undefined;
536
447
  }
537
- /**
538
- * <p>The request processing has failed because of an unknown error, exception, or failure
539
- * with an internal server.</p>
540
- * @public
541
- */
542
- export declare class InternalServerException extends __BaseException {
543
- readonly name: "InternalServerException";
544
- readonly $fault: "server";
545
- $retryable: {};
546
- /**
547
- * <p>The period of time after which you should retry your request.</p>
548
- * @public
549
- */
550
- retryAfterSeconds?: number | undefined;
551
- /**
552
- * @internal
553
- */
554
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
555
- }
556
- /**
557
- * <p>The specified resource does not exist.</p>
558
- * @public
559
- */
560
- export declare class ResourceNotFoundException extends __BaseException {
561
- readonly name: "ResourceNotFoundException";
562
- readonly $fault: "client";
563
- /**
564
- * <p>The resource ID.</p>
565
- * @public
566
- */
567
- resourceId: string | undefined;
568
- /**
569
- * <p>The resource type.</p>
570
- * @public
571
- */
572
- resourceType: string | undefined;
573
- /**
574
- * @internal
575
- */
576
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
577
- }
578
- /**
579
- * <p>The request rate exceeds the limit.</p>
580
- * @public
581
- */
582
- export declare class ThrottlingException extends __BaseException {
583
- readonly name: "ThrottlingException";
584
- readonly $fault: "client";
585
- $retryable: {
586
- throttling: boolean;
587
- };
588
- /**
589
- * <p>The code of the service.</p>
590
- * @public
591
- */
592
- serviceCode?: string | undefined;
593
- /**
594
- * <p>The code for the quota exceeded.</p>
595
- * @public
596
- */
597
- quotaCode?: string | undefined;
598
- /**
599
- * <p>The period of time after which you should retry your request.</p>
600
- * @public
601
- */
602
- retryAfterSeconds?: number | undefined;
603
- /**
604
- * @internal
605
- */
606
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
607
- }
608
448
  /**
609
449
  * <p>The input failed to meet the constraints specified by the Amazon Web Services service in
610
450
  * a specified field.</p>
@@ -622,64 +462,6 @@ export interface ValidationExceptionField {
622
462
  */
623
463
  message: string | undefined;
624
464
  }
625
- /**
626
- * @public
627
- * @enum
628
- */
629
- export declare const ValidationExceptionReason: {
630
- readonly CANNOT_PARSE: "cannotParse";
631
- readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
632
- readonly OTHER: "other";
633
- readonly UNKNOWN_OPERATION: "unknownOperation";
634
- };
635
- /**
636
- * @public
637
- */
638
- export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
639
- /**
640
- * <p>The request has invalid or missing parameters.</p>
641
- * @public
642
- */
643
- export declare class ValidationException extends __BaseException {
644
- readonly name: "ValidationException";
645
- readonly $fault: "client";
646
- /**
647
- * <p>The reason for the exception.</p>
648
- * @public
649
- */
650
- reason: ValidationExceptionReason | undefined;
651
- /**
652
- * <p>The field list.</p>
653
- * @public
654
- */
655
- fieldList?: ValidationExceptionField[] | undefined;
656
- /**
657
- * @internal
658
- */
659
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
660
- }
661
- /**
662
- * <p>The request has created a conflict. Check the request parameters and try again.</p>
663
- * @public
664
- */
665
- export declare class ConflictException extends __BaseException {
666
- readonly name: "ConflictException";
667
- readonly $fault: "client";
668
- /**
669
- * <p>The resource ID.</p>
670
- * @public
671
- */
672
- resourceId: string | undefined;
673
- /**
674
- * <p>The resource type.</p>
675
- * @public
676
- */
677
- resourceType: string | undefined;
678
- /**
679
- * @internal
680
- */
681
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
682
- }
683
465
  /**
684
466
  * @public
685
467
  */
@@ -920,38 +702,6 @@ export interface CreateAppAuthorizationResponse {
920
702
  */
921
703
  appAuthorization: AppAuthorization | undefined;
922
704
  }
923
- /**
924
- * <p>The request exceeds a service quota.</p>
925
- * @public
926
- */
927
- export declare class ServiceQuotaExceededException extends __BaseException {
928
- readonly name: "ServiceQuotaExceededException";
929
- readonly $fault: "client";
930
- /**
931
- * <p>The resource ID.</p>
932
- * @public
933
- */
934
- resourceId: string | undefined;
935
- /**
936
- * <p>The resource type.</p>
937
- * @public
938
- */
939
- resourceType: string | undefined;
940
- /**
941
- * <p>The code of the service.</p>
942
- * @public
943
- */
944
- serviceCode: string | undefined;
945
- /**
946
- * <p>The code for the quota exceeded.</p>
947
- * @public
948
- */
949
- quotaCode: string | undefined;
950
- /**
951
- * @internal
952
- */
953
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
954
- }
955
705
  /**
956
706
  * @public
957
707
  */
@@ -992,17 +742,6 @@ export interface CreateAppBundleResponse {
992
742
  */
993
743
  appBundle: AppBundle | undefined;
994
744
  }
995
- /**
996
- * @public
997
- * @enum
998
- */
999
- export declare const IngestionType: {
1000
- readonly AUDIT_LOG: "auditLog";
1001
- };
1002
- /**
1003
- * @public
1004
- */
1005
- export type IngestionType = (typeof IngestionType)[keyof typeof IngestionType];
1006
745
  /**
1007
746
  * @public
1008
747
  */
@@ -1111,18 +850,6 @@ export interface CreateIngestionRequest {
1111
850
  */
1112
851
  tags?: Tag[] | undefined;
1113
852
  }
1114
- /**
1115
- * @public
1116
- * @enum
1117
- */
1118
- export declare const IngestionState: {
1119
- readonly DISABLED: "disabled";
1120
- readonly ENABLED: "enabled";
1121
- };
1122
- /**
1123
- * @public
1124
- */
1125
- export type IngestionState = (typeof IngestionState)[keyof typeof IngestionState];
1126
853
  /**
1127
854
  * <p>Contains information about an ingestion.</p>
1128
855
  * @public
@@ -1291,18 +1018,6 @@ export interface CreateIngestionDestinationRequest {
1291
1018
  */
1292
1019
  tags?: Tag[] | undefined;
1293
1020
  }
1294
- /**
1295
- * @public
1296
- * @enum
1297
- */
1298
- export declare const IngestionDestinationStatus: {
1299
- readonly ACTIVE: "Active";
1300
- readonly FAILED: "Failed";
1301
- };
1302
- /**
1303
- * @public
1304
- */
1305
- export type IngestionDestinationStatus = (typeof IngestionDestinationStatus)[keyof typeof IngestionDestinationStatus];
1306
1021
  /**
1307
1022
  * <p>Contains information about an ingestion destination.</p>
1308
1023
  * @public
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { AppFabricExtensionConfiguration } 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 { AppFabricServiceException } from "./models/AppFabricServiceException";
@@ -0,0 +1,59 @@
1
+ export declare const AuthType: {
2
+ readonly API_KEY: "apiKey";
3
+ readonly OAUTH2: "oauth2";
4
+ };
5
+ export type AuthType = (typeof AuthType)[keyof typeof AuthType];
6
+ export declare const Persona: {
7
+ readonly ADMIN: "admin";
8
+ readonly ENDUSER: "endUser";
9
+ };
10
+ export type Persona = (typeof Persona)[keyof typeof Persona];
11
+ export declare const AppAuthorizationStatus: {
12
+ readonly CONNECTED: "Connected";
13
+ readonly CONNECTION_VALIDATION_FAILED: "ConnectionValidationFailed";
14
+ readonly PENDING_CONNECT: "PendingConnect";
15
+ readonly TOKEN_AUTO_ROTATION_FAILED: "TokenAutoRotationFailed";
16
+ };
17
+ export type AppAuthorizationStatus =
18
+ (typeof AppAuthorizationStatus)[keyof typeof AppAuthorizationStatus];
19
+ export declare const Format: {
20
+ readonly JSON: "json";
21
+ readonly PARQUET: "parquet";
22
+ };
23
+ export type Format = (typeof Format)[keyof typeof Format];
24
+ export declare const Schema: {
25
+ readonly OCSF: "ocsf";
26
+ readonly RAW: "raw";
27
+ };
28
+ export type Schema = (typeof Schema)[keyof typeof Schema];
29
+ export declare const ResultStatus: {
30
+ readonly COMPLETED: "COMPLETED";
31
+ readonly EXPIRED: "EXPIRED";
32
+ readonly FAILED: "FAILED";
33
+ readonly IN_PROGRESS: "IN_PROGRESS";
34
+ };
35
+ export type ResultStatus = (typeof ResultStatus)[keyof typeof ResultStatus];
36
+ export declare const ValidationExceptionReason: {
37
+ readonly CANNOT_PARSE: "cannotParse";
38
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
39
+ readonly OTHER: "other";
40
+ readonly UNKNOWN_OPERATION: "unknownOperation";
41
+ };
42
+ export type ValidationExceptionReason =
43
+ (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
44
+ export declare const IngestionType: {
45
+ readonly AUDIT_LOG: "auditLog";
46
+ };
47
+ export type IngestionType = (typeof IngestionType)[keyof typeof IngestionType];
48
+ export declare const IngestionState: {
49
+ readonly DISABLED: "disabled";
50
+ readonly ENABLED: "enabled";
51
+ };
52
+ export type IngestionState =
53
+ (typeof IngestionState)[keyof typeof IngestionState];
54
+ export declare const IngestionDestinationStatus: {
55
+ readonly ACTIVE: "Active";
56
+ readonly FAILED: "Failed";
57
+ };
58
+ export type IngestionDestinationStatus =
59
+ (typeof IngestionDestinationStatus)[keyof typeof IngestionDestinationStatus];
@@ -0,0 +1,69 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { AppFabricServiceException as __BaseException } from "./AppFabricServiceException";
3
+ import { ValidationExceptionReason } from "./enums";
4
+ import { ValidationExceptionField } from "./models_0";
5
+ export declare class AccessDeniedException extends __BaseException {
6
+ readonly name: "AccessDeniedException";
7
+ readonly $fault: "client";
8
+ constructor(
9
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
10
+ );
11
+ }
12
+ export declare class InternalServerException extends __BaseException {
13
+ readonly name: "InternalServerException";
14
+ readonly $fault: "server";
15
+ $retryable: {};
16
+ retryAfterSeconds?: number | undefined;
17
+ constructor(
18
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
19
+ );
20
+ }
21
+ export declare class ResourceNotFoundException extends __BaseException {
22
+ readonly name: "ResourceNotFoundException";
23
+ readonly $fault: "client";
24
+ resourceId: string | undefined;
25
+ resourceType: string | undefined;
26
+ constructor(
27
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
28
+ );
29
+ }
30
+ export declare class ThrottlingException extends __BaseException {
31
+ readonly name: "ThrottlingException";
32
+ readonly $fault: "client";
33
+ $retryable: {
34
+ throttling: boolean;
35
+ };
36
+ serviceCode?: string | undefined;
37
+ quotaCode?: string | undefined;
38
+ retryAfterSeconds?: number | undefined;
39
+ constructor(
40
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
41
+ );
42
+ }
43
+ export declare class ValidationException extends __BaseException {
44
+ readonly name: "ValidationException";
45
+ readonly $fault: "client";
46
+ reason: ValidationExceptionReason | undefined;
47
+ fieldList?: ValidationExceptionField[] | undefined;
48
+ constructor(
49
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
50
+ );
51
+ }
52
+ export declare class ConflictException extends __BaseException {
53
+ readonly name: "ConflictException";
54
+ readonly $fault: "client";
55
+ resourceId: string | undefined;
56
+ resourceType: string | undefined;
57
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
58
+ }
59
+ export declare class ServiceQuotaExceededException extends __BaseException {
60
+ readonly name: "ServiceQuotaExceededException";
61
+ readonly $fault: "client";
62
+ resourceId: string | undefined;
63
+ resourceType: string | undefined;
64
+ serviceCode: string | undefined;
65
+ quotaCode: string | undefined;
66
+ constructor(
67
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
68
+ );
69
+ }