@aws-sdk/client-billing 3.934.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.
@@ -0,0 +1,150 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { BillingServiceException as __BaseException } from "./BillingServiceException";
3
+ import { ValidationExceptionReason } from "./enums";
4
+ import { ValidationExceptionField } from "./models_0";
5
+ /**
6
+ * <p>You don't have sufficient access to perform this action.</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> Exception thrown when a billing view's health status prevents an operation from being performed. This may occur if the billing view is in a state other than <code>HEALTHY</code>.</p>
19
+ * @public
20
+ */
21
+ export declare class BillingViewHealthStatusException extends __BaseException {
22
+ readonly name: "BillingViewHealthStatusException";
23
+ readonly $fault: "client";
24
+ /**
25
+ * @internal
26
+ */
27
+ constructor(opts: __ExceptionOptionType<BillingViewHealthStatusException, __BaseException>);
28
+ }
29
+ /**
30
+ * <p> The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. </p>
31
+ * @public
32
+ */
33
+ export declare class ConflictException extends __BaseException {
34
+ readonly name: "ConflictException";
35
+ readonly $fault: "client";
36
+ /**
37
+ * <p> The identifier for the service resource associated with the request. </p>
38
+ * @public
39
+ */
40
+ resourceId: string | undefined;
41
+ /**
42
+ * <p> The type of resource associated with the request. </p>
43
+ * @public
44
+ */
45
+ resourceType: string | undefined;
46
+ /**
47
+ * @internal
48
+ */
49
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
50
+ }
51
+ /**
52
+ * <p>The request processing failed because of an unknown error, exception, or failure. </p>
53
+ * @public
54
+ */
55
+ export declare class InternalServerException extends __BaseException {
56
+ readonly name: "InternalServerException";
57
+ readonly $fault: "server";
58
+ /**
59
+ * @internal
60
+ */
61
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
62
+ }
63
+ /**
64
+ * <p> The specified ARN in the request doesn't exist. </p>
65
+ * @public
66
+ */
67
+ export declare class ResourceNotFoundException extends __BaseException {
68
+ readonly name: "ResourceNotFoundException";
69
+ readonly $fault: "client";
70
+ /**
71
+ * <p> Value is a list of resource IDs that were not found. </p>
72
+ * @public
73
+ */
74
+ resourceId: string | undefined;
75
+ /**
76
+ * <p> Value is the type of resource that was not found. </p>
77
+ * @public
78
+ */
79
+ resourceType: string | undefined;
80
+ /**
81
+ * @internal
82
+ */
83
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
84
+ }
85
+ /**
86
+ * <p> You've reached the limit of resources you can create, or exceeded the size of an individual resource. </p>
87
+ * @public
88
+ */
89
+ export declare class ServiceQuotaExceededException extends __BaseException {
90
+ readonly name: "ServiceQuotaExceededException";
91
+ readonly $fault: "client";
92
+ /**
93
+ * <p> The ID of the resource. </p>
94
+ * @public
95
+ */
96
+ resourceId: string | undefined;
97
+ /**
98
+ * <p> The type of Amazon Web Services resource. </p>
99
+ * @public
100
+ */
101
+ resourceType: string | undefined;
102
+ /**
103
+ * <p> The container for the <code>serviceCode</code>. </p>
104
+ * @public
105
+ */
106
+ serviceCode: string | undefined;
107
+ /**
108
+ * <p> The container for the <code>quotaCode</code>. </p>
109
+ * @public
110
+ */
111
+ quotaCode: string | undefined;
112
+ /**
113
+ * @internal
114
+ */
115
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
116
+ }
117
+ /**
118
+ * <p>The request was denied due to request throttling. </p>
119
+ * @public
120
+ */
121
+ export declare class ThrottlingException extends __BaseException {
122
+ readonly name: "ThrottlingException";
123
+ readonly $fault: "client";
124
+ /**
125
+ * @internal
126
+ */
127
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
128
+ }
129
+ /**
130
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>
131
+ * @public
132
+ */
133
+ export declare class ValidationException extends __BaseException {
134
+ readonly name: "ValidationException";
135
+ readonly $fault: "client";
136
+ /**
137
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
138
+ * @public
139
+ */
140
+ reason: ValidationExceptionReason | undefined;
141
+ /**
142
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
143
+ * @public
144
+ */
145
+ fieldList?: ValidationExceptionField[] | undefined;
146
+ /**
147
+ * @internal
148
+ */
149
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
150
+ }
@@ -1,17 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { BillingServiceException as __BaseException } from "./BillingServiceException";
3
- /**
4
- * <p>You don't have sufficient access to perform this action.</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 { BillingViewStatus, BillingViewStatusReason, BillingViewType, Dimension, SearchOption } from "./enums";
15
2
  /**
16
3
  * <p>A time range with a start and end time.</p>
17
4
  * @public
@@ -53,118 +40,6 @@ export interface AssociateSourceViewsResponse {
53
40
  */
