@aws-sdk/client-billing 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.
@@ -1,12 +1,10 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { BillingServiceException as __BaseException } from "./BillingServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- constructor(
7
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
- );
9
- }
1
+ import {
2
+ BillingViewStatus,
3
+ BillingViewStatusReason,
4
+ BillingViewType,
5
+ Dimension,
6
+ SearchOption,
7
+ } from "./enums";
10
8
  export interface ActiveTimeRange {
11
9
  activeAfterInclusive: Date | undefined;
12
10
  activeBeforeInclusive: Date | undefined;
@@ -18,82 +16,10 @@ export interface AssociateSourceViewsRequest {
18
16
  export interface AssociateSourceViewsResponse {
19
17
  arn: string | undefined;
20
18
  }
21
- export declare class BillingViewHealthStatusException extends __BaseException {
22
- readonly name: "BillingViewHealthStatusException";
23
- readonly $fault: "client";
24
- constructor(
25
- opts: __ExceptionOptionType<
26
- BillingViewHealthStatusException,
27
- __BaseException
28
- >
29
- );
30
- }
31
- export declare class ConflictException extends __BaseException {
32
- readonly name: "ConflictException";
33
- readonly $fault: "client";
34
- resourceId: string | undefined;
35
- resourceType: string | undefined;
36
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
37
- }
38
- export declare class InternalServerException extends __BaseException {
39
- readonly name: "InternalServerException";
40
- readonly $fault: "server";
41
- constructor(
42
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
43
- );
44
- }
45
- export declare class ResourceNotFoundException extends __BaseException {
46
- readonly name: "ResourceNotFoundException";
47
- readonly $fault: "client";
48
- resourceId: string | undefined;
49
- resourceType: string | undefined;
50
- constructor(
51
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
52
- );
53
- }
54
- export declare class ServiceQuotaExceededException extends __BaseException {
55
- readonly name: "ServiceQuotaExceededException";
56
- readonly $fault: "client";
57
- resourceId: string | undefined;
58
- resourceType: string | undefined;
59
- serviceCode: string | undefined;
60
- quotaCode: string | undefined;
61
- constructor(
62
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
63
- );
64
- }
65
- export declare class ThrottlingException extends __BaseException {
66
- readonly name: "ThrottlingException";
67
- readonly $fault: "client";
68
- constructor(
69
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
70
- );
71
- }
72
19
  export interface ValidationExceptionField {
73
20
  name: string | undefined;
74
21
  message: string | undefined;
75
22
  }
76
- export declare const ValidationExceptionReason: {
77
- readonly CANNOT_PARSE: "cannotParse";
78
- readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
79
- readonly OTHER: "other";
80
- readonly UNKNOWN_OPERATION: "unknownOperation";
81
- };
82
- export type ValidationExceptionReason =
83
- (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
84
- export declare class ValidationException extends __BaseException {
85
- readonly name: "ValidationException";
86
- readonly $fault: "client";
87
- reason: ValidationExceptionReason | undefined;
88
- fieldList?: ValidationExceptionField[] | undefined;
89
- constructor(
90
- opts: __ExceptionOptionType<ValidationException, __BaseException>
91
- );
92
- }
93
- export declare const Dimension: {
94
- readonly LINKED_ACCOUNT: "LINKED_ACCOUNT";
95
- };
96
- export type Dimension = (typeof Dimension)[keyof typeof Dimension];
97
23
  export interface DimensionValues {
98
24
  key: Dimension | undefined;
99
25
  values: string[] | undefined;
@@ -144,33 +70,6 @@ export interface DisassociateSourceViewsResponse {
144
70
  export interface GetBillingViewRequest {
145
71
  arn: string | undefined;
146
72
  }
147
- export declare const BillingViewType: {
148
- readonly BILLING_GROUP: "BILLING_GROUP";
149
- readonly CUSTOM: "CUSTOM";
150
- readonly PRIMARY: "PRIMARY";
151
- };
152
- export type BillingViewType =
153
- (typeof BillingViewType)[keyof typeof BillingViewType];
154
- export declare const BillingViewStatus: {
155
- readonly CREATING: "CREATING";
156
- readonly HEALTHY: "HEALTHY";
157
- readonly UNHEALTHY: "UNHEALTHY";
158
- readonly UPDATING: "UPDATING";
159
- };
160
- export type BillingViewStatus =
161
- (typeof BillingViewStatus)[keyof typeof BillingViewStatus];
162
- export declare const BillingViewStatusReason: {
163
- readonly AGGREGATE_SOURCE: "AGGREGATE_SOURCE";
164
- readonly CYCLIC_DEPENDENCY: "CYCLIC_DEPENDENCY";
165
- readonly SOURCE_VIEW_ACCESS_DENIED: "SOURCE_VIEW_ACCESS_DENIED";
166
- readonly SOURCE_VIEW_DEPTH_EXCEEDED: "SOURCE_VIEW_DEPTH_EXCEEDED";
167
- readonly SOURCE_VIEW_NOT_FOUND: "SOURCE_VIEW_NOT_FOUND";
168
- readonly SOURCE_VIEW_UNHEALTHY: "SOURCE_VIEW_UNHEALTHY";
169
- readonly SOURCE_VIEW_UPDATING: "SOURCE_VIEW_UPDATING";
170
- readonly VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT: "VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT";
171
- };
172
- export type BillingViewStatusReason =
173
- (typeof BillingViewStatusReason)[keyof typeof BillingViewStatusReason];
174
73
  export interface BillingViewHealthStatus {
175
74
  statusCode?: BillingViewStatus | undefined;
176
75
  statusReasons?: BillingViewStatusReason[] | undefined;
@@ -200,10 +99,15 @@ export interface GetResourcePolicyResponse {
200
99
  resourceArn: string | undefined;
201
100
  policy?: string | undefined;
202
101
  }
102
+ export interface StringSearch {
103
+ searchOption: SearchOption | undefined;
104
+ searchValue: string | undefined;
105
+ }
203
106
  export interface ListBillingViewsRequest {
204
107
  activeTimeRange?: ActiveTimeRange | undefined;
205
108
  arns?: string[] | undefined;
206
109
  billingViewTypes?: BillingViewType[] | undefined;
110
+ names?: StringSearch[] | undefined;
207
111
  ownerAccountId?: string | undefined;
208
112
  sourceAccountId?: string | undefined;
209
113
  maxResults?: number | undefined;
@@ -38,6 +38,7 @@ export declare var ListTagsForResourceResponse: StaticStructureSchema;
38
38
  export declare var ResourceNotFoundException: StaticErrorSchema;
39
39
  export declare var ResourceTag: StaticStructureSchema;
40
40
  export declare var ServiceQuotaExceededException: StaticErrorSchema;
41
+ export declare var StringSearch: StaticStructureSchema;
41
42
  export declare var TagResourceRequest: StaticStructureSchema;
42
43
  export declare var TagResourceResponse: StaticStructureSchema;
43
44
  export declare var TagValues: StaticStructureSchema;
@@ -58,6 +59,7 @@ export declare var BillingViewStatusReasons: number;
58
59
  export declare var BillingViewTypeList: number;
59
60
  export declare var ResourceTagKeyList: number;
60
61
  export declare var ResourceTagList: StaticListSchema;
62
+ export declare var StringSearches: StaticListSchema;
61
63
  export declare var ValidationExceptionFieldList: StaticListSchema;
62
64
  export declare var Values: number;
63
65
  export declare var AssociateSourceViews: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-billing",
3
3
  "description": "AWS SDK for JavaScript Billing Client for Node.js, Browser and React Native",
4
- "version": "3.934.0",
4
+ "version": "3.936.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-billing",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
25
- "@aws-sdk/middleware-host-header": "3.930.0",
26
- "@aws-sdk/middleware-logger": "3.930.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
29
- "@aws-sdk/region-config-resolver": "3.930.0",
30
- "@aws-sdk/types": "3.930.0",
31
- "@aws-sdk/util-endpoints": "3.930.0",
32
- "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
23
+ "@aws-sdk/core": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.936.0",
25
+ "@aws-sdk/middleware-host-header": "3.936.0",
26
+ "@aws-sdk/middleware-logger": "3.936.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.936.0",
29
+ "@aws-sdk/region-config-resolver": "3.936.0",
30
+ "@aws-sdk/types": "3.936.0",
31
+ "@aws-sdk/util-endpoints": "3.936.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.936.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";