@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.
Files changed (127) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +293 -0
  3. package/dist-cjs/Invoicing.js +29 -0
  4. package/dist-cjs/InvoicingClient.js +50 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/BatchGetInvoiceProfileCommand.js +27 -0
  8. package/dist-cjs/commands/CreateInvoiceUnitCommand.js +26 -0
  9. package/dist-cjs/commands/DeleteInvoiceUnitCommand.js +26 -0
  10. package/dist-cjs/commands/GetInvoiceUnitCommand.js +26 -0
  11. package/dist-cjs/commands/ListInvoiceUnitsCommand.js +26 -0
  12. package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
  13. package/dist-cjs/commands/TagResourceCommand.js +26 -0
  14. package/dist-cjs/commands/UntagResourceCommand.js +26 -0
  15. package/dist-cjs/commands/UpdateInvoiceUnitCommand.js +26 -0
  16. package/dist-cjs/commands/index.js +12 -0
  17. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  18. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  19. package/dist-cjs/endpoint/ruleset.js +7 -0
  20. package/dist-cjs/extensionConfiguration.js +2 -0
  21. package/dist-cjs/index.js +11 -0
  22. package/dist-cjs/models/InvoicingServiceException.js +12 -0
  23. package/dist-cjs/models/index.js +4 -0
  24. package/dist-cjs/models/models_0.js +121 -0
  25. package/dist-cjs/pagination/Interfaces.js +2 -0
  26. package/dist-cjs/pagination/ListInvoiceUnitsPaginator.js +7 -0
  27. package/dist-cjs/pagination/index.js +5 -0
  28. package/dist-cjs/protocols/Aws_json1_0.js +367 -0
  29. package/dist-cjs/runtimeConfig.browser.js +39 -0
  30. package/dist-cjs/runtimeConfig.js +50 -0
  31. package/dist-cjs/runtimeConfig.native.js +15 -0
  32. package/dist-cjs/runtimeConfig.shared.js +34 -0
  33. package/dist-cjs/runtimeExtensions.js +25 -0
  34. package/dist-es/Invoicing.js +25 -0
  35. package/dist-es/InvoicingClient.js +46 -0
  36. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  37. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  38. package/dist-es/commands/BatchGetInvoiceProfileCommand.js +23 -0
  39. package/dist-es/commands/CreateInvoiceUnitCommand.js +22 -0
  40. package/dist-es/commands/DeleteInvoiceUnitCommand.js +22 -0
  41. package/dist-es/commands/GetInvoiceUnitCommand.js +22 -0
  42. package/dist-es/commands/ListInvoiceUnitsCommand.js +22 -0
  43. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  44. package/dist-es/commands/TagResourceCommand.js +22 -0
  45. package/dist-es/commands/UntagResourceCommand.js +22 -0
  46. package/dist-es/commands/UpdateInvoiceUnitCommand.js +22 -0
  47. package/dist-es/commands/index.js +9 -0
  48. package/dist-es/endpoint/EndpointParameters.js +12 -0
  49. package/dist-es/endpoint/endpointResolver.js +14 -0
  50. package/dist-es/endpoint/ruleset.js +4 -0
  51. package/dist-es/extensionConfiguration.js +1 -0
  52. package/dist-es/index.js +6 -0
  53. package/dist-es/models/InvoicingServiceException.js +8 -0
  54. package/dist-es/models/index.js +1 -0
  55. package/dist-es/models/models_0.js +109 -0
  56. package/dist-es/pagination/Interfaces.js +1 -0
  57. package/dist-es/pagination/ListInvoiceUnitsPaginator.js +4 -0
  58. package/dist-es/pagination/index.js +2 -0
  59. package/dist-es/protocols/Aws_json1_0.js +346 -0
  60. package/dist-es/runtimeConfig.browser.js +34 -0
  61. package/dist-es/runtimeConfig.js +45 -0
  62. package/dist-es/runtimeConfig.native.js +11 -0
  63. package/dist-es/runtimeConfig.shared.js +30 -0
  64. package/dist-es/runtimeExtensions.js +21 -0
  65. package/dist-types/Invoicing.d.ts +90 -0
  66. package/dist-types/InvoicingClient.d.ts +194 -0
  67. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  68. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  69. package/dist-types/commands/BatchGetInvoiceProfileCommand.d.ts +111 -0
  70. package/dist-types/commands/CreateInvoiceUnitCommand.d.ts +100 -0
  71. package/dist-types/commands/DeleteInvoiceUnitCommand.d.ts +91 -0
  72. package/dist-types/commands/GetInvoiceUnitCommand.d.ts +101 -0
  73. package/dist-types/commands/ListInvoiceUnitsCommand.d.ts +114 -0
  74. package/dist-types/commands/ListTagsForResourceCommand.d.ts +96 -0
  75. package/dist-types/commands/TagResourceCommand.d.ts +99 -0
  76. package/dist-types/commands/UntagResourceCommand.d.ts +93 -0
  77. package/dist-types/commands/UpdateInvoiceUnitCommand.d.ts +97 -0
  78. package/dist-types/commands/index.d.ts +9 -0
  79. package/dist-types/endpoint/EndpointParameters.d.ts +34 -0
  80. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  81. package/dist-types/endpoint/ruleset.d.ts +2 -0
  82. package/dist-types/extensionConfiguration.d.ts +9 -0
  83. package/dist-types/index.d.ts +30 -0
  84. package/dist-types/models/InvoicingServiceException.d.ts +14 -0
  85. package/dist-types/models/index.d.ts +1 -0
  86. package/dist-types/models/models_0.d.ts +742 -0
  87. package/dist-types/pagination/Interfaces.d.ts +8 -0
  88. package/dist-types/pagination/ListInvoiceUnitsPaginator.d.ts +7 -0
  89. package/dist-types/pagination/index.d.ts +2 -0
  90. package/dist-types/protocols/Aws_json1_0.d.ts +83 -0
  91. package/dist-types/runtimeConfig.browser.d.ts +48 -0
  92. package/dist-types/runtimeConfig.d.ts +48 -0
  93. package/dist-types/runtimeConfig.native.d.ts +47 -0
  94. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  95. package/dist-types/runtimeExtensions.d.ts +17 -0
  96. package/dist-types/ts3.4/Invoicing.d.ts +159 -0
  97. package/dist-types/ts3.4/InvoicingClient.d.ts +172 -0
  98. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  99. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  100. package/dist-types/ts3.4/commands/BatchGetInvoiceProfileCommand.d.ts +51 -0
  101. package/dist-types/ts3.4/commands/CreateInvoiceUnitCommand.d.ts +51 -0
  102. package/dist-types/ts3.4/commands/DeleteInvoiceUnitCommand.d.ts +51 -0
  103. package/dist-types/ts3.4/commands/GetInvoiceUnitCommand.d.ts +50 -0
  104. package/dist-types/ts3.4/commands/ListInvoiceUnitsCommand.d.ts +50 -0
  105. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  106. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  107. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  108. package/dist-types/ts3.4/commands/UpdateInvoiceUnitCommand.d.ts +51 -0
  109. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  110. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  111. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  112. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  113. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  114. package/dist-types/ts3.4/index.d.ts +9 -0
  115. package/dist-types/ts3.4/models/InvoicingServiceException.d.ts +9 -0
  116. package/dist-types/ts3.4/models/index.d.ts +1 -0
  117. package/dist-types/ts3.4/models/models_0.d.ts +192 -0
  118. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  119. package/dist-types/ts3.4/pagination/ListInvoiceUnitsPaginator.d.ts +11 -0
  120. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  121. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +113 -0
  122. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  123. package/dist-types/ts3.4/runtimeConfig.d.ts +94 -0
  124. package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
  125. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  126. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  127. package/package.json +101 -0