54
41
  arn: string | undefined;
55
42
  }
56
- /**
57
- * <p> Exception thrown when a billing view's health status prevents an operation from being performed. This may occur if the billing view is in a state other than <code>HEALTHY</code>.</p>
58
- * @public
59
- */
60
- export declare class BillingViewHealthStatusException extends __BaseException {
61
- readonly name: "BillingViewHealthStatusException";
62
- readonly $fault: "client";
63
- /**
64
- * @internal
65
- */
66
- constructor(opts: __ExceptionOptionType<BillingViewHealthStatusException, __BaseException>);
67
- }
68
- /**
69
- * <p> The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. </p>
70
- * @public
71
- */
72
- export declare class ConflictException extends __BaseException {
73
- readonly name: "ConflictException";
74
- readonly $fault: "client";
75
- /**
76
- * <p> The identifier for the service resource associated with the request. </p>
77
- * @public
78
- */
79
- resourceId: string | undefined;
80
- /**
81
- * <p> The type of resource associated with the request. </p>
82
- * @public
83
- */
84
- resourceType: string | undefined;
85
- /**
86
- * @internal
87
- */
88
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
89
- }
90
- /**
91
- * <p>The request processing failed because of an unknown error, exception, or failure. </p>
92
- * @public
93
- */
94
- export declare class InternalServerException extends __BaseException {
95
- readonly name: "InternalServerException";
96
- readonly $fault: "server";
97
- /**
98
- * @internal
99
- */
100
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
101
- }
102
- /**
103
- * <p> The specified ARN in the request doesn't exist. </p>
104
- * @public
105
- */
106
- export declare class ResourceNotFoundException extends __BaseException {
107
- readonly name: "ResourceNotFoundException";
108
- readonly $fault: "client";
109
- /**
110
- * <p> Value is a list of resource IDs that were not found. </p>
111
- * @public
112
- */
113
- resourceId: string | undefined;
114
- /**
115
- * <p> Value is the type of resource that was not found. </p>
116
- * @public
117
- */
118
- resourceType: string | undefined;
119
- /**
120
- * @internal
121
- */
122
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
123
- }
124
- /**
125
- * <p> You've reached the limit of resources you can create, or exceeded the size of an individual resource. </p>
126
- * @public
127
- */
128
- export declare class ServiceQuotaExceededException extends __BaseException {
129
- readonly name: "ServiceQuotaExceededException";
130
- readonly $fault: "client";
131
- /**
132
- * <p> The ID of the resource. </p>
133
- * @public
134
- */
135
- resourceId: string | undefined;
136
- /**
137
- * <p> The type of Amazon Web Services resource. </p>
138
- * @public
139
- */
140
- resourceType: string | undefined;
141
- /**
142
- * <p> The container for the <code>serviceCode</code>. </p>
143
- * @public
144
- */
145
- serviceCode: string | undefined;
146
- /**
147
- * <p> The container for the <code>quotaCode</code>. </p>
148
- * @public
149
- */
150
- quotaCode: string | undefined;
151
- /**
152
- * @internal
153
- */
154
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
155
- }
156
- /**
157
- * <p>The request was denied due to request throttling. </p>
158
- * @public
159
- */
160
- export declare class ThrottlingException extends __BaseException {
161
- readonly name: "ThrottlingException";
162
- readonly $fault: "client";
163
- /**
164
- * @internal
165
- */
166
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
167
- }
168
43
  /**
169
44
  * <p>The field's information of a request that resulted in an exception. </p>
170
45
  * @public
@@ -181,53 +56,6 @@ export interface ValidationExceptionField {
181
56
  */
