@aws-sdk/client-invoicing 3.703.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/LICENSE +201 -0
- package/README.md +293 -0
- package/dist-cjs/Invoicing.js +29 -0
- package/dist-cjs/InvoicingClient.js +50 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/BatchGetInvoiceProfileCommand.js +27 -0
- package/dist-cjs/commands/CreateInvoiceUnitCommand.js +26 -0
- package/dist-cjs/commands/DeleteInvoiceUnitCommand.js +26 -0
- package/dist-cjs/commands/GetInvoiceUnitCommand.js +26 -0
- package/dist-cjs/commands/ListInvoiceUnitsCommand.js +26 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
- package/dist-cjs/commands/TagResourceCommand.js +26 -0
- package/dist-cjs/commands/UntagResourceCommand.js +26 -0
- package/dist-cjs/commands/UpdateInvoiceUnitCommand.js +26 -0
- package/dist-cjs/commands/index.js +12 -0
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/InvoicingServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +121 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListInvoiceUnitsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_json1_0.js +367 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/Invoicing.js +25 -0
- package/dist-es/InvoicingClient.js +46 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/BatchGetInvoiceProfileCommand.js +23 -0
- package/dist-es/commands/CreateInvoiceUnitCommand.js +22 -0
- package/dist-es/commands/DeleteInvoiceUnitCommand.js +22 -0
- package/dist-es/commands/GetInvoiceUnitCommand.js +22 -0
- package/dist-es/commands/ListInvoiceUnitsCommand.js +22 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/UpdateInvoiceUnitCommand.js +22 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/InvoicingServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +109 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListInvoiceUnitsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_0.js +346 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/Invoicing.d.ts +90 -0
- package/dist-types/InvoicingClient.d.ts +194 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/BatchGetInvoiceProfileCommand.d.ts +111 -0
- package/dist-types/commands/CreateInvoiceUnitCommand.d.ts +100 -0
- package/dist-types/commands/DeleteInvoiceUnitCommand.d.ts +91 -0
- package/dist-types/commands/GetInvoiceUnitCommand.d.ts +101 -0
- package/dist-types/commands/ListInvoiceUnitsCommand.d.ts +114 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +96 -0
- package/dist-types/commands/TagResourceCommand.d.ts +99 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +93 -0
- package/dist-types/commands/UpdateInvoiceUnitCommand.d.ts +97 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +34 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +30 -0
- package/dist-types/models/InvoicingServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +742 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListInvoiceUnitsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +83 -0
- package/dist-types/runtimeConfig.browser.d.ts +48 -0
- package/dist-types/runtimeConfig.d.ts +48 -0
- package/dist-types/runtimeConfig.native.d.ts +47 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/Invoicing.d.ts +159 -0
- package/dist-types/ts3.4/InvoicingClient.d.ts +172 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/BatchGetInvoiceProfileCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateInvoiceUnitCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteInvoiceUnitCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetInvoiceUnitCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListInvoiceUnitsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateInvoiceUnitCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/InvoicingServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +192 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListInvoiceUnitsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +113 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +94 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +101 -0
|
@@ -0,0 +1,742 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { InvoicingServiceException as __BaseException } from "./InvoicingServiceException";
|
|
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
|
+
* <p>You don't have sufficient access to perform this action.
|
|
12
|
+
* </p>
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
resourceName?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export interface BatchGetInvoiceProfileRequest {
|
|
25
|
+
/**
|
|
26
|
+
* <p>Retrieves the corresponding invoice profile data for these account IDs.
|
|
27
|
+
* </p>
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
AccountIds: string[] | undefined;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* <p>
|
|
34
|
+
* The details of the address associated with the receiver.
|
|
35
|
+
* </p>
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
export interface ReceiverAddress {
|
|
39
|
+
/**
|
|
40
|
+
* <p>
|
|
41
|
+
* The first line of the address.
|
|
42
|
+
* </p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
AddressLine1?: string | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* <p>
|
|
48
|
+
* The second line of the address, if applicable.
|
|
49
|
+
* </p>
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
AddressLine2?: string | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* <p>
|
|
55
|
+
* The third line of the address, if applicable.
|
|
56
|
+
* </p>
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
AddressLine3?: string | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* <p>
|
|
62
|
+
* The district or country the address is located in.
|
|
63
|
+
* </p>
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
DistrictOrCounty?: string | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* <p>
|
|
69
|
+
* The city that the address is in.
|
|
70
|
+
* </p>
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
City?: string | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* <p>
|
|
76
|
+
* The state, region, or province the address is located.
|
|
77
|
+
* </p>
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
StateOrRegion?: string | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* <p>
|
|
83
|
+
* The country code for the country the address is in.
|
|
84
|
+
* </p>
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
CountryCode?: string | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* <p>
|
|
90
|
+
* A unique company name.
|
|
91
|
+
* </p>
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
CompanyName?: string | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* <p>
|
|
97
|
+
* The postal code associated with the address.
|
|
98
|
+
* </p>
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
PostalCode?: string | undefined;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* <p>
|
|
105
|
+
* Contains high-level information about the invoice receiver.
|
|
106
|
+
* </p>
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
export interface InvoiceProfile {
|
|
110
|
+
/**
|
|
111
|
+
* <p>
|
|
112
|
+
* The account ID the invoice profile is generated for.
|
|
113
|
+
* </p>
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
AccountId?: string | undefined;
|
|
117
|
+
/**
|
|
118
|
+
* <p>
|
|
119
|
+
* The name of the person receiving the invoice profile.
|
|
120
|
+
* </p>
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
123
|
+
ReceiverName?: string | undefined;
|
|
124
|
+
/**
|
|
125
|
+
* <p>The address of the receiver that will be printed on the invoice.
|
|
126
|
+
* </p>
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
ReceiverAddress?: ReceiverAddress | undefined;
|
|
130
|
+
/**
|
|
131
|
+
* <p>The email address for the invoice profile receiver.
|
|
132
|
+
* </p>
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
135
|
+
ReceiverEmail?: string | undefined;
|
|
136
|
+
/**
|
|
137
|
+
* <p>
|
|
138
|
+
* This specifies the issuing entity of the invoice.
|
|
139
|
+
* </p>
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
Issuer?: string | undefined;
|
|
143
|
+
/**
|
|
144
|
+
* <p>
|
|
145
|
+
* Your Tax Registration Number (TRN) information.
|
|
146
|
+
* </p>
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
149
|
+
TaxRegistrationNumber?: string | undefined;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
export interface BatchGetInvoiceProfileResponse {
|
|
155
|
+
/**
|
|
156
|
+
* <p>
|
|
157
|
+
* A list of invoice profiles corresponding to the requested accounts.
|
|
158
|
+
* </p>
|
|
159
|
+
* @public
|
|
160
|
+
*/
|
|
161
|
+
Profiles?: InvoiceProfile[] | undefined;
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* <p>The processing request failed because of an unknown error, exception, or failure.
|
|
165
|
+
* </p>
|
|
166
|
+
* @public
|
|
167
|
+
*/
|
|
168
|
+
export declare class InternalServerException extends __BaseException {
|
|
169
|
+
readonly name: "InternalServerException";
|
|
170
|
+
readonly $fault: "server";
|
|
171
|
+
/**
|
|
172
|
+
* <p>The processing request failed because of an unknown error, exception, or failure.</p>
|
|
173
|
+
* @public
|
|
174
|
+
*/
|
|
175
|
+
retryAfterSeconds?: number | undefined;
|
|
176
|
+
/**
|
|
177
|
+
* @internal
|
|
178
|
+
*/
|
|
179
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* <p>The resource could not be found.
|
|
183
|
+
* </p>
|
|
184
|
+
* @public
|
|
185
|
+
*/
|
|
186
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
187
|
+
readonly name: "ResourceNotFoundException";
|
|
188
|
+
readonly $fault: "client";
|
|
189
|
+
/**
|
|
190
|
+
* <p>The resource could not be found.</p>
|
|
191
|
+
* @public
|
|
192
|
+
*/
|
|
193
|
+
resourceName?: string | undefined;
|
|
194
|
+
/**
|
|
195
|
+
* @internal
|
|
196
|
+
*/
|
|
197
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* <p>The request was denied due to request throttling.</p>
|
|
201
|
+
* @public
|
|
202
|
+
*/
|
|
203
|
+
export declare class ThrottlingException extends __BaseException {
|
|
204
|
+
readonly name: "ThrottlingException";
|
|
205
|
+
readonly $fault: "client";
|
|
206
|
+
/**
|
|
207
|
+
* @internal
|
|
208
|
+
*/
|
|
209
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* <p>
|
|
213
|
+
* The input fails to satisfy the constraints specified by an Amazon Web Services service.
|
|
214
|
+
* </p>
|
|
215
|
+
* @public
|
|
216
|
+
*/
|
|
217
|
+
export interface ValidationExceptionField {
|
|
218
|
+
/**
|
|
219
|
+
* <p>
|
|
220
|
+
* The input fails to satisfy the constraints specified by an Amazon Web Services service.
|
|
221
|
+
* </p>
|
|
222
|
+
* @public
|
|
223
|
+
*/
|
|
224
|
+
name: string | undefined;
|
|
225
|
+
/**
|
|
226
|
+
* <p>
|
|
227
|
+
* The input fails to satisfy the constraints specified by an Amazon Web Services service.
|
|
228
|
+
* </p>
|
|
229
|
+
* @public
|
|
230
|
+
*/
|
|
231
|
+
message: string | undefined;
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* @public
|
|
235
|
+
* @enum
|
|
236
|
+
*/
|
|
237
|
+
export declare const ValidationExceptionReason: {
|
|
238
|
+
readonly ACCOUNT_MEMBERSHIP_ERROR: "accountMembershipError";
|
|
239
|
+
readonly CANNOT_PARSE: "cannotParse";
|
|
240
|
+
readonly DUPLICATE_INVOICE_UNIT: "duplicateInvoiceUnit";
|
|
241
|
+
readonly EXPIRED_NEXT_TOKEN: "expiredNextToken";
|
|
242
|
+
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
243
|
+
readonly INVALID_INPUT: "invalidInput";
|
|
244
|
+
readonly INVALID_NEXT_TOKEN: "invalidNextToken";
|
|
245
|
+
readonly MAX_ACCOUNTS_EXCEEDED: "maxAccountsExceeded";
|
|
246
|
+
readonly MAX_INVOICE_UNITS_EXCEEDED: "maxInvoiceUnitsExceeded";
|
|
247
|
+
readonly MUTUAL_EXCLUSION_ERROR: "mutualExclusionError";
|
|
248
|
+
readonly NON_MEMBERS_PRESENT: "nonMemberPresent";
|
|
249
|
+
readonly OTHER: "other";
|
|
250
|
+
readonly TAX_SETTINGS_ERROR: "taxSettingsError";
|
|
251
|
+
readonly UNKNOWN_OPERATION: "unknownOperation";
|
|
252
|
+
};
|
|
253
|
+
/**
|
|
254
|
+
* @public
|
|
255
|
+
*/
|
|
256
|
+
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
257
|
+
/**
|
|
258
|
+
* <p>
|
|
259
|
+
* The input fails to satisfy the constraints specified by an Amazon Web Services service.
|
|
260
|
+
* </p>
|
|
261
|
+
* @public
|
|
262
|
+
*/
|
|
263
|
+
export declare class ValidationException extends __BaseException {
|
|
264
|
+
readonly name: "ValidationException";
|
|
265
|
+
readonly $fault: "client";
|
|
266
|
+
/**
|
|
267
|
+
* <p>You don't have sufficient access to perform this action.
|
|
268
|
+
* </p>
|
|
269
|
+
* @public
|
|
270
|
+
*/
|
|
271
|
+
resourceName?: string | undefined;
|
|
272
|
+
/**
|
|
273
|
+
* <p>You don't have sufficient access to perform this action.
|
|
274
|
+
* </p>
|
|
275
|
+
* @public
|
|
276
|
+
*/
|
|
277
|
+
reason?: ValidationExceptionReason | undefined;
|
|
278
|
+
/**
|
|
279
|
+
* <p>
|
|
280
|
+
* The input fails to satisfy the constraints specified by an Amazon Web Services service.
|
|
281
|
+
* </p>
|
|
282
|
+
* @public
|
|
283
|
+
*/
|
|
284
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
285
|
+
/**
|
|
286
|
+
* @internal
|
|
287
|
+
*/
|
|
288
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
289
|
+
}
|
|
290
|
+
/**
|
|
291
|
+
* <p>The tag structure that contains a tag key and value.
|
|
292
|
+
* </p>
|
|
293
|
+
* @public
|
|
294
|
+
*/
|
|
295
|
+
export interface ResourceTag {
|
|
296
|
+
/**
|
|
297
|
+
* <p>The object key of your of your resource tag.
|
|
298
|
+
* </p>
|
|
299
|
+
* @public
|
|
300
|
+
*/
|
|
301
|
+
Key: string | undefined;
|
|
302
|
+
/**
|
|
303
|
+
* <p>
|
|
304
|
+
* The specific value of the resource tag.
|
|
305
|
+
* </p>
|
|
306
|
+
* @public
|
|
307
|
+
*/
|
|
308
|
+
Value: string | undefined;
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* <p>
|
|
312
|
+
* This is used to categorize the invoice unit. Values are Amazon Web Services account IDs. Currently, the only supported rule is <code>LINKED_ACCOUNT</code>.
|
|
313
|
+
* </p>
|
|
314
|
+
* @public
|
|
315
|
+
*/
|
|
316
|
+
export interface InvoiceUnitRule {
|
|
317
|
+
/**
|
|
318
|
+
* <p>The list of <code>LINKED_ACCOUNT</code> IDs where charges are included within the invoice unit.
|
|
319
|
+
* </p>
|
|
320
|
+
* @public
|
|
321
|
+
*/
|
|
322
|
+
LinkedAccounts?: string[] | undefined;
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* @public
|
|
326
|
+
*/
|
|
327
|
+
export interface CreateInvoiceUnitRequest {
|
|
328
|
+
/**
|
|
329
|
+
* <p>
|
|
330
|
+
* The unique name of the invoice unit that is shown on the generated invoice. This can't be changed once it is set. To change this name, you must delete the invoice unit recreate.
|
|
331
|
+
* </p>
|
|
332
|
+
* @public
|
|
333
|
+
*/
|
|
334
|
+
Name: string | undefined;
|
|
335
|
+
/**
|
|
336
|
+
* <p>
|
|
337
|
+
* The Amazon Web Services account ID chosen to be the receiver of an invoice unit. All invoices generated for that invoice unit will be sent to this account ID.
|
|
338
|
+
* </p>
|
|
339
|
+
* @public
|
|
340
|
+
*/
|
|
341
|
+
InvoiceReceiver: string | undefined;
|
|
342
|
+
/**
|
|
343
|
+
* <p>
|
|
344
|
+
* The invoice unit's description. This can be changed at a later time.
|
|
345
|
+
* </p>
|
|
346
|
+
* @public
|
|
347
|
+
*/
|
|
348
|
+
Description?: string | undefined;
|
|
349
|
+
/**
|
|
350
|
+
* <p>Whether the invoice unit based tax inheritance is/ should be enabled or disabled.
|
|
351
|
+
* </p>
|
|
352
|
+
* @public
|
|
353
|
+
*/
|
|
354
|
+
TaxInheritanceDisabled?: boolean | undefined;
|
|
355
|
+
/**
|
|
356
|
+
* <p>The <code>InvoiceUnitRule</code> object used to create invoice units.
|
|
357
|
+
* </p>
|
|
358
|
+
* @public
|
|
359
|
+
*/
|
|
360
|
+
Rule: InvoiceUnitRule | undefined;
|
|
361
|
+
/**
|
|
362
|
+
* <p>
|
|
363
|
+
* The tag structure that contains a tag key and value.
|
|
364
|
+
* </p>
|
|
365
|
+
* @public
|
|
366
|
+
*/
|
|
367
|
+
ResourceTags?: ResourceTag[] | undefined;
|
|
368
|
+
}
|
|
369
|
+
/**
|
|
370
|
+
* @public
|
|
371
|
+
*/
|
|
372
|
+
export interface CreateInvoiceUnitResponse {
|
|
373
|
+
/**
|
|
374
|
+
* <p>
|
|
375
|
+
* The ARN to identify an invoice unit. This information can't be modified or deleted.
|
|
376
|
+
* </p>
|
|
377
|
+
* @public
|
|
378
|
+
*/
|
|
379
|
+
InvoiceUnitArn?: string | undefined;
|
|
380
|
+
}
|
|
381
|
+
/**
|
|
382
|
+
* @public
|
|
383
|
+
*/
|
|
384
|
+
export interface DeleteInvoiceUnitRequest {
|
|
385
|
+
/**
|
|
386
|
+
* <p>
|
|
387
|
+
* The ARN to identify an invoice unit. This information can't be modified or deleted.
|
|
388
|
+
* </p>
|
|
389
|
+
* @public
|
|
390
|
+
*/
|
|
391
|
+
InvoiceUnitArn: string | undefined;
|
|
392
|
+
}
|
|
393
|
+
/**
|
|
394
|
+
* @public
|
|
395
|
+
*/
|
|
396
|
+
export interface DeleteInvoiceUnitResponse {
|
|
397
|
+
/**
|
|
398
|
+
* <p>
|
|
399
|
+
* The ARN to identify an invoice unit. This information can't be modified or deleted.
|
|
400
|
+
* </p>
|
|
401
|
+
* @public
|
|
402
|
+
*/
|
|
403
|
+
InvoiceUnitArn?: string | undefined;
|
|
404
|
+
}
|
|
405
|
+
/**
|
|
406
|
+
* <p>An optional input to the list API. If multiple filters are specified, the returned list will be a configuration that match all of the provided filters. Supported filter types are <code>InvoiceReceivers</code>, <code>Names</code>, and <code>Accounts</code>.
|
|
407
|
+
* </p>
|
|
408
|
+
* @public
|
|
409
|
+
*/
|
|
410
|
+
export interface Filters {
|
|
411
|
+
/**
|
|
412
|
+
* <p>
|
|
413
|
+
* An optional input to the list API. You can specify a list of invoice unit names inside filters to return invoice units that match only the specified invoice unit names. If multiple names are provided, the result is an <code>OR</code> condition (match any) of the specified invoice unit names.
|
|
414
|
+
* </p>
|
|
415
|
+
* @public
|
|
416
|
+
*/
|
|
417
|
+
Names?: string[] | undefined;
|
|
418
|
+
/**
|
|
419
|
+
* <p>
|
|
420
|
+
* You can specify a list of Amazon Web Services account IDs inside filters to return invoice units that match only the specified accounts. If multiple accounts are provided, the result is an <code>OR</code> condition (match any) of the specified accounts. This filter only matches the specified accounts on the invoice receivers of the invoice units.
|
|
421
|
+
* </p>
|
|
422
|
+
* @public
|
|
423
|
+
*/
|
|
424
|
+
InvoiceReceivers?: string[] | undefined;
|
|
425
|
+
/**
|
|
426
|
+
* <p>
|
|
427
|
+
* You can specify a list of Amazon Web Services account IDs inside filters to return invoice units that match only the specified accounts. If multiple accounts are provided, the result is an <code>OR</code> condition (match any) of the specified accounts. The specified account IDs are matched with either the receiver or the linked accounts in the rules.
|
|
428
|
+
* </p>
|
|
429
|
+
* @public
|
|
430
|
+
*/
|
|
431
|
+
Accounts?: string[] | undefined;
|
|
432
|
+
}
|
|
433
|
+
/**
|
|
434
|
+
* @public
|
|
435
|
+
*/
|
|
436
|
+
export interface GetInvoiceUnitRequest {
|
|
437
|
+
/**
|
|
438
|
+
* <p>
|
|
439
|
+
* The ARN to identify an invoice unit. This information can't be modified or deleted.
|
|
440
|
+
* </p>
|
|
441
|
+
* @public
|
|
442
|
+
*/
|
|
443
|
+
InvoiceUnitArn: string | undefined;
|
|
444
|
+
/**
|
|
445
|
+
* <p>
|
|
446
|
+
* The state of an invoice unit at a specified time. You can see legacy invoice units that are currently deleted if the <code>AsOf</code> time is set to before it was deleted. If an <code>AsOf</code> is not provided, the default value is the current time.
|
|
447
|
+
* </p>
|
|
448
|
+
* @public
|
|
449
|
+
*/
|
|
450
|
+
AsOf?: Date | undefined;
|
|
451
|
+
}
|
|
452
|
+
/**
|
|
453
|
+
* @public
|
|
454
|
+
*/
|
|
455
|
+
export interface GetInvoiceUnitResponse {
|
|
456
|
+
/**
|
|
457
|
+
* <p>
|
|
458
|
+
* The ARN to identify an invoice unit. This information can't be modified or deleted.
|
|
459
|
+
* </p>
|
|
460
|
+
* @public
|
|
461
|
+
*/
|
|
462
|
+
InvoiceUnitArn?: string | undefined;
|
|
463
|
+
/**
|
|
464
|
+
* <p>
|
|
465
|
+
* The Amazon Web Services account ID chosen to be the receiver of an invoice unit. All invoices generated for that invoice unit will be sent to this account ID.
|
|
466
|
+
* </p>
|
|
467
|
+
* @public
|
|
468
|
+
*/
|
|
469
|
+
InvoiceReceiver?: string | undefined;
|
|
470
|
+
/**
|
|
471
|
+
* <p>
|
|
472
|
+
* The unique name of the invoice unit that is shown on the generated invoice.
|
|
473
|
+
* </p>
|
|
474
|
+
* @public
|
|
475
|
+
*/
|
|
476
|
+
Name?: string | undefined;
|
|
477
|
+
/**
|
|
478
|
+
* <p>
|
|
479
|
+
* The assigned description for an invoice unit.
|
|
480
|
+
* </p>
|
|
481
|
+
* @public
|
|
482
|
+
*/
|
|
483
|
+
Description?: string | undefined;
|
|
484
|
+
/**
|
|
485
|
+
* <p>
|
|
486
|
+
* Whether the invoice unit based tax inheritance is/ should be enabled or disabled.
|
|
487
|
+
* </p>
|
|
488
|
+
* @public
|
|
489
|
+
*/
|
|
490
|
+
TaxInheritanceDisabled?: boolean | undefined;
|
|
491
|
+
/**
|
|
492
|
+
* <p>
|
|
493
|
+
* This is used to categorize the invoice unit. Values are Amazon Web Services account IDs. Currently, the only supported rule is <code>LINKED_ACCOUNT</code>.
|
|
494
|
+
* </p>
|
|
495
|
+
* @public
|
|
496
|
+
*/
|
|
497
|
+
Rule?: InvoiceUnitRule | undefined;
|
|
498
|
+
/**
|
|
499
|
+
* <p>
|
|
500
|
+
* The most recent date the invoice unit response was updated.
|
|
501
|
+
* </p>
|
|
502
|
+
* @public
|
|
503
|
+
*/
|
|
504
|
+
LastModified?: Date | undefined;
|
|
505
|
+
}
|
|
506
|
+
/**
|
|
507
|
+
* <p>An invoice unit is a set of mutually exclusive accounts that correspond to your business entity. Invoice units allow you separate Amazon Web Services account costs and configures your invoice for each business entity going forward.
|
|
508
|
+
* </p>
|
|
509
|
+
* @public
|
|
510
|
+
*/
|
|
511
|
+
export interface InvoiceUnit {
|
|
512
|
+
/**
|
|
513
|
+
* <p>ARN to identify an invoice unit. This information can't be modified or deleted.
|
|
514
|
+
* </p>
|
|
515
|
+
* @public
|
|
516
|
+
*/
|
|
517
|
+
InvoiceUnitArn?: string | undefined;
|
|
518
|
+
/**
|
|
519
|
+
* <p>The account that receives invoices related to the invoice unit.
|
|
520
|
+
* </p>
|
|
521
|
+
* @public
|
|
522
|
+
*/
|
|
523
|
+
InvoiceReceiver?: string | undefined;
|
|
524
|
+
/**
|
|
525
|
+
* <p>
|
|
526
|
+
* A unique name that is distinctive within your Amazon Web Services.
|
|
527
|
+
* </p>
|
|
528
|
+
* @public
|
|
529
|
+
*/
|
|
530
|
+
Name?: string | undefined;
|
|
531
|
+
/**
|
|
532
|
+
* <p>The assigned description for an invoice unit. This information can't be modified or deleted.
|
|
533
|
+
* </p>
|
|
534
|
+
* @public
|
|
535
|
+
*/
|
|
536
|
+
Description?: string | undefined;
|
|
537
|
+
/**
|
|
538
|
+
* <p>Whether the invoice unit based tax inheritance is/ should be enabled or disabled.
|
|
539
|
+
* </p>
|
|
540
|
+
* @public
|
|
541
|
+
*/
|
|
542
|
+
TaxInheritanceDisabled?: boolean | undefined;
|
|
543
|
+
/**
|
|
544
|
+
* <p>
|
|
545
|
+
* An <code>InvoiceUnitRule</code> object used the categorize invoice units.
|
|
546
|
+
* </p>
|
|
547
|
+
* @public
|
|
548
|
+
*/
|
|
549
|
+
Rule?: InvoiceUnitRule | undefined;
|
|
550
|
+
/**
|
|
551
|
+
* <p>
|
|
552
|
+
* The last time the invoice unit was updated. This is important to determine the version of invoice unit configuration used to create the invoices. Any invoice created after this modified time will use this invoice unit configuration.
|
|
553
|
+
* </p>
|
|
554
|
+
* @public
|
|
555
|
+
*/
|
|
556
|
+
LastModified?: Date | undefined;
|
|
557
|
+
}
|
|
558
|
+
/**
|
|
559
|
+
* @public
|
|
560
|
+
*/
|
|
561
|
+
export interface ListInvoiceUnitsRequest {
|
|
562
|
+
/**
|
|
563
|
+
* <p>
|
|
564
|
+
* An optional input to the list API. If multiple filters are specified, the returned list will be a configuration that match all of the provided filters. Supported filter types are <code>InvoiceReceivers</code>, <code>Names</code>, and <code>Accounts</code>.
|
|
565
|
+
* </p>
|
|
566
|
+
* @public
|
|
567
|
+
*/
|
|
568
|
+
Filters?: Filters | undefined;
|
|
569
|
+
/**
|
|
570
|
+
* <p>The next token used to indicate where the returned list should start from.
|
|
571
|
+
* </p>
|
|
572
|
+
* @public
|
|
573
|
+
*/
|
|
574
|
+
NextToken?: string | undefined;
|
|
575
|
+
/**
|
|
576
|
+
* <p>The maximum number of invoice units that can be returned.
|
|
577
|
+
* </p>
|
|
578
|
+
* @public
|
|
579
|
+
*/
|
|
580
|
+
MaxResults?: number | undefined;
|
|
581
|
+
/**
|
|
582
|
+
* <p>
|
|
583
|
+
* The state of an invoice unit at a specified time. You can see legacy invoice units that are currently deleted if the <code>AsOf</code> time is set to before it was deleted. If an <code>AsOf</code> is not provided, the default value is the current time.
|
|
584
|
+
* </p>
|
|
585
|
+
* @public
|
|
586
|
+
*/
|
|
587
|
+
AsOf?: Date | undefined;
|
|
588
|
+
}
|
|
589
|
+
/**
|
|
590
|
+
* @public
|
|
591
|
+
*/
|
|
592
|
+
export interface ListInvoiceUnitsResponse {
|
|
593
|
+
/**
|
|
594
|
+
* <p>
|
|
595
|
+
* An invoice unit is a set of mutually exclusive accounts that correspond to your business entity.
|
|
596
|
+
* </p>
|
|
597
|
+
* @public
|
|
598
|
+
*/
|
|
599
|
+
InvoiceUnits?: InvoiceUnit[] | undefined;
|
|
600
|
+
/**
|
|
601
|
+
* <p>The next token used to indicate where the returned list should start from.
|
|
602
|
+
* </p>
|
|
603
|
+
* @public
|
|
604
|
+
*/
|
|
605
|
+
NextToken?: string | undefined;
|
|
606
|
+
}
|
|
607
|
+
/**
|
|
608
|
+
* @public
|
|
609
|
+
*/
|
|
610
|
+
export interface ListTagsForResourceRequest {
|
|
611
|
+
/**
|
|
612
|
+
* <p>The Amazon Resource Name (ARN) of tags to list.
|
|
613
|
+
* </p>
|
|
614
|
+
* @public
|
|
615
|
+
*/
|
|
616
|
+
ResourceArn: string | undefined;
|
|
617
|
+
}
|
|
618
|
+
/**
|
|
619
|
+
* @public
|
|
620
|
+
*/
|
|
621
|
+
export interface ListTagsForResourceResponse {
|
|
622
|
+
/**
|
|
623
|
+
* <p>
|
|
624
|
+
* Adds a tag to a resource.
|
|
625
|
+
* </p>
|
|
626
|
+
* @public
|
|
627
|
+
*/
|
|
628
|
+
ResourceTags?: ResourceTag[] | undefined;
|
|
629
|
+
}
|
|
630
|
+
/**
|
|
631
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services account limits. The error message describes the limit exceeded.
|
|
632
|
+
* </p>
|
|
633
|
+
* @public
|
|
634
|
+
*/
|
|
635
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
636
|
+
readonly name: "ServiceQuotaExceededException";
|
|
637
|
+
readonly $fault: "client";
|
|
638
|
+
/**
|
|
639
|
+
* @internal
|
|
640
|
+
*/
|
|
641
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
642
|
+
}
|
|
643
|
+
/**
|
|
644
|
+
* @public
|
|
645
|
+
*/
|
|
646
|
+
export interface TagResourceRequest {
|
|
647
|
+
/**
|
|
648
|
+
* <p>The Amazon Resource Name (ARN) of the tags.
|
|
649
|
+
* </p>
|
|
650
|
+
* @public
|
|
651
|
+
*/
|
|
652
|
+
ResourceArn: string | undefined;
|
|
653
|
+
/**
|
|
654
|
+
* <p>
|
|
655
|
+
* Adds a tag to a resource.
|
|
656
|
+
* </p>
|
|
657
|
+
* @public
|
|
658
|
+
*/
|
|
659
|
+
ResourceTags: ResourceTag[] | undefined;
|
|
660
|
+
}
|
|
661
|
+
/**
|
|
662
|
+
* @public
|
|
663
|
+
*/
|
|
664
|
+
export interface TagResourceResponse {
|
|
665
|
+
}
|
|
666
|
+
/**
|
|
667
|
+
* @public
|
|
668
|
+
*/
|
|
669
|
+
export interface UntagResourceRequest {
|
|
670
|
+
/**
|
|
671
|
+
* <p>
|
|
672
|
+
* The Amazon Resource Name (ARN) to untag.
|
|
673
|
+
* </p>
|
|
674
|
+
* @public
|
|
675
|
+
*/
|
|
676
|
+
ResourceArn: string | undefined;
|
|
677
|
+
/**
|
|
678
|
+
* <p>
|
|
679
|
+
* Keys for the tags to be removed.
|
|
680
|
+
* </p>
|
|
681
|
+
* @public
|
|
682
|
+
*/
|
|
683
|
+
ResourceTagKeys: string[] | undefined;
|
|
684
|
+
}
|
|
685
|
+
/**
|
|
686
|
+
* @public
|
|
687
|
+
*/
|
|
688
|
+
export interface UntagResourceResponse {
|
|
689
|
+
}
|
|
690
|
+
/**
|
|
691
|
+
* @public
|
|
692
|
+
*/
|
|
693
|
+
export interface UpdateInvoiceUnitRequest {
|
|
694
|
+
/**
|
|
695
|
+
* <p>The ARN to identify an invoice unit. This information can't be modified or deleted.
|
|
696
|
+
* </p>
|
|
697
|
+
* @public
|
|
698
|
+
*/
|
|
699
|
+
InvoiceUnitArn: string | undefined;
|
|
700
|
+
/**
|
|
701
|
+
* <p>The assigned description for an invoice unit. This information can't be modified or deleted.
|
|
702
|
+
* </p>
|
|
703
|
+
* @public
|
|
704
|
+
*/
|
|
705
|
+
Description?: string | undefined;
|
|
706
|
+
/**
|
|
707
|
+
* <p>Whether the invoice unit based tax inheritance is/ should be enabled or disabled.
|
|
708
|
+
* </p>
|
|
709
|
+
* @public
|
|
710
|
+
*/
|
|
711
|
+
TaxInheritanceDisabled?: boolean | undefined;
|
|
712
|
+
/**
|
|
713
|
+
* <p>The <code>InvoiceUnitRule</code> object used to update invoice units.
|
|
714
|
+
* </p>
|
|
715
|
+
* @public
|
|
716
|
+
*/
|
|
717
|
+
Rule?: InvoiceUnitRule | undefined;
|
|
718
|
+
}
|
|
719
|
+
/**
|
|
720
|
+
* @public
|
|
721
|
+
*/
|
|
722
|
+
export interface UpdateInvoiceUnitResponse {
|
|
723
|
+
/**
|
|
724
|
+
* <p>
|
|
725
|
+
* The ARN to identify an invoice unit. This information can't be modified or deleted.
|
|
726
|
+
* </p>
|
|
727
|
+
* @public
|
|
728
|
+
*/
|
|
729
|
+
InvoiceUnitArn?: string | undefined;
|
|
730
|
+
}
|
|
731
|
+
/**
|
|
732
|
+
* @internal
|
|
733
|
+
*/
|
|
734
|
+
export declare const ReceiverAddressFilterSensitiveLog: (obj: ReceiverAddress) => any;
|
|
735
|
+
/**
|
|
736
|
+
* @internal
|
|
737
|
+
*/
|
|
738
|
+
export declare const InvoiceProfileFilterSensitiveLog: (obj: InvoiceProfile) => any;
|
|
739
|
+
/**
|
|
740
|
+
* @internal
|
|
741
|
+
*/
|
|
742
|
+
export declare const BatchGetInvoiceProfileResponseFilterSensitiveLog: (obj: BatchGetInvoiceProfileResponse) => any;
|