@@ -0,0 +1,101 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InvoicingClient";
4
+ import { GetInvoiceUnitRequest, GetInvoiceUnitResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetInvoiceUnitCommand}.
14
+ */
15
+ export interface GetInvoiceUnitCommandInput extends GetInvoiceUnitRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetInvoiceUnitCommand}.
21
+ */
22
+ export interface GetInvoiceUnitCommandOutput extends GetInvoiceUnitResponse, __MetadataBearer {
23
+ }
24
+ declare const GetInvoiceUnitCommand_base: {
25
+ new (input: GetInvoiceUnitCommandInput): import("@smithy/smithy-client").CommandImpl<GetInvoiceUnitCommandInput, GetInvoiceUnitCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetInvoiceUnitCommandInput): import("@smithy/smithy-client").CommandImpl<GetInvoiceUnitCommandInput, GetInvoiceUnitCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>This retrieves the invoice unit definition.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { InvoicingClient, GetInvoiceUnitCommand } from "@aws-sdk/client-invoicing"; // ES Modules import
35
+ * // const { InvoicingClient, GetInvoiceUnitCommand } = require("@aws-sdk/client-invoicing"); // CommonJS import
36
+ * const client = new InvoicingClient(config);
37
+ * const input = { // GetInvoiceUnitRequest
38
+ * InvoiceUnitArn: "STRING_VALUE", // required
39
+ * AsOf: new Date("TIMESTAMP"),
40
+ * };
41
+ * const command = new GetInvoiceUnitCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // GetInvoiceUnitResponse
44
+ * // InvoiceUnitArn: "STRING_VALUE",
45
+ * // InvoiceReceiver: "STRING_VALUE",
46
+ * // Name: "STRING_VALUE",
47
+ * // Description: "STRING_VALUE",
48
+ * // TaxInheritanceDisabled: true || false,
49
+ * // Rule: { // InvoiceUnitRule
50
+ * // LinkedAccounts: [ // AccountIdList
51
+ * // "STRING_VALUE",
52
+ * // ],
53
+ * // },
54
+ * // LastModified: new Date("TIMESTAMP"),
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param GetInvoiceUnitCommandInput - {@link GetInvoiceUnitCommandInput}
60
+ * @returns {@link GetInvoiceUnitCommandOutput}
61
+ * @see {@link GetInvoiceUnitCommandInput} for command's `input` shape.
62
+ * @see {@link GetInvoiceUnitCommandOutput} for command's `response` shape.
63
+ * @see {@link InvoicingClientResolvedConfig | config} for InvoicingClient's `config` shape.
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>You don't have sufficient access to perform this action.</p>
67
+ *
68
+ * @throws {@link InternalServerException} (server fault)
69
+ * <p>The processing request failed because of an unknown error, exception, or failure.
70
+ * </p>
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * <p>The resource could not be found.
74
+ * </p>
75
+ *
76
+ * @throws {@link ThrottlingException} (client fault)
77
+ * <p>The request was denied due to request throttling.</p>
78
+ *
79
+ * @throws {@link ValidationException} (client fault)
80
+ * <p>
81
+ * The input fails to satisfy the constraints specified by an Amazon Web Services service.
82
+ * </p>
83
+ *
84
+ * @throws {@link InvoicingServiceException}
85
+ * <p>Base exception class for all service exceptions from Invoicing service.</p>
86
+ *
87
+ * @public
88
+ */
89
+ export declare class GetInvoiceUnitCommand extends GetInvoiceUnitCommand_base {
90
+ /** @internal type navigation helper, not in runtime. */
91
+ protected static __types: {
92
+ api: {
93
+ input: GetInvoiceUnitRequest;
94
+ output: GetInvoiceUnitResponse;
95
+ };
96
+ sdk: {
97
+ input: GetInvoiceUnitCommandInput;
98
+ output: GetInvoiceUnitCommandOutput;
99
+ };
100
+ };
101
+ }
@@ -0,0 +1,114 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InvoicingClient";
4
+ import { ListInvoiceUnitsRequest, ListInvoiceUnitsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListInvoiceUnitsCommand}.
14
+ */
15
+ export interface ListInvoiceUnitsCommandInput extends ListInvoiceUnitsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListInvoiceUnitsCommand}.
21
+ */
22
+ export interface ListInvoiceUnitsCommandOutput extends ListInvoiceUnitsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListInvoiceUnitsCommand_base: {
25
+ new (input: ListInvoiceUnitsCommandInput): import("@smithy/smithy-client").CommandImpl<ListInvoiceUnitsCommandInput, ListInvoiceUnitsCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListInvoiceUnitsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListInvoiceUnitsCommandInput, ListInvoiceUnitsCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>This fetches a list of all invoice unit definitions for a given account, as of the provided <code>AsOf</code> date.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { InvoicingClient, ListInvoiceUnitsCommand } from "@aws-sdk/client-invoicing"; // ES Modules import
35
+ * // const { InvoicingClient, ListInvoiceUnitsCommand } = require("@aws-sdk/client-invoicing"); // CommonJS import
36
+ * const client = new InvoicingClient(config);
37
+ * const input = { // ListInvoiceUnitsRequest
38
+ * Filters: { // Filters
39
+ * Names: [ // InvoiceUnitNames
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * InvoiceReceivers: [ // AccountIdList
43
+ * "STRING_VALUE",
44
+ * ],
45
+ * Accounts: [
46
+ * "STRING_VALUE",
47
+ * ],
48
+ * },
49
+ * NextToken: "STRING_VALUE",
50
+ * MaxResults: Number("int"),
51
+ * AsOf: new Date("TIMESTAMP"),
52
+ * };
53
+ * const command = new ListInvoiceUnitsCommand(input);
54
+ * const response = await client.send(command);
55
+ * // { // ListInvoiceUnitsResponse
56
+ * // InvoiceUnits: [ // InvoiceUnits
57
+ * // { // InvoiceUnit
58
+ * // InvoiceUnitArn: "STRING_VALUE",
59
+ * // InvoiceReceiver: "STRING_VALUE",
60
+ * // Name: "STRING_VALUE",
61
+ * // Description: "STRING_VALUE",
62
+ * // TaxInheritanceDisabled: true || false,
63
+ * // Rule: { // InvoiceUnitRule
64
+ * // LinkedAccounts: [ // AccountIdList
65
+ * // "STRING_VALUE",
66
+ * // ],
67
+ * // },
68
+ * // LastModified: new Date("TIMESTAMP"),
69
+ * // },
70
+ * // ],
71
+ * // NextToken: "STRING_VALUE",
72
+ * // };
73
+ *
74
+ * ```
75
+ *
76
+ * @param ListInvoiceUnitsCommandInput - {@link ListInvoiceUnitsCommandInput}
77
+ * @returns {@link ListInvoiceUnitsCommandOutput}
78
+ * @see {@link ListInvoiceUnitsCommandInput} for command's `input` shape.
79
+ * @see {@link ListInvoiceUnitsCommandOutput} for command's `response` shape.
80
+ * @see {@link InvoicingClientResolvedConfig | config} for InvoicingClient's `config` shape.
81
+ *
82
+ * @throws {@link AccessDeniedException} (client fault)
83
+ * <p>You don't have sufficient access to perform this action.</p>
84
+ *
85
+ * @throws {@link InternalServerException} (server fault)
86
+ * <p>The processing request failed because of an unknown error, exception, or failure.
87
+ * </p>
88
+ *
89
+ * @throws {@link ThrottlingException} (client fault)
90
+ * <p>The request was denied due to request throttling.</p>
91
+ *
92
+ * @throws {@link ValidationException} (client fault)
93
+ * <p>
94
+ * The input fails to satisfy the constraints specified by an Amazon Web Services service.
95
+ * </p>
96
+ *
97
+ * @throws {@link InvoicingServiceException}
98
+ * <p>Base exception class for all service exceptions from Invoicing service.</p>
99
+ *
100
+ * @public
101
+ */
102
+ export declare class ListInvoiceUnitsCommand extends ListInvoiceUnitsCommand_base {
103
+ /** @internal type navigation helper, not in runtime. */
104
+ protected static __types: {
105
+ api: {
106
+ input: ListInvoiceUnitsRequest;
107
+ output: ListInvoiceUnitsResponse;
108
+ };
109
+ sdk: {
110
+ input: ListInvoiceUnitsCommandInput;
111
+ output: ListInvoiceUnitsCommandOutput;
112
+ };
113
+ };
114
+ }
@@ -0,0 +1,96 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InvoicingClient";
4
+ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListTagsForResourceCommand}.
14
+ */
15
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListTagsForResourceCommand}.
21
+ */
22
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
23
+ }
24
+ declare const ListTagsForResourceCommand_base: {
25
+ new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists the tags for a resource.
31
+ * </p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { InvoicingClient, ListTagsForResourceCommand } from "@aws-sdk/client-invoicing"; // ES Modules import
36
+ * // const { InvoicingClient, ListTagsForResourceCommand } = require("@aws-sdk/client-invoicing"); // CommonJS import
37
+ * const client = new InvoicingClient(config);
38
+ * const input = { // ListTagsForResourceRequest
39
+ * ResourceArn: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new ListTagsForResourceCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListTagsForResourceResponse
44
+ * // ResourceTags: [ // ResourceTagList
45
+ * // { // ResourceTag
46
+ * // Key: "STRING_VALUE", // required
47
+ * // Value: "STRING_VALUE", // required
48
+ * // },
49
+ * // ],
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
55
+ * @returns {@link ListTagsForResourceCommandOutput}
56
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
57
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
58
+ * @see {@link InvoicingClientResolvedConfig | config} for InvoicingClient's `config` shape.
59
+ *
60
+ * @throws {@link AccessDeniedException} (client fault)
61
+ * <p>You don't have sufficient access to perform this action.</p>
62
+ *
63
+ * @throws {@link InternalServerException} (server fault)
64
+ * <p>The processing request failed because of an unknown error, exception, or failure.
65
+ * </p>
66
+ *
67
+ * @throws {@link ResourceNotFoundException} (client fault)
68
+ * <p>The resource could not be found.
69
+ * </p>
70
+ *
71
+ * @throws {@link ThrottlingException} (client fault)
72
+ * <p>The request was denied due to request throttling.</p>
73
+ *
74
+ * @throws {@link ValidationException} (client fault)
75
+ * <p>
76
+ * The input fails to satisfy the constraints specified by an Amazon Web Services service.
77
+ * </p>
78
+ *
79
+ * @throws {@link InvoicingServiceException}
80
+ * <p>Base exception class for all service exceptions from Invoicing service.</p>
81
+ *
82
+ * @public
83
+ */
84
+ export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
85
+ /** @internal type navigation helper, not in runtime. */
86
+ protected static __types: {
87
+ api: {
88
+ input: ListTagsForResourceRequest;
89
+ output: ListTagsForResourceResponse;
90
+ };
91
+ sdk: {
92
+ input: ListTagsForResourceCommandInput;
93
+ output: ListTagsForResourceCommandOutput;
94
+ };
95
+ };
96
+ }
@@ -0,0 +1,99 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InvoicingClient";
4
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link TagResourceCommand}.
14
+ */
15
+ export interface TagResourceCommandInput extends TagResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TagResourceCommand}.
21
+ */
22
+ export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
23
+ }
24
+ declare const TagResourceCommand_base: {
25
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Adds a tag to a resource.
31
+ * </p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { InvoicingClient, TagResourceCommand } from "@aws-sdk/client-invoicing"; // ES Modules import
36
+ * // const { InvoicingClient, TagResourceCommand } = require("@aws-sdk/client-invoicing"); // CommonJS import
37
+ * const client = new InvoicingClient(config);
38
+ * const input = { // TagResourceRequest
39
+ * ResourceArn: "STRING_VALUE", // required
40
+ * ResourceTags: [ // ResourceTagList // required
41
+ * { // ResourceTag
42
+ * Key: "STRING_VALUE", // required
43
+ * Value: "STRING_VALUE", // required
44
+ * },
45
+ * ],
46
+ * };
47
+ * const command = new TagResourceCommand(input);
48
+ * const response = await client.send(command);
49
+ * // {};
50
+ *
51
+ * ```
52
+ *
53
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
54
+ * @returns {@link TagResourceCommandOutput}
55
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
56
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
57
+ * @see {@link InvoicingClientResolvedConfig | config} for InvoicingClient's `config` shape.
58
+ *
59
+ * @throws {@link AccessDeniedException} (client fault)
60
+ * <p>You don't have sufficient access to perform this action.</p>
61
+ *
62
+ * @throws {@link InternalServerException} (server fault)
63
+ * <p>The processing request failed because of an unknown error, exception, or failure.
64
+ * </p>
65
+ *
66
+ * @throws {@link ResourceNotFoundException} (client fault)
67
+ * <p>The resource could not be found.
68
+ * </p>
69
+ *
70
+ * @throws {@link ServiceQuotaExceededException} (client fault)
71
+ * <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.
72
+ * </p>
73
+ *
74
+ * @throws {@link ThrottlingException} (client fault)
75
+ * <p>The request was denied due to request throttling.</p>
76
+ *
77
+ * @throws {@link ValidationException} (client fault)
78
+ * <p>
79
+ * The input fails to satisfy the constraints specified by an Amazon Web Services service.
80
+ * </p>
81
+ *
82
+ * @throws {@link InvoicingServiceException}
83
+ * <p>Base exception class for all service exceptions from Invoicing service.</p>
84
+ *
85
+ * @public
86
+ */
87
+ export declare class TagResourceCommand extends TagResourceCommand_base {
88
+ /** @internal type navigation helper, not in runtime. */
89
+ protected static __types: {
90
+ api: {
91
+ input: TagResourceRequest;
92
+ output: {};
93
+ };
94
+ sdk: {
95
+ input: TagResourceCommandInput;
96
+ output: TagResourceCommandOutput;
97
+ };
98
+ };
99
+ }
@@ -0,0 +1,93 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InvoicingClient";
4
+ import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UntagResourceCommand}.
14
+ */
15
+ export interface UntagResourceCommandInput extends UntagResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UntagResourceCommand}.
21
+ */
22
+ export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
23
+ }
24
+ declare const UntagResourceCommand_base: {
25
+ new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>
31
+ * Removes a tag from a resource.
32
+ * </p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { InvoicingClient, UntagResourceCommand } from "@aws-sdk/client-invoicing"; // ES Modules import
37
+ * // const { InvoicingClient, UntagResourceCommand } = require("@aws-sdk/client-invoicing"); // CommonJS import
38
+ * const client = new InvoicingClient(config);
39
+ * const input = { // UntagResourceRequest
40
+ * ResourceArn: "STRING_VALUE", // required
41
+ * ResourceTagKeys: [ // ResourceTagKeyList // required
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * };
45
+ * const command = new UntagResourceCommand(input);
46
+ * const response = await client.send(command);
47
+ * // {};
48
+ *
49
+ * ```
50
+ *
51
+ * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
52
+ * @returns {@link UntagResourceCommandOutput}
53
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
54
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
55
+ * @see {@link InvoicingClientResolvedConfig | config} for InvoicingClient's `config` shape.
56
+ *
57
+ * @throws {@link AccessDeniedException} (client fault)
58
+ * <p>You don't have sufficient access to perform this action.</p>
59
+ *
60
+ * @throws {@link InternalServerException} (server fault)
61
+ * <p>The processing request failed because of an unknown error, exception, or failure.
62
+ * </p>
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * <p>The resource could not be found.
66
+ * </p>
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * <p>The request was denied due to request throttling.</p>
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * <p>
73
+ * The input fails to satisfy the constraints specified by an Amazon Web Services service.
74
+ * </p>
75
+ *
76
+ * @throws {@link InvoicingServiceException}
77
+ * <p>Base exception class for all service exceptions from Invoicing service.</p>
78
+ *
79
+ * @public
80
+ */
81
+ export declare class UntagResourceCommand extends UntagResourceCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: UntagResourceRequest;
86
+ output: {};
87
+ };
88
+ sdk: {
89
+ input: UntagResourceCommandInput;
90
+ output: UntagResourceCommandOutput;
91
+ };
92
+ };
93
+ }
@@ -0,0 +1,97 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InvoicingClient";
4
+ import { UpdateInvoiceUnitRequest, UpdateInvoiceUnitResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateInvoiceUnitCommand}.
14
+ */
15
+ export interface UpdateInvoiceUnitCommandInput extends UpdateInvoiceUnitRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateInvoiceUnitCommand}.
21
+ */
22
+ export interface UpdateInvoiceUnitCommandOutput extends UpdateInvoiceUnitResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateInvoiceUnitCommand_base: {
25
+ new (input: UpdateInvoiceUnitCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateInvoiceUnitCommandInput, UpdateInvoiceUnitCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateInvoiceUnitCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateInvoiceUnitCommandInput, UpdateInvoiceUnitCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>You can update the invoice unit configuration at any time, and Amazon Web Services will use the latest configuration at the end of the month.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { InvoicingClient, UpdateInvoiceUnitCommand } from "@aws-sdk/client-invoicing"; // ES Modules import
35
+ * // const { InvoicingClient, UpdateInvoiceUnitCommand } = require("@aws-sdk/client-invoicing"); // CommonJS import
36
+ * const client = new InvoicingClient(config);
37
+ * const input = { // UpdateInvoiceUnitRequest
38
+ * InvoiceUnitArn: "STRING_VALUE", // required
39
+ * Description: "STRING_VALUE",
40
+ * TaxInheritanceDisabled: true || false,
41
+ * Rule: { // InvoiceUnitRule
42
+ * LinkedAccounts: [ // AccountIdList
43
+ * "STRING_VALUE",
44
+ * ],
45
+ * },
46
+ * };
47
+ * const command = new UpdateInvoiceUnitCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // UpdateInvoiceUnitResponse
50
+ * // InvoiceUnitArn: "STRING_VALUE",
51
+ * // };
52
+ *
53
+ * ```
54
+ *
55
+ * @param UpdateInvoiceUnitCommandInput - {@link UpdateInvoiceUnitCommandInput}
56
+ * @returns {@link UpdateInvoiceUnitCommandOutput}
57
+ * @see {@link UpdateInvoiceUnitCommandInput} for command's `input` shape.
58
+ * @see {@link UpdateInvoiceUnitCommandOutput} for command's `response` shape.
59
+ * @see {@link InvoicingClientResolvedConfig | config} for InvoicingClient's `config` shape.
60
+ *
61
+ * @throws {@link AccessDeniedException} (client fault)
62
+ * <p>You don't have sufficient access to perform this action.</p>
63
+ *
64
+ * @throws {@link InternalServerException} (server fault)
65
+ * <p>The processing request failed because of an unknown error, exception, or failure.
66
+ * </p>
67
+ *
68
+ * @throws {@link ResourceNotFoundException} (client fault)
69
+ * <p>The resource could not be found.
70
+ * </p>
71
+ *
72
+ * @throws {@link ThrottlingException} (client fault)
73
+ * <p>The request was denied due to request throttling.</p>
74
+ *
75
+ * @throws {@link ValidationException} (client fault)
76
+ * <p>
77
+ * The input fails to satisfy the constraints specified by an Amazon Web Services service.
78
+ * </p>
79
+ *
80
+ * @throws {@link InvoicingServiceException}
81
+ * <p>Base exception class for all service exceptions from Invoicing service.</p>
82
+ *
83
+ * @public
84
+ */
85
+ export declare class UpdateInvoiceUnitCommand extends UpdateInvoiceUnitCommand_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: UpdateInvoiceUnitRequest;
90
+ output: UpdateInvoiceUnitResponse;
91
+ };
92
+ sdk: {
93
+ input: UpdateInvoiceUnitCommandInput;
94
+ output: UpdateInvoiceUnitCommandOutput;
95
+ };
96
+ };
97
+ }
@@ -0,0 +1,9 @@
1
+ export * from "./BatchGetInvoiceProfileCommand";
2
+ export * from "./CreateInvoiceUnitCommand";
3
+ export * from "./DeleteInvoiceUnitCommand";
4
+ export * from "./GetInvoiceUnitCommand";
5
+ export * from "./ListInvoiceUnitsCommand";
6
+ export * from "./ListTagsForResourceCommand";
7
+ export * from "./TagResourceCommand";
8
+ export * from "./UntagResourceCommand";
9
+ export * from "./UpdateInvoiceUnitCommand";
@@ -0,0 +1,34 @@
1
+ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface ClientInputEndpointParameters {
6
+ useFipsEndpoint?: boolean | Provider<boolean>;
7
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
8
+ region?: string | Provider<string>;
9
+ }
10
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
11
+ defaultSigningName: string;
12
+ };
13
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
14
+ defaultSigningName: string;
15
+ };
16
+ export declare const commonParams: {
17
+ readonly UseFIPS: {
18
+ readonly type: "builtInParams";
19
+ readonly name: "useFipsEndpoint";
20
+ };
21
+ readonly Endpoint: {
22
+ readonly type: "builtInParams";
23
+ readonly name: "endpoint";
24
+ };
25
+ readonly Region: {
26
+ readonly type: "builtInParams";
27
+ readonly name: "region";
28
+ };
29
+ };
30
+ export interface EndpointParameters extends __EndpointParameters {
31
+ UseFIPS?: boolean;
32
+ Endpoint?: string;
33
+ Region?: string;
34
+ }
@@ -0,0 +1,5 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@smithy/types";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,9 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ /**
6
+ * @internal
7
+ */
8
+ export interface InvoicingExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
9
+ }