182
57
  message: string | undefined;
183
58
  }
184
- /**
185
- * @public
186
- * @enum
187
- */
188
- export declare const ValidationExceptionReason: {
189
- readonly CANNOT_PARSE: "cannotParse";
190
- readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
191
- readonly OTHER: "other";
192
- readonly UNKNOWN_OPERATION: "unknownOperation";
193
- };
194
- /**
195
- * @public
196
- */
197
- export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
198
- /**
199
- * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>
200
- * @public
201
- */
202
- export declare class ValidationException extends __BaseException {
203
- readonly name: "ValidationException";
204
- readonly $fault: "client";
205
- /**
206
- * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
207
- * @public
208
- */
209
- reason: ValidationExceptionReason | undefined;
210
- /**
211
- * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
212
- * @public
213
- */
214
- fieldList?: ValidationExceptionField[] | undefined;
215
- /**
216
- * @internal
217
- */
218
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
219
- }
220
- /**
221
- * @public
222
- * @enum
223
- */
224
- export declare const Dimension: {
225
- readonly LINKED_ACCOUNT: "LINKED_ACCOUNT";
226
- };
227
- /**
228
- * @public
229
- */
230
- export type Dimension = (typeof Dimension)[keyof typeof Dimension];
231
59
  /**
232
60
  * <p> The metadata that you can use to filter and group your results. </p>
233
61
  * @public
@@ -423,51 +251,6 @@ export interface GetBillingViewRequest {
423
251
  */
424
252
  arn: string | undefined;
425
253
  }
426
- /**
427
- * @public
428
- * @enum
429
- */
430
- export declare const BillingViewType: {
431
- readonly BILLING_GROUP: "BILLING_GROUP";
432
- readonly CUSTOM: "CUSTOM";
433
- readonly PRIMARY: "PRIMARY";
434
- };
435
- /**
436
- * @public
437
- */
438
- export type BillingViewType = (typeof BillingViewType)[keyof typeof BillingViewType];
439
- /**
440
- * @public
441
- * @enum
442
- */
443
- export declare const BillingViewStatus: {
444
- readonly CREATING: "CREATING";
445
- readonly HEALTHY: "HEALTHY";
446
- readonly UNHEALTHY: "UNHEALTHY";
447
- readonly UPDATING: "UPDATING";
448
- };
449
- /**
450
- * @public
451
- */
452
- export type BillingViewStatus = (typeof BillingViewStatus)[keyof typeof BillingViewStatus];
453
- /**
454
- * @public
455
- * @enum
456
- */
457
- export declare const BillingViewStatusReason: {
458
- readonly AGGREGATE_SOURCE: "AGGREGATE_SOURCE";
459
- readonly CYCLIC_DEPENDENCY: "CYCLIC_DEPENDENCY";
460
- readonly SOURCE_VIEW_ACCESS_DENIED: "SOURCE_VIEW_ACCESS_DENIED";
461
- readonly SOURCE_VIEW_DEPTH_EXCEEDED: "SOURCE_VIEW_DEPTH_EXCEEDED";
462
- readonly SOURCE_VIEW_NOT_FOUND: "SOURCE_VIEW_NOT_FOUND";
463
- readonly SOURCE_VIEW_UNHEALTHY: "SOURCE_VIEW_UNHEALTHY";
464
- readonly SOURCE_VIEW_UPDATING: "SOURCE_VIEW_UPDATING";
465
- readonly VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT: "VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT";
466
- };
467
- /**
468
- * @public
469
- */
470
- export type BillingViewStatusReason = (typeof BillingViewStatusReason)[keyof typeof BillingViewStatusReason];
471
254
  /**
472
255
  * <p> Represents the health status of a billing view, including a status code and optional reasons for the status. </p>
473
256
  * @public
@@ -590,6 +373,22 @@ export interface GetResourcePolicyResponse {
590
373
  */
