@aws-sdk/client-taxsettings 3.693.0 → 3.699.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 (55) hide show
  1. package/README.md +55 -7
  2. package/dist-cjs/TaxSettings.js +12 -0
  3. package/dist-cjs/commands/BatchGetTaxExemptionsCommand.js +26 -0
  4. package/dist-cjs/commands/GetTaxExemptionTypesCommand.js +26 -0
  5. package/dist-cjs/commands/GetTaxInheritanceCommand.js +26 -0
  6. package/dist-cjs/commands/ListTaxExemptionsCommand.js +26 -0
  7. package/dist-cjs/commands/PutTaxExemptionCommand.js +26 -0
  8. package/dist-cjs/commands/PutTaxInheritanceCommand.js +26 -0
  9. package/dist-cjs/commands/index.js +6 -0
  10. package/dist-cjs/models/models_0.js +50 -1
  11. package/dist-cjs/pagination/ListTaxExemptionsPaginator.js +7 -0
  12. package/dist-cjs/pagination/index.js +1 -0
  13. package/dist-cjs/protocols/Aws_restJson1.js +296 -3
  14. package/dist-es/TaxSettings.js +12 -0
  15. package/dist-es/commands/BatchGetTaxExemptionsCommand.js +22 -0
  16. package/dist-es/commands/GetTaxExemptionTypesCommand.js +22 -0
  17. package/dist-es/commands/GetTaxInheritanceCommand.js +22 -0
  18. package/dist-es/commands/ListTaxExemptionsCommand.js +22 -0
  19. package/dist-es/commands/PutTaxExemptionCommand.js +22 -0
  20. package/dist-es/commands/PutTaxInheritanceCommand.js +22 -0
  21. package/dist-es/commands/index.js +6 -0
  22. package/dist-es/models/models_0.js +46 -0
  23. package/dist-es/pagination/ListTaxExemptionsPaginator.js +4 -0
  24. package/dist-es/pagination/index.js +1 -0
  25. package/dist-es/protocols/Aws_restJson1.js +285 -4
  26. package/dist-types/TaxSettings.d.ts +46 -0
  27. package/dist-types/TaxSettingsClient.d.ts +8 -2
  28. package/dist-types/commands/BatchGetTaxExemptionsCommand.d.ts +115 -0
  29. package/dist-types/commands/BatchPutTaxRegistrationCommand.d.ts +4 -0
  30. package/dist-types/commands/GetTaxExemptionTypesCommand.d.ts +91 -0
  31. package/dist-types/commands/GetTaxInheritanceCommand.d.ts +80 -0
  32. package/dist-types/commands/GetTaxRegistrationDocumentCommand.d.ts +1 -0
  33. package/dist-types/commands/ListTaxExemptionsCommand.d.ts +112 -0
  34. package/dist-types/commands/PutTaxExemptionCommand.d.ts +105 -0
  35. package/dist-types/commands/PutTaxInheritanceCommand.d.ts +83 -0
  36. package/dist-types/commands/PutTaxRegistrationCommand.d.ts +4 -0
  37. package/dist-types/commands/index.d.ts +6 -0
  38. package/dist-types/models/models_0.d.ts +404 -19
  39. package/dist-types/pagination/ListTaxExemptionsPaginator.d.ts +7 -0
  40. package/dist-types/pagination/index.d.ts +1 -0
  41. package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
  42. package/dist-types/ts3.4/TaxSettings.d.ts +106 -0
  43. package/dist-types/ts3.4/TaxSettingsClient.d.ts +36 -0
  44. package/dist-types/ts3.4/commands/BatchGetTaxExemptionsCommand.d.ts +51 -0
  45. package/dist-types/ts3.4/commands/GetTaxExemptionTypesCommand.d.ts +51 -0
  46. package/dist-types/ts3.4/commands/GetTaxInheritanceCommand.d.ts +51 -0
  47. package/dist-types/ts3.4/commands/ListTaxExemptionsCommand.d.ts +51 -0
  48. package/dist-types/ts3.4/commands/PutTaxExemptionCommand.d.ts +50 -0
  49. package/dist-types/ts3.4/commands/PutTaxInheritanceCommand.d.ts +51 -0
  50. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  51. package/dist-types/ts3.4/models/models_0.d.ts +117 -10
  52. package/dist-types/ts3.4/pagination/ListTaxExemptionsPaginator.d.ts +11 -0
  53. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  54. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
  55. package/package.json +35 -35
