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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-taxsettings/client.rb +225 -5
- data/lib/aws-sdk-taxsettings/client_api.rb +201 -2
- data/lib/aws-sdk-taxsettings/errors.rb +48 -0
- data/lib/aws-sdk-taxsettings/types.rb +359 -1
- data/lib/aws-sdk-taxsettings.rb +1 -1
- data/sig/client.rbs +81 -3
- data/sig/errors.rbs +9 -0
- data/sig/types.rbs +120 -0
- metadata +2 -2
@@ -10,6 +10,19 @@
|
|
10
10
|
module Aws::TaxSettings
|
11
11
|
module Types
|
12
12
|
|
13
|
+
# The access is denied for the Amazon Web Services Support API.
|
14
|
+
#
|
15
|
+
# @!attribute [rw] message
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/AccessDeniedException AWS API Documentation
|
19
|
+
#
|
20
|
+
class AccessDeniedException < Struct.new(
|
21
|
+
:message)
|
22
|
+
SENSITIVE = [:message]
|
23
|
+
include Aws::Structure
|
24
|
+
end
|
25
|
+
|
13
26
|
# An object with your `accountId` and TRN information.
|
14
27
|
#
|
15
28
|
# @!attribute [rw] account_id
|
@@ -324,6 +337,39 @@ module Aws::TaxSettings
|
|
324
337
|
include Aws::Structure
|
325
338
|
end
|
326
339
|
|
340
|
+
# Failed to upload the tax exemption document to Amazon Web Services
|
341
|
+
# Support case.
|
342
|
+
#
|
343
|
+
# @!attribute [rw] message
|
344
|
+
# @return [String]
|
345
|
+
#
|
346
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/AttachmentUploadException AWS API Documentation
|
347
|
+
#
|
348
|
+
class AttachmentUploadException < Struct.new(
|
349
|
+
:message)
|
350
|
+
SENSITIVE = [:message]
|
351
|
+
include Aws::Structure
|
352
|
+
end
|
353
|
+
|
354
|
+
# The address domain associate with the tax information.
|
355
|
+
#
|
356
|
+
# @!attribute [rw] country
|
357
|
+
# The country code for the country that the address is in.
|
358
|
+
# @return [String]
|
359
|
+
#
|
360
|
+
# @!attribute [rw] state
|
361
|
+
# The state that the address is located.
|
362
|
+
# @return [String]
|
363
|
+
#
|
364
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/Authority AWS API Documentation
|
365
|
+
#
|
366
|
+
class Authority < Struct.new(
|
367
|
+
:country,
|
368
|
+
:state)
|
369
|
+
SENSITIVE = []
|
370
|
+
include Aws::Structure
|
371
|
+
end
|
372
|
+
|
327
373
|
# The error object for representing failures in the
|
328
374
|
# `BatchDeleteTaxRegistration` operation.
|
329
375
|
#
|
@@ -378,6 +424,36 @@ module Aws::TaxSettings
|
|
378
424
|
include Aws::Structure
|
379
425
|
end
|
380
426
|
|
427
|
+
# @!attribute [rw] account_ids
|
428
|
+
# List of unique account identifiers.
|
429
|
+
# @return [Array<String>]
|
430
|
+
#
|
431
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/BatchGetTaxExemptionsRequest AWS API Documentation
|
432
|
+
#
|
433
|
+
class BatchGetTaxExemptionsRequest < Struct.new(
|
434
|
+
:account_ids)
|
435
|
+
SENSITIVE = []
|
436
|
+
include Aws::Structure
|
437
|
+
end
|
438
|
+
|
439
|
+
# @!attribute [rw] failed_accounts
|
440
|
+
# The list of accounts that failed to get tax exemptions.
|
441
|
+
# @return [Array<String>]
|
442
|
+
#
|
443
|
+
# @!attribute [rw] tax_exemption_details_map
|
444
|
+
# The tax exemption details map of accountId and tax exemption
|
445
|
+
# details.
|
446
|
+
# @return [Hash<String,Types::TaxExemptionDetails>]
|
447
|
+
#
|
448
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/BatchGetTaxExemptionsResponse AWS API Documentation
|
449
|
+
#
|
450
|
+
class BatchGetTaxExemptionsResponse < Struct.new(
|
451
|
+
:failed_accounts,
|
452
|
+
:tax_exemption_details_map)
|
453
|
+
SENSITIVE = []
|
454
|
+
include Aws::Structure
|
455
|
+
end
|
456
|
+
|
381
457
|
# The error object for representing failures in the
|
382
458
|
# `BatchPutTaxRegistration` operation.
|
383
459
|
#
|
@@ -520,6 +596,20 @@ module Aws::TaxSettings
|
|
520
596
|
include Aws::Structure
|
521
597
|
end
|
522
598
|
|
599
|
+
# You've exceeded the Amazon Web Services Support case creation limit
|
600
|
+
# for your account.
|
601
|
+
#
|
602
|
+
# @!attribute [rw] message
|
603
|
+
# @return [String]
|
604
|
+
#
|
605
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/CaseCreationLimitExceededException AWS API Documentation
|
606
|
+
#
|
607
|
+
class CaseCreationLimitExceededException < Struct.new(
|
608
|
+
:message)
|
609
|
+
SENSITIVE = [:message]
|
610
|
+
include Aws::Structure
|
611
|
+
end
|
612
|
+
|
523
613
|
# The exception when the input is creating conflict with the given
|
524
614
|
# state.
|
525
615
|
#
|
@@ -611,6 +701,25 @@ module Aws::TaxSettings
|
|
611
701
|
include Aws::Structure
|
612
702
|
end
|
613
703
|
|
704
|
+
# The exemption certificate.
|
705
|
+
#
|
706
|
+
# @!attribute [rw] document_file
|
707
|
+
# The exemption certificate file content.
|
708
|
+
# @return [String]
|
709
|
+
#
|
710
|
+
# @!attribute [rw] document_name
|
711
|
+
# The exemption certificate file name.
|
712
|
+
# @return [String]
|
713
|
+
#
|
714
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/ExemptionCertificate AWS API Documentation
|
715
|
+
#
|
716
|
+
class ExemptionCertificate < Struct.new(
|
717
|
+
:document_file,
|
718
|
+
:document_name)
|
719
|
+
SENSITIVE = []
|
720
|
+
include Aws::Structure
|
721
|
+
end
|
722
|
+
|
614
723
|
# Additional tax information associated with your TRN in Georgia.
|
615
724
|
#
|
616
725
|
# @!attribute [rw] person_type
|
@@ -625,6 +734,42 @@ module Aws::TaxSettings
|
|
625
734
|
include Aws::Structure
|
626
735
|
end
|
627
736
|
|
737
|
+
# @api private
|
738
|
+
#
|
739
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/GetTaxExemptionTypesRequest AWS API Documentation
|
740
|
+
#
|
741
|
+
class GetTaxExemptionTypesRequest < Aws::EmptyStructure; end
|
742
|
+
|
743
|
+
# @!attribute [rw] tax_exemption_types
|
744
|
+
# The supported types of tax exemptions.
|
745
|
+
# @return [Array<Types::TaxExemptionType>]
|
746
|
+
#
|
747
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/GetTaxExemptionTypesResponse AWS API Documentation
|
748
|
+
#
|
749
|
+
class GetTaxExemptionTypesResponse < Struct.new(
|
750
|
+
:tax_exemption_types)
|
751
|
+
SENSITIVE = []
|
752
|
+
include Aws::Structure
|
753
|
+
end
|
754
|
+
|
755
|
+
# @api private
|
756
|
+
#
|
757
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/GetTaxInheritanceRequest AWS API Documentation
|
758
|
+
#
|
759
|
+
class GetTaxInheritanceRequest < Aws::EmptyStructure; end
|
760
|
+
|
761
|
+
# @!attribute [rw] heritage_status
|
762
|
+
# The tax inheritance status.
|
763
|
+
# @return [String]
|
764
|
+
#
|
765
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/GetTaxInheritanceResponse AWS API Documentation
|
766
|
+
#
|
767
|
+
class GetTaxInheritanceResponse < Struct.new(
|
768
|
+
:heritage_status)
|
769
|
+
SENSITIVE = []
|
770
|
+
include Aws::Structure
|
771
|
+
end
|
772
|
+
|
628
773
|
# @!attribute [rw] destination_s3_location
|
629
774
|
# The Amazon S3 bucket that you specify to download your tax documents
|
630
775
|
# to.
|
@@ -648,10 +793,15 @@ module Aws::TaxSettings
|
|
648
793
|
# your tax document to.
|
649
794
|
# @return [String]
|
650
795
|
#
|
796
|
+
# @!attribute [rw] presigned_s3_url
|
797
|
+
# The Amazon S3 presigned URL of the tax registration document.
|
798
|
+
# @return [String]
|
799
|
+
#
|
651
800
|
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/GetTaxRegistrationDocumentResponse AWS API Documentation
|
652
801
|
#
|
653
802
|
class GetTaxRegistrationDocumentResponse < Struct.new(
|
654
|
-
:destination_file_path
|
803
|
+
:destination_file_path,
|
804
|
+
:presigned_s3_url)
|
655
805
|
SENSITIVE = []
|
656
806
|
include Aws::Structure
|
657
807
|
end
|
@@ -842,6 +992,41 @@ module Aws::TaxSettings
|
|
842
992
|
include Aws::Structure
|
843
993
|
end
|
844
994
|
|
995
|
+
# @!attribute [rw] max_results
|
996
|
+
# The number of results you want in one response.
|
997
|
+
# @return [Integer]
|
998
|
+
#
|
999
|
+
# @!attribute [rw] next_token
|
1000
|
+
# The token to retrieve the next set of results.
|
1001
|
+
# @return [String]
|
1002
|
+
#
|
1003
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/ListTaxExemptionsRequest AWS API Documentation
|
1004
|
+
#
|
1005
|
+
class ListTaxExemptionsRequest < Struct.new(
|
1006
|
+
:max_results,
|
1007
|
+
:next_token)
|
1008
|
+
SENSITIVE = []
|
1009
|
+
include Aws::Structure
|
1010
|
+
end
|
1011
|
+
|
1012
|
+
# @!attribute [rw] next_token
|
1013
|
+
# The token to retrieve the next set of results.
|
1014
|
+
# @return [String]
|
1015
|
+
#
|
1016
|
+
# @!attribute [rw] tax_exemption_details_map
|
1017
|
+
# The tax exemption details map of `accountId` and tax exemption
|
1018
|
+
# details.
|
1019
|
+
# @return [Hash<String,Types::TaxExemptionDetails>]
|
1020
|
+
#
|
1021
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/ListTaxExemptionsResponse AWS API Documentation
|
1022
|
+
#
|
1023
|
+
class ListTaxExemptionsResponse < Struct.new(
|
1024
|
+
:next_token,
|
1025
|
+
:tax_exemption_details_map)
|
1026
|
+
SENSITIVE = []
|
1027
|
+
include Aws::Structure
|
1028
|
+
end
|
1029
|
+
|
845
1030
|
# @!attribute [rw] max_results
|
846
1031
|
# Number of `accountDetails` results you want in one response.
|
847
1032
|
# @return [Integer]
|
@@ -987,6 +1172,61 @@ module Aws::TaxSettings
|
|
987
1172
|
include Aws::Structure
|
988
1173
|
end
|
989
1174
|
|
1175
|
+
# @!attribute [rw] account_ids
|
1176
|
+
# The list of unique account identifiers.
|
1177
|
+
# @return [Array<String>]
|
1178
|
+
#
|
1179
|
+
# @!attribute [rw] authority
|
1180
|
+
# The address domain associate with the tax information.
|
1181
|
+
# @return [Types::Authority]
|
1182
|
+
#
|
1183
|
+
# @!attribute [rw] exemption_certificate
|
1184
|
+
# The exemption certificate.
|
1185
|
+
# @return [Types::ExemptionCertificate]
|
1186
|
+
#
|
1187
|
+
# @!attribute [rw] exemption_type
|
1188
|
+
# The exemption type.
|
1189
|
+
# @return [String]
|
1190
|
+
#
|
1191
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/PutTaxExemptionRequest AWS API Documentation
|
1192
|
+
#
|
1193
|
+
class PutTaxExemptionRequest < Struct.new(
|
1194
|
+
:account_ids,
|
1195
|
+
:authority,
|
1196
|
+
:exemption_certificate,
|
1197
|
+
:exemption_type)
|
1198
|
+
SENSITIVE = []
|
1199
|
+
include Aws::Structure
|
1200
|
+
end
|
1201
|
+
|
1202
|
+
# @!attribute [rw] case_id
|
1203
|
+
# The customer support case ID.
|
1204
|
+
# @return [String]
|
1205
|
+
#
|
1206
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/PutTaxExemptionResponse AWS API Documentation
|
1207
|
+
#
|
1208
|
+
class PutTaxExemptionResponse < Struct.new(
|
1209
|
+
:case_id)
|
1210
|
+
SENSITIVE = []
|
1211
|
+
include Aws::Structure
|
1212
|
+
end
|
1213
|
+
|
1214
|
+
# @!attribute [rw] heritage_status
|
1215
|
+
# The tax inheritance status.
|
1216
|
+
# @return [String]
|
1217
|
+
#
|
1218
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/PutTaxInheritanceRequest AWS API Documentation
|
1219
|
+
#
|
1220
|
+
class PutTaxInheritanceRequest < Struct.new(
|
1221
|
+
:heritage_status)
|
1222
|
+
SENSITIVE = []
|
1223
|
+
include Aws::Structure
|
1224
|
+
end
|
1225
|
+
|
1226
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/PutTaxInheritanceResponse AWS API Documentation
|
1227
|
+
#
|
1228
|
+
class PutTaxInheritanceResponse < Aws::EmptyStructure; end
|
1229
|
+
|
990
1230
|
# @!attribute [rw] account_id
|
991
1231
|
# Your unique account identifier.
|
992
1232
|
# @return [String]
|
@@ -1224,6 +1464,100 @@ module Aws::TaxSettings
|
|
1224
1464
|
include Aws::Structure
|
1225
1465
|
end
|
1226
1466
|
|
1467
|
+
# The tax exemption.
|
1468
|
+
#
|
1469
|
+
# @!attribute [rw] authority
|
1470
|
+
# The address domain associate with tax exemption.
|
1471
|
+
# @return [Types::Authority]
|
1472
|
+
#
|
1473
|
+
# @!attribute [rw] effective_date
|
1474
|
+
# The tax exemption effective date.
|
1475
|
+
# @return [Time]
|
1476
|
+
#
|
1477
|
+
# @!attribute [rw] expiration_date
|
1478
|
+
# The tax exemption expiration date.
|
1479
|
+
# @return [Time]
|
1480
|
+
#
|
1481
|
+
# @!attribute [rw] status
|
1482
|
+
# The tax exemption status.
|
1483
|
+
# @return [String]
|
1484
|
+
#
|
1485
|
+
# @!attribute [rw] system_effective_date
|
1486
|
+
# The tax exemption recording time in the `TaxSettings` system.
|
1487
|
+
# @return [Time]
|
1488
|
+
#
|
1489
|
+
# @!attribute [rw] tax_exemption_type
|
1490
|
+
# The tax exemption type.
|
1491
|
+
# @return [Types::TaxExemptionType]
|
1492
|
+
#
|
1493
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/TaxExemption AWS API Documentation
|
1494
|
+
#
|
1495
|
+
class TaxExemption < Struct.new(
|
1496
|
+
:authority,
|
1497
|
+
:effective_date,
|
1498
|
+
:expiration_date,
|
1499
|
+
:status,
|
1500
|
+
:system_effective_date,
|
1501
|
+
:tax_exemption_type)
|
1502
|
+
SENSITIVE = []
|
1503
|
+
include Aws::Structure
|
1504
|
+
end
|
1505
|
+
|
1506
|
+
# The tax exemption details.
|
1507
|
+
#
|
1508
|
+
# @!attribute [rw] heritage_obtained_details
|
1509
|
+
# The indicator if the tax exemption is inherited from the
|
1510
|
+
# consolidated billing family management account.
|
1511
|
+
# @return [Boolean]
|
1512
|
+
#
|
1513
|
+
# @!attribute [rw] heritage_obtained_parent_entity
|
1514
|
+
# The consolidated billing family management account the tax exemption
|
1515
|
+
# inherited from.
|
1516
|
+
# @return [String]
|
1517
|
+
#
|
1518
|
+
# @!attribute [rw] heritage_obtained_reason
|
1519
|
+
# The reason of the heritage inheritance.
|
1520
|
+
# @return [String]
|
1521
|
+
#
|
1522
|
+
# @!attribute [rw] tax_exemptions
|
1523
|
+
# Tax exemptions.
|
1524
|
+
# @return [Array<Types::TaxExemption>]
|
1525
|
+
#
|
1526
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/TaxExemptionDetails AWS API Documentation
|
1527
|
+
#
|
1528
|
+
class TaxExemptionDetails < Struct.new(
|
1529
|
+
:heritage_obtained_details,
|
1530
|
+
:heritage_obtained_parent_entity,
|
1531
|
+
:heritage_obtained_reason,
|
1532
|
+
:tax_exemptions)
|
1533
|
+
SENSITIVE = []
|
1534
|
+
include Aws::Structure
|
1535
|
+
end
|
1536
|
+
|
1537
|
+
# The tax exemption type.
|
1538
|
+
#
|
1539
|
+
# @!attribute [rw] applicable_jurisdictions
|
1540
|
+
# The tax exemption's applicable jurisdictions.
|
1541
|
+
# @return [Array<Types::Authority>]
|
1542
|
+
#
|
1543
|
+
# @!attribute [rw] description
|
1544
|
+
# The tax exemption's type description.
|
1545
|
+
# @return [String]
|
1546
|
+
#
|
1547
|
+
# @!attribute [rw] display_name
|
1548
|
+
# The tax exemption's type display name.
|
1549
|
+
# @return [String]
|
1550
|
+
#
|
1551
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/TaxExemptionType AWS API Documentation
|
1552
|
+
#
|
1553
|
+
class TaxExemptionType < Struct.new(
|
1554
|
+
:applicable_jurisdictions,
|
1555
|
+
:description,
|
1556
|
+
:display_name)
|
1557
|
+
SENSITIVE = []
|
1558
|
+
include Aws::Structure
|
1559
|
+
end
|
1560
|
+
|
1227
1561
|
# Tax inheritance information associated with the account.
|
1228
1562
|
#
|
1229
1563
|
# @!attribute [rw] inheritance_obtained_reason
|
@@ -1304,8 +1638,31 @@ module Aws::TaxSettings
|
|
1304
1638
|
include Aws::Structure
|
1305
1639
|
end
|
1306
1640
|
|
1641
|
+
# The tax registration document.
|
1642
|
+
#
|
1643
|
+
# @!attribute [rw] file_content
|
1644
|
+
# The tax registration document content.
|
1645
|
+
# @return [String]
|
1646
|
+
#
|
1647
|
+
# @!attribute [rw] file_name
|
1648
|
+
# The tax registration document name.
|
1649
|
+
# @return [String]
|
1650
|
+
#
|
1651
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/TaxRegistrationDocFile AWS API Documentation
|
1652
|
+
#
|
1653
|
+
class TaxRegistrationDocFile < Struct.new(
|
1654
|
+
:file_content,
|
1655
|
+
:file_name)
|
1656
|
+
SENSITIVE = []
|
1657
|
+
include Aws::Structure
|
1658
|
+
end
|
1659
|
+
|
1307
1660
|
# Tax registration document information.
|
1308
1661
|
#
|
1662
|
+
# @!attribute [rw] file
|
1663
|
+
# The tax registration document.
|
1664
|
+
# @return [Types::TaxRegistrationDocFile]
|
1665
|
+
#
|
1309
1666
|
# @!attribute [rw] s3_location
|
1310
1667
|
# The Amazon S3 location where your tax registration document is
|
1311
1668
|
# stored.
|
@@ -1314,6 +1671,7 @@ module Aws::TaxSettings
|
|
1314
1671
|
# @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/TaxRegistrationDocument AWS API Documentation
|
1315
1672
|
#
|
1316
1673
|
class TaxRegistrationDocument < Struct.new(
|
1674
|
+
:file,
|
1317
1675
|
:s3_location)
|
1318
1676
|
SENSITIVE = []
|
1319
1677
|
include Aws::Structure
|
data/lib/aws-sdk-taxsettings.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -85,6 +85,17 @@ module Aws
|
|
85
85
|
) -> _BatchDeleteTaxRegistrationResponseSuccess
|
86
86
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDeleteTaxRegistrationResponseSuccess
|
87
87
|
|
88
|
+
interface _BatchGetTaxExemptionsResponseSuccess
|
89
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetTaxExemptionsResponse]
|
90
|
+
def failed_accounts: () -> ::Array[::String]
|
91
|
+
def tax_exemption_details_map: () -> ::Hash[::String, Types::TaxExemptionDetails]
|
92
|
+
end
|
93
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TaxSettings/Client.html#batch_get_tax_exemptions-instance_method
|
94
|
+
def batch_get_tax_exemptions: (
|
95
|
+
account_ids: Array[::String]
|
96
|
+
) -> _BatchGetTaxExemptionsResponseSuccess
|
97
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetTaxExemptionsResponseSuccess
|
98
|
+
|
88
99
|
interface _BatchPutTaxRegistrationResponseSuccess
|
89
100
|
include ::Seahorse::Client::_ResponseSuccess[Types::BatchPutTaxRegistrationResponse]
|
90
101
|
def errors: () -> ::Array[Types::BatchPutTaxRegistrationError]
|
@@ -172,10 +183,14 @@ module Aws
|
|
172
183
|
date_of_birth: ::String?,
|
173
184
|
tax_registration_documents: Array[
|
174
185
|
{
|
186
|
+
file: {
|
187
|
+
file_content: ::String,
|
188
|
+
file_name: ::String
|
189
|
+
}?,
|
175
190
|
s3_location: {
|
176
191
|
bucket: ::String,
|
177
192
|
key: ::String
|
178
|
-
}
|
193
|
+
}?
|
179
194
|
},
|
180
195
|
]?
|
181
196
|
}?
|
@@ -201,6 +216,24 @@ module Aws
|
|
201
216
|
) -> _DeleteTaxRegistrationResponseSuccess
|
202
217
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTaxRegistrationResponseSuccess
|
203
218
|
|
219
|
+
interface _GetTaxExemptionTypesResponseSuccess
|
220
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetTaxExemptionTypesResponse]
|
221
|
+
def tax_exemption_types: () -> ::Array[Types::TaxExemptionType]
|
222
|
+
end
|
223
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TaxSettings/Client.html#get_tax_exemption_types-instance_method
|
224
|
+
def get_tax_exemption_types: (
|
225
|
+
) -> _GetTaxExemptionTypesResponseSuccess
|
226
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTaxExemptionTypesResponseSuccess
|
227
|
+
|
228
|
+
interface _GetTaxInheritanceResponseSuccess
|
229
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetTaxInheritanceResponse]
|
230
|
+
def heritage_status: () -> ("OptIn" | "OptOut")
|
231
|
+
end
|
232
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TaxSettings/Client.html#get_tax_inheritance-instance_method
|
233
|
+
def get_tax_inheritance: (
|
234
|
+
) -> _GetTaxInheritanceResponseSuccess
|
235
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTaxInheritanceResponseSuccess
|
236
|
+
|
204
237
|
interface _GetTaxRegistrationResponseSuccess
|
205
238
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetTaxRegistrationResponse]
|
206
239
|
def tax_registration: () -> Types::TaxRegistration
|
@@ -214,10 +247,11 @@ module Aws
|
|
214
247
|
interface _GetTaxRegistrationDocumentResponseSuccess
|
215
248
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetTaxRegistrationDocumentResponse]
|
216
249
|
def destination_file_path: () -> ::String
|
250
|
+
def presigned_s3_url: () -> ::String
|
217
251
|
end
|
218
252
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TaxSettings/Client.html#get_tax_registration_document-instance_method
|
219
253
|
def get_tax_registration_document: (
|
220
|
-
destination_s3_location: {
|
254
|
+
?destination_s3_location: {
|
221
255
|
bucket: ::String,
|
222
256
|
prefix: ::String?
|
223
257
|
},
|
@@ -240,6 +274,18 @@ module Aws
|
|
240
274
|
) -> _ListSupplementalTaxRegistrationsResponseSuccess
|
241
275
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSupplementalTaxRegistrationsResponseSuccess
|
242
276
|
|
277
|
+
interface _ListTaxExemptionsResponseSuccess
|
278
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTaxExemptionsResponse]
|
279
|
+
def next_token: () -> ::String
|
280
|
+
def tax_exemption_details_map: () -> ::Hash[::String, Types::TaxExemptionDetails]
|
281
|
+
end
|
282
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TaxSettings/Client.html#list_tax_exemptions-instance_method
|
283
|
+
def list_tax_exemptions: (
|
284
|
+
?max_results: ::Integer,
|
285
|
+
?next_token: ::String
|
286
|
+
) -> _ListTaxExemptionsResponseSuccess
|
287
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTaxExemptionsResponseSuccess
|
288
|
+
|
243
289
|
interface _ListTaxRegistrationsResponseSuccess
|
244
290
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListTaxRegistrationsResponse]
|
245
291
|
def account_details: () -> ::Array[Types::AccountDetails]
|
@@ -277,6 +323,34 @@ module Aws
|
|
277
323
|
) -> _PutSupplementalTaxRegistrationResponseSuccess
|
278
324
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutSupplementalTaxRegistrationResponseSuccess
|
279
325
|
|
326
|
+
interface _PutTaxExemptionResponseSuccess
|
327
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutTaxExemptionResponse]
|
328
|
+
def case_id: () -> ::String
|
329
|
+
end
|
330
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TaxSettings/Client.html#put_tax_exemption-instance_method
|
331
|
+
def put_tax_exemption: (
|
332
|
+
account_ids: Array[::String],
|
333
|
+
authority: {
|
334
|
+
country: ::String,
|
335
|
+
state: ::String?
|
336
|
+
},
|
337
|
+
exemption_certificate: {
|
338
|
+
document_file: ::String,
|
339
|
+
document_name: ::String
|
340
|
+
},
|
341
|
+
exemption_type: ::String
|
342
|
+
) -> _PutTaxExemptionResponseSuccess
|
343
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutTaxExemptionResponseSuccess
|
344
|
+
|
345
|
+
interface _PutTaxInheritanceResponseSuccess
|
346
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutTaxInheritanceResponse]
|
347
|
+
end
|
348
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TaxSettings/Client.html#put_tax_inheritance-instance_method
|
349
|
+
def put_tax_inheritance: (
|
350
|
+
?heritage_status: ("OptIn" | "OptOut")
|
351
|
+
) -> _PutTaxInheritanceResponseSuccess
|
352
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutTaxInheritanceResponseSuccess
|
353
|
+
|
280
354
|
interface _PutTaxRegistrationResponseSuccess
|
281
355
|
include ::Seahorse::Client::_ResponseSuccess[Types::PutTaxRegistrationResponse]
|
282
356
|
def status: () -> ("Verified" | "Pending" | "Deleted" | "Rejected")
|
@@ -363,10 +437,14 @@ module Aws
|
|
363
437
|
date_of_birth: ::String?,
|
364
438
|
tax_registration_documents: Array[
|
365
439
|
{
|
440
|
+
file: {
|
441
|
+
file_content: ::String,
|
442
|
+
file_name: ::String
|
443
|
+
}?,
|
366
444
|
s3_location: {
|
367
445
|
bucket: ::String,
|
368
446
|
key: ::String
|
369
|
-
}
|
447
|
+
}?
|
370
448
|
},
|
371
449
|
]?
|
372
450
|
}?
|
data/sig/errors.rbs
CHANGED
@@ -11,6 +11,15 @@ module Aws
|
|
11
11
|
class ServiceError < ::Aws::Errors::ServiceError
|
12
12
|
end
|
13
13
|
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
17
|
+
class AttachmentUploadException < ::Aws::Errors::ServiceError
|
18
|
+
def message: () -> ::String
|
19
|
+
end
|
20
|
+
class CaseCreationLimitExceededException < ::Aws::Errors::ServiceError
|
21
|
+
def message: () -> ::String
|
22
|
+
end
|
14
23
|
class ConflictException < ::Aws::Errors::ServiceError
|
15
24
|
def error_code: () -> ::String
|
16
25
|
def message: () -> ::String
|