591
374
  policy?: string | undefined;
592
375
  }
376
+ /**
377
+ * <p> A structure that defines how to search for string values. You can specify a search option and the value to search for. </p>
378
+ * @public
379
+ */
380
+ export interface StringSearch {
381
+ /**
382
+ * <p> The type of search operation to perform on the string value. Determines how the search value is matched against the target field. </p>
383
+ * @public
384
+ */
385
+ searchOption: SearchOption | undefined;
386
+ /**
387
+ * <p> The string value to use in the search operation. This value is compared against the target field using the specified search option. </p>
388
+ * @public
389
+ */
390
+ searchValue: string | undefined;
391
+ }
593
392
  /**
594
393
  * @public
595
394
  */
@@ -609,6 +408,11 @@ export interface ListBillingViewsRequest {
609
408
  * @public
610
409
  */
611
410
  billingViewTypes?: BillingViewType[] | undefined;
411
+ /**
412
+ * <p> Filters the list of billing views by name. You can specify search criteria to match billing view names based on the search option provided. </p>
413
+ * @public
414
+ */
415
+ names?: StringSearch[] | undefined;
612
416
  /**
613
417
  * <p> The list of owners of the billing view. </p>
614
418
  * @public
@@ -32,6 +32,7 @@ export declare var ListTagsForResourceResponse: StaticStructureSchema;
32
32
  export declare var ResourceNotFoundException: StaticErrorSchema;
33
33
  export declare var ResourceTag: StaticStructureSchema;
34
34
  export declare var ServiceQuotaExceededException: StaticErrorSchema;
35
+ export declare var StringSearch: StaticStructureSchema;
35
36
  export declare var TagResourceRequest: StaticStructureSchema;
36
37
  export declare var TagResourceResponse: StaticStructureSchema;
37
38
  export declare var TagValues: StaticStructureSchema;
@@ -52,6 +53,7 @@ export declare var BillingViewStatusReasons: number;
52
53
  export declare var BillingViewTypeList: number;
53
54
  export declare var ResourceTagKeyList: number;
54
55
  export declare var ResourceTagList: StaticListSchema;
56
+ export declare var StringSearches: StaticListSchema;
55
57
  export declare var ValidationExceptionFieldList: StaticListSchema;
56
58
  export declare var Values: number;
57
59
  export declare var AssociateSourceViews: StaticOperationSchema;
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { BillingExtensionConfiguration } 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 { BillingServiceException } from "./models/BillingServiceException";
@@ -0,0 +1,45 @@
1
+ export declare const ValidationExceptionReason: {
2
+ readonly CANNOT_PARSE: "cannotParse";
3
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
4
+ readonly OTHER: "other";
5
+ readonly UNKNOWN_OPERATION: "unknownOperation";
6
+ };
7
+ export type ValidationExceptionReason =
8
+ (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
9
+ export declare const Dimension: {
10
+ readonly LINKED_ACCOUNT: "LINKED_ACCOUNT";
11
+ };
12
+ export type Dimension = (typeof Dimension)[keyof typeof Dimension];
13
+ export declare const BillingViewType: {
14
+ readonly BILLING_GROUP: "BILLING_GROUP";
15
+ readonly BILLING_TRANSFER: "BILLING_TRANSFER";
16
+ readonly BILLING_TRANSFER_SHOWBACK: "BILLING_TRANSFER_SHOWBACK";
17
+ readonly CUSTOM: "CUSTOM";
18
+ readonly PRIMARY: "PRIMARY";
19
+ };
20
+ export type BillingViewType =
21
+ (typeof BillingViewType)[keyof typeof BillingViewType];
22
+ export declare const BillingViewStatus: {
23
+ readonly CREATING: "CREATING";
24
+ readonly HEALTHY: "HEALTHY";
25
+ readonly UNHEALTHY: "UNHEALTHY";
26
+ readonly UPDATING: "UPDATING";
27
+ };
28
+ export type BillingViewStatus =
29
+ (typeof BillingViewStatus)[keyof typeof BillingViewStatus];
30
+ export declare const BillingViewStatusReason: {
31
+ readonly AGGREGATE_SOURCE: "AGGREGATE_SOURCE";
32
+ readonly CYCLIC_DEPENDENCY: "CYCLIC_DEPENDENCY";
33
+ readonly SOURCE_VIEW_ACCESS_DENIED: "SOURCE_VIEW_ACCESS_DENIED";
34
+ readonly SOURCE_VIEW_DEPTH_EXCEEDED: "SOURCE_VIEW_DEPTH_EXCEEDED";
35
+ readonly SOURCE_VIEW_NOT_FOUND: "SOURCE_VIEW_NOT_FOUND";
36
+ readonly SOURCE_VIEW_UNHEALTHY: "SOURCE_VIEW_UNHEALTHY";
37
+ readonly SOURCE_VIEW_UPDATING: "SOURCE_VIEW_UPDATING";
38
+ readonly VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT: "VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT";
39
+ };
40
+ export type BillingViewStatusReason =
41
+ (typeof BillingViewStatusReason)[keyof typeof BillingViewStatusReason];
42
+ export declare const SearchOption: {
43
+ readonly STARTS_WITH: "STARTS_WITH";
44
+ };
45
+ export type SearchOption = (typeof SearchOption)[keyof typeof SearchOption];
@@ -0,0 +1,71 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { BillingServiceException as __BaseException } from "./BillingServiceException";
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 BillingViewHealthStatusException extends __BaseException {
13
+ readonly name: "BillingViewHealthStatusException";
14
+ readonly $fault: "client";
15
+ constructor(
16
+ opts: __ExceptionOptionType<
17
+ BillingViewHealthStatusException,
18
+ __BaseException
19
+ >
20
+ );
21
+ }
22
+ export declare class ConflictException extends __BaseException {
23
+ readonly name: "ConflictException";
24
+ readonly $fault: "client";
25
+ resourceId: string | undefined;
26
+ resourceType: string | undefined;
27
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
28
+ }
29
+ export declare class InternalServerException extends __BaseException {
30
+ readonly name: "InternalServerException";
31
+ readonly $fault: "server";
32
+ constructor(
33
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
34
+ );
35
+ }
36
+ export declare class ResourceNotFoundException extends __BaseException {
37
+ readonly name: "ResourceNotFoundException";
38
+ readonly $fault: "client";
39
+ resourceId: string | undefined;
40
+ resourceType: string | undefined;
41
+ constructor(
42
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
43
+ );
44
+ }
45
+ export declare class ServiceQuotaExceededException extends __BaseException {
46
+ readonly name: "ServiceQuotaExceededException";
47
+ readonly $fault: "client";
48
+ resourceId: string | undefined;
49
+ resourceType: string | undefined;
50
+ serviceCode: string | undefined;
51
+ quotaCode: string | undefined;
52
+ constructor(
53
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
54
+ );
55
+ }
56
+ export declare class ThrottlingException extends __BaseException {
57
+ readonly name: "ThrottlingException";
58
+ readonly $fault: "client";
59
+ constructor(
60
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
61
+ );
62
+ }
63
+ export declare class ValidationException extends __BaseException {
64
+ readonly name: "ValidationException";
65
+ readonly $fault: "client";
66
+ reason: ValidationExceptionReason | undefined;
67
+ fieldList?: ValidationExceptionField[] | undefined;
68
+ constructor(
69
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
70
+ );
71
+ }