@@ -0,0 +1,91 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetTaxExemptionTypesRequest, GetTaxExemptionTypesResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TaxSettingsClientResolvedConfig } from "../TaxSettingsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetTaxExemptionTypesCommand}.
14
+ */
15
+ export interface GetTaxExemptionTypesCommandInput extends GetTaxExemptionTypesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetTaxExemptionTypesCommand}.
21
+ */
22
+ export interface GetTaxExemptionTypesCommandOutput extends GetTaxExemptionTypesResponse, __MetadataBearer {
23
+ }
24
+ declare const GetTaxExemptionTypesCommand_base: {
25
+ new (input: GetTaxExemptionTypesCommandInput): import("@smithy/smithy-client").CommandImpl<GetTaxExemptionTypesCommandInput, GetTaxExemptionTypesCommandOutput, TaxSettingsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [GetTaxExemptionTypesCommandInput]): import("@smithy/smithy-client").CommandImpl<GetTaxExemptionTypesCommandInput, GetTaxExemptionTypesCommandOutput, TaxSettingsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Get supported tax exemption types.
31
+ * </p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { TaxSettingsClient, GetTaxExemptionTypesCommand } from "@aws-sdk/client-taxsettings"; // ES Modules import
36
+ * // const { TaxSettingsClient, GetTaxExemptionTypesCommand } = require("@aws-sdk/client-taxsettings"); // CommonJS import
37
+ * const client = new TaxSettingsClient(config);
38
+ * const input = {};
39
+ * const command = new GetTaxExemptionTypesCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // GetTaxExemptionTypesResponse
42
+ * // taxExemptionTypes: [ // TaxExemptionTypes
43
+ * // { // TaxExemptionType
44
+ * // displayName: "STRING_VALUE",
45
+ * // description: "STRING_VALUE",
46
+ * // applicableJurisdictions: [ // Authorities
47
+ * // { // Authority
48
+ * // country: "STRING_VALUE", // required
49
+ * // state: "STRING_VALUE",
50
+ * // },
51
+ * // ],
52
+ * // },
53
+ * // ],
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param GetTaxExemptionTypesCommandInput - {@link GetTaxExemptionTypesCommandInput}
59
+ * @returns {@link GetTaxExemptionTypesCommandOutput}
60
+ * @see {@link GetTaxExemptionTypesCommandInput} for command's `input` shape.
61
+ * @see {@link GetTaxExemptionTypesCommandOutput} for command's `response` shape.
62
+ * @see {@link TaxSettingsClientResolvedConfig | config} for TaxSettingsClient's `config` shape.
63
+ *
64
+ * @throws {@link InternalServerException} (server fault)
65
+ * <p>The exception thrown when an unexpected error occurs when processing a request.</p>
66
+ *
67
+ * @throws {@link ResourceNotFoundException} (client fault)
68
+ * <p>The exception thrown when the input doesn't have a resource associated to it.</p>
69
+ *
70
+ * @throws {@link ValidationException} (client fault)
71
+ * <p>The exception when the input doesn't pass validation for at least one of the input
72
+ * parameters. </p>
73
+ *
74
+ * @throws {@link TaxSettingsServiceException}
75
+ * <p>Base exception class for all service exceptions from TaxSettings service.</p>
76
+ *
77
+ * @public
78
+ */
79
+ export declare class GetTaxExemptionTypesCommand extends GetTaxExemptionTypesCommand_base {
80
+ /** @internal type navigation helper, not in runtime. */
81
+ protected static __types: {
82
+ api: {
83
+ input: {};
84
+ output: GetTaxExemptionTypesResponse;
85
+ };
86
+ sdk: {
87
+ input: GetTaxExemptionTypesCommandInput;
88
+ output: GetTaxExemptionTypesCommandOutput;
89
+ };
90
+ };
91
+ }
@@ -0,0 +1,80 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetTaxInheritanceRequest, GetTaxInheritanceResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TaxSettingsClientResolvedConfig } from "../TaxSettingsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetTaxInheritanceCommand}.
14
+ */
15
+ export interface GetTaxInheritanceCommandInput extends GetTaxInheritanceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetTaxInheritanceCommand}.
21
+ */
22
+ export interface GetTaxInheritanceCommandOutput extends GetTaxInheritanceResponse, __MetadataBearer {
23
+ }
24
+ declare const GetTaxInheritanceCommand_base: {
25
+ new (input: GetTaxInheritanceCommandInput): import("@smithy/smithy-client").CommandImpl<GetTaxInheritanceCommandInput, GetTaxInheritanceCommandOutput, TaxSettingsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [GetTaxInheritanceCommandInput]): import("@smithy/smithy-client").CommandImpl<GetTaxInheritanceCommandInput, GetTaxInheritanceCommandOutput, TaxSettingsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>The get account tax inheritance status.
31
+ * </p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { TaxSettingsClient, GetTaxInheritanceCommand } from "@aws-sdk/client-taxsettings"; // ES Modules import
36
+ * // const { TaxSettingsClient, GetTaxInheritanceCommand } = require("@aws-sdk/client-taxsettings"); // CommonJS import
37
+ * const client = new TaxSettingsClient(config);
38
+ * const input = {};
39
+ * const command = new GetTaxInheritanceCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // GetTaxInheritanceResponse
42
+ * // heritageStatus: "OptIn" || "OptOut",
43
+ * // };
44
+ *
45
+ * ```
46
+ *
47
+ * @param GetTaxInheritanceCommandInput - {@link GetTaxInheritanceCommandInput}
48
+ * @returns {@link GetTaxInheritanceCommandOutput}
49
+ * @see {@link GetTaxInheritanceCommandInput} for command's `input` shape.
50
+ * @see {@link GetTaxInheritanceCommandOutput} for command's `response` shape.
51
+ * @see {@link TaxSettingsClientResolvedConfig | config} for TaxSettingsClient's `config` shape.
52
+ *
53
+ * @throws {@link InternalServerException} (server fault)
54
+ * <p>The exception thrown when an unexpected error occurs when processing a request.</p>
55
+ *
56
+ * @throws {@link ResourceNotFoundException} (client fault)
57
+ * <p>The exception thrown when the input doesn't have a resource associated to it.</p>
58
+ *
59
+ * @throws {@link ValidationException} (client fault)
60
+ * <p>The exception when the input doesn't pass validation for at least one of the input
61
+ * parameters. </p>
62
+ *
63
+ * @throws {@link TaxSettingsServiceException}
64
+ * <p>Base exception class for all service exceptions from TaxSettings service.</p>
65
+ *
66
+ * @public
67
+ */
68
+ export declare class GetTaxInheritanceCommand extends GetTaxInheritanceCommand_base {
69
+ /** @internal type navigation helper, not in runtime. */
70
+ protected static __types: {
71
+ api: {
72
+ input: {};
73
+ output: GetTaxInheritanceResponse;
74
+ };
75
+ sdk: {
76
+ input: GetTaxInheritanceCommandInput;
77
+ output: GetTaxInheritanceCommandOutput;
78
+ };
79
+ };
80
+ }
@@ -49,6 +49,7 @@ declare const GetTaxRegistrationDocumentCommand_base: {
49
49
  * const response = await client.send(command);
50
50
  * // { // GetTaxRegistrationDocumentResponse
51
51
  * // destinationFilePath: "STRING_VALUE",
52
+ * // presignedS3Url: "STRING_VALUE",
52
53
  * // };
53
54
  *
54
55
  * ```
