aws-sdk-taxsettings 1.14.0 → 1.15.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a9aaedc3a667fe889e517cc845687ad336cf931a776976923506d9d1a8e2743c
4
- data.tar.gz: 33a6438db2f7e6ead3dc16e11ae5de52bf0b1659078c52fdf63ce49020c0fc1c
3
+ metadata.gz: '09ed96e8d8559330b54d1865bc17ba55eb24ce72214c97bb7aa56b8eb7b58187'
4
+ data.tar.gz: a32a3de3b916034ff30b195dfa07f6d0fcd344db2b4aa1e5beaf35b4357e37f8
5
5
  SHA512:
6
- metadata.gz: f62c3f0781f3ea09be34d90d30ef1a804f0f09329ccb3ae678716ac2956a20564d8496dacaeaa40566fe9d6fc90370f8fe31cede71a277c5c206f002bc7cff4d
7
- data.tar.gz: e8434ef0ef2187c2c0a4bbb80086c113feebf46ab0246f059c06899c6248027b2446afe5e70bc11e010ab318a2267ed0a262e5e2e2d7aa02de000e6f85149e13
6
+ metadata.gz: f687854dc7892f1734c7a7a7ae26a7666ec413d684981698349eafe86497ca83a79484bb3969a7a0a2d06047158141a919a0e3e8dcd12445d3b29a6e1c6a8e01
7
+ data.tar.gz: '08a0c68449e2b41cf7dfab467d8b59591f751f8c8a2787663ca42323ef17ba32831ffd12632089c871072e4ee1a872629f1eef1a41ae636ea489d7623717fac4'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.15.0 (2024-11-19)
5
+ ------------------
6
+
7
+ * Feature - Release Tax Inheritance APIs, Tax Exemption APIs, and functionality update for some existing Tax Registration APIs
8
+
4
9
  1.14.0 (2024-11-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.14.0
1
+ 1.15.0
@@ -489,6 +489,52 @@ module Aws::TaxSettings
489
489
  req.send_request(options)
490
490
  end
491
491
 
492
+ # Get the active tax exemptions for a given list of accounts.
493
+ #
494
+ # @option params [required, Array<String>] :account_ids
495
+ # List of unique account identifiers.
496
+ #
497
+ # @return [Types::BatchGetTaxExemptionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
498
+ #
499
+ # * {Types::BatchGetTaxExemptionsResponse#failed_accounts #failed_accounts} => Array&lt;String&gt;
500
+ # * {Types::BatchGetTaxExemptionsResponse#tax_exemption_details_map #tax_exemption_details_map} => Hash&lt;String,Types::TaxExemptionDetails&gt;
501
+ #
502
+ # @example Request syntax with placeholder values
503
+ #
504
+ # resp = client.batch_get_tax_exemptions({
505
+ # account_ids: ["AccountId"], # required
506
+ # })
507
+ #
508
+ # @example Response structure
509
+ #
510
+ # resp.failed_accounts #=> Array
511
+ # resp.failed_accounts[0] #=> String
512
+ # resp.tax_exemption_details_map #=> Hash
513
+ # resp.tax_exemption_details_map["AccountId"].heritage_obtained_details #=> Boolean
514
+ # resp.tax_exemption_details_map["AccountId"].heritage_obtained_parent_entity #=> String
515
+ # resp.tax_exemption_details_map["AccountId"].heritage_obtained_reason #=> String
516
+ # resp.tax_exemption_details_map["AccountId"].tax_exemptions #=> Array
517
+ # resp.tax_exemption_details_map["AccountId"].tax_exemptions[0].authority.country #=> String
518
+ # resp.tax_exemption_details_map["AccountId"].tax_exemptions[0].authority.state #=> String
519
+ # resp.tax_exemption_details_map["AccountId"].tax_exemptions[0].effective_date #=> Time
520
+ # resp.tax_exemption_details_map["AccountId"].tax_exemptions[0].expiration_date #=> Time
521
+ # resp.tax_exemption_details_map["AccountId"].tax_exemptions[0].status #=> String, one of "None", "Valid", "Expired", "Pending"
522
+ # resp.tax_exemption_details_map["AccountId"].tax_exemptions[0].system_effective_date #=> Time
523
+ # resp.tax_exemption_details_map["AccountId"].tax_exemptions[0].tax_exemption_type.applicable_jurisdictions #=> Array
524
+ # resp.tax_exemption_details_map["AccountId"].tax_exemptions[0].tax_exemption_type.applicable_jurisdictions[0].country #=> String
525
+ # resp.tax_exemption_details_map["AccountId"].tax_exemptions[0].tax_exemption_type.applicable_jurisdictions[0].state #=> String
526
+ # resp.tax_exemption_details_map["AccountId"].tax_exemptions[0].tax_exemption_type.description #=> String
527
+ # resp.tax_exemption_details_map["AccountId"].tax_exemptions[0].tax_exemption_type.display_name #=> String
528
+ #
529
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/BatchGetTaxExemptions AWS API Documentation
530
+ #
531
+ # @overload batch_get_tax_exemptions(params = {})
532
+ # @param [Hash] params ({})
533
+ def batch_get_tax_exemptions(params = {}, options = {})
534
+ req = build_request(:batch_get_tax_exemptions, params)
535
+ req.send_request(options)
536
+ end
537
+
492
538
  # Adds or updates tax registration for multiple accounts in batch. This
493
539
  # can be used to add or update tax registrations for up to five accounts
494
540
  # in one batch. You can't set a TRN if there's a pending TRN. You'll
@@ -740,7 +786,11 @@ module Aws::TaxSettings
740
786
  # date_of_birth: "DateOfBirth",
741
787
  # tax_registration_documents: [
742
788
  # {
743
- # s3_location: { # required
789
+ # file: {
790
+ # file_content: "data", # required
791
+ # file_name: "TaxDocumentName", # required
792
+ # },
793
+ # s3_location: {
744
794
  # bucket: "S3BucketName", # required
745
795
  # key: "S3Key", # required
746
796
  # },
@@ -824,6 +874,49 @@ module Aws::TaxSettings
824
874
  req.send_request(options)
825
875
  end
826
876
 
877
+ # Get supported tax exemption types.
878
+ #
879
+ # @return [Types::GetTaxExemptionTypesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
880
+ #
881
+ # * {Types::GetTaxExemptionTypesResponse#tax_exemption_types #tax_exemption_types} => Array&lt;Types::TaxExemptionType&gt;
882
+ #
883
+ # @example Response structure
884
+ #
885
+ # resp.tax_exemption_types #=> Array
886
+ # resp.tax_exemption_types[0].applicable_jurisdictions #=> Array
887
+ # resp.tax_exemption_types[0].applicable_jurisdictions[0].country #=> String
888
+ # resp.tax_exemption_types[0].applicable_jurisdictions[0].state #=> String
889
+ # resp.tax_exemption_types[0].description #=> String
890
+ # resp.tax_exemption_types[0].display_name #=> String
891
+ #
892
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/GetTaxExemptionTypes AWS API Documentation
893
+ #
894
+ # @overload get_tax_exemption_types(params = {})
895
+ # @param [Hash] params ({})
896
+ def get_tax_exemption_types(params = {}, options = {})
897
+ req = build_request(:get_tax_exemption_types, params)
898
+ req.send_request(options)
899
+ end
900
+
901
+ # The get account tax inheritance status.
902
+ #
903
+ # @return [Types::GetTaxInheritanceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
904
+ #
905
+ # * {Types::GetTaxInheritanceResponse#heritage_status #heritage_status} => String
906
+ #
907
+ # @example Response structure
908
+ #
909
+ # resp.heritage_status #=> String, one of "OptIn", "OptOut"
910
+ #
911
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/GetTaxInheritance AWS API Documentation
912
+ #
913
+ # @overload get_tax_inheritance(params = {})
914
+ # @param [Hash] params ({})
915
+ def get_tax_inheritance(params = {}, options = {})
916
+ req = build_request(:get_tax_inheritance, params)
917
+ req.send_request(options)
918
+ end
919
+
827
920
  # Retrieves tax registration for a single account.
828
921
  #
829
922
  # @option params [String] :account_id
@@ -904,7 +997,7 @@ module Aws::TaxSettings
904
997
  # Downloads your tax documents to the Amazon S3 bucket that you specify
905
998
  # in your request.
906
999
  #
907
- # @option params [required, Types::DestinationS3Location] :destination_s3_location
1000
+ # @option params [Types::DestinationS3Location] :destination_s3_location
908
1001
  # The Amazon S3 bucket that you specify to download your tax documents
909
1002
  # to.
910
1003
  #
@@ -914,11 +1007,12 @@ module Aws::TaxSettings
914
1007
  # @return [Types::GetTaxRegistrationDocumentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
915
1008
  #
916
1009
  # * {Types::GetTaxRegistrationDocumentResponse#destination_file_path #destination_file_path} => String
1010
+ # * {Types::GetTaxRegistrationDocumentResponse#presigned_s3_url #presigned_s3_url} => String
917
1011
  #
918
1012
  # @example Request syntax with placeholder values
919
1013
  #
920
1014
  # resp = client.get_tax_registration_document({
921
- # destination_s3_location: { # required
1015
+ # destination_s3_location: {
922
1016
  # bucket: "S3BucketName", # required
923
1017
  # prefix: "S3Prefix",
924
1018
  # },
@@ -931,6 +1025,7 @@ module Aws::TaxSettings
931
1025
  # @example Response structure
932
1026
  #
933
1027
  # resp.destination_file_path #=> String
1028
+ # resp.presigned_s3_url #=> String
934
1029
  #
935
1030
  # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/GetTaxRegistrationDocument AWS API Documentation
936
1031
  #
@@ -990,6 +1085,58 @@ module Aws::TaxSettings
990
1085
  req.send_request(options)
991
1086
  end
992
1087
 
1088
+ # Retrieves the tax exemption of accounts listed in a consolidated
1089
+ # billing family.
1090
+ #
1091
+ # @option params [Integer] :max_results
1092
+ # The number of results you want in one response.
1093
+ #
1094
+ # @option params [String] :next_token
1095
+ # The token to retrieve the next set of results.
1096
+ #
1097
+ # @return [Types::ListTaxExemptionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1098
+ #
1099
+ # * {Types::ListTaxExemptionsResponse#next_token #next_token} => String
1100
+ # * {Types::ListTaxExemptionsResponse#tax_exemption_details_map #tax_exemption_details_map} => Hash&lt;String,Types::TaxExemptionDetails&gt;
1101
+ #
1102
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1103
+ #
1104
+ # @example Request syntax with placeholder values
1105
+ #
1106
+ # resp = client.list_tax_exemptions({
1107
+ # max_results: 1,
1108
+ # next_token: "PaginationTokenString",
1109
+ # })
1110
+ #
1111
+ # @example Response structure
1112
+ #
1113
+ # resp.next_token #=> String
1114
+ # resp.tax_exemption_details_map #=> Hash
1115
+ # resp.tax_exemption_details_map["AccountId"].heritage_obtained_details #=> Boolean
1116
+ # resp.tax_exemption_details_map["AccountId"].heritage_obtained_parent_entity #=> String
1117
+ # resp.tax_exemption_details_map["AccountId"].heritage_obtained_reason #=> String
1118
+ # resp.tax_exemption_details_map["AccountId"].tax_exemptions #=> Array
1119
+ # resp.tax_exemption_details_map["AccountId"].tax_exemptions[0].authority.country #=> String
1120
+ # resp.tax_exemption_details_map["AccountId"].tax_exemptions[0].authority.state #=> String
1121
+ # resp.tax_exemption_details_map["AccountId"].tax_exemptions[0].effective_date #=> Time
1122
+ # resp.tax_exemption_details_map["AccountId"].tax_exemptions[0].expiration_date #=> Time
1123
+ # resp.tax_exemption_details_map["AccountId"].tax_exemptions[0].status #=> String, one of "None", "Valid", "Expired", "Pending"
1124
+ # resp.tax_exemption_details_map["AccountId"].tax_exemptions[0].system_effective_date #=> Time
1125
+ # resp.tax_exemption_details_map["AccountId"].tax_exemptions[0].tax_exemption_type.applicable_jurisdictions #=> Array
1126
+ # resp.tax_exemption_details_map["AccountId"].tax_exemptions[0].tax_exemption_type.applicable_jurisdictions[0].country #=> String
1127
+ # resp.tax_exemption_details_map["AccountId"].tax_exemptions[0].tax_exemption_type.applicable_jurisdictions[0].state #=> String
1128
+ # resp.tax_exemption_details_map["AccountId"].tax_exemptions[0].tax_exemption_type.description #=> String
1129
+ # resp.tax_exemption_details_map["AccountId"].tax_exemptions[0].tax_exemption_type.display_name #=> String
1130
+ #
1131
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/ListTaxExemptions AWS API Documentation
1132
+ #
1133
+ # @overload list_tax_exemptions(params = {})
1134
+ # @param [Hash] params ({})
1135
+ def list_tax_exemptions(params = {}, options = {})
1136
+ req = build_request(:list_tax_exemptions, params)
1137
+ req.send_request(options)
1138
+ end
1139
+
993
1140
  # Retrieves the tax registration of accounts listed in a consolidated
994
1141
  # billing family. This can be used to retrieve up to 100 accounts' tax
995
1142
  # registrations in one call (default 50).
@@ -1134,6 +1281,75 @@ module Aws::TaxSettings
1134
1281
  req.send_request(options)
1135
1282
  end
1136
1283
 
1284
+ # Adds the tax exemption for a single account or all accounts listed in
1285
+ # a consolidated billing family.
1286
+ #
1287
+ # @option params [required, Array<String>] :account_ids
1288
+ # The list of unique account identifiers.
1289
+ #
1290
+ # @option params [required, Types::Authority] :authority
1291
+ # The address domain associate with the tax information.
1292
+ #
1293
+ # @option params [required, Types::ExemptionCertificate] :exemption_certificate
1294
+ # The exemption certificate.
1295
+ #
1296
+ # @option params [required, String] :exemption_type
1297
+ # The exemption type.
1298
+ #
1299
+ # @return [Types::PutTaxExemptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1300
+ #
1301
+ # * {Types::PutTaxExemptionResponse#case_id #case_id} => String
1302
+ #
1303
+ # @example Request syntax with placeholder values
1304
+ #
1305
+ # resp = client.put_tax_exemption({
1306
+ # account_ids: ["AccountId"], # required
1307
+ # authority: { # required
1308
+ # country: "CountryCode", # required
1309
+ # state: "State",
1310
+ # },
1311
+ # exemption_certificate: { # required
1312
+ # document_file: "data", # required
1313
+ # document_name: "ExemptionDocumentName", # required
1314
+ # },
1315
+ # exemption_type: "GenericString", # required
1316
+ # })
1317
+ #
1318
+ # @example Response structure
1319
+ #
1320
+ # resp.case_id #=> String
1321
+ #
1322
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/PutTaxExemption AWS API Documentation
1323
+ #
1324
+ # @overload put_tax_exemption(params = {})
1325
+ # @param [Hash] params ({})
1326
+ def put_tax_exemption(params = {}, options = {})
1327
+ req = build_request(:put_tax_exemption, params)
1328
+ req.send_request(options)
1329
+ end
1330
+
1331
+ # The updated tax inheritance status.
1332
+ #
1333
+ # @option params [String] :heritage_status
1334
+ # The tax inheritance status.
1335
+ #
1336
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1337
+ #
1338
+ # @example Request syntax with placeholder values
1339
+ #
1340
+ # resp = client.put_tax_inheritance({
1341
+ # heritage_status: "OptIn", # accepts OptIn, OptOut
1342
+ # })
1343
+ #
1344
+ # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/PutTaxInheritance AWS API Documentation
1345
+ #
1346
+ # @overload put_tax_inheritance(params = {})
1347
+ # @param [Hash] params ({})
1348
+ def put_tax_inheritance(params = {}, options = {})
1349
+ req = build_request(:put_tax_inheritance, params)
1350
+ req.send_request(options)
1351
+ end
1352
+
1137
1353
  # Adds or updates tax registration for a single account. You can't set
1138
1354
  # a TRN if there's a pending TRN. You'll need to delete the pending
1139
1355
  # TRN first.
@@ -1383,7 +1599,11 @@ module Aws::TaxSettings
1383
1599
  # date_of_birth: "DateOfBirth",
1384
1600
  # tax_registration_documents: [
1385
1601
  # {
1386
- # s3_location: { # required
1602
+ # file: {
1603
+ # file_content: "data", # required
1604
+ # file_name: "TaxDocumentName", # required
1605
+ # },
1606
+ # s3_location: {
1387
1607
  # bucket: "S3BucketName", # required
1388
1608
  # key: "S3Key", # required
1389
1609
  # },
@@ -1424,7 +1644,7 @@ module Aws::TaxSettings
1424
1644
  tracer: tracer
1425
1645
  )
1426
1646
  context[:gem_name] = 'aws-sdk-taxsettings'
1427
- context[:gem_version] = '1.14.0'
1647
+ context[:gem_version] = '1.15.0'
1428
1648
  Seahorse::Client::Request.new(handlers, context)
1429
1649
  end
1430
1650