@@ -0,0 +1,112 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListTaxExemptionsRequest, ListTaxExemptionsResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TaxSettingsClientResolvedConfig } from "../TaxSettingsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListTaxExemptionsCommand}.
14
+ */
15
+ export interface ListTaxExemptionsCommandInput extends ListTaxExemptionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListTaxExemptionsCommand}.
21
+ */
22
+ export interface ListTaxExemptionsCommandOutput extends ListTaxExemptionsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListTaxExemptionsCommand_base: {
25
+ new (input: ListTaxExemptionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListTaxExemptionsCommandInput, ListTaxExemptionsCommandOutput, TaxSettingsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListTaxExemptionsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListTaxExemptionsCommandInput, ListTaxExemptionsCommandOutput, TaxSettingsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves the tax exemption of accounts listed in a consolidated billing family.
31
+ * </p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { TaxSettingsClient, ListTaxExemptionsCommand } from "@aws-sdk/client-taxsettings"; // ES Modules import
36
+ * // const { TaxSettingsClient, ListTaxExemptionsCommand } = require("@aws-sdk/client-taxsettings"); // CommonJS import
37
+ * const client = new TaxSettingsClient(config);
38
+ * const input = { // ListTaxExemptionsRequest
39
+ * maxResults: Number("int"),
40
+ * nextToken: "STRING_VALUE",
41
+ * };
42
+ * const command = new ListTaxExemptionsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListTaxExemptionsResponse
45
+ * // nextToken: "STRING_VALUE",
46
+ * // taxExemptionDetailsMap: { // TaxExemptionDetailsMap
47
+ * // "<keys>": { // TaxExemptionDetails
48
+ * // taxExemptions: [ // TaxExemptions
49
+ * // { // TaxExemption
50
+ * // authority: { // Authority
51
+ * // country: "STRING_VALUE", // required
52
+ * // state: "STRING_VALUE",
53
+ * // },
54
+ * // taxExemptionType: { // TaxExemptionType
55
+ * // displayName: "STRING_VALUE",
56
+ * // description: "STRING_VALUE",
57
+ * // applicableJurisdictions: [ // Authorities
58
+ * // {
59
+ * // country: "STRING_VALUE", // required
60
+ * // state: "STRING_VALUE",
61
+ * // },
62
+ * // ],
63
+ * // },
64
+ * // effectiveDate: new Date("TIMESTAMP"),
65
+ * // expirationDate: new Date("TIMESTAMP"),
66
+ * // systemEffectiveDate: new Date("TIMESTAMP"),
67
+ * // status: "None" || "Valid" || "Expired" || "Pending",
68
+ * // },
69
+ * // ],
70
+ * // heritageObtainedDetails: true || false,
71
+ * // heritageObtainedParentEntity: "STRING_VALUE",
72
+ * // heritageObtainedReason: "STRING_VALUE",
73
+ * // },
74
+ * // },
75
+ * // };
76
+ *
77
+ * ```
78
+ *
79
+ * @param ListTaxExemptionsCommandInput - {@link ListTaxExemptionsCommandInput}
80
+ * @returns {@link ListTaxExemptionsCommandOutput}
81
+ * @see {@link ListTaxExemptionsCommandInput} for command's `input` shape.
82
+ * @see {@link ListTaxExemptionsCommandOutput} for command's `response` shape.
83
+ * @see {@link TaxSettingsClientResolvedConfig | config} for TaxSettingsClient's `config` shape.
84
+ *
85
+ * @throws {@link InternalServerException} (server fault)
86
+ * <p>The exception thrown when an unexpected error occurs when processing a request.</p>
87
+ *
88
+ * @throws {@link ResourceNotFoundException} (client fault)
89
+ * <p>The exception thrown when the input doesn't have a resource associated to it.</p>
90
+ *
91
+ * @throws {@link ValidationException} (client fault)
92
+ * <p>The exception when the input doesn't pass validation for at least one of the input
93
+ * parameters. </p>
94
+ *
95
+ * @throws {@link TaxSettingsServiceException}
96
+ * <p>Base exception class for all service exceptions from TaxSettings service.</p>
97
+ *
98
+ * @public
99
+ */
100
+ export declare class ListTaxExemptionsCommand extends ListTaxExemptionsCommand_base {
101
+ /** @internal type navigation helper, not in runtime. */
102
+ protected static __types: {
103
+ api: {
104
+ input: ListTaxExemptionsRequest;
105
+ output: ListTaxExemptionsResponse;
106
+ };
107
+ sdk: {
108
+ input: ListTaxExemptionsCommandInput;
109
+ output: ListTaxExemptionsCommandOutput;
110
+ };
111
+ };
112
+ }
@@ -0,0 +1,105 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { PutTaxExemptionRequest, PutTaxExemptionResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TaxSettingsClientResolvedConfig } from "../TaxSettingsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link PutTaxExemptionCommand}.
14
+ */
15
+ export interface PutTaxExemptionCommandInput extends PutTaxExemptionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PutTaxExemptionCommand}.
21
+ */
22
+ export interface PutTaxExemptionCommandOutput extends PutTaxExemptionResponse, __MetadataBearer {
23
+ }
24
+ declare const PutTaxExemptionCommand_base: {
25
+ new (input: PutTaxExemptionCommandInput): import("@smithy/smithy-client").CommandImpl<PutTaxExemptionCommandInput, PutTaxExemptionCommandOutput, TaxSettingsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: PutTaxExemptionCommandInput): import("@smithy/smithy-client").CommandImpl<PutTaxExemptionCommandInput, PutTaxExemptionCommandOutput, TaxSettingsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Adds the tax exemption for a single account or all accounts listed in a consolidated billing family.
31
+ * </p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { TaxSettingsClient, PutTaxExemptionCommand } from "@aws-sdk/client-taxsettings"; // ES Modules import
36
+ * // const { TaxSettingsClient, PutTaxExemptionCommand } = require("@aws-sdk/client-taxsettings"); // CommonJS import
37
+ * const client = new TaxSettingsClient(config);
38
+ * const input = { // PutTaxExemptionRequest
39
+ * accountIds: [ // AccountIds // required
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * authority: { // Authority
43
+ * country: "STRING_VALUE", // required
44
+ * state: "STRING_VALUE",
45
+ * },
46
+ * exemptionType: "STRING_VALUE", // required
47
+ * exemptionCertificate: { // ExemptionCertificate
48
+ * documentName: "STRING_VALUE", // required
49
+ * documentFile: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
50
+ * },
51
+ * };
52
+ * const command = new PutTaxExemptionCommand(input);
53
+ * const response = await client.send(command);
54
+ * // { // PutTaxExemptionResponse
55
+ * // caseId: "STRING_VALUE",
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param PutTaxExemptionCommandInput - {@link PutTaxExemptionCommandInput}
61
+ * @returns {@link PutTaxExemptionCommandOutput}
62
+ * @see {@link PutTaxExemptionCommandInput} for command's `input` shape.
63
+ * @see {@link PutTaxExemptionCommandOutput} for command's `response` shape.
64
+ * @see {@link TaxSettingsClientResolvedConfig | config} for TaxSettingsClient's `config` shape.
65
+ *
66
+ * @throws {@link AccessDeniedException} (client fault)
67
+ * <p>The access is denied for the Amazon Web Services Support API.
68
+ * </p>
69
+ *
70
+ * @throws {@link AttachmentUploadException} (client fault)
71
+ * <p>Failed to upload the tax exemption document to Amazon Web Services Support case.
72
+ * </p>
73
+ *
74
+ * @throws {@link CaseCreationLimitExceededException} (client fault)
75
+ * <p>You've exceeded the Amazon Web Services Support case creation limit for your account.
76
+ * </p>
77
+ *
78
+ * @throws {@link InternalServerException} (server fault)
79
+ * <p>The exception thrown when an unexpected error occurs when processing a request.</p>
80
+ *
81
+ * @throws {@link ResourceNotFoundException} (client fault)
82
+ * <p>The exception thrown when the input doesn't have a resource associated to it.</p>
83
+ *
84
+ * @throws {@link ValidationException} (client fault)
85
+ * <p>The exception when the input doesn't pass validation for at least one of the input
86
+ * parameters. </p>
87
+ *
88
+ * @throws {@link TaxSettingsServiceException}
89
+ * <p>Base exception class for all service exceptions from TaxSettings service.</p>
90
+ *
91
+ * @public
92
+ */
93
+ export declare class PutTaxExemptionCommand extends PutTaxExemptionCommand_base {
94
+ /** @internal type navigation helper, not in runtime. */
95
+ protected static __types: {
96
+ api: {
97
+ input: PutTaxExemptionRequest;
98
+ output: PutTaxExemptionResponse;
99
+ };
100
+ sdk: {
101
+ input: PutTaxExemptionCommandInput;
102
+ output: PutTaxExemptionCommandOutput;
103
+ };
104
+ };
105
+ }
@@ -0,0 +1,83 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { PutTaxInheritanceRequest, PutTaxInheritanceResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TaxSettingsClientResolvedConfig } from "../TaxSettingsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link PutTaxInheritanceCommand}.
14
+ */
15
+ export interface PutTaxInheritanceCommandInput extends PutTaxInheritanceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PutTaxInheritanceCommand}.
21
+ */
22
+ export interface PutTaxInheritanceCommandOutput extends PutTaxInheritanceResponse, __MetadataBearer {
23
+ }
24
+ declare const PutTaxInheritanceCommand_base: {
25
+ new (input: PutTaxInheritanceCommandInput): import("@smithy/smithy-client").CommandImpl<PutTaxInheritanceCommandInput, PutTaxInheritanceCommandOutput, TaxSettingsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [PutTaxInheritanceCommandInput]): import("@smithy/smithy-client").CommandImpl<PutTaxInheritanceCommandInput, PutTaxInheritanceCommandOutput, TaxSettingsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>The updated tax inheritance status.
31
+ * </p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { TaxSettingsClient, PutTaxInheritanceCommand } from "@aws-sdk/client-taxsettings"; // ES Modules import
36
+ * // const { TaxSettingsClient, PutTaxInheritanceCommand } = require("@aws-sdk/client-taxsettings"); // CommonJS import
37
+ * const client = new TaxSettingsClient(config);
38
+ * const input = { // PutTaxInheritanceRequest
39
+ * heritageStatus: "OptIn" || "OptOut",
40
+ * };
41
+ * const command = new PutTaxInheritanceCommand(input);
42
+ * const response = await client.send(command);
43
+ * // {};
44
+ *
45
+ * ```
46
+ *
47
+ * @param PutTaxInheritanceCommandInput - {@link PutTaxInheritanceCommandInput}
48
+ * @returns {@link PutTaxInheritanceCommandOutput}
49
+ * @see {@link PutTaxInheritanceCommandInput} for command's `input` shape.
50
+ * @see {@link PutTaxInheritanceCommandOutput} for command's `response` shape.
51
+ * @see {@link TaxSettingsClientResolvedConfig | config} for TaxSettingsClient's `config` shape.
52
+ *
53
+ * @throws {@link ConflictException} (client fault)
54
+ * <p>The exception when the input is creating conflict with the given state.</p>
55
+ *
56
+ * @throws {@link InternalServerException} (server fault)
57
+ * <p>The exception thrown when an unexpected error occurs when processing a request.</p>
58
+ *
59
+ * @throws {@link ResourceNotFoundException} (client fault)
60
+ * <p>The exception thrown when the input doesn't have a resource associated to it.</p>
61
+ *
62
+ * @throws {@link ValidationException} (client fault)
63
+ * <p>The exception when the input doesn't pass validation for at least one of the input
64
+ * parameters. </p>
65
+ *
66
+ * @throws {@link TaxSettingsServiceException}
67
+ * <p>Base exception class for all service exceptions from TaxSettings service.</p>
68
+ *
69
+ * @public
70
+ */
71
+ export declare class PutTaxInheritanceCommand extends PutTaxInheritanceCommand_base {
72
+ /** @internal type navigation helper, not in runtime. */
73
+ protected static __types: {
74
+ api: {
75
+ input: PutTaxInheritanceRequest;
76
+ output: {};
77
+ };
78
+ sdk: {
79
+ input: PutTaxInheritanceCommandInput;
80
+ output: PutTaxInheritanceCommandOutput;
81
+ };
82
+ };
83
+ }
@@ -301,6 +301,10 @@ declare const PutTaxRegistrationCommand_base: {
301
301
  * bucket: "STRING_VALUE", // required
302
302
  * key: "STRING_VALUE", // required
303
303
  * },
304
+ * file: { // TaxRegistrationDocFile
305
+ * fileName: "STRING_VALUE", // required
306
+ * fileContent: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
307
+ * },
304
308
  * },
305
309
  * ],
306
310
  * },
@@ -1,10 +1,16 @@
1
1
  export * from "./BatchDeleteTaxRegistrationCommand";
2
+ export * from "./BatchGetTaxExemptionsCommand";
2
3
  export * from "./BatchPutTaxRegistrationCommand";
3
4
  export * from "./DeleteSupplementalTaxRegistrationCommand";
4
5
  export * from "./DeleteTaxRegistrationCommand";
6
+ export * from "./GetTaxExemptionTypesCommand";
7
+ export * from "./GetTaxInheritanceCommand";
5
8
  export * from "./GetTaxRegistrationCommand";
6
9
  export * from "./GetTaxRegistrationDocumentCommand";
7
10
  export * from "./ListSupplementalTaxRegistrationsCommand";
11
+ export * from "./ListTaxExemptionsCommand";
8
12
  export * from "./ListTaxRegistrationsCommand";
9
13
  export * from "./PutSupplementalTaxRegistrationCommand";
14
+ export * from "./PutTaxExemptionCommand";
15
+ export * from "./PutTaxInheritanceCommand";
10
16
  export * from "./PutTaxRegistrationCommand";