From 471f560261f16b360e95b25ae7009df2619caefd Mon Sep 17 00:00:00 2001
From: aws-sdk-go-automation
<43143561+aws-sdk-go-automation@users.noreply.github.com>
Date: Tue, 4 Jun 2024 14:36:57 -0400
Subject: [PATCH] Release v1.53.16 (2024-06-04) (#5277)
Release v1.53.16 (2024-06-04)
===
### Service Client Updates
* `service/ec2`: Updates service API
* U7i instances with up to 32 TiB of DDR5 memory and 896 vCPUs are now available. C7i-flex instances are launched and are lower-priced variants of the Amazon EC2 C7i instances that offer a baseline level of CPU performance with the ability to scale up to the full compute performance 95% of the time.
* `service/pipes`: Updates service API, documentation, and waiters
* `service/sagemaker`: Updates service API and documentation
* Extend DescribeClusterNode response with private DNS hostname and IP address, and placement information about availability zone and availability zone ID.
* `service/taxsettings`: Adds new service
---
CHANGELOG.md | 11 +
aws/endpoints/defaults.go | 81 +-
aws/version.go | 2 +-
models/apis/ec2/2016-11-15/api-2.json | 12 +-
models/apis/pipes/2015-10-07/api-2.json | 567 +-
models/apis/pipes/2015-10-07/docs-2.json | 172 +-
models/apis/pipes/2015-10-07/smoke.json | 6 +
models/apis/pipes/2015-10-07/waiters-2.json | 5 +
models/apis/sagemaker/2017-07-24/api-2.json | 31 +-
models/apis/sagemaker/2017-07-24/docs-2.json | 38 +-
models/apis/taxsettings/2018-05-10/api-2.json | 1045 ++++
.../apis/taxsettings/2018-05-10/docs-2.json | 781 +++
.../2018-05-10/endpoint-rule-set-1.json | 350 ++
.../2018-05-10/endpoint-tests-1.json | 314 ++
.../taxsettings/2018-05-10/examples-1.json | 5 +
.../taxsettings/2018-05-10/paginators-1.json | 10 +
models/endpoints/endpoints.json | 51 +-
service/ec2/api.go | 36 +
service/pipes/api.go | 677 ++-
service/sagemaker/api.go | 80 +-
service/taxsettings/api.go | 4644 +++++++++++++++++
service/taxsettings/doc.go | 38 +
service/taxsettings/errors.go | 43 +
service/taxsettings/service.go | 106 +
.../taxsettings/taxsettingsiface/interface.go | 95 +
25 files changed, 8851 insertions(+), 349 deletions(-)
create mode 100644 models/apis/pipes/2015-10-07/smoke.json
create mode 100644 models/apis/pipes/2015-10-07/waiters-2.json
create mode 100644 models/apis/taxsettings/2018-05-10/api-2.json
create mode 100644 models/apis/taxsettings/2018-05-10/docs-2.json
create mode 100644 models/apis/taxsettings/2018-05-10/endpoint-rule-set-1.json
create mode 100644 models/apis/taxsettings/2018-05-10/endpoint-tests-1.json
create mode 100644 models/apis/taxsettings/2018-05-10/examples-1.json
create mode 100644 models/apis/taxsettings/2018-05-10/paginators-1.json
create mode 100644 service/taxsettings/api.go
create mode 100644 service/taxsettings/doc.go
create mode 100644 service/taxsettings/errors.go
create mode 100644 service/taxsettings/service.go
create mode 100644 service/taxsettings/taxsettingsiface/interface.go
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 82acd9b5304..50efad9cc67 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,14 @@
+Release v1.53.16 (2024-06-04)
+===
+
+### Service Client Updates
+* `service/ec2`: Updates service API
+ * U7i instances with up to 32 TiB of DDR5 memory and 896 vCPUs are now available. C7i-flex instances are launched and are lower-priced variants of the Amazon EC2 C7i instances that offer a baseline level of CPU performance with the ability to scale up to the full compute performance 95% of the time.
+* `service/pipes`: Updates service API, documentation, and waiters
+* `service/sagemaker`: Updates service API and documentation
+ * Extend DescribeClusterNode response with private DNS hostname and IP address, and placement information about availability zone and availability zone ID.
+* `service/taxsettings`: Adds new service
+
Release v1.53.15 (2024-06-03)
===
diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go
index 02e58be383e..794501e8437 100644
--- a/aws/endpoints/defaults.go
+++ b/aws/endpoints/defaults.go
@@ -15561,6 +15561,9 @@ var awsPartition = partition{
endpointKey{
Region: "ca-central-1",
}: endpoint{},
+ endpointKey{
+ Region: "ca-west-1",
+ }: endpoint{},
endpointKey{
Region: "eu-central-1",
}: endpoint{},
@@ -33793,6 +33796,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-west-2",
}: endpoint{},
+ endpointKey{
+ Region: "eu-west-3",
+ }: endpoint{},
endpointKey{
Region: "sa-east-1",
}: endpoint{},
@@ -33802,6 +33808,9 @@ var awsPartition = partition{
endpointKey{
Region: "us-east-2",
}: endpoint{},
+ endpointKey{
+ Region: "us-west-1",
+ }: endpoint{},
endpointKey{
Region: "us-west-2",
}: endpoint{},
@@ -45793,37 +45802,10 @@ var awsisoPartition = partition{
},
"rds": service{
Endpoints: serviceEndpoints{
- endpointKey{
- Region: "rds-fips.us-iso-east-1",
- }: endpoint{
- Hostname: "rds-fips.us-iso-east-1.c2s.ic.gov",
- CredentialScope: credentialScope{
- Region: "us-iso-east-1",
- },
- Deprecated: boxedTrue,
- },
- endpointKey{
- Region: "rds-fips.us-iso-west-1",
- }: endpoint{
- Hostname: "rds-fips.us-iso-west-1.c2s.ic.gov",
- CredentialScope: credentialScope{
- Region: "us-iso-west-1",
- },
- Deprecated: boxedTrue,
- },
endpointKey{
Region: "rds.us-iso-east-1",
}: endpoint{
- CredentialScope: credentialScope{
- Region: "us-iso-east-1",
- },
- Deprecated: boxedTrue,
- },
- endpointKey{
- Region: "rds.us-iso-east-1",
- Variant: fipsVariant,
- }: endpoint{
- Hostname: "rds-fips.us-iso-east-1.c2s.ic.gov",
+ Hostname: "rds.us-iso-east-1.c2s.ic.gov",
CredentialScope: credentialScope{
Region: "us-iso-east-1",
},
@@ -45832,16 +45814,7 @@ var awsisoPartition = partition{
endpointKey{
Region: "rds.us-iso-west-1",
}: endpoint{
- CredentialScope: credentialScope{
- Region: "us-iso-west-1",
- },
- Deprecated: boxedTrue,
- },
- endpointKey{
- Region: "rds.us-iso-west-1",
- Variant: fipsVariant,
- }: endpoint{
- Hostname: "rds-fips.us-iso-west-1.c2s.ic.gov",
+ Hostname: "rds.us-iso-west-1.c2s.ic.gov",
CredentialScope: credentialScope{
Region: "us-iso-west-1",
},
@@ -45854,12 +45827,12 @@ var awsisoPartition = partition{
Region: "us-iso-east-1",
Variant: fipsVariant,
}: endpoint{
- Hostname: "rds-fips.us-iso-east-1.c2s.ic.gov",
+ Hostname: "rds.us-iso-east-1.c2s.ic.gov",
},
endpointKey{
Region: "us-iso-east-1-fips",
}: endpoint{
- Hostname: "rds-fips.us-iso-east-1.c2s.ic.gov",
+ Hostname: "rds.us-iso-east-1.c2s.ic.gov",
CredentialScope: credentialScope{
Region: "us-iso-east-1",
},
@@ -45872,12 +45845,12 @@ var awsisoPartition = partition{
Region: "us-iso-west-1",
Variant: fipsVariant,
}: endpoint{
- Hostname: "rds-fips.us-iso-west-1.c2s.ic.gov",
+ Hostname: "rds.us-iso-west-1.c2s.ic.gov",
},
endpointKey{
Region: "us-iso-west-1-fips",
}: endpoint{
- Hostname: "rds-fips.us-iso-west-1.c2s.ic.gov",
+ Hostname: "rds.us-iso-west-1.c2s.ic.gov",
CredentialScope: credentialScope{
Region: "us-iso-west-1",
},
@@ -46865,28 +46838,10 @@ var awsisobPartition = partition{
},
"rds": service{
Endpoints: serviceEndpoints{
- endpointKey{
- Region: "rds-fips.us-isob-east-1",
- }: endpoint{
- Hostname: "rds-fips.us-isob-east-1.sc2s.sgov.gov",
- CredentialScope: credentialScope{
- Region: "us-isob-east-1",
- },
- Deprecated: boxedTrue,
- },
endpointKey{
Region: "rds.us-isob-east-1",
}: endpoint{
- CredentialScope: credentialScope{
- Region: "us-isob-east-1",
- },
- Deprecated: boxedTrue,
- },
- endpointKey{
- Region: "rds.us-isob-east-1",
- Variant: fipsVariant,
- }: endpoint{
- Hostname: "rds-fips.us-isob-east-1.sc2s.sgov.gov",
+ Hostname: "rds.us-isob-east-1.sc2s.sgov.gov",
CredentialScope: credentialScope{
Region: "us-isob-east-1",
},
@@ -46899,12 +46854,12 @@ var awsisobPartition = partition{
Region: "us-isob-east-1",
Variant: fipsVariant,
}: endpoint{
- Hostname: "rds-fips.us-isob-east-1.sc2s.sgov.gov",
+ Hostname: "rds.us-isob-east-1.sc2s.sgov.gov",
},
endpointKey{
Region: "us-isob-east-1-fips",
}: endpoint{
- Hostname: "rds-fips.us-isob-east-1.sc2s.sgov.gov",
+ Hostname: "rds.us-isob-east-1.sc2s.sgov.gov",
CredentialScope: credentialScope{
Region: "us-isob-east-1",
},
diff --git a/aws/version.go b/aws/version.go
index 70477d98882..9662a71e399 100644
--- a/aws/version.go
+++ b/aws/version.go
@@ -5,4 +5,4 @@ package aws
const SDKName = "aws-sdk-go"
// SDKVersion is the version of this SDK
-const SDKVersion = "1.53.15"
+const SDKVersion = "1.53.16"
diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json
index 0e2e1534b73..a9ad0586cf8 100755
--- a/models/apis/ec2/2016-11-15/api-2.json
+++ b/models/apis/ec2/2016-11-15/api-2.json
@@ -4,6 +4,7 @@
"apiVersion":"2016-11-15",
"endpointPrefix":"ec2",
"protocol":"ec2",
+ "protocols":["query"],
"serviceAbbreviation":"Amazon EC2",
"serviceFullName":"Amazon Elastic Compute Cloud",
"serviceId":"EC2",
@@ -28706,7 +28707,16 @@
"g6.24xlarge",
"g6.48xlarge",
"gr6.4xlarge",
- "gr6.8xlarge"
+ "gr6.8xlarge",
+ "c7i-flex.large",
+ "c7i-flex.xlarge",
+ "c7i-flex.2xlarge",
+ "c7i-flex.4xlarge",
+ "c7i-flex.8xlarge",
+ "u7i-12tb.224xlarge",
+ "u7in-16tb.224xlarge",
+ "u7in-24tb.224xlarge",
+ "u7in-32tb.224xlarge"
]
},
"InstanceTypeHypervisor":{
diff --git a/models/apis/pipes/2015-10-07/api-2.json b/models/apis/pipes/2015-10-07/api-2.json
index 1a3f3e9763e..191d41d163f 100644
--- a/models/apis/pipes/2015-10-07/api-2.json
+++ b/models/apis/pipes/2015-10-07/api-2.json
@@ -3,8 +3,8 @@
"metadata":{
"apiVersion":"2015-10-07",
"endpointPrefix":"pipes",
- "jsonVersion":"1.1",
"protocol":"rest-json",
+ "protocols":["rest-json"],
"serviceFullName":"Amazon EventBridge Pipes",
"serviceId":"Pipes",
"signatureVersion":"v4",
@@ -185,19 +185,19 @@
"type":"string",
"max":1600,
"min":1,
- "pattern":"^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)$"
+ "pattern":"arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)"
},
"ArnOrJsonPath":{
"type":"string",
"max":1600,
"min":1,
- "pattern":"^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$"
+ "pattern":"arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)"
},
"ArnOrUrl":{
"type":"string",
"max":1600,
"min":1,
- "pattern":"^smk://(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9]):[0-9]{1,5}|arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)$"
+ "pattern":"smk://(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9]):[0-9]{1,5}|arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)"
},
"AssignPublicIp":{
"type":"string",
@@ -210,9 +210,9 @@
"type":"structure",
"required":["Subnets"],
"members":{
- "AssignPublicIp":{"shape":"AssignPublicIp"},
+ "Subnets":{"shape":"Subnets"},
"SecurityGroups":{"shape":"SecurityGroups"},
- "Subnets":{"shape":"Subnets"}
+ "AssignPublicIp":{"shape":"AssignPublicIp"}
}
},
"BatchArrayProperties":{
@@ -324,9 +324,9 @@
"type":"structure",
"required":["capacityProvider"],
"members":{
- "base":{"shape":"CapacityProviderStrategyItemBase"},
"capacityProvider":{"shape":"CapacityProvider"},
- "weight":{"shape":"CapacityProviderStrategyItemWeight"}
+ "weight":{"shape":"CapacityProviderStrategyItemWeight"},
+ "base":{"shape":"CapacityProviderStrategyItemBase"}
}
},
"CapacityProviderStrategyItemBase":{
@@ -343,7 +343,7 @@
"type":"string",
"max":1600,
"min":1,
- "pattern":"^(^arn:aws([a-z]|\\-)*:logs:([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}):(\\d{12}):log-group:[\\.\\-_/#A-Za-z0-9]{1,512}(:\\*)?)$"
+ "pattern":"(^arn:aws([a-z]|\\-)*:logs:([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}):(\\d{12}):log-group:[\\.\\-_/#A-Za-z0-9]{1,512}(:\\*)?)"
},
"CloudwatchLogsLogDestination":{
"type":"structure",
@@ -380,38 +380,38 @@
"type":"structure",
"required":[
"Name",
- "RoleArn",
"Source",
- "Target"
+ "Target",
+ "RoleArn"
],
"members":{
- "Description":{"shape":"PipeDescription"},
- "DesiredState":{"shape":"RequestedPipeState"},
- "Enrichment":{"shape":"OptionalArn"},
- "EnrichmentParameters":{"shape":"PipeEnrichmentParameters"},
- "LogConfiguration":{"shape":"PipeLogConfigurationParameters"},
"Name":{
"shape":"PipeName",
"location":"uri",
"locationName":"Name"
},
- "RoleArn":{"shape":"RoleArn"},
+ "Description":{"shape":"PipeDescription"},
+ "DesiredState":{"shape":"RequestedPipeState"},
"Source":{"shape":"ArnOrUrl"},
"SourceParameters":{"shape":"PipeSourceParameters"},
- "Tags":{"shape":"TagMap"},
+ "Enrichment":{"shape":"OptionalArn"},
+ "EnrichmentParameters":{"shape":"PipeEnrichmentParameters"},
"Target":{"shape":"Arn"},
- "TargetParameters":{"shape":"PipeTargetParameters"}
+ "TargetParameters":{"shape":"PipeTargetParameters"},
+ "RoleArn":{"shape":"RoleArn"},
+ "Tags":{"shape":"TagMap"},
+ "LogConfiguration":{"shape":"PipeLogConfigurationParameters"}
}
},
"CreatePipeResponse":{
"type":"structure",
"members":{
"Arn":{"shape":"PipeArn"},
- "CreationTime":{"shape":"Timestamp"},
- "CurrentState":{"shape":"PipeState"},
+ "Name":{"shape":"PipeName"},
"DesiredState":{"shape":"RequestedPipeState"},
- "LastModifiedTime":{"shape":"Timestamp"},
- "Name":{"shape":"PipeName"}
+ "CurrentState":{"shape":"PipeState"},
+ "CreationTime":{"shape":"Timestamp"},
+ "LastModifiedTime":{"shape":"Timestamp"}
}
},
"Database":{
@@ -447,11 +447,11 @@
"type":"structure",
"members":{
"Arn":{"shape":"PipeArn"},
- "CreationTime":{"shape":"Timestamp"},
- "CurrentState":{"shape":"PipeState"},
+ "Name":{"shape":"PipeName"},
"DesiredState":{"shape":"RequestedPipeStateDescribeResponse"},
- "LastModifiedTime":{"shape":"Timestamp"},
- "Name":{"shape":"PipeName"}
+ "CurrentState":{"shape":"PipeState"},
+ "CreationTime":{"shape":"Timestamp"},
+ "LastModifiedTime":{"shape":"Timestamp"}
}
},
"DescribePipeRequest":{
@@ -469,24 +469,57 @@
"type":"structure",
"members":{
"Arn":{"shape":"PipeArn"},
- "CreationTime":{"shape":"Timestamp"},
- "CurrentState":{"shape":"PipeState"},
+ "Name":{"shape":"PipeName"},
"Description":{"shape":"PipeDescription"},
"DesiredState":{"shape":"RequestedPipeStateDescribeResponse"},
+ "CurrentState":{"shape":"PipeState"},
+ "StateReason":{"shape":"PipeStateReason"},
+ "Source":{"shape":"ArnOrUrl"},
+ "SourceParameters":{"shape":"PipeSourceParameters"},
"Enrichment":{"shape":"OptionalArn"},
"EnrichmentParameters":{"shape":"PipeEnrichmentParameters"},
- "LastModifiedTime":{"shape":"Timestamp"},
- "LogConfiguration":{"shape":"PipeLogConfiguration"},
- "Name":{"shape":"PipeName"},
+ "Target":{"shape":"Arn"},
+ "TargetParameters":{"shape":"PipeTargetParameters"},
"RoleArn":{"shape":"RoleArn"},
- "Source":{"shape":"ArnOrUrl"},
- "SourceParameters":{"shape":"PipeSourceParameters"},
- "StateReason":{"shape":"PipeStateReason"},
"Tags":{"shape":"TagMap"},
- "Target":{"shape":"Arn"},
- "TargetParameters":{"shape":"PipeTargetParameters"}
+ "CreationTime":{"shape":"Timestamp"},
+ "LastModifiedTime":{"shape":"Timestamp"},
+ "LogConfiguration":{"shape":"PipeLogConfiguration"}
+ }
+ },
+ "DimensionMapping":{
+ "type":"structure",
+ "required":[
+ "DimensionValue",
+ "DimensionValueType",
+ "DimensionName"
+ ],
+ "members":{
+ "DimensionValue":{"shape":"DimensionValue"},
+ "DimensionValueType":{"shape":"DimensionValueType"},
+ "DimensionName":{"shape":"DimensionName"}
}
},
+ "DimensionMappings":{
+ "type":"list",
+ "member":{"shape":"DimensionMapping"},
+ "max":128,
+ "min":1
+ },
+ "DimensionName":{
+ "type":"string",
+ "max":256,
+ "min":1
+ },
+ "DimensionValue":{
+ "type":"string",
+ "max":2048,
+ "min":1
+ },
+ "DimensionValueType":{
+ "type":"string",
+ "enum":["VARCHAR"]
+ },
"DynamoDBStreamStartPosition":{
"type":"string",
"enum":[
@@ -597,7 +630,7 @@
"type":"string",
"max":300,
"min":1,
- "pattern":"^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9]):[0-9]{1,5}$",
+ "pattern":"(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9]):[0-9]{1,5}",
"sensitive":true
},
"EphemeralStorageSize":{
@@ -606,6 +639,15 @@
"max":200,
"min":21
},
+ "EpochTimeUnit":{
+ "type":"string",
+ "enum":[
+ "MILLISECONDS",
+ "SECONDS",
+ "MICROSECONDS",
+ "NANOSECONDS"
+ ]
+ },
"ErrorMessage":{"type":"string"},
"EventBridgeDetailType":{
"type":"string",
@@ -617,7 +659,7 @@
"type":"string",
"max":50,
"min":1,
- "pattern":"^[A-Za-z0-9\\-]+[\\.][A-Za-z0-9\\-]+$",
+ "pattern":"[A-Za-z0-9\\-]+[\\.][A-Za-z0-9\\-]+",
"sensitive":true
},
"EventBridgeEventResourceList":{
@@ -630,7 +672,7 @@
"type":"string",
"max":256,
"min":1,
- "pattern":"(?=[/\\.\\-_A-Za-z0-9]+)((?!aws\\.).*)|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)",
+ "pattern":".*(?=[/\\.\\-_A-Za-z0-9]+)((?!aws\\.).*)|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*).*",
"sensitive":true
},
"EventPattern":{
@@ -661,7 +703,7 @@
"type":"string",
"max":1600,
"min":1,
- "pattern":"^(^arn:aws([a-z]|\\-)*:firehose:([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}):(\\d{12}):deliverystream/[a-zA-Z0-9_.-]{1,64})$"
+ "pattern":"(^arn:aws([a-z]|\\-)*:firehose:([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}):(\\d{12}):deliverystream/[a-zA-Z0-9_.-]{1,64})"
},
"FirehoseLogDestination":{
"type":"structure",
@@ -680,7 +722,7 @@
"type":"string",
"max":512,
"min":0,
- "pattern":"^[!#$%&'*+-.^_`|~0-9a-zA-Z]+|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$"
+ "pattern":"[!#$%&'*+-.^_`|~0-9a-zA-Z]+|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)"
},
"HeaderParametersMap":{
"type":"map",
@@ -691,7 +733,7 @@
"type":"string",
"max":512,
"min":0,
- "pattern":"^[ \\t]*[\\x20-\\x7E]+([ \\t]+[\\x20-\\x7E]+)*[ \\t]*|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
+ "pattern":"[ \\t]*[\\x20-\\x7E]+([ \\t]+[\\x20-\\x7E]+)*[ \\t]*|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)",
"sensitive":true
},
"IncludeExecutionData":{
@@ -731,7 +773,7 @@
"type":"string",
"max":256,
"min":1,
- "pattern":"^\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*$"
+ "pattern":"\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*"
},
"KafkaBootstrapServers":{
"type":"list",
@@ -743,7 +785,7 @@
"type":"string",
"max":249,
"min":1,
- "pattern":"^[^.]([a-zA-Z0-9\\-_.]+)$",
+ "pattern":"[^.]([a-zA-Z0-9\\-_.]+)",
"sensitive":true
},
"KinesisPartitionKey":{
@@ -794,30 +836,20 @@
"ListPipesRequest":{
"type":"structure",
"members":{
- "CurrentState":{
- "shape":"PipeState",
+ "NamePrefix":{
+ "shape":"PipeName",
"location":"querystring",
- "locationName":"CurrentState"
+ "locationName":"NamePrefix"
},
"DesiredState":{
"shape":"RequestedPipeState",
"location":"querystring",
"locationName":"DesiredState"
},
- "Limit":{
- "shape":"LimitMax100",
- "location":"querystring",
- "locationName":"Limit"
- },
- "NamePrefix":{
- "shape":"PipeName",
- "location":"querystring",
- "locationName":"NamePrefix"
- },
- "NextToken":{
- "shape":"NextToken",
+ "CurrentState":{
+ "shape":"PipeState",
"location":"querystring",
- "locationName":"NextToken"
+ "locationName":"CurrentState"
},
"SourcePrefix":{
"shape":"ResourceArn",
@@ -828,14 +860,24 @@
"shape":"ResourceArn",
"location":"querystring",
"locationName":"TargetPrefix"
+ },
+ "NextToken":{
+ "shape":"NextToken",
+ "location":"querystring",
+ "locationName":"NextToken"
+ },
+ "Limit":{
+ "shape":"LimitMax100",
+ "location":"querystring",
+ "locationName":"Limit"
}
}
},
"ListPipesResponse":{
"type":"structure",
"members":{
- "NextToken":{"shape":"NextToken"},
- "Pipes":{"shape":"PipeList"}
+ "Pipes":{"shape":"PipeList"},
+ "NextToken":{"shape":"NextToken"}
}
},
"ListTagsForResourceRequest":{
@@ -880,14 +922,14 @@
"type":"string",
"max":1000,
"min":1,
- "pattern":"^[\\s\\S]*$",
+ "pattern":"[\\s\\S]*",
"sensitive":true
},
"MSKAccessCredentials":{
"type":"structure",
"members":{
- "ClientCertificateTlsAuth":{"shape":"SecretManagerArn"},
- "SaslScram512Auth":{"shape":"SecretManagerArn"}
+ "SaslScram512Auth":{"shape":"SecretManagerArn"},
+ "ClientCertificateTlsAuth":{"shape":"SecretManagerArn"}
},
"union":true
},
@@ -916,6 +958,26 @@
"max":10000,
"min":-1
},
+ "MeasureName":{
+ "type":"string",
+ "max":1024,
+ "min":1
+ },
+ "MeasureValue":{
+ "type":"string",
+ "max":2048,
+ "min":1
+ },
+ "MeasureValueType":{
+ "type":"string",
+ "enum":[
+ "DOUBLE",
+ "BIGINT",
+ "VARCHAR",
+ "BOOLEAN",
+ "TIMESTAMP"
+ ]
+ },
"MessageDeduplicationId":{
"type":"string",
"max":100,
@@ -928,6 +990,52 @@
"min":0,
"sensitive":true
},
+ "MultiMeasureAttributeMapping":{
+ "type":"structure",
+ "required":[
+ "MeasureValue",
+ "MeasureValueType",
+ "MultiMeasureAttributeName"
+ ],
+ "members":{
+ "MeasureValue":{"shape":"MeasureValue"},
+ "MeasureValueType":{"shape":"MeasureValueType"},
+ "MultiMeasureAttributeName":{"shape":"MultiMeasureAttributeName"}
+ }
+ },
+ "MultiMeasureAttributeMappings":{
+ "type":"list",
+ "member":{"shape":"MultiMeasureAttributeMapping"},
+ "max":256,
+ "min":1
+ },
+ "MultiMeasureAttributeName":{
+ "type":"string",
+ "max":256,
+ "min":1
+ },
+ "MultiMeasureMapping":{
+ "type":"structure",
+ "required":[
+ "MultiMeasureName",
+ "MultiMeasureAttributeMappings"
+ ],
+ "members":{
+ "MultiMeasureName":{"shape":"MultiMeasureName"},
+ "MultiMeasureAttributeMappings":{"shape":"MultiMeasureAttributeMappings"}
+ }
+ },
+ "MultiMeasureMappings":{
+ "type":"list",
+ "member":{"shape":"MultiMeasureMapping"},
+ "max":1024,
+ "min":0
+ },
+ "MultiMeasureName":{
+ "type":"string",
+ "max":256,
+ "min":1
+ },
"NetworkConfiguration":{
"type":"structure",
"members":{
@@ -959,11 +1067,11 @@
"type":"string",
"max":1600,
"min":0,
- "pattern":"^$|arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)$"
+ "pattern":"$|arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)"
},
"PathParameter":{
"type":"string",
- "pattern":"^(?!\\s*$).+|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
+ "pattern":"(?!\\s*$).+|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)",
"sensitive":true
},
"PathParameterList":{
@@ -973,44 +1081,44 @@
"Pipe":{
"type":"structure",
"members":{
+ "Name":{"shape":"PipeName"},
"Arn":{"shape":"PipeArn"},
- "CreationTime":{"shape":"Timestamp"},
- "CurrentState":{"shape":"PipeState"},
"DesiredState":{"shape":"RequestedPipeState"},
- "Enrichment":{"shape":"OptionalArn"},
+ "CurrentState":{"shape":"PipeState"},
+ "StateReason":{"shape":"PipeStateReason"},
+ "CreationTime":{"shape":"Timestamp"},
"LastModifiedTime":{"shape":"Timestamp"},
- "Name":{"shape":"PipeName"},
"Source":{"shape":"ArnOrUrl"},
- "StateReason":{"shape":"PipeStateReason"},
- "Target":{"shape":"Arn"}
+ "Target":{"shape":"Arn"},
+ "Enrichment":{"shape":"OptionalArn"}
}
},
"PipeArn":{
"type":"string",
"max":1600,
"min":1,
- "pattern":"^arn:aws([a-z]|\\-)*:([a-zA-Z0-9\\-]+):([a-z]|\\d|\\-)*:([0-9]{12})?:(.+)$"
+ "pattern":"arn:aws([a-z]|\\-)*:([a-zA-Z0-9\\-]+):([a-z]|\\d|\\-)*:([0-9]{12})?:(.+)"
},
"PipeDescription":{
"type":"string",
"max":512,
"min":0,
- "pattern":"^.*$",
+ "pattern":".*",
"sensitive":true
},
"PipeEnrichmentHttpParameters":{
"type":"structure",
"members":{
- "HeaderParameters":{"shape":"HeaderParametersMap"},
"PathParameterValues":{"shape":"PathParameterList"},
+ "HeaderParameters":{"shape":"HeaderParametersMap"},
"QueryStringParameters":{"shape":"QueryStringParametersMap"}
}
},
"PipeEnrichmentParameters":{
"type":"structure",
"members":{
- "HttpParameters":{"shape":"PipeEnrichmentHttpParameters"},
- "InputTemplate":{"shape":"InputTemplate"}
+ "InputTemplate":{"shape":"InputTemplate"},
+ "HttpParameters":{"shape":"PipeEnrichmentHttpParameters"}
}
},
"PipeList":{
@@ -1020,29 +1128,29 @@
"PipeLogConfiguration":{
"type":"structure",
"members":{
- "CloudwatchLogsLogDestination":{"shape":"CloudwatchLogsLogDestination"},
+ "S3LogDestination":{"shape":"S3LogDestination"},
"FirehoseLogDestination":{"shape":"FirehoseLogDestination"},
- "IncludeExecutionData":{"shape":"IncludeExecutionData"},
+ "CloudwatchLogsLogDestination":{"shape":"CloudwatchLogsLogDestination"},
"Level":{"shape":"LogLevel"},
- "S3LogDestination":{"shape":"S3LogDestination"}
+ "IncludeExecutionData":{"shape":"IncludeExecutionData"}
}
},
"PipeLogConfigurationParameters":{
"type":"structure",
"required":["Level"],
"members":{
- "CloudwatchLogsLogDestination":{"shape":"CloudwatchLogsLogDestinationParameters"},
+ "S3LogDestination":{"shape":"S3LogDestinationParameters"},
"FirehoseLogDestination":{"shape":"FirehoseLogDestinationParameters"},
- "IncludeExecutionData":{"shape":"IncludeExecutionData"},
+ "CloudwatchLogsLogDestination":{"shape":"CloudwatchLogsLogDestinationParameters"},
"Level":{"shape":"LogLevel"},
- "S3LogDestination":{"shape":"S3LogDestinationParameters"}
+ "IncludeExecutionData":{"shape":"IncludeExecutionData"}
}
},
"PipeName":{
"type":"string",
"max":64,
"min":1,
- "pattern":"^[\\.\\-_A-Za-z0-9]+$"
+ "pattern":"[\\.\\-_A-Za-z0-9]+"
},
"PipeSourceActiveMQBrokerParameters":{
"type":"structure",
@@ -1051,10 +1159,10 @@
"QueueName"
],
"members":{
- "BatchSize":{"shape":"LimitMax10000"},
"Credentials":{"shape":"MQBrokerAccessCredentials"},
- "MaximumBatchingWindowInSeconds":{"shape":"MaximumBatchingWindowInSeconds"},
- "QueueName":{"shape":"MQBrokerQueueName"}
+ "QueueName":{"shape":"MQBrokerQueueName"},
+ "BatchSize":{"shape":"LimitMax10000"},
+ "MaximumBatchingWindowInSeconds":{"shape":"MaximumBatchingWindowInSeconds"}
}
},
"PipeSourceDynamoDBStreamParameters":{
@@ -1063,10 +1171,10 @@
"members":{
"BatchSize":{"shape":"LimitMax10000"},
"DeadLetterConfig":{"shape":"DeadLetterConfig"},
+ "OnPartialBatchItemFailure":{"shape":"OnPartialBatchItemFailureStreams"},
"MaximumBatchingWindowInSeconds":{"shape":"MaximumBatchingWindowInSeconds"},
"MaximumRecordAgeInSeconds":{"shape":"MaximumRecordAgeInSeconds"},
"MaximumRetryAttempts":{"shape":"MaximumRetryAttemptsESM"},
- "OnPartialBatchItemFailure":{"shape":"OnPartialBatchItemFailureStreams"},
"ParallelizationFactor":{"shape":"LimitMax10"},
"StartingPosition":{"shape":"DynamoDBStreamStartPosition"}
}
@@ -1077,10 +1185,10 @@
"members":{
"BatchSize":{"shape":"LimitMax10000"},
"DeadLetterConfig":{"shape":"DeadLetterConfig"},
+ "OnPartialBatchItemFailure":{"shape":"OnPartialBatchItemFailureStreams"},
"MaximumBatchingWindowInSeconds":{"shape":"MaximumBatchingWindowInSeconds"},
"MaximumRecordAgeInSeconds":{"shape":"MaximumRecordAgeInSeconds"},
"MaximumRetryAttempts":{"shape":"MaximumRetryAttemptsESM"},
- "OnPartialBatchItemFailure":{"shape":"OnPartialBatchItemFailureStreams"},
"ParallelizationFactor":{"shape":"LimitMax10"},
"StartingPosition":{"shape":"KinesisStreamStartPosition"},
"StartingPositionTimestamp":{"shape":"Timestamp"}
@@ -1090,25 +1198,25 @@
"type":"structure",
"required":["TopicName"],
"members":{
+ "TopicName":{"shape":"KafkaTopicName"},
+ "StartingPosition":{"shape":"MSKStartPosition"},
"BatchSize":{"shape":"LimitMax10000"},
- "ConsumerGroupID":{"shape":"URI"},
- "Credentials":{"shape":"MSKAccessCredentials"},
"MaximumBatchingWindowInSeconds":{"shape":"MaximumBatchingWindowInSeconds"},
- "StartingPosition":{"shape":"MSKStartPosition"},
- "TopicName":{"shape":"KafkaTopicName"}
+ "ConsumerGroupID":{"shape":"URI"},
+ "Credentials":{"shape":"MSKAccessCredentials"}
}
},
"PipeSourceParameters":{
"type":"structure",
"members":{
- "ActiveMQBrokerParameters":{"shape":"PipeSourceActiveMQBrokerParameters"},
- "DynamoDBStreamParameters":{"shape":"PipeSourceDynamoDBStreamParameters"},
"FilterCriteria":{"shape":"FilterCriteria"},
"KinesisStreamParameters":{"shape":"PipeSourceKinesisStreamParameters"},
- "ManagedStreamingKafkaParameters":{"shape":"PipeSourceManagedStreamingKafkaParameters"},
+ "DynamoDBStreamParameters":{"shape":"PipeSourceDynamoDBStreamParameters"},
+ "SqsQueueParameters":{"shape":"PipeSourceSqsQueueParameters"},
+ "ActiveMQBrokerParameters":{"shape":"PipeSourceActiveMQBrokerParameters"},
"RabbitMQBrokerParameters":{"shape":"PipeSourceRabbitMQBrokerParameters"},
- "SelfManagedKafkaParameters":{"shape":"PipeSourceSelfManagedKafkaParameters"},
- "SqsQueueParameters":{"shape":"PipeSourceSqsQueueParameters"}
+ "ManagedStreamingKafkaParameters":{"shape":"PipeSourceManagedStreamingKafkaParameters"},
+ "SelfManagedKafkaParameters":{"shape":"PipeSourceSelfManagedKafkaParameters"}
}
},
"PipeSourceRabbitMQBrokerParameters":{
@@ -1118,25 +1226,25 @@
"QueueName"
],
"members":{
- "BatchSize":{"shape":"LimitMax10000"},
"Credentials":{"shape":"MQBrokerAccessCredentials"},
- "MaximumBatchingWindowInSeconds":{"shape":"MaximumBatchingWindowInSeconds"},
"QueueName":{"shape":"MQBrokerQueueName"},
- "VirtualHost":{"shape":"URI"}
+ "VirtualHost":{"shape":"URI"},
+ "BatchSize":{"shape":"LimitMax10000"},
+ "MaximumBatchingWindowInSeconds":{"shape":"MaximumBatchingWindowInSeconds"}
}
},
"PipeSourceSelfManagedKafkaParameters":{
"type":"structure",
"required":["TopicName"],
"members":{
+ "TopicName":{"shape":"KafkaTopicName"},
+ "StartingPosition":{"shape":"SelfManagedKafkaStartPosition"},
"AdditionalBootstrapServers":{"shape":"KafkaBootstrapServers"},
"BatchSize":{"shape":"LimitMax10000"},
+ "MaximumBatchingWindowInSeconds":{"shape":"MaximumBatchingWindowInSeconds"},
"ConsumerGroupID":{"shape":"URI"},
"Credentials":{"shape":"SelfManagedKafkaAccessConfigurationCredentials"},
- "MaximumBatchingWindowInSeconds":{"shape":"MaximumBatchingWindowInSeconds"},
"ServerRootCaCertificate":{"shape":"SecretManagerArn"},
- "StartingPosition":{"shape":"SelfManagedKafkaStartPosition"},
- "TopicName":{"shape":"KafkaTopicName"},
"Vpc":{"shape":"SelfManagedKafkaAccessConfigurationVpc"}
}
},
@@ -1171,7 +1279,7 @@
"type":"string",
"max":512,
"min":0,
- "pattern":"^.*$"
+ "pattern":".*"
},
"PipeTargetBatchJobParameters":{
"type":"structure",
@@ -1180,13 +1288,13 @@
"JobName"
],
"members":{
+ "JobDefinition":{"shape":"String"},
+ "JobName":{"shape":"String"},
"ArrayProperties":{"shape":"BatchArrayProperties"},
+ "RetryStrategy":{"shape":"BatchRetryStrategy"},
"ContainerOverrides":{"shape":"BatchContainerOverrides"},
"DependsOn":{"shape":"BatchDependsOn"},
- "JobDefinition":{"shape":"String"},
- "JobName":{"shape":"String"},
- "Parameters":{"shape":"BatchParametersMap"},
- "RetryStrategy":{"shape":"BatchRetryStrategy"}
+ "Parameters":{"shape":"BatchParametersMap"}
}
},
"PipeTargetCloudWatchLogsParameters":{
@@ -1200,38 +1308,38 @@
"type":"structure",
"required":["TaskDefinitionArn"],
"members":{
+ "TaskDefinitionArn":{"shape":"ArnOrJsonPath"},
+ "TaskCount":{"shape":"LimitMin1"},
+ "LaunchType":{"shape":"LaunchType"},
+ "NetworkConfiguration":{"shape":"NetworkConfiguration"},
+ "PlatformVersion":{"shape":"String"},
+ "Group":{"shape":"String"},
"CapacityProviderStrategy":{"shape":"CapacityProviderStrategy"},
"EnableECSManagedTags":{"shape":"Boolean"},
"EnableExecuteCommand":{"shape":"Boolean"},
- "Group":{"shape":"String"},
- "LaunchType":{"shape":"LaunchType"},
- "NetworkConfiguration":{"shape":"NetworkConfiguration"},
- "Overrides":{"shape":"EcsTaskOverride"},
"PlacementConstraints":{"shape":"PlacementConstraints"},
"PlacementStrategy":{"shape":"PlacementStrategies"},
- "PlatformVersion":{"shape":"String"},
"PropagateTags":{"shape":"PropagateTags"},
"ReferenceId":{"shape":"ReferenceId"},
- "Tags":{"shape":"TagList"},
- "TaskCount":{"shape":"LimitMin1"},
- "TaskDefinitionArn":{"shape":"ArnOrJsonPath"}
+ "Overrides":{"shape":"EcsTaskOverride"},
+ "Tags":{"shape":"TagList"}
}
},
"PipeTargetEventBridgeEventBusParameters":{
"type":"structure",
"members":{
- "DetailType":{"shape":"EventBridgeDetailType"},
"EndpointId":{"shape":"EventBridgeEndpointId"},
- "Resources":{"shape":"EventBridgeEventResourceList"},
+ "DetailType":{"shape":"EventBridgeDetailType"},
"Source":{"shape":"EventBridgeEventSource"},
+ "Resources":{"shape":"EventBridgeEventResourceList"},
"Time":{"shape":"JsonPath"}
}
},
"PipeTargetHttpParameters":{
"type":"structure",
"members":{
- "HeaderParameters":{"shape":"HeaderParametersMap"},
"PathParameterValues":{"shape":"PathParameterList"},
+ "HeaderParameters":{"shape":"HeaderParametersMap"},
"QueryStringParameters":{"shape":"QueryStringParametersMap"}
}
},
@@ -1258,18 +1366,19 @@
"PipeTargetParameters":{
"type":"structure",
"members":{
- "BatchJobParameters":{"shape":"PipeTargetBatchJobParameters"},
- "CloudWatchLogsParameters":{"shape":"PipeTargetCloudWatchLogsParameters"},
- "EcsTaskParameters":{"shape":"PipeTargetEcsTaskParameters"},
- "EventBridgeEventBusParameters":{"shape":"PipeTargetEventBridgeEventBusParameters"},
- "HttpParameters":{"shape":"PipeTargetHttpParameters"},
"InputTemplate":{"shape":"InputTemplate"},
- "KinesisStreamParameters":{"shape":"PipeTargetKinesisStreamParameters"},
"LambdaFunctionParameters":{"shape":"PipeTargetLambdaFunctionParameters"},
+ "StepFunctionStateMachineParameters":{"shape":"PipeTargetStateMachineParameters"},
+ "KinesisStreamParameters":{"shape":"PipeTargetKinesisStreamParameters"},
+ "EcsTaskParameters":{"shape":"PipeTargetEcsTaskParameters"},
+ "BatchJobParameters":{"shape":"PipeTargetBatchJobParameters"},
+ "SqsQueueParameters":{"shape":"PipeTargetSqsQueueParameters"},
+ "HttpParameters":{"shape":"PipeTargetHttpParameters"},
"RedshiftDataParameters":{"shape":"PipeTargetRedshiftDataParameters"},
"SageMakerPipelineParameters":{"shape":"PipeTargetSageMakerPipelineParameters"},
- "SqsQueueParameters":{"shape":"PipeTargetSqsQueueParameters"},
- "StepFunctionStateMachineParameters":{"shape":"PipeTargetStateMachineParameters"}
+ "EventBridgeEventBusParameters":{"shape":"PipeTargetEventBridgeEventBusParameters"},
+ "CloudWatchLogsParameters":{"shape":"PipeTargetCloudWatchLogsParameters"},
+ "TimestreamParameters":{"shape":"PipeTargetTimestreamParameters"}
}
},
"PipeTargetRedshiftDataParameters":{
@@ -1279,12 +1388,12 @@
"Sqls"
],
"members":{
+ "SecretManagerArn":{"shape":"SecretManagerArnOrJsonPath"},
"Database":{"shape":"Database"},
"DbUser":{"shape":"DbUser"},
- "SecretManagerArn":{"shape":"SecretManagerArnOrJsonPath"},
- "Sqls":{"shape":"Sqls"},
"StatementName":{"shape":"StatementName"},
- "WithEvent":{"shape":"Boolean"}
+ "WithEvent":{"shape":"Boolean"},
+ "Sqls":{"shape":"Sqls"}
}
},
"PipeTargetSageMakerPipelineParameters":{
@@ -1296,8 +1405,8 @@
"PipeTargetSqsQueueParameters":{
"type":"structure",
"members":{
- "MessageDeduplicationId":{"shape":"MessageDeduplicationId"},
- "MessageGroupId":{"shape":"MessageGroupId"}
+ "MessageGroupId":{"shape":"MessageGroupId"},
+ "MessageDeduplicationId":{"shape":"MessageDeduplicationId"}
}
},
"PipeTargetStateMachineParameters":{
@@ -1306,11 +1415,29 @@
"InvocationType":{"shape":"PipeTargetInvocationType"}
}
},
+ "PipeTargetTimestreamParameters":{
+ "type":"structure",
+ "required":[
+ "TimeValue",
+ "VersionValue",
+ "DimensionMappings"
+ ],
+ "members":{
+ "TimeValue":{"shape":"TimeValue"},
+ "EpochTimeUnit":{"shape":"EpochTimeUnit"},
+ "TimeFieldType":{"shape":"TimeFieldType"},
+ "TimestampFormat":{"shape":"TimestampFormat"},
+ "VersionValue":{"shape":"VersionValue"},
+ "DimensionMappings":{"shape":"DimensionMappings"},
+ "SingleMeasureMappings":{"shape":"SingleMeasureMappings"},
+ "MultiMeasureMappings":{"shape":"MultiMeasureMappings"}
+ }
+ },
"PlacementConstraint":{
"type":"structure",
"members":{
- "expression":{"shape":"PlacementConstraintExpression"},
- "type":{"shape":"PlacementConstraintType"}
+ "type":{"shape":"PlacementConstraintType"},
+ "expression":{"shape":"PlacementConstraintExpression"}
}
},
"PlacementConstraintExpression":{
@@ -1341,8 +1468,8 @@
"PlacementStrategy":{
"type":"structure",
"members":{
- "field":{"shape":"PlacementStrategyField"},
- "type":{"shape":"PlacementStrategyType"}
+ "type":{"shape":"PlacementStrategyType"},
+ "field":{"shape":"PlacementStrategyField"}
}
},
"PlacementStrategyField":{
@@ -1367,7 +1494,7 @@
"type":"string",
"max":512,
"min":0,
- "pattern":"^[^\\x00-\\x1F\\x7F]+|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$"
+ "pattern":"[^\\x00-\\x1F\\x7F]+|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)"
},
"QueryStringParametersMap":{
"type":"map",
@@ -1378,7 +1505,7 @@
"type":"string",
"max":512,
"min":0,
- "pattern":"^[^\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F]+|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
+ "pattern":"[^\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F]+|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)",
"sensitive":true
},
"ReferenceId":{
@@ -1411,15 +1538,15 @@
"type":"string",
"max":1600,
"min":1,
- "pattern":"^arn:(aws[a-zA-Z-]*)?:iam::\\d{12}:role/?[a-zA-Z0-9+=,.@\\-_/]+$"
+ "pattern":"arn:(aws[a-zA-Z-]*)?:iam::\\d{12}:role/?[a-zA-Z0-9+=,.@\\-_/]+"
},
"S3LogDestination":{
"type":"structure",
"members":{
"BucketName":{"shape":"String"},
+ "Prefix":{"shape":"String"},
"BucketOwner":{"shape":"String"},
- "OutputFormat":{"shape":"S3OutputFormat"},
- "Prefix":{"shape":"String"}
+ "OutputFormat":{"shape":"S3OutputFormat"}
}
},
"S3LogDestinationParameters":{
@@ -1442,7 +1569,7 @@
},
"S3LogDestinationParametersBucketOwnerString":{
"type":"string",
- "pattern":"^\\d{12}$"
+ "pattern":"\\d{12}"
},
"S3LogDestinationParametersPrefixString":{
"type":"string",
@@ -1478,7 +1605,7 @@
"type":"string",
"max":256,
"min":1,
- "pattern":"^[a-zA-Z0-9](-*[a-zA-Z0-9])*|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
+ "pattern":"[a-zA-Z0-9](-*[a-zA-Z0-9])*|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)",
"sensitive":true
},
"SageMakerPipelineParameterValue":{
@@ -1491,26 +1618,26 @@
"type":"string",
"max":1600,
"min":1,
- "pattern":"^(^arn:aws([a-z]|\\-)*:secretsmanager:([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}):(\\d{12}):secret:.+)$"
+ "pattern":"(^arn:aws([a-z]|\\-)*:secretsmanager:([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}):(\\d{12}):secret:.+)"
},
"SecretManagerArnOrJsonPath":{
"type":"string",
"max":1600,
"min":1,
- "pattern":"^(^arn:aws([a-z]|\\-)*:secretsmanager:([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}):(\\d{12}):secret:.+)|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$"
+ "pattern":"(^arn:aws([a-z]|\\-)*:secretsmanager:([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}):(\\d{12}):secret:.+)|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)"
},
"SecurityGroup":{
"type":"string",
"max":1024,
"min":1,
- "pattern":"^sg-[0-9a-zA-Z]*|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
+ "pattern":"sg-[0-9a-zA-Z]*|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)",
"sensitive":true
},
"SecurityGroupId":{
"type":"string",
"max":1024,
"min":1,
- "pattern":"^sg-[0-9a-zA-Z]*$",
+ "pattern":"sg-[0-9a-zA-Z]*",
"sensitive":true
},
"SecurityGroupIds":{
@@ -1529,17 +1656,17 @@
"type":"structure",
"members":{
"BasicAuth":{"shape":"SecretManagerArn"},
- "ClientCertificateTlsAuth":{"shape":"SecretManagerArn"},
+ "SaslScram512Auth":{"shape":"SecretManagerArn"},
"SaslScram256Auth":{"shape":"SecretManagerArn"},
- "SaslScram512Auth":{"shape":"SecretManagerArn"}
+ "ClientCertificateTlsAuth":{"shape":"SecretManagerArn"}
},
"union":true
},
"SelfManagedKafkaAccessConfigurationVpc":{
"type":"structure",
"members":{
- "SecurityGroup":{"shape":"SecurityGroupIds"},
- "Subnets":{"shape":"SubnetIds"}
+ "Subnets":{"shape":"SubnetIds"},
+ "SecurityGroup":{"shape":"SecurityGroupIds"}
}
},
"SelfManagedKafkaStartPosition":{
@@ -1553,17 +1680,17 @@
"type":"structure",
"required":[
"message",
- "quotaCode",
"resourceId",
"resourceType",
- "serviceCode"
+ "serviceCode",
+ "quotaCode"
],
"members":{
"message":{"shape":"String"},
- "quotaCode":{"shape":"String"},
"resourceId":{"shape":"String"},
"resourceType":{"shape":"String"},
- "serviceCode":{"shape":"String"}
+ "serviceCode":{"shape":"String"},
+ "quotaCode":{"shape":"String"}
},
"error":{
"httpStatusCode":402,
@@ -1571,6 +1698,25 @@
},
"exception":true
},
+ "SingleMeasureMapping":{
+ "type":"structure",
+ "required":[
+ "MeasureValue",
+ "MeasureValueType",
+ "MeasureName"
+ ],
+ "members":{
+ "MeasureValue":{"shape":"MeasureValue"},
+ "MeasureValueType":{"shape":"MeasureValueType"},
+ "MeasureName":{"shape":"MeasureName"}
+ }
+ },
+ "SingleMeasureMappings":{
+ "type":"list",
+ "member":{"shape":"SingleMeasureMapping"},
+ "max":8192,
+ "min":0
+ },
"Sql":{
"type":"string",
"max":100000,
@@ -1598,11 +1744,11 @@
"type":"structure",
"members":{
"Arn":{"shape":"PipeArn"},
- "CreationTime":{"shape":"Timestamp"},
- "CurrentState":{"shape":"PipeState"},
+ "Name":{"shape":"PipeName"},
"DesiredState":{"shape":"RequestedPipeState"},
- "LastModifiedTime":{"shape":"Timestamp"},
- "Name":{"shape":"PipeName"}
+ "CurrentState":{"shape":"PipeState"},
+ "CreationTime":{"shape":"Timestamp"},
+ "LastModifiedTime":{"shape":"Timestamp"}
}
},
"StatementName":{
@@ -1626,11 +1772,11 @@
"type":"structure",
"members":{
"Arn":{"shape":"PipeArn"},
- "CreationTime":{"shape":"Timestamp"},
- "CurrentState":{"shape":"PipeState"},
+ "Name":{"shape":"PipeName"},
"DesiredState":{"shape":"RequestedPipeState"},
- "LastModifiedTime":{"shape":"Timestamp"},
- "Name":{"shape":"PipeName"}
+ "CurrentState":{"shape":"PipeState"},
+ "CreationTime":{"shape":"Timestamp"},
+ "LastModifiedTime":{"shape":"Timestamp"}
}
},
"String":{"type":"string"},
@@ -1642,14 +1788,14 @@
"type":"string",
"max":1024,
"min":1,
- "pattern":"^subnet-[0-9a-z]*|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$",
+ "pattern":"subnet-[0-9a-z]*|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)",
"sensitive":true
},
"SubnetId":{
"type":"string",
"max":1024,
"min":1,
- "pattern":"^subnet-[0-9a-z]*$",
+ "pattern":"subnet-[0-9a-z]*",
"sensitive":true
},
"SubnetIds":{
@@ -1728,13 +1874,13 @@
"required":["message"],
"members":{
"message":{"shape":"String"},
+ "serviceCode":{"shape":"String"},
"quotaCode":{"shape":"String"},
"retryAfterSeconds":{
"shape":"Integer",
"location":"header",
"locationName":"Retry-After"
- },
- "serviceCode":{"shape":"String"}
+ }
},
"error":{
"httpStatusCode":429,
@@ -1742,12 +1888,29 @@
},
"exception":true
},
+ "TimeFieldType":{
+ "type":"string",
+ "enum":[
+ "EPOCH",
+ "TIMESTAMP_FORMAT"
+ ]
+ },
+ "TimeValue":{
+ "type":"string",
+ "max":256,
+ "min":1
+ },
"Timestamp":{"type":"timestamp"},
+ "TimestampFormat":{
+ "type":"string",
+ "max":256,
+ "min":1
+ },
"URI":{
"type":"string",
"max":200,
"min":1,
- "pattern":"^[a-zA-Z0-9-\\/*:_+=.@-]*$",
+ "pattern":"[a-zA-Z0-9-\\/*:_+=.@-]*",
"sensitive":true
},
"UntagResourceRequest":{
@@ -1781,39 +1944,39 @@
"RoleArn"
],
"members":{
- "Description":{"shape":"PipeDescription"},
- "DesiredState":{"shape":"RequestedPipeState"},
- "Enrichment":{"shape":"OptionalArn"},
- "EnrichmentParameters":{"shape":"PipeEnrichmentParameters"},
- "LogConfiguration":{"shape":"PipeLogConfigurationParameters"},
"Name":{
"shape":"PipeName",
"location":"uri",
"locationName":"Name"
},
- "RoleArn":{"shape":"RoleArn"},
+ "Description":{"shape":"PipeDescription"},
+ "DesiredState":{"shape":"RequestedPipeState"},
"SourceParameters":{"shape":"UpdatePipeSourceParameters"},
+ "Enrichment":{"shape":"OptionalArn"},
+ "EnrichmentParameters":{"shape":"PipeEnrichmentParameters"},
"Target":{"shape":"Arn"},
- "TargetParameters":{"shape":"PipeTargetParameters"}
+ "TargetParameters":{"shape":"PipeTargetParameters"},
+ "RoleArn":{"shape":"RoleArn"},
+ "LogConfiguration":{"shape":"PipeLogConfigurationParameters"}
}
},
"UpdatePipeResponse":{
"type":"structure",
"members":{
"Arn":{"shape":"PipeArn"},
- "CreationTime":{"shape":"Timestamp"},
- "CurrentState":{"shape":"PipeState"},
+ "Name":{"shape":"PipeName"},
"DesiredState":{"shape":"RequestedPipeState"},
- "LastModifiedTime":{"shape":"Timestamp"},
- "Name":{"shape":"PipeName"}
+ "CurrentState":{"shape":"PipeState"},
+ "CreationTime":{"shape":"Timestamp"},
+ "LastModifiedTime":{"shape":"Timestamp"}
}
},
"UpdatePipeSourceActiveMQBrokerParameters":{
"type":"structure",
"required":["Credentials"],
"members":{
- "BatchSize":{"shape":"LimitMax10000"},
"Credentials":{"shape":"MQBrokerAccessCredentials"},
+ "BatchSize":{"shape":"LimitMax10000"},
"MaximumBatchingWindowInSeconds":{"shape":"MaximumBatchingWindowInSeconds"}
}
},
@@ -1822,10 +1985,10 @@
"members":{
"BatchSize":{"shape":"LimitMax10000"},
"DeadLetterConfig":{"shape":"DeadLetterConfig"},
+ "OnPartialBatchItemFailure":{"shape":"OnPartialBatchItemFailureStreams"},
"MaximumBatchingWindowInSeconds":{"shape":"MaximumBatchingWindowInSeconds"},
"MaximumRecordAgeInSeconds":{"shape":"MaximumRecordAgeInSeconds"},
"MaximumRetryAttempts":{"shape":"MaximumRetryAttemptsESM"},
- "OnPartialBatchItemFailure":{"shape":"OnPartialBatchItemFailureStreams"},
"ParallelizationFactor":{"shape":"LimitMax10"}
}
},
@@ -1834,10 +1997,10 @@
"members":{
"BatchSize":{"shape":"LimitMax10000"},
"DeadLetterConfig":{"shape":"DeadLetterConfig"},
+ "OnPartialBatchItemFailure":{"shape":"OnPartialBatchItemFailureStreams"},
"MaximumBatchingWindowInSeconds":{"shape":"MaximumBatchingWindowInSeconds"},
"MaximumRecordAgeInSeconds":{"shape":"MaximumRecordAgeInSeconds"},
"MaximumRetryAttempts":{"shape":"MaximumRetryAttemptsESM"},
- "OnPartialBatchItemFailure":{"shape":"OnPartialBatchItemFailureStreams"},
"ParallelizationFactor":{"shape":"LimitMax10"}
}
},
@@ -1852,22 +2015,22 @@
"UpdatePipeSourceParameters":{
"type":"structure",
"members":{
- "ActiveMQBrokerParameters":{"shape":"UpdatePipeSourceActiveMQBrokerParameters"},
- "DynamoDBStreamParameters":{"shape":"UpdatePipeSourceDynamoDBStreamParameters"},
"FilterCriteria":{"shape":"FilterCriteria"},
"KinesisStreamParameters":{"shape":"UpdatePipeSourceKinesisStreamParameters"},
- "ManagedStreamingKafkaParameters":{"shape":"UpdatePipeSourceManagedStreamingKafkaParameters"},
+ "DynamoDBStreamParameters":{"shape":"UpdatePipeSourceDynamoDBStreamParameters"},
+ "SqsQueueParameters":{"shape":"UpdatePipeSourceSqsQueueParameters"},
+ "ActiveMQBrokerParameters":{"shape":"UpdatePipeSourceActiveMQBrokerParameters"},
"RabbitMQBrokerParameters":{"shape":"UpdatePipeSourceRabbitMQBrokerParameters"},
- "SelfManagedKafkaParameters":{"shape":"UpdatePipeSourceSelfManagedKafkaParameters"},
- "SqsQueueParameters":{"shape":"UpdatePipeSourceSqsQueueParameters"}
+ "ManagedStreamingKafkaParameters":{"shape":"UpdatePipeSourceManagedStreamingKafkaParameters"},
+ "SelfManagedKafkaParameters":{"shape":"UpdatePipeSourceSelfManagedKafkaParameters"}
}
},
"UpdatePipeSourceRabbitMQBrokerParameters":{
"type":"structure",
"required":["Credentials"],
"members":{
- "BatchSize":{"shape":"LimitMax10000"},
"Credentials":{"shape":"MQBrokerAccessCredentials"},
+ "BatchSize":{"shape":"LimitMax10000"},
"MaximumBatchingWindowInSeconds":{"shape":"MaximumBatchingWindowInSeconds"}
}
},
@@ -1875,8 +2038,8 @@
"type":"structure",
"members":{
"BatchSize":{"shape":"LimitMax10000"},
- "Credentials":{"shape":"SelfManagedKafkaAccessConfigurationCredentials"},
"MaximumBatchingWindowInSeconds":{"shape":"MaximumBatchingWindowInSeconds"},
+ "Credentials":{"shape":"SelfManagedKafkaAccessConfigurationCredentials"},
"ServerRootCaCertificate":{"shape":"SecretManagerArn"},
"Vpc":{"shape":"SelfManagedKafkaAccessConfigurationVpc"}
}
@@ -1891,8 +2054,8 @@
"ValidationException":{
"type":"structure",
"members":{
- "fieldList":{"shape":"ValidationExceptionFieldList"},
- "message":{"shape":"ErrorMessage"}
+ "message":{"shape":"ErrorMessage"},
+ "fieldList":{"shape":"ValidationExceptionFieldList"}
},
"error":{
"httpStatusCode":400,
@@ -1903,18 +2066,22 @@
"ValidationExceptionField":{
"type":"structure",
"required":[
- "message",
- "name"
+ "name",
+ "message"
],
"members":{
- "message":{"shape":"ErrorMessage"},
- "name":{"shape":"String"}
+ "name":{"shape":"String"},
+ "message":{"shape":"ErrorMessage"}
}
},
"ValidationExceptionFieldList":{
"type":"list",
"member":{"shape":"ValidationExceptionField"}
+ },
+ "VersionValue":{
+ "type":"string",
+ "max":256,
+ "min":1
}
- },
- "xmlNamespace":"http://events.amazonaws.com/doc/2015-10-07"
+ }
}
diff --git a/models/apis/pipes/2015-10-07/docs-2.json b/models/apis/pipes/2015-10-07/docs-2.json
index b43dd4b5425..40d7fc8de7e 100644
--- a/models/apis/pipes/2015-10-07/docs-2.json
+++ b/models/apis/pipes/2015-10-07/docs-2.json
@@ -250,6 +250,36 @@
"refs": {
}
},
+ "DimensionMapping": {
+ "base": "
Maps source data to a dimension in the target Timestream for LiveAnalytics table.
For more information, see Amazon Timestream for LiveAnalytics concepts
",
+ "refs": {
+ "DimensionMappings$member": null
+ }
+ },
+ "DimensionMappings": {
+ "base": null,
+ "refs": {
+ "PipeTargetTimestreamParameters$DimensionMappings": "Map source data to dimensions in the target Timestream for LiveAnalytics table.
For more information, see Amazon Timestream for LiveAnalytics concepts
"
+ }
+ },
+ "DimensionName": {
+ "base": null,
+ "refs": {
+ "DimensionMapping$DimensionName": "The metadata attributes of the time series. For example, the name and Availability Zone of an Amazon EC2 instance or the name of the manufacturer of a wind turbine are dimensions.
"
+ }
+ },
+ "DimensionValue": {
+ "base": null,
+ "refs": {
+ "DimensionMapping$DimensionValue": "Dynamic path to the dimension value in the source event.
"
+ }
+ },
+ "DimensionValueType": {
+ "base": null,
+ "refs": {
+ "DimensionMapping$DimensionValueType": "The data type of the dimension for the time-series data.
"
+ }
+ },
"DynamoDBStreamStartPosition": {
"base": null,
"refs": {
@@ -352,6 +382,12 @@
"EcsEphemeralStorage$sizeInGiB": "The total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is 21
GiB and the maximum supported value is 200
GiB.
"
}
},
+ "EpochTimeUnit": {
+ "base": null,
+ "refs": {
+ "PipeTargetTimestreamParameters$EpochTimeUnit": "The granularity of the time units used. Default is MILLISECONDS
.
Required if TimeFieldType
is specified as EPOCH
.
"
+ }
+ },
"ErrorMessage": {
"base": null,
"refs": {
@@ -412,20 +448,20 @@
"FirehoseArn": {
"base": null,
"refs": {
- "FirehoseLogDestination$DeliveryStreamArn": "The Amazon Resource Name (ARN) of the Kinesis Data Firehose delivery stream to which EventBridge delivers the pipe log records.
",
- "FirehoseLogDestinationParameters$DeliveryStreamArn": "Specifies the Amazon Resource Name (ARN) of the Kinesis Data Firehose delivery stream to which EventBridge delivers the pipe log records.
"
+ "FirehoseLogDestination$DeliveryStreamArn": "The Amazon Resource Name (ARN) of the Firehose delivery stream to which EventBridge delivers the pipe log records.
",
+ "FirehoseLogDestinationParameters$DeliveryStreamArn": "Specifies the Amazon Resource Name (ARN) of the Firehose delivery stream to which EventBridge delivers the pipe log records.
"
}
},
"FirehoseLogDestination": {
- "base": "The Amazon Kinesis Data Firehose logging configuration settings for the pipe.
",
+ "base": "The Amazon Data Firehose logging configuration settings for the pipe.
",
"refs": {
- "PipeLogConfiguration$FirehoseLogDestination": "The Amazon Kinesis Data Firehose logging configuration settings for the pipe.
"
+ "PipeLogConfiguration$FirehoseLogDestination": "The Amazon Data Firehose logging configuration settings for the pipe.
"
}
},
"FirehoseLogDestinationParameters": {
- "base": "The Amazon Kinesis Data Firehose logging configuration settings for the pipe.
",
+ "base": "The Amazon Data Firehose logging configuration settings for the pipe.
",
"refs": {
- "PipeLogConfigurationParameters$FirehoseLogDestination": "The Amazon Kinesis Data Firehose logging configuration settings for the pipe.
"
+ "PipeLogConfigurationParameters$FirehoseLogDestination": "The Amazon Data Firehose logging configuration settings for the pipe.
"
}
},
"HeaderKey": {
@@ -451,7 +487,7 @@
"base": null,
"refs": {
"PipeLogConfiguration$IncludeExecutionData": "Whether the execution data (specifically, the payload
, awsRequest
, and awsResponse
fields) is included in the log messages for this pipe.
This applies to all log destinations for the pipe.
For more information, see Including execution data in logs in the Amazon EventBridge User Guide.
",
- "PipeLogConfigurationParameters$IncludeExecutionData": "Specify ON
to include the execution data (specifically, the payload
and awsRequest
fields) in the log messages for this pipe.
This applies to all log destinations for the pipe.
For more information, see Including execution data in logs in the Amazon EventBridge User Guide.
The default is OFF
.
"
+ "PipeLogConfigurationParameters$IncludeExecutionData": "Specify ALL
to include the execution data (specifically, the payload
, awsRequest
, and awsResponse
fields) in the log messages for this pipe.
This applies to all log destinations for the pipe.
For more information, see Including execution data in logs in the Amazon EventBridge User Guide.
By default, execution data is not included.
"
}
},
"IncludeExecutionDataOption": {
@@ -659,6 +695,26 @@
"UpdatePipeSourceKinesisStreamParameters$MaximumRetryAttempts": "(Streams only) Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, EventBridge retries failed records until the record expires in the event source.
"
}
},
+ "MeasureName": {
+ "base": null,
+ "refs": {
+ "SingleMeasureMapping$MeasureName": "Target measure name for the measurement attribute in the Timestream table.
"
+ }
+ },
+ "MeasureValue": {
+ "base": null,
+ "refs": {
+ "MultiMeasureAttributeMapping$MeasureValue": "Dynamic path to the measurement attribute in the source event.
",
+ "SingleMeasureMapping$MeasureValue": "Dynamic path of the source field to map to the measure in the record.
"
+ }
+ },
+ "MeasureValueType": {
+ "base": null,
+ "refs": {
+ "MultiMeasureAttributeMapping$MeasureValueType": "Data type of the measurement attribute in the source event.
",
+ "SingleMeasureMapping$MeasureValueType": "Data type of the source field.
"
+ }
+ },
"MessageDeduplicationId": {
"base": null,
"refs": {
@@ -671,6 +727,42 @@
"PipeTargetSqsQueueParameters$MessageGroupId": "The FIFO message group ID to use as the target.
"
}
},
+ "MultiMeasureAttributeMapping": {
+ "base": "A mapping of a source event data field to a measure in a Timestream for LiveAnalytics record.
",
+ "refs": {
+ "MultiMeasureAttributeMappings$member": null
+ }
+ },
+ "MultiMeasureAttributeMappings": {
+ "base": null,
+ "refs": {
+ "MultiMeasureMapping$MultiMeasureAttributeMappings": "Mappings that represent multiple source event fields mapped to measures in the same Timestream for LiveAnalytics record.
"
+ }
+ },
+ "MultiMeasureAttributeName": {
+ "base": null,
+ "refs": {
+ "MultiMeasureAttributeMapping$MultiMeasureAttributeName": "Target measure name to be used.
"
+ }
+ },
+ "MultiMeasureMapping": {
+ "base": "Maps multiple measures from the source event to the same Timestream for LiveAnalytics record.
For more information, see Amazon Timestream for LiveAnalytics concepts
",
+ "refs": {
+ "MultiMeasureMappings$member": null
+ }
+ },
+ "MultiMeasureMappings": {
+ "base": null,
+ "refs": {
+ "PipeTargetTimestreamParameters$MultiMeasureMappings": "Maps multiple measures from the source event to the same record in the specified Timestream for LiveAnalytics table.
"
+ }
+ },
+ "MultiMeasureName": {
+ "base": null,
+ "refs": {
+ "MultiMeasureMapping$MultiMeasureName": "The name of the multiple measurements per record (multi-measure).
"
+ }
+ },
"NetworkConfiguration": {
"base": "This structure specifies the network configuration for an Amazon ECS task.
",
"refs": {
@@ -776,7 +868,7 @@
}
},
"PipeLogConfigurationParameters": {
- "base": "Specifies the logging configuration settings for the pipe.
When you call UpdatePipe
, EventBridge updates the fields in the PipeLogConfigurationParameters
object atomically as one and overrides existing values. This is by design. If you don't specify an optional field in any of the Amazon Web Services service parameters objects (CloudwatchLogsLogDestinationParameters
, FirehoseLogDestinationParameters
, or S3LogDestinationParameters
), EventBridge sets that field to its system-default value during the update.
For example, suppose when you created the pipe you specified a Kinesis Data Firehose stream log destination. You then update the pipe to add an Amazon S3 log destination. In addition to specifying the S3LogDestinationParameters
for the new log destination, you must also specify the fields in the FirehoseLogDestinationParameters
object in order to retain the Kinesis Data Firehose stream log destination.
For more information on generating pipe log records, see Log EventBridge Pipes in the Amazon EventBridge User Guide.
",
+ "base": "Specifies the logging configuration settings for the pipe.
When you call UpdatePipe
, EventBridge updates the fields in the PipeLogConfigurationParameters
object atomically as one and overrides existing values. This is by design. If you don't specify an optional field in any of the Amazon Web Services service parameters objects (CloudwatchLogsLogDestinationParameters
, FirehoseLogDestinationParameters
, or S3LogDestinationParameters
), EventBridge sets that field to its system-default value during the update.
For example, suppose when you created the pipe you specified a Firehose stream log destination. You then update the pipe to add an Amazon S3 log destination. In addition to specifying the S3LogDestinationParameters
for the new log destination, you must also specify the fields in the FirehoseLogDestinationParameters
object in order to retain the Firehose stream log destination.
For more information on generating pipe log records, see Log EventBridge Pipes in the Amazon EventBridge User Guide.
",
"refs": {
"CreatePipeRequest$LogConfiguration": "The logging configuration settings for the pipe.
",
"UpdatePipeRequest$LogConfiguration": "The logging configuration settings for the pipe.
"
@@ -839,9 +931,9 @@
}
},
"PipeSourceSelfManagedKafkaParameters": {
- "base": "The parameters for using a self-managed Apache Kafka stream as a source.
",
+ "base": "The parameters for using a self-managed Apache Kafka stream as a source.
A self managed cluster refers to any Apache Kafka cluster not hosted by Amazon Web Services. This includes both clusters you manage yourself, as well as those hosted by a third-party provider, such as Confluent Cloud, CloudKarafka, or Redpanda. For more information, see Apache Kafka streams as a source in the Amazon EventBridge User Guide.
",
"refs": {
- "PipeSourceParameters$SelfManagedKafkaParameters": "The parameters for using a self-managed Apache Kafka stream as a source.
"
+ "PipeSourceParameters$SelfManagedKafkaParameters": "The parameters for using a self-managed Apache Kafka stream as a source.
A self managed cluster refers to any Apache Kafka cluster not hosted by Amazon Web Services. This includes both clusters you manage yourself, as well as those hosted by a third-party provider, such as Confluent Cloud, CloudKarafka, or Redpanda. For more information, see Apache Kafka streams as a source in the Amazon EventBridge User Guide.
"
}
},
"PipeSourceSqsQueueParameters": {
@@ -951,6 +1043,12 @@
"PipeTargetParameters$StepFunctionStateMachineParameters": "The parameters for using a Step Functions state machine as a target.
"
}
},
+ "PipeTargetTimestreamParameters": {
+ "base": "The parameters for using a Timestream for LiveAnalytics table as a target.
",
+ "refs": {
+ "PipeTargetParameters$TimestreamParameters": "The parameters for using a Timestream for LiveAnalytics table as a target.
"
+ }
+ },
"PlacementConstraint": {
"base": "An object representing a constraint on task placement. To learn more, see Task Placement Constraints in the Amazon Elastic Container Service Developer Guide.
",
"refs": {
@@ -1130,13 +1228,13 @@
"base": "// Optional SecretManager ARN which stores the database credentials
",
"refs": {
"MQBrokerAccessCredentials$BasicAuth": "The ARN of the Secrets Manager secret.
",
- "MSKAccessCredentials$ClientCertificateTlsAuth": "The ARN of the Secrets Manager secret.
",
"MSKAccessCredentials$SaslScram512Auth": "The ARN of the Secrets Manager secret.
",
+ "MSKAccessCredentials$ClientCertificateTlsAuth": "The ARN of the Secrets Manager secret.
",
"PipeSourceSelfManagedKafkaParameters$ServerRootCaCertificate": "The ARN of the Secrets Manager secret used for certification.
",
"SelfManagedKafkaAccessConfigurationCredentials$BasicAuth": "The ARN of the Secrets Manager secret.
",
- "SelfManagedKafkaAccessConfigurationCredentials$ClientCertificateTlsAuth": "The ARN of the Secrets Manager secret.
",
- "SelfManagedKafkaAccessConfigurationCredentials$SaslScram256Auth": "The ARN of the Secrets Manager secret.
",
"SelfManagedKafkaAccessConfigurationCredentials$SaslScram512Auth": "The ARN of the Secrets Manager secret.
",
+ "SelfManagedKafkaAccessConfigurationCredentials$SaslScram256Auth": "The ARN of the Secrets Manager secret.
",
+ "SelfManagedKafkaAccessConfigurationCredentials$ClientCertificateTlsAuth": "The ARN of the Secrets Manager secret.
",
"UpdatePipeSourceSelfManagedKafkaParameters$ServerRootCaCertificate": "The ARN of the Secrets Manager secret used for certification.
"
}
},
@@ -1195,6 +1293,18 @@
"refs": {
}
},
+ "SingleMeasureMapping": {
+ "base": "Maps a single source data field to a single record in the specified Timestream for LiveAnalytics table.
For more information, see Amazon Timestream for LiveAnalytics concepts
",
+ "refs": {
+ "SingleMeasureMappings$member": null
+ }
+ },
+ "SingleMeasureMappings": {
+ "base": null,
+ "refs": {
+ "PipeTargetTimestreamParameters$SingleMeasureMappings": "Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics table.
"
+ }
+ },
"Sql": {
"base": "// A single Redshift SQL
",
"refs": {
@@ -1258,20 +1368,20 @@
"InternalException$message": null,
"PipeTargetBatchJobParameters$JobDefinition": "The job definition used by this job. This value can be one of name
, name:revision
, or the Amazon Resource Name (ARN) for the job definition. If name is specified without a revision then the latest active revision is used.
",
"PipeTargetBatchJobParameters$JobName": "The name of the job. It can be up to 128 letters long. The first character must be alphanumeric, can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
",
- "PipeTargetEcsTaskParameters$Group": "Specifies an Amazon ECS task group for the task. The maximum length is 255 characters.
",
"PipeTargetEcsTaskParameters$PlatformVersion": "Specifies the platform version for the task. Specify only the numeric portion of the platform version, such as 1.1.0
.
This structure is used only if LaunchType
is FARGATE
. For more information about valid platform versions, see Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide.
",
+ "PipeTargetEcsTaskParameters$Group": "Specifies an Amazon ECS task group for the task. The maximum length is 255 characters.
",
"S3LogDestination$BucketName": "The name of the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.
",
- "S3LogDestination$BucketOwner": "The Amazon Web Services account that owns the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.
",
"S3LogDestination$Prefix": "The prefix text with which to begin Amazon S3 log object names.
For more information, see Organizing objects using prefixes in the Amazon Simple Storage Service User Guide.
",
+ "S3LogDestination$BucketOwner": "The Amazon Web Services account that owns the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.
",
"ServiceQuotaExceededException$message": null,
- "ServiceQuotaExceededException$quotaCode": "The identifier of the quota that caused the exception.
",
"ServiceQuotaExceededException$resourceId": "The ID of the resource that caused the exception.
",
"ServiceQuotaExceededException$resourceType": "The type of resource that caused the exception.
",
"ServiceQuotaExceededException$serviceCode": "The identifier of the service that caused the exception.
",
+ "ServiceQuotaExceededException$quotaCode": "The identifier of the quota that caused the exception.
",
"StringList$member": null,
"ThrottlingException$message": null,
- "ThrottlingException$quotaCode": "The identifier of the quota that caused the exception.
",
"ThrottlingException$serviceCode": "The identifier of the service that caused the exception.
",
+ "ThrottlingException$quotaCode": "The identifier of the quota that caused the exception.
",
"ValidationExceptionField$name": "The name of the exception.
"
}
},
@@ -1363,6 +1473,18 @@
"refs": {
}
},
+ "TimeFieldType": {
+ "base": null,
+ "refs": {
+ "PipeTargetTimestreamParameters$TimeFieldType": "The type of time value used.
The default is EPOCH
.
"
+ }
+ },
+ "TimeValue": {
+ "base": null,
+ "refs": {
+ "PipeTargetTimestreamParameters$TimeValue": "Dynamic path to the source data field that represents the time value for your data.
"
+ }
+ },
"Timestamp": {
"base": null,
"refs": {
@@ -1383,6 +1505,12 @@
"UpdatePipeResponse$LastModifiedTime": "When the pipe was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
"
}
},
+ "TimestampFormat": {
+ "base": null,
+ "refs": {
+ "PipeTargetTimestreamParameters$TimestampFormat": "How to format the timestamps. For example, YYYY-MM-DDThh:mm:ss.sssTZD
.
Required if TimeFieldType
is specified as TIMESTAMP_FORMAT
.
"
+ }
+ },
"URI": {
"base": null,
"refs": {
@@ -1448,9 +1576,9 @@
}
},
"UpdatePipeSourceSelfManagedKafkaParameters": {
- "base": "The parameters for using a self-managed Apache Kafka stream as a source.
",
+ "base": "The parameters for using a self-managed Apache Kafka stream as a source.
A self managed cluster refers to any Apache Kafka cluster not hosted by Amazon Web Services. This includes both clusters you manage yourself, as well as those hosted by a third-party provider, such as Confluent Cloud, CloudKarafka, or Redpanda. For more information, see Apache Kafka streams as a source in the Amazon EventBridge User Guide.
",
"refs": {
- "UpdatePipeSourceParameters$SelfManagedKafkaParameters": "The parameters for using a self-managed Apache Kafka stream as a source.
"
+ "UpdatePipeSourceParameters$SelfManagedKafkaParameters": "The parameters for using a self-managed Apache Kafka stream as a source.
A self managed cluster refers to any Apache Kafka cluster not hosted by Amazon Web Services. This includes both clusters you manage yourself, as well as those hosted by a third-party provider, such as Confluent Cloud, CloudKarafka, or Redpanda. For more information, see Apache Kafka streams as a source in the Amazon EventBridge User Guide.
"
}
},
"UpdatePipeSourceSqsQueueParameters": {
@@ -1475,6 +1603,12 @@
"refs": {
"ValidationException$fieldList": "The list of fields for which validation failed and the corresponding failure messages.
"
}
+ },
+ "VersionValue": {
+ "base": null,
+ "refs": {
+ "PipeTargetTimestreamParameters$VersionValue": "64 bit version value or source data field that represents the version value for your data.
Write requests with a higher version number will update the existing measure values of the record and version. In cases where the measure value is the same, the version will still be updated.
Default value is 1.
Timestream for LiveAnalytics does not support updating partial measure values in a record.
Write requests for duplicate data with a higher version number will update the existing measure value and version. In cases where the measure value is the same, Version
will still be updated. Default value is 1
.
Version
must be 1
or greater, or you will receive a ValidationException
error.
"
+ }
}
}
}
diff --git a/models/apis/pipes/2015-10-07/smoke.json b/models/apis/pipes/2015-10-07/smoke.json
new file mode 100644
index 00000000000..a9756813e4a
--- /dev/null
+++ b/models/apis/pipes/2015-10-07/smoke.json
@@ -0,0 +1,6 @@
+{
+ "version": 1,
+ "defaultRegion": "us-west-2",
+ "testCases": [
+ ]
+}
diff --git a/models/apis/pipes/2015-10-07/waiters-2.json b/models/apis/pipes/2015-10-07/waiters-2.json
new file mode 100644
index 00000000000..13f60ee66be
--- /dev/null
+++ b/models/apis/pipes/2015-10-07/waiters-2.json
@@ -0,0 +1,5 @@
+{
+ "version": 2,
+ "waiters": {
+ }
+}
diff --git a/models/apis/sagemaker/2017-07-24/api-2.json b/models/apis/sagemaker/2017-07-24/api-2.json
index 2eba80bc440..b892afb8f03 100644
--- a/models/apis/sagemaker/2017-07-24/api-2.json
+++ b/models/apis/sagemaker/2017-07-24/api-2.json
@@ -12,7 +12,8 @@
"signatureVersion":"v4",
"signingName":"sagemaker",
"targetPrefix":"SageMaker",
- "uid":"sagemaker-2017-07-24"
+ "uid":"sagemaker-2017-07-24",
+ "auth":["aws.auth#sigv4"]
},
"operations":{
"AddAssociation":{
@@ -5647,6 +5648,14 @@
"max":256,
"pattern":"^arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:cluster/[a-z0-9]{12}$"
},
+ "ClusterAvailabilityZone":{
+ "type":"string",
+ "pattern":"^[a-z]{2}-[a-z]+-\\d[a-z]$"
+ },
+ "ClusterAvailabilityZoneId":{
+ "type":"string",
+ "pattern":"^[a-z]{3}\\d-az\\d$"
+ },
"ClusterInstanceCount":{
"type":"integer",
"min":1
@@ -5697,6 +5706,13 @@
"max":20,
"min":1
},
+ "ClusterInstancePlacement":{
+ "type":"structure",
+ "members":{
+ "AvailabilityZone":{"shape":"ClusterAvailabilityZone"},
+ "AvailabilityZoneId":{"shape":"ClusterAvailabilityZoneId"}
+ }
+ },
"ClusterInstanceStatus":{
"type":"string",
"enum":[
@@ -5795,7 +5811,10 @@
"InstanceType":{"shape":"ClusterInstanceType"},
"LaunchTime":{"shape":"Timestamp"},
"LifeCycleConfig":{"shape":"ClusterLifeCycleConfig"},
- "ThreadsPerCore":{"shape":"ClusterThreadsPerCore"}
+ "ThreadsPerCore":{"shape":"ClusterThreadsPerCore"},
+ "PrivatePrimaryIp":{"shape":"ClusterPrivatePrimaryIp"},
+ "PrivateDnsHostname":{"shape":"ClusterPrivateDnsHostname"},
+ "Placement":{"shape":"ClusterInstancePlacement"}
}
},
"ClusterNodeId":{
@@ -5829,6 +5848,14 @@
"type":"integer",
"min":0
},
+ "ClusterPrivateDnsHostname":{
+ "type":"string",
+ "pattern":"^ip-((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)-?\\b){4}\\..*$"
+ },
+ "ClusterPrivatePrimaryIp":{
+ "type":"string",
+ "pattern":"^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)\\.?\\b){4}$"
+ },
"ClusterSortBy":{
"type":"string",
"enum":[
diff --git a/models/apis/sagemaker/2017-07-24/docs-2.json b/models/apis/sagemaker/2017-07-24/docs-2.json
index 03b34f34361..f4d490e029d 100644
--- a/models/apis/sagemaker/2017-07-24/docs-2.json
+++ b/models/apis/sagemaker/2017-07-24/docs-2.json
@@ -120,7 +120,7 @@
"DescribeAutoMLJob": "Returns information about an AutoML job created by calling CreateAutoMLJob.
AutoML jobs created by calling CreateAutoMLJobV2 cannot be described by DescribeAutoMLJob
.
",
"DescribeAutoMLJobV2": "Returns information about an AutoML job created by calling CreateAutoMLJobV2 or CreateAutoMLJob.
",
"DescribeCluster": "Retrieves information of a SageMaker HyperPod cluster.
",
- "DescribeClusterNode": "Retrieves information of an instance (also called a node interchangeably) of a SageMaker HyperPod cluster.
",
+ "DescribeClusterNode": "Retrieves information of a node (also called a instance interchangeably) of a SageMaker HyperPod cluster.
",
"DescribeCodeRepository": "Gets details about the specified Git repository.
",
"DescribeCompilationJob": "Returns information about a model compilation job.
To create a model compilation job, use CreateCompilationJob. To get information about multiple model compilation jobs, use ListCompilationJobs.
",
"DescribeContext": "Describes a context.
",
@@ -1985,6 +1985,18 @@
"UpdateClusterSoftwareResponse$ClusterArn": "The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster being updated for security patching.
"
}
},
+ "ClusterAvailabilityZone": {
+ "base": null,
+ "refs": {
+ "ClusterInstancePlacement$AvailabilityZone": "The Availability Zone where the node in the SageMaker HyperPod cluster is launched.
"
+ }
+ },
+ "ClusterAvailabilityZoneId": {
+ "base": null,
+ "refs": {
+ "ClusterInstancePlacement$AvailabilityZoneId": "The unique identifier (ID) of the Availability Zone where the node in the SageMaker HyperPod cluster is launched.
"
+ }
+ },
"ClusterInstanceCount": {
"base": null,
"refs": {
@@ -2027,6 +2039,12 @@
"UpdateClusterRequest$InstanceGroups": "Specify the instance groups to update.
"
}
},
+ "ClusterInstancePlacement": {
+ "base": "Specifies the placement details for the node in the SageMaker HyperPod cluster, including the Availability Zone and the unique identifier (ID) of the Availability Zone.
",
+ "refs": {
+ "ClusterNodeDetails$Placement": "The placement details of the SageMaker HyperPod cluster node.
"
+ }
+ },
"ClusterInstanceStatus": {
"base": null,
"refs": {
@@ -2075,7 +2093,7 @@
"base": null,
"refs": {
"DeleteClusterRequest$ClusterName": "The string name or the Amazon Resource Name (ARN) of the SageMaker HyperPod cluster to delete.
",
- "DescribeClusterNodeRequest$ClusterName": "The string name or the Amazon Resource Name (ARN) of the SageMaker HyperPod cluster in which the instance is.
",
+ "DescribeClusterNodeRequest$ClusterName": "The string name or the Amazon Resource Name (ARN) of the SageMaker HyperPod cluster in which the node is.
",
"DescribeClusterRequest$ClusterName": "The string name or the Amazon Resource Name (ARN) of the SageMaker HyperPod cluster.
",
"ListClusterNodesRequest$ClusterName": "The string name or the Amazon Resource Name (ARN) of the SageMaker HyperPod cluster in which you want to retrieve the list of nodes.
",
"UpdateClusterRequest$ClusterName": "Specify the name of the SageMaker HyperPod cluster you want to update.
",
@@ -2085,13 +2103,13 @@
"ClusterNodeDetails": {
"base": "Details of an instance (also called a node interchangeably) in a SageMaker HyperPod cluster.
",
"refs": {
- "DescribeClusterNodeResponse$NodeDetails": "The details of the instance.
"
+ "DescribeClusterNodeResponse$NodeDetails": "The details of the SageMaker HyperPod cluster node.
"
}
},
"ClusterNodeId": {
"base": null,
"refs": {
- "DescribeClusterNodeRequest$NodeId": "The ID of the instance.
"
+ "DescribeClusterNodeRequest$NodeId": "The ID of the SageMaker HyperPod cluster node.
"
}
},
"ClusterNodeSummaries": {
@@ -2112,6 +2130,18 @@
"ClusterInstanceGroupDetails$CurrentCount": "The number of instances that are currently in the instance group of a SageMaker HyperPod cluster.
"
}
},
+ "ClusterPrivateDnsHostname": {
+ "base": null,
+ "refs": {
+ "ClusterNodeDetails$PrivateDnsHostname": "The private DNS hostname of the SageMaker HyperPod cluster node.
"
+ }
+ },
+ "ClusterPrivatePrimaryIp": {
+ "base": null,
+ "refs": {
+ "ClusterNodeDetails$PrivatePrimaryIp": "The private primary IP address of the SageMaker HyperPod cluster node.
"
+ }
+ },
"ClusterSortBy": {
"base": null,
"refs": {
diff --git a/models/apis/taxsettings/2018-05-10/api-2.json b/models/apis/taxsettings/2018-05-10/api-2.json
new file mode 100644
index 00000000000..6d83910d3e0
--- /dev/null
+++ b/models/apis/taxsettings/2018-05-10/api-2.json
@@ -0,0 +1,1045 @@
+{
+ "version":"2.0",
+ "metadata":{
+ "apiVersion":"2018-05-10",
+ "endpointPrefix":"tax",
+ "jsonVersion":"1.1",
+ "protocol":"rest-json",
+ "protocols":["rest-json"],
+ "serviceFullName":"Tax Settings",
+ "serviceId":"TaxSettings",
+ "signatureVersion":"v4",
+ "signingName":"tax",
+ "uid":"taxsettings-2018-05-10"
+ },
+ "operations":{
+ "BatchDeleteTaxRegistration":{
+ "name":"BatchDeleteTaxRegistration",
+ "http":{
+ "method":"POST",
+ "requestUri":"/BatchDeleteTaxRegistration",
+ "responseCode":200
+ },
+ "input":{"shape":"BatchDeleteTaxRegistrationRequest"},
+ "output":{"shape":"BatchDeleteTaxRegistrationResponse"},
+ "errors":[
+ {"shape":"ValidationException"},
+ {"shape":"ConflictException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
+ "BatchPutTaxRegistration":{
+ "name":"BatchPutTaxRegistration",
+ "http":{
+ "method":"POST",
+ "requestUri":"/BatchPutTaxRegistration",
+ "responseCode":200
+ },
+ "input":{"shape":"BatchPutTaxRegistrationRequest"},
+ "output":{"shape":"BatchPutTaxRegistrationResponse"},
+ "errors":[
+ {"shape":"ValidationException"},
+ {"shape":"ConflictException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
+ "DeleteTaxRegistration":{
+ "name":"DeleteTaxRegistration",
+ "http":{
+ "method":"POST",
+ "requestUri":"/DeleteTaxRegistration",
+ "responseCode":200
+ },
+ "input":{"shape":"DeleteTaxRegistrationRequest"},
+ "output":{"shape":"DeleteTaxRegistrationResponse"},
+ "errors":[
+ {"shape":"ValidationException"},
+ {"shape":"ConflictException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
+ "GetTaxRegistration":{
+ "name":"GetTaxRegistration",
+ "http":{
+ "method":"POST",
+ "requestUri":"/GetTaxRegistration",
+ "responseCode":200
+ },
+ "input":{"shape":"GetTaxRegistrationRequest"},
+ "output":{"shape":"GetTaxRegistrationResponse"},
+ "errors":[
+ {"shape":"ValidationException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
+ "GetTaxRegistrationDocument":{
+ "name":"GetTaxRegistrationDocument",
+ "http":{
+ "method":"POST",
+ "requestUri":"/GetTaxRegistrationDocument",
+ "responseCode":200
+ },
+ "input":{"shape":"GetTaxRegistrationDocumentRequest"},
+ "output":{"shape":"GetTaxRegistrationDocumentResponse"},
+ "errors":[
+ {"shape":"ValidationException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
+ "ListTaxRegistrations":{
+ "name":"ListTaxRegistrations",
+ "http":{
+ "method":"POST",
+ "requestUri":"/ListTaxRegistrations",
+ "responseCode":200
+ },
+ "input":{"shape":"ListTaxRegistrationsRequest"},
+ "output":{"shape":"ListTaxRegistrationsResponse"},
+ "errors":[
+ {"shape":"ValidationException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
+ "PutTaxRegistration":{
+ "name":"PutTaxRegistration",
+ "http":{
+ "method":"POST",
+ "requestUri":"/PutTaxRegistration",
+ "responseCode":200
+ },
+ "input":{"shape":"PutTaxRegistrationRequest"},
+ "output":{"shape":"PutTaxRegistrationResponse"},
+ "errors":[
+ {"shape":"ValidationException"},
+ {"shape":"ConflictException"},
+ {"shape":"InternalServerException"}
+ ]
+ }
+ },
+ "shapes":{
+ "AccountDetails":{
+ "type":"structure",
+ "members":{
+ "accountId":{"shape":"AccountId"},
+ "accountMetaData":{"shape":"AccountMetaData"},
+ "taxInheritanceDetails":{"shape":"TaxInheritanceDetails"},
+ "taxRegistration":{"shape":"TaxRegistrationWithJurisdiction"}
+ },
+ "sensitive":true
+ },
+ "AccountDetailsList":{
+ "type":"list",
+ "member":{"shape":"AccountDetails"}
+ },
+ "AccountId":{
+ "type":"string",
+ "max":12,
+ "min":12,
+ "pattern":"^\\d+$"
+ },
+ "AccountIds":{
+ "type":"list",
+ "member":{"shape":"AccountId"},
+ "max":5,
+ "min":1
+ },
+ "AccountMetaData":{
+ "type":"structure",
+ "members":{
+ "accountName":{"shape":"AccountName"},
+ "address":{"shape":"Address"},
+ "addressRoleMap":{"shape":"AddressRoleMap"},
+ "addressType":{"shape":"AddressRoleType"},
+ "seller":{"shape":"Seller"}
+ },
+ "sensitive":true
+ },
+ "AccountName":{
+ "type":"string",
+ "pattern":"^[\\s\\S]*$"
+ },
+ "AdditionalInfoRequest":{
+ "type":"structure",
+ "members":{
+ "canadaAdditionalInfo":{"shape":"CanadaAdditionalInfo"},
+ "estoniaAdditionalInfo":{"shape":"EstoniaAdditionalInfo"},
+ "georgiaAdditionalInfo":{"shape":"GeorgiaAdditionalInfo"},
+ "israelAdditionalInfo":{"shape":"IsraelAdditionalInfo"},
+ "italyAdditionalInfo":{"shape":"ItalyAdditionalInfo"},
+ "kenyaAdditionalInfo":{"shape":"KenyaAdditionalInfo"},
+ "malaysiaAdditionalInfo":{"shape":"MalaysiaAdditionalInfo"},
+ "polandAdditionalInfo":{"shape":"PolandAdditionalInfo"},
+ "romaniaAdditionalInfo":{"shape":"RomaniaAdditionalInfo"},
+ "saudiArabiaAdditionalInfo":{"shape":"SaudiArabiaAdditionalInfo"},
+ "southKoreaAdditionalInfo":{"shape":"SouthKoreaAdditionalInfo"},
+ "spainAdditionalInfo":{"shape":"SpainAdditionalInfo"},
+ "turkeyAdditionalInfo":{"shape":"TurkeyAdditionalInfo"},
+ "ukraineAdditionalInfo":{"shape":"UkraineAdditionalInfo"}
+ }
+ },
+ "AdditionalInfoResponse":{
+ "type":"structure",
+ "members":{
+ "brazilAdditionalInfo":{"shape":"BrazilAdditionalInfo"},
+ "canadaAdditionalInfo":{"shape":"CanadaAdditionalInfo"},
+ "estoniaAdditionalInfo":{"shape":"EstoniaAdditionalInfo"},
+ "georgiaAdditionalInfo":{"shape":"GeorgiaAdditionalInfo"},
+ "indiaAdditionalInfo":{"shape":"IndiaAdditionalInfo"},
+ "israelAdditionalInfo":{"shape":"IsraelAdditionalInfo"},
+ "italyAdditionalInfo":{"shape":"ItalyAdditionalInfo"},
+ "kenyaAdditionalInfo":{"shape":"KenyaAdditionalInfo"},
+ "malaysiaAdditionalInfo":{"shape":"MalaysiaAdditionalInfo"},
+ "polandAdditionalInfo":{"shape":"PolandAdditionalInfo"},
+ "romaniaAdditionalInfo":{"shape":"RomaniaAdditionalInfo"},
+ "saudiArabiaAdditionalInfo":{"shape":"SaudiArabiaAdditionalInfo"},
+ "southKoreaAdditionalInfo":{"shape":"SouthKoreaAdditionalInfo"},
+ "spainAdditionalInfo":{"shape":"SpainAdditionalInfo"},
+ "turkeyAdditionalInfo":{"shape":"TurkeyAdditionalInfo"},
+ "ukraineAdditionalInfo":{"shape":"UkraineAdditionalInfo"}
+ }
+ },
+ "Address":{
+ "type":"structure",
+ "required":[
+ "addressLine1",
+ "city",
+ "countryCode",
+ "postalCode"
+ ],
+ "members":{
+ "addressLine1":{"shape":"AddressLine1"},
+ "addressLine2":{"shape":"AddressLine2"},
+ "addressLine3":{"shape":"AddressLine3"},
+ "city":{"shape":"City"},
+ "countryCode":{"shape":"CountryCode"},
+ "districtOrCounty":{"shape":"District"},
+ "postalCode":{"shape":"PostalCode"},
+ "stateOrRegion":{"shape":"State"}
+ }
+ },
+ "AddressLine1":{
+ "type":"string",
+ "max":180,
+ "min":1,
+ "pattern":"^(?!\\s*$)[\\s\\S]+$"
+ },
+ "AddressLine2":{
+ "type":"string",
+ "max":60,
+ "min":1,
+ "pattern":"^(?!\\s*$)[\\s\\S]+$"
+ },
+ "AddressLine3":{
+ "type":"string",
+ "max":60,
+ "min":1,
+ "pattern":"^(?!\\s*$)[\\s\\S]+$"
+ },
+ "AddressRoleMap":{
+ "type":"map",
+ "key":{"shape":"AddressRoleType"},
+ "value":{"shape":"Jurisdiction"}
+ },
+ "AddressRoleType":{
+ "type":"string",
+ "enum":[
+ "TaxAddress",
+ "BillingAddress",
+ "ContactAddress"
+ ]
+ },
+ "BatchDeleteTaxRegistrationError":{
+ "type":"structure",
+ "required":[
+ "accountId",
+ "message"
+ ],
+ "members":{
+ "accountId":{"shape":"AccountId"},
+ "code":{"shape":"ErrorCode"},
+ "message":{"shape":"ErrorMessage"}
+ }
+ },
+ "BatchDeleteTaxRegistrationErrors":{
+ "type":"list",
+ "member":{"shape":"BatchDeleteTaxRegistrationError"}
+ },
+ "BatchDeleteTaxRegistrationRequest":{
+ "type":"structure",
+ "required":["accountIds"],
+ "members":{
+ "accountIds":{"shape":"AccountIds"}
+ }
+ },
+ "BatchDeleteTaxRegistrationResponse":{
+ "type":"structure",
+ "required":["errors"],
+ "members":{
+ "errors":{"shape":"BatchDeleteTaxRegistrationErrors"}
+ }
+ },
+ "BatchPutTaxRegistrationError":{
+ "type":"structure",
+ "required":[
+ "accountId",
+ "message"
+ ],
+ "members":{
+ "accountId":{"shape":"AccountId"},
+ "code":{"shape":"ErrorCode"},
+ "message":{"shape":"ErrorMessage"}
+ }
+ },
+ "BatchPutTaxRegistrationErrors":{
+ "type":"list",
+ "member":{"shape":"BatchPutTaxRegistrationError"}
+ },
+ "BatchPutTaxRegistrationRequest":{
+ "type":"structure",
+ "required":[
+ "accountIds",
+ "taxRegistrationEntry"
+ ],
+ "members":{
+ "accountIds":{"shape":"AccountIds"},
+ "taxRegistrationEntry":{"shape":"TaxRegistrationEntry"}
+ }
+ },
+ "BatchPutTaxRegistrationResponse":{
+ "type":"structure",
+ "required":["errors"],
+ "members":{
+ "errors":{"shape":"BatchPutTaxRegistrationErrors"},
+ "status":{"shape":"TaxRegistrationStatus"}
+ }
+ },
+ "Boolean":{
+ "type":"boolean",
+ "box":true
+ },
+ "BrazilAdditionalInfo":{
+ "type":"structure",
+ "members":{
+ "ccmCode":{"shape":"CcmCode"},
+ "legalNatureCode":{"shape":"LegalNatureCode"}
+ }
+ },
+ "BusinessRepresentativeName":{
+ "type":"string",
+ "max":200,
+ "min":1,
+ "pattern":"^[0-9\\u3130-\\u318F\\uAC00-\\uD7AF,.( )-\\\\s]*$"
+ },
+ "CanadaAdditionalInfo":{
+ "type":"structure",
+ "members":{
+ "canadaQuebecSalesTaxNumber":{"shape":"CanadaQuebecSalesTaxNumberString"},
+ "canadaRetailSalesTaxNumber":{"shape":"CanadaRetailSalesTaxNumberString"},
+ "isResellerAccount":{"shape":"Boolean"},
+ "provincialSalesTaxId":{"shape":"CanadaProvincialSalesTaxIdString"}
+ }
+ },
+ "CanadaProvincialSalesTaxIdString":{
+ "type":"string",
+ "max":16,
+ "min":7,
+ "pattern":"^([0-9A-Z/-]+)$"
+ },
+ "CanadaQuebecSalesTaxNumberString":{
+ "type":"string",
+ "pattern":"^([0-9]{10})(TQ[0-9]{4})?$"
+ },
+ "CanadaRetailSalesTaxNumberString":{
+ "type":"string",
+ "pattern":"^([0-9]{6}-[0-9]{1})$"
+ },
+ "CcmCode":{
+ "type":"string",
+ "max":1024,
+ "min":0,
+ "pattern":"^\\d+$"
+ },
+ "CertifiedEmailId":{
+ "type":"string",
+ "pattern":"^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,20}$"
+ },
+ "CigNumber":{
+ "type":"string",
+ "pattern":"^([0-9A-Z]{1,15})$"
+ },
+ "City":{
+ "type":"string",
+ "max":50,
+ "min":1,
+ "pattern":"^(?!\\s*$)[\\s\\S]+$"
+ },
+ "ConflictException":{
+ "type":"structure",
+ "required":[
+ "errorCode",
+ "message"
+ ],
+ "members":{
+ "errorCode":{"shape":"ErrorCode"},
+ "message":{"shape":"ErrorMessage"}
+ },
+ "error":{
+ "httpStatusCode":409,
+ "senderFault":true
+ },
+ "exception":true
+ },
+ "CountryCode":{
+ "type":"string",
+ "max":2,
+ "min":2,
+ "pattern":"^[a-zA-Z]+$"
+ },
+ "CupNumber":{
+ "type":"string",
+ "pattern":"^([0-9A-Z]{1,15})$"
+ },
+ "DateOfBirth":{
+ "type":"string",
+ "max":10,
+ "min":10,
+ "pattern":"^(\\d{4}-(0[0-9]|1[0-2])-([0-2][0-9]|3[0-1]))$"
+ },
+ "DeleteTaxRegistrationRequest":{
+ "type":"structure",
+ "members":{
+ "accountId":{"shape":"AccountId"}
+ }
+ },
+ "DeleteTaxRegistrationResponse":{
+ "type":"structure",
+ "members":{
+ }
+ },
+ "DestinationFilePath":{
+ "type":"string",
+ "pattern":"^[\\s\\S]*$"
+ },
+ "DestinationS3Location":{
+ "type":"structure",
+ "required":["bucket"],
+ "members":{
+ "bucket":{"shape":"S3BucketName"},
+ "prefix":{"shape":"S3Prefix"}
+ }
+ },
+ "District":{
+ "type":"string",
+ "max":50,
+ "min":1,
+ "pattern":"^(?!\\s*$)[\\s\\S]+$"
+ },
+ "ErrorCode":{
+ "type":"string",
+ "max":50,
+ "min":0,
+ "pattern":"^[\\s\\S]*$"
+ },
+ "ErrorMessage":{
+ "type":"string",
+ "max":1024,
+ "min":0,
+ "pattern":"^[\\s\\S]*$",
+ "sensitive":true
+ },
+ "EstoniaAdditionalInfo":{
+ "type":"structure",
+ "required":["registryCommercialCode"],
+ "members":{
+ "registryCommercialCode":{"shape":"RegistryCommercialCode"}
+ }
+ },
+ "FieldName":{
+ "type":"string",
+ "pattern":"^(?!\\s*$)[\\s\\S]+$"
+ },
+ "GeorgiaAdditionalInfo":{
+ "type":"structure",
+ "required":["personType"],
+ "members":{
+ "personType":{"shape":"PersonType"}
+ }
+ },
+ "GetTaxRegistrationDocumentRequest":{
+ "type":"structure",
+ "required":[
+ "destinationS3Location",
+ "taxDocumentMetadata"
+ ],
+ "members":{
+ "destinationS3Location":{"shape":"DestinationS3Location"},
+ "taxDocumentMetadata":{"shape":"TaxDocumentMetadata"}
+ }
+ },
+ "GetTaxRegistrationDocumentResponse":{
+ "type":"structure",
+ "members":{
+ "destinationFilePath":{"shape":"DestinationFilePath"}
+ }
+ },
+ "GetTaxRegistrationRequest":{
+ "type":"structure",
+ "members":{
+ "accountId":{"shape":"AccountId"}
+ }
+ },
+ "GetTaxRegistrationResponse":{
+ "type":"structure",
+ "members":{
+ "taxRegistration":{"shape":"TaxRegistration"}
+ }
+ },
+ "IndiaAdditionalInfo":{
+ "type":"structure",
+ "members":{
+ "pan":{"shape":"Pan"}
+ }
+ },
+ "IndividualRegistrationNumber":{
+ "type":"string",
+ "pattern":"^([0-9]{10})$"
+ },
+ "Industries":{
+ "type":"string",
+ "enum":[
+ "CirculatingOrg",
+ "ProfessionalOrg",
+ "Banks",
+ "Insurance",
+ "PensionAndBenefitFunds",
+ "DevelopmentAgencies"
+ ]
+ },
+ "InheritanceObtainedReason":{
+ "type":"string",
+ "pattern":"^[\\s\\S]*$"
+ },
+ "InternalServerException":{
+ "type":"structure",
+ "required":[
+ "errorCode",
+ "message"
+ ],
+ "members":{
+ "errorCode":{"shape":"ErrorCode"},
+ "message":{"shape":"ErrorMessage"}
+ },
+ "error":{"httpStatusCode":500},
+ "exception":true,
+ "fault":true
+ },
+ "IsraelAdditionalInfo":{
+ "type":"structure",
+ "required":[
+ "customerType",
+ "dealerType"
+ ],
+ "members":{
+ "customerType":{"shape":"IsraelCustomerType"},
+ "dealerType":{"shape":"IsraelDealerType"}
+ }
+ },
+ "IsraelCustomerType":{
+ "type":"string",
+ "enum":[
+ "Business",
+ "Individual"
+ ]
+ },
+ "IsraelDealerType":{
+ "type":"string",
+ "enum":[
+ "Authorized",
+ "Non-authorized"
+ ]
+ },
+ "ItalyAdditionalInfo":{
+ "type":"structure",
+ "members":{
+ "cigNumber":{"shape":"CigNumber"},
+ "cupNumber":{"shape":"CupNumber"},
+ "sdiAccountId":{"shape":"SdiAccountId"},
+ "taxCode":{"shape":"TaxCode"}
+ }
+ },
+ "ItemOfBusiness":{
+ "type":"string",
+ "max":100,
+ "min":1,
+ "pattern":"^[0-9\\u3130-\\u318F\\uAC00-\\uD7AF,.( )-\\\\s]*$"
+ },
+ "Jurisdiction":{
+ "type":"structure",
+ "required":["countryCode"],
+ "members":{
+ "countryCode":{"shape":"CountryCode"},
+ "stateOrRegion":{"shape":"State"}
+ }
+ },
+ "KenyaAdditionalInfo":{
+ "type":"structure",
+ "required":["personType"],
+ "members":{
+ "personType":{"shape":"PersonType"}
+ }
+ },
+ "KepEmailId":{
+ "type":"string",
+ "pattern":"^[\\s\\S]*$"
+ },
+ "LegalName":{
+ "type":"string",
+ "max":200,
+ "min":1,
+ "pattern":"^(?!\\s*$)[\\s\\S]+$"
+ },
+ "LegalNatureCode":{
+ "type":"string",
+ "max":1024,
+ "min":0,
+ "pattern":"^\\d+$"
+ },
+ "LineOfBusiness":{
+ "type":"string",
+ "max":100,
+ "min":1,
+ "pattern":"^[0-9\\u3130-\\u318F\\uAC00-\\uD7AF,.( )-\\\\s]*$"
+ },
+ "ListTaxRegistrationsRequest":{
+ "type":"structure",
+ "members":{
+ "maxResults":{"shape":"MaxResults"},
+ "nextToken":{"shape":"PaginationTokenString"}
+ }
+ },
+ "ListTaxRegistrationsResponse":{
+ "type":"structure",
+ "required":["accountDetails"],
+ "members":{
+ "accountDetails":{"shape":"AccountDetailsList"},
+ "nextToken":{"shape":"PaginationTokenString"}
+ }
+ },
+ "MalaysiaAdditionalInfo":{
+ "type":"structure",
+ "required":["serviceTaxCodes"],
+ "members":{
+ "serviceTaxCodes":{"shape":"MalaysiaServiceTaxCodesList"}
+ }
+ },
+ "MalaysiaServiceTaxCode":{
+ "type":"string",
+ "enum":[
+ "Consultancy",
+ "Digital Service And Electronic Medium",
+ "IT Services",
+ "Training Or Coaching"
+ ]
+ },
+ "MalaysiaServiceTaxCodesList":{
+ "type":"list",
+ "member":{"shape":"MalaysiaServiceTaxCode"},
+ "max":4,
+ "min":1
+ },
+ "MaxResults":{
+ "type":"integer",
+ "box":true,
+ "max":1000,
+ "min":1
+ },
+ "PaginationTokenString":{
+ "type":"string",
+ "max":2000,
+ "min":1,
+ "pattern":"^[-A-Za-z0-9_+\\=\\/]+$"
+ },
+ "Pan":{
+ "type":"string",
+ "pattern":"^[A-Z]{5}[0-9]{4}[A-Z]{1}$"
+ },
+ "PersonType":{
+ "type":"string",
+ "enum":[
+ "Legal Person",
+ "Physical Person",
+ "Business"
+ ]
+ },
+ "PolandAdditionalInfo":{
+ "type":"structure",
+ "members":{
+ "individualRegistrationNumber":{"shape":"IndividualRegistrationNumber"},
+ "isGroupVatEnabled":{"shape":"Boolean"}
+ }
+ },
+ "PostalCode":{
+ "type":"string",
+ "max":20,
+ "min":1,
+ "pattern":"^(?!\\s*$)[\\s\\S]+$"
+ },
+ "PutTaxRegistrationRequest":{
+ "type":"structure",
+ "required":["taxRegistrationEntry"],
+ "members":{
+ "accountId":{"shape":"AccountId"},
+ "taxRegistrationEntry":{"shape":"TaxRegistrationEntry"}
+ }
+ },
+ "PutTaxRegistrationResponse":{
+ "type":"structure",
+ "members":{
+ "status":{"shape":"TaxRegistrationStatus"}
+ }
+ },
+ "RegistrationId":{
+ "type":"string",
+ "max":20,
+ "min":1,
+ "pattern":"^(?!\\s*$)[\\s\\S]+$"
+ },
+ "RegistrationType":{
+ "type":"string",
+ "enum":[
+ "Intra-EU",
+ "Local"
+ ]
+ },
+ "RegistryCommercialCode":{
+ "type":"string",
+ "max":8,
+ "min":8,
+ "pattern":"^\\d+$"
+ },
+ "ResourceNotFoundException":{
+ "type":"structure",
+ "required":[
+ "errorCode",
+ "message"
+ ],
+ "members":{
+ "errorCode":{"shape":"ErrorCode"},
+ "message":{"shape":"ErrorMessage"}
+ },
+ "error":{
+ "httpStatusCode":404,
+ "senderFault":true
+ },
+ "exception":true
+ },
+ "RomaniaAdditionalInfo":{
+ "type":"structure",
+ "required":["taxRegistrationNumberType"],
+ "members":{
+ "taxRegistrationNumberType":{"shape":"TaxRegistrationNumberType"}
+ }
+ },
+ "S3BucketName":{
+ "type":"string",
+ "max":63,
+ "min":3,
+ "pattern":"^(?=^.{3,63}$)(?!^(\\d+\\.)+\\d+$)(^(([a-z0-9]|[a-z0-9][a-z0-9\\-]*[a-z0-9])\\.)*([a-z0-9]|[a-z0-9][a-z0-9\\-]*[a-z0-9])$)$"
+ },
+ "S3Key":{
+ "type":"string",
+ "max":1024,
+ "min":1,
+ "pattern":"^.*\\S.*$"
+ },
+ "S3Prefix":{
+ "type":"string",
+ "max":512,
+ "min":0,
+ "pattern":"^.*\\S.*$"
+ },
+ "SaudiArabiaAdditionalInfo":{
+ "type":"structure",
+ "members":{
+ "taxRegistrationNumberType":{"shape":"SaudiArabiaTaxRegistrationNumberType"}
+ }
+ },
+ "SaudiArabiaTaxRegistrationNumberType":{
+ "type":"string",
+ "enum":[
+ "TaxRegistrationNumber",
+ "TaxIdentificationNumber",
+ "CommercialRegistrationNumber"
+ ]
+ },
+ "SdiAccountId":{
+ "type":"string",
+ "pattern":"^[0-9A-Z]{6,7}$"
+ },
+ "SecondaryTaxId":{
+ "type":"string",
+ "pattern":"^([0-9]{10})$"
+ },
+ "Sector":{
+ "type":"string",
+ "enum":[
+ "Business",
+ "Individual",
+ "Government"
+ ]
+ },
+ "Seller":{
+ "type":"string",
+ "pattern":"^[\\s\\S]*$"
+ },
+ "SourceS3Location":{
+ "type":"structure",
+ "required":[
+ "bucket",
+ "key"
+ ],
+ "members":{
+ "bucket":{"shape":"S3BucketName"},
+ "key":{"shape":"S3Key"}
+ }
+ },
+ "SouthKoreaAdditionalInfo":{
+ "type":"structure",
+ "required":[
+ "businessRepresentativeName",
+ "itemOfBusiness",
+ "lineOfBusiness"
+ ],
+ "members":{
+ "businessRepresentativeName":{"shape":"BusinessRepresentativeName"},
+ "itemOfBusiness":{"shape":"ItemOfBusiness"},
+ "lineOfBusiness":{"shape":"LineOfBusiness"}
+ }
+ },
+ "SpainAdditionalInfo":{
+ "type":"structure",
+ "required":["registrationType"],
+ "members":{
+ "registrationType":{"shape":"RegistrationType"}
+ }
+ },
+ "State":{
+ "type":"string",
+ "max":50,
+ "min":1,
+ "pattern":"^(?!\\s*$)[\\s\\S]+$"
+ },
+ "TaxCode":{
+ "type":"string",
+ "pattern":"^([0-9]{11}|[A-Z]{6}[0-9]{2}[A-Z][0-9]{2}[A-Z][0-9]{3}[A-Z])$"
+ },
+ "TaxDocumentAccessToken":{
+ "type":"string",
+ "pattern":"^[\\s\\S]*$"
+ },
+ "TaxDocumentMetadata":{
+ "type":"structure",
+ "required":[
+ "taxDocumentAccessToken",
+ "taxDocumentName"
+ ],
+ "members":{
+ "taxDocumentAccessToken":{"shape":"TaxDocumentAccessToken"},
+ "taxDocumentName":{"shape":"TaxDocumentName"}
+ }
+ },
+ "TaxDocumentMetadatas":{
+ "type":"list",
+ "member":{"shape":"TaxDocumentMetadata"},
+ "max":5,
+ "min":1
+ },
+ "TaxDocumentName":{
+ "type":"string",
+ "pattern":"^[\\s\\S]*$"
+ },
+ "TaxInheritanceDetails":{
+ "type":"structure",
+ "members":{
+ "inheritanceObtainedReason":{"shape":"InheritanceObtainedReason"},
+ "parentEntityId":{"shape":"AccountId"}
+ }
+ },
+ "TaxOffice":{
+ "type":"string",
+ "pattern":"^[\\s\\S]*$"
+ },
+ "TaxRegistration":{
+ "type":"structure",
+ "required":[
+ "legalAddress",
+ "legalName",
+ "registrationId",
+ "registrationType",
+ "status"
+ ],
+ "members":{
+ "additionalTaxInformation":{"shape":"AdditionalInfoResponse"},
+ "certifiedEmailId":{"shape":"CertifiedEmailId"},
+ "legalAddress":{"shape":"Address"},
+ "legalName":{"shape":"LegalName"},
+ "registrationId":{"shape":"RegistrationId"},
+ "registrationType":{"shape":"TaxRegistrationType"},
+ "sector":{"shape":"Sector"},
+ "status":{"shape":"TaxRegistrationStatus"},
+ "taxDocumentMetadatas":{"shape":"TaxDocumentMetadatas"}
+ },
+ "sensitive":true
+ },
+ "TaxRegistrationDocument":{
+ "type":"structure",
+ "required":["s3Location"],
+ "members":{
+ "s3Location":{"shape":"SourceS3Location"}
+ }
+ },
+ "TaxRegistrationDocuments":{
+ "type":"list",
+ "member":{"shape":"TaxRegistrationDocument"},
+ "max":5,
+ "min":1
+ },
+ "TaxRegistrationEntry":{
+ "type":"structure",
+ "required":[
+ "registrationId",
+ "registrationType"
+ ],
+ "members":{
+ "additionalTaxInformation":{"shape":"AdditionalInfoRequest"},
+ "certifiedEmailId":{"shape":"CertifiedEmailId"},
+ "legalAddress":{"shape":"Address"},
+ "legalName":{"shape":"LegalName"},
+ "registrationId":{"shape":"RegistrationId"},
+ "registrationType":{"shape":"TaxRegistrationType"},
+ "sector":{"shape":"Sector"},
+ "verificationDetails":{"shape":"VerificationDetails"}
+ },
+ "sensitive":true
+ },
+ "TaxRegistrationNumberType":{
+ "type":"string",
+ "enum":[
+ "TaxRegistrationNumber",
+ "LocalRegistrationNumber"
+ ]
+ },
+ "TaxRegistrationStatus":{
+ "type":"string",
+ "enum":[
+ "Verified",
+ "Pending",
+ "Deleted",
+ "Rejected"
+ ]
+ },
+ "TaxRegistrationType":{
+ "type":"string",
+ "enum":[
+ "VAT",
+ "GST",
+ "CPF",
+ "CNPJ",
+ "SST"
+ ]
+ },
+ "TaxRegistrationWithJurisdiction":{
+ "type":"structure",
+ "required":[
+ "jurisdiction",
+ "legalName",
+ "registrationId",
+ "registrationType",
+ "status"
+ ],
+ "members":{
+ "additionalTaxInformation":{"shape":"AdditionalInfoResponse"},
+ "certifiedEmailId":{"shape":"CertifiedEmailId"},
+ "jurisdiction":{"shape":"Jurisdiction"},
+ "legalName":{"shape":"LegalName"},
+ "registrationId":{"shape":"RegistrationId"},
+ "registrationType":{"shape":"TaxRegistrationType"},
+ "sector":{"shape":"Sector"},
+ "status":{"shape":"TaxRegistrationStatus"},
+ "taxDocumentMetadatas":{"shape":"TaxDocumentMetadatas"}
+ },
+ "sensitive":true
+ },
+ "TurkeyAdditionalInfo":{
+ "type":"structure",
+ "members":{
+ "industries":{"shape":"Industries"},
+ "kepEmailId":{"shape":"KepEmailId"},
+ "secondaryTaxId":{"shape":"SecondaryTaxId"},
+ "taxOffice":{"shape":"TaxOffice"}
+ }
+ },
+ "UkraineAdditionalInfo":{
+ "type":"structure",
+ "required":["ukraineTrnType"],
+ "members":{
+ "ukraineTrnType":{"shape":"UkraineTrnType"}
+ }
+ },
+ "UkraineTrnType":{
+ "type":"string",
+ "enum":[
+ "Business",
+ "Individual"
+ ]
+ },
+ "ValidationException":{
+ "type":"structure",
+ "required":[
+ "errorCode",
+ "message"
+ ],
+ "members":{
+ "errorCode":{"shape":"ValidationExceptionErrorCode"},
+ "fieldList":{"shape":"ValidationExceptionFieldList"},
+ "message":{"shape":"ErrorMessage"}
+ },
+ "error":{
+ "httpStatusCode":400,
+ "senderFault":true
+ },
+ "exception":true
+ },
+ "ValidationExceptionErrorCode":{
+ "type":"string",
+ "enum":[
+ "MalformedToken",
+ "ExpiredToken",
+ "InvalidToken",
+ "FieldValidationFailed",
+ "MissingInput"
+ ]
+ },
+ "ValidationExceptionField":{
+ "type":"structure",
+ "required":["name"],
+ "members":{
+ "name":{"shape":"FieldName"}
+ }
+ },
+ "ValidationExceptionFieldList":{
+ "type":"list",
+ "member":{"shape":"ValidationExceptionField"}
+ },
+ "VerificationDetails":{
+ "type":"structure",
+ "members":{
+ "dateOfBirth":{"shape":"DateOfBirth"},
+ "taxRegistrationDocuments":{"shape":"TaxRegistrationDocuments"}
+ }
+ }
+ }
+}
diff --git a/models/apis/taxsettings/2018-05-10/docs-2.json b/models/apis/taxsettings/2018-05-10/docs-2.json
new file mode 100644
index 00000000000..cf3f39a4c09
--- /dev/null
+++ b/models/apis/taxsettings/2018-05-10/docs-2.json
@@ -0,0 +1,781 @@
+{
+ "version": "2.0",
+ "service": "You can use the tax setting API to programmatically set, modify, and delete the tax registration number (TRN), associated business legal name, and address (Collectively referred to as \"TRN information\"). You can also programmatically view TRN information and tax addresses (\"Tax profiles\").
You can use this API to automate your TRN information settings instead of manually using the console.
Service Endpoint
",
+ "operations": {
+ "BatchDeleteTaxRegistration": "Deletes tax registration for multiple accounts in batch. This can be used to delete tax registrations for up to five accounts in one batch.
This API operation can't be used to delete your tax registration in Brazil. Use the Payment preferences page in the Billing and Cost Management console instead.
",
+ "BatchPutTaxRegistration": "Adds or updates tax registration for multiple accounts in batch. This can be used to add or update tax registrations for up to five accounts in one batch. You can't set a TRN if there's a pending TRN. You'll need to delete the pending TRN first.
To call this API operation for specific countries, see the following country-specific requirements.
Bangladesh
Brazil
-
You must complete the tax registration process in the Payment preferences page in the Billing and Cost Management console. After your TRN and billing address are verified, you can call this API operation.
-
For Amazon Web Services accounts created through Organizations, you can call this API operation when you don't have a billing address.
Georgia
Kenya
-
You must specify the personType
in the kenyaAdditionalInfo
field of the additionalTaxInformation
object.
-
If the personType
is Physical Person
, you must specify the tax registration certificate document in the taxRegistrationDocuments
field of the VerificationDetails
object.
Malaysia
-
If you use this operation to set a tax registration number (TRN) in Malaysia, only resellers with a valid sales and service tax (SST) number are required to provide tax registration information.
-
By using this API operation to set a TRN in Malaysia, Amazon Web Services will regard you as self-declaring that you're an authorized business reseller registered with the Royal Malaysia Customs Department (RMCD) and have a valid SST number.
-
Amazon Web Services reserves the right to seek additional information and/or take other actions to support your self-declaration as appropriate.
-
If you're not a reseller of Amazon Web Services, we don't recommend that you use this operation to set the TRN in Malaysia.
-
Only use this API operation to upload the TRNs for accounts through which you're reselling Amazon Web Services.
-
Amazon Web Services is currently registered under the following service tax codes. You must include at least one of the service tax codes in the service tax code strings to declare yourself as an authorized registered business reseller.
Taxable service and service tax codes:
Consultancy - 9907061674
Training or coaching service - 9907071685
IT service - 9907101676
Digital services and electronic medium - 9907121690
Nepal
Saudi Arabia
South Korea
-
You must specify the certifiedEmailId
and legalName
in the TaxRegistrationEntry
object. Use Korean characters for legalName
.
-
You must specify the businessRepresentativeName
, itemOfBusiness
, and lineOfBusiness
in the southKoreaAdditionalInfo
field of the additionalTaxInformation
object. Use Korean characters for these fields.
-
You must specify the tax registration certificate document in the taxRegistrationDocuments
field of the VerificationDetails
object.
-
For the address
object, use Korean characters for addressLine1
, addressLine2
city
, postalCode
, and stateOrRegion
.
Spain
-
You must specify the registrationType
in the spainAdditionalInfo
field of the additionalTaxInformation
object.
-
If the registrationType
is Local
, you must specify the tax registration certificate document in the taxRegistrationDocuments
field of the VerificationDetails
object.
Turkey
-
You must specify the sector
in the taxRegistrationEntry
object.
-
If your sector
is Business
, Individual
, or Government
:
-
Specify the taxOffice
. If your sector
is Individual
, don't enter this value.
-
(Optional) Specify the kepEmailId
. If your sector
is Individual
, don't enter this value.
-
Note: In the Tax Settings page of the Billing console, Government
appears as Public institutions
-
If your sector
is Business
and you're subject to KDV tax, you must specify your industry in the industries
field.
-
For address
, you must specify districtOrCounty
.
Ukraine
",
+ "DeleteTaxRegistration": "Deletes tax registration for a single account.
This API operation can't be used to delete your tax registration in Brazil. Use the Payment preferences page in the Billing and Cost Management console instead.
",
+ "GetTaxRegistration": "Retrieves tax registration for a single account.
",
+ "GetTaxRegistrationDocument": "Downloads your tax documents to the Amazon S3 bucket that you specify in your request.
",
+ "ListTaxRegistrations": "Retrieves the tax registration of accounts listed in a consolidated billing family. This can be used to retrieve up to 100 accounts' tax registrations in one call (default 50).
",
+ "PutTaxRegistration": "Adds or updates tax registration for a single account. You can't set a TRN if there's a pending TRN. You'll need to delete the pending TRN first.
To call this API operation for specific countries, see the following country-specific requirements.
Bangladesh
Brazil
-
You must complete the tax registration process in the Payment preferences page in the Billing and Cost Management console. After your TRN and billing address are verified, you can call this API operation.
-
For Amazon Web Services accounts created through Organizations, you can call this API operation when you don't have a billing address.
Georgia
Kenya
-
You must specify the personType
in the kenyaAdditionalInfo
field of the additionalTaxInformation
object.
-
If the personType
is Physical Person
, you must specify the tax registration certificate document in the taxRegistrationDocuments
field of the VerificationDetails
object.
Malaysia
-
If you use this operation to set a tax registration number (TRN) in Malaysia, only resellers with a valid sales and service tax (SST) number are required to provide tax registration information.
-
By using this API operation to set a TRN in Malaysia, Amazon Web Services will regard you as self-declaring that you're an authorized business reseller registered with the Royal Malaysia Customs Department (RMCD) and have a valid SST number.
-
Amazon Web Services reserves the right to seek additional information and/or take other actions to support your self-declaration as appropriate.
-
If you're not a reseller of Amazon Web Services, we don't recommend that you use this operation to set the TRN in Malaysia.
-
Only use this API operation to upload the TRNs for accounts through which you're reselling Amazon Web Services.
-
Amazon Web Services is currently registered under the following service tax codes. You must include at least one of the service tax codes in the service tax code strings to declare yourself as an authorized registered business reseller.
Taxable service and service tax codes:
Consultancy - 9907061674
Training or coaching service - 9907071685
IT service - 9907101676
Digital services and electronic medium - 9907121690
Nepal
Saudi Arabia
South Korea
-
You must specify the certifiedEmailId
and legalName
in the TaxRegistrationEntry
object. Use Korean characters for legalName
.
-
You must specify the businessRepresentativeName
, itemOfBusiness
, and lineOfBusiness
in the southKoreaAdditionalInfo
field of the additionalTaxInformation
object. Use Korean characters for these fields.
-
You must specify the tax registration certificate document in the taxRegistrationDocuments
field of the VerificationDetails
object.
-
For the address
object, use Korean characters for addressLine1
, addressLine2
city
, postalCode
, and stateOrRegion
.
Spain
-
You must specify the registrationType
in the spainAdditionalInfo
field of the additionalTaxInformation
object.
-
If the registrationType
is Local
, you must specify the tax registration certificate document in the taxRegistrationDocuments
field of the VerificationDetails
object.
Turkey
-
You must specify the sector
in the taxRegistrationEntry
object.
-
If your sector
is Business
, Individual
, or Government
:
-
Specify the taxOffice
. If your sector
is Individual
, don't enter this value.
-
(Optional) Specify the kepEmailId
. If your sector
is Individual
, don't enter this value.
-
Note: In the Tax Settings page of the Billing console, Government
appears as Public institutions
-
If your sector
is Business
and you're subject to KDV tax, you must specify your industry in the industries
field.
-
For address
, you must specify districtOrCounty
.
Ukraine
"
+ },
+ "shapes": {
+ "AccountDetails": {
+ "base": " An object with your accountId
and TRN information.
",
+ "refs": {
+ "AccountDetailsList$member": null
+ }
+ },
+ "AccountDetailsList": {
+ "base": null,
+ "refs": {
+ "ListTaxRegistrationsResponse$accountDetails": "The list of account details. This contains account Ids and TRN Information for each of the linked accounts.
"
+ }
+ },
+ "AccountId": {
+ "base": null,
+ "refs": {
+ "AccountDetails$accountId": "List of unique account identifiers.
",
+ "AccountIds$member": null,
+ "BatchDeleteTaxRegistrationError$accountId": " The unique account identifier for the account whose tax registration couldn't be deleted during the BatchDeleteTaxRegistration
operation.
",
+ "BatchPutTaxRegistrationError$accountId": " The unique account identifier for the account that the tax registration couldn't be added, or updated during the BatchPutTaxRegistration
operation.
",
+ "DeleteTaxRegistrationRequest$accountId": "Unique account identifier for the TRN information that needs to be deleted. If this isn't passed, the account ID corresponding to the credentials of the API caller will be used for this parameter.
",
+ "GetTaxRegistrationRequest$accountId": "Your unique account identifier.
",
+ "PutTaxRegistrationRequest$accountId": "Your unique account identifier.
",
+ "TaxInheritanceDetails$parentEntityId": " Tax inheritance parent account information associated with the account.
"
+ }
+ },
+ "AccountIds": {
+ "base": null,
+ "refs": {
+ "BatchDeleteTaxRegistrationRequest$accountIds": "List of unique account identifiers.
",
+ "BatchPutTaxRegistrationRequest$accountIds": " List of unique account identifiers.
"
+ }
+ },
+ "AccountMetaData": {
+ "base": " The meta data information associated with the account.
",
+ "refs": {
+ "AccountDetails$accountMetaData": " The meta data information associated with the account.
"
+ }
+ },
+ "AccountName": {
+ "base": null,
+ "refs": {
+ "AccountMetaData$accountName": " The Amazon Web Services accounts name.
"
+ }
+ },
+ "AdditionalInfoRequest": {
+ "base": "Additional tax information associated with your tax registration number (TRN). Depending on the TRN for a specific country, you might need to specify this information when you set your TRN.
You can only specify one of the following parameters and the value can't be empty.
The parameter that you specify must match the country for the TRN, if available. For example, if you set a TRN in Canada for specific provinces, you must also specify the canadaAdditionalInfo
parameter.
",
+ "refs": {
+ "TaxRegistrationEntry$additionalTaxInformation": " Additional tax information associated with your TRN. You only need to specify this parameter if Amazon Web Services collects any additional information for your country within AdditionalInfoRequest.
"
+ }
+ },
+ "AdditionalInfoResponse": {
+ "base": " Additional tax information associated with your TRN. The Tax Settings API returns country-specific information in the response when any additional information is present with your TRN for the following countries.
",
+ "refs": {
+ "TaxRegistration$additionalTaxInformation": " Additional tax information associated with your TRN.
",
+ "TaxRegistrationWithJurisdiction$additionalTaxInformation": "Additional tax information associated with your TRN.
"
+ }
+ },
+ "Address": {
+ "base": " The details of the address associated with the TRN information.
",
+ "refs": {
+ "AccountMetaData$address": null,
+ "TaxRegistration$legalAddress": " The legal address associated with your TRN registration.
",
+ "TaxRegistrationEntry$legalAddress": "The legal address associated with your TRN.
If you're setting a TRN in Brazil for the CNPJ tax type, you don't need to specify the legal address.
For TRNs in other countries and for CPF tax types Brazil, you must specify the legal address.
"
+ }
+ },
+ "AddressLine1": {
+ "base": null,
+ "refs": {
+ "Address$addressLine1": "The first line of the address.
"
+ }
+ },
+ "AddressLine2": {
+ "base": null,
+ "refs": {
+ "Address$addressLine2": "The second line of the address, if applicable.
"
+ }
+ },
+ "AddressLine3": {
+ "base": null,
+ "refs": {
+ "Address$addressLine3": " The third line of the address, if applicable. Currently, the Tax Settings API accepts the addressLine3
parameter only for Saudi Arabia. When you specify a TRN in Saudi Arabia, you must enter the addressLine3
and specify the building number for the address. For example, you might enter 1234
.
"
+ }
+ },
+ "AddressRoleMap": {
+ "base": null,
+ "refs": {
+ "AccountMetaData$addressRoleMap": " Address roles associated with the account containing country code information.
"
+ }
+ },
+ "AddressRoleType": {
+ "base": null,
+ "refs": {
+ "AccountMetaData$addressType": " The type of address associated with the legal profile.
",
+ "AddressRoleMap$key": null
+ }
+ },
+ "BatchDeleteTaxRegistrationError": {
+ "base": " The error object for representing failures in the BatchDeleteTaxRegistration
operation.
",
+ "refs": {
+ "BatchDeleteTaxRegistrationErrors$member": null
+ }
+ },
+ "BatchDeleteTaxRegistrationErrors": {
+ "base": null,
+ "refs": {
+ "BatchDeleteTaxRegistrationResponse$errors": "The list of errors for the accounts the TRN information could not be deleted for.
"
+ }
+ },
+ "BatchDeleteTaxRegistrationRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "BatchDeleteTaxRegistrationResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "BatchPutTaxRegistrationError": {
+ "base": " The error object for representing failures in the BatchPutTaxRegistration
operation.
",
+ "refs": {
+ "BatchPutTaxRegistrationErrors$member": null
+ }
+ },
+ "BatchPutTaxRegistrationErrors": {
+ "base": null,
+ "refs": {
+ "BatchPutTaxRegistrationResponse$errors": "List of errors for the accounts the TRN information could not be added or updated to.
"
+ }
+ },
+ "BatchPutTaxRegistrationRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "BatchPutTaxRegistrationResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "Boolean": {
+ "base": null,
+ "refs": {
+ "CanadaAdditionalInfo$isResellerAccount": " The value for this parameter must be true
if the provincialSalesTaxId
value is provided for a TRN in British Columbia, Saskatchewan, or Manitoba provinces.
To claim a provincial sales tax (PST) and retail sales tax (RST) reseller exemption, you must confirm that purchases from this account were made for resale. Otherwise, remove the PST or RST number from the provincialSalesTaxId
parameter from your request.
",
+ "PolandAdditionalInfo$isGroupVatEnabled": " True if your business is a member of a VAT group with a NIP active for VAT purposes. Otherwise, this is false.
"
+ }
+ },
+ "BrazilAdditionalInfo": {
+ "base": "Additional tax information associated with your TRN in Brazil.
",
+ "refs": {
+ "AdditionalInfoResponse$brazilAdditionalInfo": "Additional tax information associated with your TRN in Brazil. The Tax Settings API returns this information in your response when any additional information is present with your TRN in Brazil.
"
+ }
+ },
+ "BusinessRepresentativeName": {
+ "base": null,
+ "refs": {
+ "SouthKoreaAdditionalInfo$businessRepresentativeName": "The business legal name based on the most recently uploaded tax registration certificate.
"
+ }
+ },
+ "CanadaAdditionalInfo": {
+ "base": " Additional tax information associated with your TRN in Canada .
",
+ "refs": {
+ "AdditionalInfoRequest$canadaAdditionalInfo": " Additional tax information associated with your TRN in Canada.
",
+ "AdditionalInfoResponse$canadaAdditionalInfo": "Additional tax information associated with your TRN in Canada.
"
+ }
+ },
+ "CanadaProvincialSalesTaxIdString": {
+ "base": null,
+ "refs": {
+ "CanadaAdditionalInfo$provincialSalesTaxId": " The provincial sales tax ID for your TRN in Canada. This parameter can represent the following:
-
Provincial sales tax ID number for British Columbia and Saskatchewan provinces
-
Manitoba retail sales tax ID number for Manitoba province
-
Quebec sales tax ID number for Quebec province
The Tax Setting API only accepts this parameter if the TRN is specified for the previous provinces. For other provinces, the Tax Settings API doesn't accept this parameter.
"
+ }
+ },
+ "CanadaQuebecSalesTaxNumberString": {
+ "base": null,
+ "refs": {
+ "CanadaAdditionalInfo$canadaQuebecSalesTaxNumber": " The Quebec Sales Tax ID number. Leave blank if you do not have a Quebec Sales Tax ID number.
"
+ }
+ },
+ "CanadaRetailSalesTaxNumberString": {
+ "base": null,
+ "refs": {
+ "CanadaAdditionalInfo$canadaRetailSalesTaxNumber": " Manitoba Retail Sales Tax ID number. Customers purchasing Amazon Web Services for resale in Manitoba must provide a valid Retail Sales Tax ID number for Manitoba. Leave this blank if you do not have a Retail Sales Tax ID number in Manitoba or are not purchasing Amazon Web Services for resale.
"
+ }
+ },
+ "CcmCode": {
+ "base": null,
+ "refs": {
+ "BrazilAdditionalInfo$ccmCode": "The Cadastro de Contribuintes Mobiliários (CCM) code for your TRN in Brazil. This only applies for a CNPJ tax type for the São Paulo municipality.
"
+ }
+ },
+ "CertifiedEmailId": {
+ "base": null,
+ "refs": {
+ "TaxRegistration$certifiedEmailId": "The email address to receive VAT invoices.
",
+ "TaxRegistrationEntry$certifiedEmailId": "The email address to receive VAT invoices.
",
+ "TaxRegistrationWithJurisdiction$certifiedEmailId": "The email address to receive VAT invoices.
"
+ }
+ },
+ "CigNumber": {
+ "base": null,
+ "refs": {
+ "ItalyAdditionalInfo$cigNumber": " The tender procedure identification code.
"
+ }
+ },
+ "City": {
+ "base": null,
+ "refs": {
+ "Address$city": "The city that the address is in.
"
+ }
+ },
+ "ConflictException": {
+ "base": "The exception when the input is creating conflict with the given state.
",
+ "refs": {
+ }
+ },
+ "CountryCode": {
+ "base": null,
+ "refs": {
+ "Address$countryCode": "The country code for the country that the address is in.
",
+ "Jurisdiction$countryCode": " The country code of the jurisdiction.
"
+ }
+ },
+ "CupNumber": {
+ "base": null,
+ "refs": {
+ "ItalyAdditionalInfo$cupNumber": " Additional tax information to specify for a TRN in Italy. This is managed by the Interministerial Committee for Economic Planning (CIPE) which characterizes every public investment project (Individual Project Code).
"
+ }
+ },
+ "DateOfBirth": {
+ "base": null,
+ "refs": {
+ "VerificationDetails$dateOfBirth": "Date of birth to verify your submitted TRN. Use the YYYY-MM-DD
format.
"
+ }
+ },
+ "DeleteTaxRegistrationRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteTaxRegistrationResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DestinationFilePath": {
+ "base": null,
+ "refs": {
+ "GetTaxRegistrationDocumentResponse$destinationFilePath": "The file path of the Amazon S3 bucket where you want to download your tax document to.
"
+ }
+ },
+ "DestinationS3Location": {
+ "base": "The location of the Amazon S3 bucket that you specify to download your tax documents to.
",
+ "refs": {
+ "GetTaxRegistrationDocumentRequest$destinationS3Location": "The Amazon S3 bucket that you specify to download your tax documents to.
"
+ }
+ },
+ "District": {
+ "base": null,
+ "refs": {
+ "Address$districtOrCounty": "The district or county the address is located.
For addresses in Brazil, this parameter uses the name of the neighborhood. When you set a TRN in Brazil, use districtOrCounty
for the neighborhood name.
"
+ }
+ },
+ "ErrorCode": {
+ "base": null,
+ "refs": {
+ "BatchDeleteTaxRegistrationError$code": " The error code for an individual failure in BatchDeleteTaxRegistration operation.
",
+ "BatchPutTaxRegistrationError$code": " The error code for an individual failure in the BatchPutTaxRegistration
operation.
",
+ "ConflictException$errorCode": "409
",
+ "InternalServerException$errorCode": "500
",
+ "ResourceNotFoundException$errorCode": "404
"
+ }
+ },
+ "ErrorMessage": {
+ "base": null,
+ "refs": {
+ "BatchDeleteTaxRegistrationError$message": " The error message for an individual failure in the BatchDeleteTaxRegistration
operation.
",
+ "BatchPutTaxRegistrationError$message": " The error message for an individual failure in the BatchPutTaxRegistration
operation.
",
+ "ConflictException$message": null,
+ "InternalServerException$message": null,
+ "ResourceNotFoundException$message": null,
+ "ValidationException$message": null
+ }
+ },
+ "EstoniaAdditionalInfo": {
+ "base": " Additional tax information associated with your TRN in Estonia.
",
+ "refs": {
+ "AdditionalInfoRequest$estoniaAdditionalInfo": " Additional tax information to specify for a TRN in Estonia.
",
+ "AdditionalInfoResponse$estoniaAdditionalInfo": " Additional tax information associated with your TRN in Estonia.
"
+ }
+ },
+ "FieldName": {
+ "base": null,
+ "refs": {
+ "ValidationExceptionField$name": "The name of the parameter that caused a ValidationException
error.
"
+ }
+ },
+ "GeorgiaAdditionalInfo": {
+ "base": " Additional tax information associated with your TRN in Georgia.
",
+ "refs": {
+ "AdditionalInfoRequest$georgiaAdditionalInfo": " Additional tax information to specify for a TRN in Georgia.
",
+ "AdditionalInfoResponse$georgiaAdditionalInfo": " Additional tax information associated with your TRN in Georgia.
"
+ }
+ },
+ "GetTaxRegistrationDocumentRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetTaxRegistrationDocumentResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetTaxRegistrationRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetTaxRegistrationResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "IndiaAdditionalInfo": {
+ "base": " Additional tax information in India.
",
+ "refs": {
+ "AdditionalInfoResponse$indiaAdditionalInfo": " Additional tax information in India.
"
+ }
+ },
+ "IndividualRegistrationNumber": {
+ "base": null,
+ "refs": {
+ "PolandAdditionalInfo$individualRegistrationNumber": " The individual tax registration number (NIP). Individual NIP is valid for other taxes excluding VAT purposes.
"
+ }
+ },
+ "Industries": {
+ "base": null,
+ "refs": {
+ "TurkeyAdditionalInfo$industries": "The industry information that tells the Tax Settings API if you're subject to additional withholding taxes. This information required for business-to-business (B2B) customers. This information is conditionally mandatory for B2B customers who are subject to KDV tax.
"
+ }
+ },
+ "InheritanceObtainedReason": {
+ "base": null,
+ "refs": {
+ "TaxInheritanceDetails$inheritanceObtainedReason": " Tax inheritance reason information associated with the account.
"
+ }
+ },
+ "InternalServerException": {
+ "base": "The exception thrown when an unexpected error occurs when processing a request.
",
+ "refs": {
+ }
+ },
+ "IsraelAdditionalInfo": {
+ "base": " Additional tax information associated with your TRN in Israel.
",
+ "refs": {
+ "AdditionalInfoRequest$israelAdditionalInfo": " Additional tax information to specify for a TRN in Israel.
",
+ "AdditionalInfoResponse$israelAdditionalInfo": " Additional tax information associated with your TRN in Israel.
"
+ }
+ },
+ "IsraelCustomerType": {
+ "base": null,
+ "refs": {
+ "IsraelAdditionalInfo$customerType": " Customer type for your TRN in Israel. The value can be Business
or Individual
. Use Business
for entities such as not-for-profit and financial institutions.
"
+ }
+ },
+ "IsraelDealerType": {
+ "base": null,
+ "refs": {
+ "IsraelAdditionalInfo$dealerType": " Dealer type for your TRN in Israel. If you're not a local authorized dealer with an Israeli VAT ID, specify your tax identification number so that Amazon Web Services can send you a compliant tax invoice.
"
+ }
+ },
+ "ItalyAdditionalInfo": {
+ "base": " Additional tax information associated with your TRN in Italy.
",
+ "refs": {
+ "AdditionalInfoRequest$italyAdditionalInfo": " Additional tax information to specify for a TRN in Italy.
",
+ "AdditionalInfoResponse$italyAdditionalInfo": " Additional tax information associated with your TRN in Italy.
"
+ }
+ },
+ "ItemOfBusiness": {
+ "base": null,
+ "refs": {
+ "SouthKoreaAdditionalInfo$itemOfBusiness": "Item of business based on the most recently uploaded tax registration certificate.
"
+ }
+ },
+ "Jurisdiction": {
+ "base": "The jurisdiction details of the TRN information of the customers. This doesn't contain full legal address, and contains only country code and state/region/province.
",
+ "refs": {
+ "AddressRoleMap$value": null,
+ "TaxRegistrationWithJurisdiction$jurisdiction": " The jurisdiction associated with your TRN information.
"
+ }
+ },
+ "KenyaAdditionalInfo": {
+ "base": "Additional tax information associated with your TRN in Kenya.
",
+ "refs": {
+ "AdditionalInfoRequest$kenyaAdditionalInfo": "Additional tax information to specify for a TRN in Kenya.
",
+ "AdditionalInfoResponse$kenyaAdditionalInfo": "Additional tax information associated with your TRN in Kenya.
"
+ }
+ },
+ "KepEmailId": {
+ "base": null,
+ "refs": {
+ "TurkeyAdditionalInfo$kepEmailId": "The Registered Electronic Mail (REM) that is used to send notarized communication. This parameter is optional for business-to-business (B2B) and business-to-government (B2G) customers. It's not required for business-to-consumer (B2C) customers.
"
+ }
+ },
+ "LegalName": {
+ "base": null,
+ "refs": {
+ "TaxRegistration$legalName": " The legal name associated with your TRN registration.
",
+ "TaxRegistrationEntry$legalName": "The legal name associated with your TRN.
If you're setting a TRN in Brazil, you don't need to specify the legal name. For TRNs in other countries, you must specify the legal name.
",
+ "TaxRegistrationWithJurisdiction$legalName": "The legal name associated with your TRN information.
"
+ }
+ },
+ "LegalNatureCode": {
+ "base": null,
+ "refs": {
+ "BrazilAdditionalInfo$legalNatureCode": "Legal nature of business, based on your TRN in Brazil. This only applies for a CNPJ tax type.
"
+ }
+ },
+ "LineOfBusiness": {
+ "base": null,
+ "refs": {
+ "SouthKoreaAdditionalInfo$lineOfBusiness": "Line of business based on the most recently uploaded tax registration certificate.
"
+ }
+ },
+ "ListTaxRegistrationsRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListTaxRegistrationsResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "MalaysiaAdditionalInfo": {
+ "base": " Additional tax information associated with your TRN in Malaysia.
",
+ "refs": {
+ "AdditionalInfoRequest$malaysiaAdditionalInfo": " Additional tax information to specify for a TRN in Malaysia.
",
+ "AdditionalInfoResponse$malaysiaAdditionalInfo": " Additional tax information associated with your TRN in Malaysia.
"
+ }
+ },
+ "MalaysiaServiceTaxCode": {
+ "base": null,
+ "refs": {
+ "MalaysiaServiceTaxCodesList$member": null
+ }
+ },
+ "MalaysiaServiceTaxCodesList": {
+ "base": null,
+ "refs": {
+ "MalaysiaAdditionalInfo$serviceTaxCodes": "List of service tax codes for your TRN in Malaysia.
"
+ }
+ },
+ "MaxResults": {
+ "base": null,
+ "refs": {
+ "ListTaxRegistrationsRequest$maxResults": "Number of accountDetails
results you want in one response.
"
+ }
+ },
+ "PaginationTokenString": {
+ "base": null,
+ "refs": {
+ "ListTaxRegistrationsRequest$nextToken": "The token to retrieve the next set of results.
",
+ "ListTaxRegistrationsResponse$nextToken": " The token to retrieve the next set of results.
"
+ }
+ },
+ "Pan": {
+ "base": null,
+ "refs": {
+ "IndiaAdditionalInfo$pan": " India pan information associated with the account.
"
+ }
+ },
+ "PersonType": {
+ "base": null,
+ "refs": {
+ "GeorgiaAdditionalInfo$personType": " The legal person or physical person assigned to this TRN in Georgia.
",
+ "KenyaAdditionalInfo$personType": "The legal person or physical person assigned to this TRN in Kenya.
"
+ }
+ },
+ "PolandAdditionalInfo": {
+ "base": " Additional tax information associated with your TRN in Poland.
",
+ "refs": {
+ "AdditionalInfoRequest$polandAdditionalInfo": " Additional tax information associated with your TRN in Poland.
",
+ "AdditionalInfoResponse$polandAdditionalInfo": " Additional tax information associated with your TRN in Poland.
"
+ }
+ },
+ "PostalCode": {
+ "base": null,
+ "refs": {
+ "Address$postalCode": " The postal code associated with the address.
"
+ }
+ },
+ "PutTaxRegistrationRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "PutTaxRegistrationResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "RegistrationId": {
+ "base": null,
+ "refs": {
+ "TaxRegistration$registrationId": " Your tax registration unique identifier.
",
+ "TaxRegistrationEntry$registrationId": "Your tax registration unique identifier.
",
+ "TaxRegistrationWithJurisdiction$registrationId": "Your tax registration unique identifier.
"
+ }
+ },
+ "RegistrationType": {
+ "base": null,
+ "refs": {
+ "SpainAdditionalInfo$registrationType": "The registration type in Spain.
"
+ }
+ },
+ "RegistryCommercialCode": {
+ "base": null,
+ "refs": {
+ "EstoniaAdditionalInfo$registryCommercialCode": " Registry commercial code (RCC) for your TRN in Estonia. This value is an eight-numeric string, such as 12345678
.
"
+ }
+ },
+ "ResourceNotFoundException": {
+ "base": "The exception thrown when the input doesn't have a resource associated to it.
",
+ "refs": {
+ }
+ },
+ "RomaniaAdditionalInfo": {
+ "base": "Additional tax information to specify for a TRN in Romania.
",
+ "refs": {
+ "AdditionalInfoRequest$romaniaAdditionalInfo": "Additional tax information to specify for a TRN in Romania.
",
+ "AdditionalInfoResponse$romaniaAdditionalInfo": "Additional tax information to specify for a TRN in Romania.
"
+ }
+ },
+ "S3BucketName": {
+ "base": null,
+ "refs": {
+ "DestinationS3Location$bucket": "The name of your Amazon S3 bucket that you specify to download your tax documents to.
",
+ "SourceS3Location$bucket": "The name of your Amazon S3 bucket that your tax document is located.
"
+ }
+ },
+ "S3Key": {
+ "base": null,
+ "refs": {
+ "SourceS3Location$key": "The object key of your tax document object in Amazon S3.
"
+ }
+ },
+ "S3Prefix": {
+ "base": null,
+ "refs": {
+ "DestinationS3Location$prefix": "The Amazon S3 object prefix that you specify for your tax document file.
"
+ }
+ },
+ "SaudiArabiaAdditionalInfo": {
+ "base": " Additional tax information associated with your TRN in Saudi Arabia.
",
+ "refs": {
+ "AdditionalInfoRequest$saudiArabiaAdditionalInfo": " Additional tax information associated with your TRN in Saudi Arabia.
",
+ "AdditionalInfoResponse$saudiArabiaAdditionalInfo": " Additional tax information associated with your TRN in Saudi Arabia.
"
+ }
+ },
+ "SaudiArabiaTaxRegistrationNumberType": {
+ "base": null,
+ "refs": {
+ "SaudiArabiaAdditionalInfo$taxRegistrationNumberType": " The tax registration number type.
"
+ }
+ },
+ "SdiAccountId": {
+ "base": null,
+ "refs": {
+ "ItalyAdditionalInfo$sdiAccountId": " Additional tax information to specify for a TRN in Italy. Use CodiceDestinatario to receive your invoices via web service (API) or FTP.
"
+ }
+ },
+ "SecondaryTaxId": {
+ "base": null,
+ "refs": {
+ "TurkeyAdditionalInfo$secondaryTaxId": " Secondary tax ID (“harcama birimi VKN”si”). If one isn't provided, we will use your VKN as the secondary ID.
"
+ }
+ },
+ "Sector": {
+ "base": null,
+ "refs": {
+ "TaxRegistration$sector": "The industry that describes your business. For business-to-business (B2B) customers, specify Business. For business-to-consumer (B2C) customers, specify Individual. For business-to-government (B2G), specify Government. Note that certain values may not applicable for the request country. Please refer to country specific information in API document.
",
+ "TaxRegistrationEntry$sector": "The industry that describes your business. For business-to-business (B2B) customers, specify Business. For business-to-consumer (B2C) customers, specify Individual. For business-to-government (B2G), specify Government.Note that certain values may not applicable for the request country. Please refer to country specific information in API document.
",
+ "TaxRegistrationWithJurisdiction$sector": "The industry that describes your business. For business-to-business (B2B) customers, specify Business. For business-to-consumer (B2C) customers, specify Individual. For business-to-government (B2G), specify Government.Note that certain values may not applicable for the request country. Please refer to country specific information in API document.
"
+ }
+ },
+ "Seller": {
+ "base": null,
+ "refs": {
+ "AccountMetaData$seller": " Seller information associated with the account.
"
+ }
+ },
+ "SourceS3Location": {
+ "base": "The Amazon S3 bucket in your account where your tax document is located.
",
+ "refs": {
+ "TaxRegistrationDocument$s3Location": "The Amazon S3 location where your tax registration document is stored.
"
+ }
+ },
+ "SouthKoreaAdditionalInfo": {
+ "base": "Additional tax information associated with your TRN in South Korea.
",
+ "refs": {
+ "AdditionalInfoRequest$southKoreaAdditionalInfo": "Additional tax information to specify for a TRN in South Korea.
",
+ "AdditionalInfoResponse$southKoreaAdditionalInfo": "Additional tax information associated with your TRN in South Korea.
"
+ }
+ },
+ "SpainAdditionalInfo": {
+ "base": "Additional tax information associated with your TRN in Spain.
",
+ "refs": {
+ "AdditionalInfoRequest$spainAdditionalInfo": "Additional tax information to specify for a TRN in Spain.
",
+ "AdditionalInfoResponse$spainAdditionalInfo": "Additional tax information associated with your TRN in Spain.
"
+ }
+ },
+ "State": {
+ "base": null,
+ "refs": {
+ "Address$stateOrRegion": "The state, region, or province that the address is located.
If this is required for tax settings, use the same name as shown on the Tax Settings page.
",
+ "Jurisdiction$stateOrRegion": " The state, region, or province associated with the country of the jurisdiction, if applicable.
"
+ }
+ },
+ "TaxCode": {
+ "base": null,
+ "refs": {
+ "ItalyAdditionalInfo$taxCode": "List of service tax codes for your TRN in Italy. You can use your customer tax code as part of a VAT Group.
"
+ }
+ },
+ "TaxDocumentAccessToken": {
+ "base": null,
+ "refs": {
+ "TaxDocumentMetadata$taxDocumentAccessToken": "The tax document access token, which contains information that the Tax Settings API uses to locate the tax document.
If you update your tax registration, the existing taxDocumentAccessToken
won't be valid. To get the latest token, call the GetTaxRegistration
or ListTaxRegistrations
API operation. This token is valid for 24 hours.
"
+ }
+ },
+ "TaxDocumentMetadata": {
+ "base": "The metadata for your tax document.
",
+ "refs": {
+ "GetTaxRegistrationDocumentRequest$taxDocumentMetadata": "The metadata for your tax document.
",
+ "TaxDocumentMetadatas$member": null
+ }
+ },
+ "TaxDocumentMetadatas": {
+ "base": null,
+ "refs": {
+ "TaxRegistration$taxDocumentMetadatas": "The metadata for your tax document.
",
+ "TaxRegistrationWithJurisdiction$taxDocumentMetadatas": "The metadata for your tax document.
"
+ }
+ },
+ "TaxDocumentName": {
+ "base": null,
+ "refs": {
+ "TaxDocumentMetadata$taxDocumentName": "The name of your tax document.
"
+ }
+ },
+ "TaxInheritanceDetails": {
+ "base": " Tax inheritance information associated with the account.
",
+ "refs": {
+ "AccountDetails$taxInheritanceDetails": " Tax inheritance information associated with the account.
"
+ }
+ },
+ "TaxOffice": {
+ "base": null,
+ "refs": {
+ "TurkeyAdditionalInfo$taxOffice": "The tax office where you're registered. You can enter this information as a string. The Tax Settings API will add this information to your invoice. This parameter is required for business-to-business (B2B) and business-to-government customers. It's not required for business-to-consumer (B2C) customers.
"
+ }
+ },
+ "TaxRegistration": {
+ "base": "Your TRN information.
",
+ "refs": {
+ "GetTaxRegistrationResponse$taxRegistration": "TRN information of the account mentioned in the request.
"
+ }
+ },
+ "TaxRegistrationDocument": {
+ "base": "Tax registration document information.
",
+ "refs": {
+ "TaxRegistrationDocuments$member": null
+ }
+ },
+ "TaxRegistrationDocuments": {
+ "base": null,
+ "refs": {
+ "VerificationDetails$taxRegistrationDocuments": "The tax registration document, which is required for specific countries such as Bangladesh, Kenya, South Korea and Spain.
"
+ }
+ },
+ "TaxRegistrationEntry": {
+ "base": "The TRN information you provide when you add a new TRN, or update.
",
+ "refs": {
+ "BatchPutTaxRegistrationRequest$taxRegistrationEntry": "Your TRN information that will be stored to the accounts mentioned in putEntries
.
",
+ "PutTaxRegistrationRequest$taxRegistrationEntry": " Your TRN information that will be stored to the account mentioned in accountId
.
"
+ }
+ },
+ "TaxRegistrationNumberType": {
+ "base": null,
+ "refs": {
+ "RomaniaAdditionalInfo$taxRegistrationNumberType": " The tax registration number type. The value can be TaxRegistrationNumber
or LocalRegistrationNumber
.
"
+ }
+ },
+ "TaxRegistrationStatus": {
+ "base": null,
+ "refs": {
+ "BatchPutTaxRegistrationResponse$status": "The status of your TRN stored in the system after processing. Based on the validation occurring on the TRN, the status can be Verified
, Pending
or Rejected
.
",
+ "PutTaxRegistrationResponse$status": "The status of your TRN stored in the system after processing. Based on the validation occurring on the TRN, the status can be Verified
, Pending
or Rejected
.
",
+ "TaxRegistration$status": " The status of your TRN. This can be either Verified
, Pending
, Deleted
, or Rejected
.
",
+ "TaxRegistrationWithJurisdiction$status": "The status of your TRN. This can be either Verified
, Pending
, Deleted
, or Rejected
.
"
+ }
+ },
+ "TaxRegistrationType": {
+ "base": null,
+ "refs": {
+ "TaxRegistration$registrationType": "Type of your tax registration. This can be either VAT
or GST
.
",
+ "TaxRegistrationEntry$registrationType": " Your tax registration type. This can be either VAT
or GST
.
",
+ "TaxRegistrationWithJurisdiction$registrationType": " The type of your tax registration. This can be either VAT
or GST
.
"
+ }
+ },
+ "TaxRegistrationWithJurisdiction": {
+ "base": "Your TRN information with jurisdiction details. This doesn't contain the full legal address associated with the TRN information.
",
+ "refs": {
+ "AccountDetails$taxRegistration": "Your TRN information. Instead of having full legal address, here TRN information will have jurisdiction details (for example, country code and state/region/province if applicable).
"
+ }
+ },
+ "TurkeyAdditionalInfo": {
+ "base": "Additional tax information associated with your TRN in Turkey.
",
+ "refs": {
+ "AdditionalInfoRequest$turkeyAdditionalInfo": "Additional tax information to specify for a TRN in Turkey.
",
+ "AdditionalInfoResponse$turkeyAdditionalInfo": "Additional tax information associated with your TRN in Turkey.
"
+ }
+ },
+ "UkraineAdditionalInfo": {
+ "base": " Additional tax information associated with your TRN in Ukraine.
",
+ "refs": {
+ "AdditionalInfoRequest$ukraineAdditionalInfo": " Additional tax information associated with your TRN in Ukraine.
",
+ "AdditionalInfoResponse$ukraineAdditionalInfo": " Additional tax information associated with your TRN in Ukraine.
"
+ }
+ },
+ "UkraineTrnType": {
+ "base": null,
+ "refs": {
+ "UkraineAdditionalInfo$ukraineTrnType": " The tax registration type.
"
+ }
+ },
+ "ValidationException": {
+ "base": "The exception when the input doesn't pass validation for at least one of the input parameters.
",
+ "refs": {
+ }
+ },
+ "ValidationExceptionErrorCode": {
+ "base": null,
+ "refs": {
+ "ValidationException$errorCode": "400
"
+ }
+ },
+ "ValidationExceptionField": {
+ "base": "The information about the specified parameter in the request that caused an error.
",
+ "refs": {
+ "ValidationExceptionFieldList$member": null
+ }
+ },
+ "ValidationExceptionFieldList": {
+ "base": null,
+ "refs": {
+ "ValidationException$fieldList": "400
"
+ }
+ },
+ "VerificationDetails": {
+ "base": "Required information to verify your TRN.
",
+ "refs": {
+ "TaxRegistrationEntry$verificationDetails": "Additional details needed to verify your TRN information in Brazil. You only need to specify this parameter when you set a TRN in Brazil that is the CPF tax type.
Don't specify this parameter to set a TRN in Brazil of the CNPJ tax type or to set a TRN for another country.
"
+ }
+ }
+ }
+}
diff --git a/models/apis/taxsettings/2018-05-10/endpoint-rule-set-1.json b/models/apis/taxsettings/2018-05-10/endpoint-rule-set-1.json
new file mode 100644
index 00000000000..177f908c8b1
--- /dev/null
+++ b/models/apis/taxsettings/2018-05-10/endpoint-rule-set-1.json
@@ -0,0 +1,350 @@
+{
+ "version": "1.0",
+ "parameters": {
+ "Region": {
+ "builtIn": "AWS::Region",
+ "required": false,
+ "documentation": "The AWS region used to dispatch the request.",
+ "type": "String"
+ },
+ "UseDualStack": {
+ "builtIn": "AWS::UseDualStack",
+ "required": true,
+ "default": false,
+ "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
+ "type": "Boolean"
+ },
+ "UseFIPS": {
+ "builtIn": "AWS::UseFIPS",
+ "required": true,
+ "default": false,
+ "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
+ "type": "Boolean"
+ },
+ "Endpoint": {
+ "builtIn": "SDK::Endpoint",
+ "required": false,
+ "documentation": "Override the endpoint used to send this request",
+ "type": "String"
+ }
+ },
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "isSet",
+ "argv": [
+ {
+ "ref": "Endpoint"
+ }
+ ]
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseFIPS"
+ },
+ true
+ ]
+ }
+ ],
+ "error": "Invalid Configuration: FIPS and custom endpoint are not supported",
+ "type": "error"
+ },
+ {
+ "conditions": [],
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseDualStack"
+ },
+ true
+ ]
+ }
+ ],
+ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported",
+ "type": "error"
+ },
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": {
+ "ref": "Endpoint"
+ },
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ],
+ "type": "tree"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [],
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "isSet",
+ "argv": [
+ {
+ "ref": "Region"
+ }
+ ]
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "aws.partition",
+ "argv": [
+ {
+ "ref": "Region"
+ }
+ ],
+ "assign": "PartitionResult"
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseFIPS"
+ },
+ true
+ ]
+ },
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseDualStack"
+ },
+ true
+ ]
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsFIPS"
+ ]
+ }
+ ]
+ },
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsDualStack"
+ ]
+ }
+ ]
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [],
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://tax-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ],
+ "type": "tree"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [],
+ "error": "FIPS and DualStack are enabled, but this partition does not support one or both",
+ "type": "error"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseFIPS"
+ },
+ true
+ ]
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsFIPS"
+ ]
+ },
+ true
+ ]
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [],
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://tax-fips.{Region}.{PartitionResult#dnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ],
+ "type": "tree"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [],
+ "error": "FIPS is enabled but this partition does not support FIPS",
+ "type": "error"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseDualStack"
+ },
+ true
+ ]
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsDualStack"
+ ]
+ }
+ ]
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [],
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://tax.{Region}.{PartitionResult#dualStackDnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ],
+ "type": "tree"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [],
+ "error": "DualStack is enabled but this partition does not support DualStack",
+ "type": "error"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [],
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://tax.{Region}.{PartitionResult#dnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ],
+ "type": "tree"
+ }
+ ],
+ "type": "tree"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [],
+ "error": "Invalid Configuration: Missing Region",
+ "type": "error"
+ }
+ ],
+ "type": "tree"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/models/apis/taxsettings/2018-05-10/endpoint-tests-1.json b/models/apis/taxsettings/2018-05-10/endpoint-tests-1.json
new file mode 100644
index 00000000000..9ea2f41d529
--- /dev/null
+++ b/models/apis/taxsettings/2018-05-10/endpoint-tests-1.json
@@ -0,0 +1,314 @@
+{
+ "testCases": [
+ {
+ "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tax-fips.us-east-1.api.aws"
+ }
+ },
+ "params": {
+ "Region": "us-east-1",
+ "UseFIPS": true,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tax-fips.us-east-1.amazonaws.com"
+ }
+ },
+ "params": {
+ "Region": "us-east-1",
+ "UseFIPS": true,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tax.us-east-1.api.aws"
+ }
+ },
+ "params": {
+ "Region": "us-east-1",
+ "UseFIPS": false,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tax.us-east-1.amazonaws.com"
+ }
+ },
+ "params": {
+ "Region": "us-east-1",
+ "UseFIPS": false,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tax-fips.cn-north-1.api.amazonwebservices.com.cn"
+ }
+ },
+ "params": {
+ "Region": "cn-north-1",
+ "UseFIPS": true,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tax-fips.cn-north-1.amazonaws.com.cn"
+ }
+ },
+ "params": {
+ "Region": "cn-north-1",
+ "UseFIPS": true,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tax.cn-north-1.api.amazonwebservices.com.cn"
+ }
+ },
+ "params": {
+ "Region": "cn-north-1",
+ "UseFIPS": false,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tax.cn-north-1.amazonaws.com.cn"
+ }
+ },
+ "params": {
+ "Region": "cn-north-1",
+ "UseFIPS": false,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tax-fips.us-gov-east-1.api.aws"
+ }
+ },
+ "params": {
+ "Region": "us-gov-east-1",
+ "UseFIPS": true,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tax-fips.us-gov-east-1.amazonaws.com"
+ }
+ },
+ "params": {
+ "Region": "us-gov-east-1",
+ "UseFIPS": true,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tax.us-gov-east-1.api.aws"
+ }
+ },
+ "params": {
+ "Region": "us-gov-east-1",
+ "UseFIPS": false,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tax.us-gov-east-1.amazonaws.com"
+ }
+ },
+ "params": {
+ "Region": "us-gov-east-1",
+ "UseFIPS": false,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
+ "expect": {
+ "error": "FIPS and DualStack are enabled, but this partition does not support one or both"
+ },
+ "params": {
+ "Region": "us-iso-east-1",
+ "UseFIPS": true,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tax-fips.us-iso-east-1.c2s.ic.gov"
+ }
+ },
+ "params": {
+ "Region": "us-iso-east-1",
+ "UseFIPS": true,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
+ "expect": {
+ "error": "DualStack is enabled but this partition does not support DualStack"
+ },
+ "params": {
+ "Region": "us-iso-east-1",
+ "UseFIPS": false,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tax.us-iso-east-1.c2s.ic.gov"
+ }
+ },
+ "params": {
+ "Region": "us-iso-east-1",
+ "UseFIPS": false,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
+ "expect": {
+ "error": "FIPS and DualStack are enabled, but this partition does not support one or both"
+ },
+ "params": {
+ "Region": "us-isob-east-1",
+ "UseFIPS": true,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tax-fips.us-isob-east-1.sc2s.sgov.gov"
+ }
+ },
+ "params": {
+ "Region": "us-isob-east-1",
+ "UseFIPS": true,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
+ "expect": {
+ "error": "DualStack is enabled but this partition does not support DualStack"
+ },
+ "params": {
+ "Region": "us-isob-east-1",
+ "UseFIPS": false,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tax.us-isob-east-1.sc2s.sgov.gov"
+ }
+ },
+ "params": {
+ "Region": "us-isob-east-1",
+ "UseFIPS": false,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://example.com"
+ }
+ },
+ "params": {
+ "Region": "us-east-1",
+ "UseFIPS": false,
+ "UseDualStack": false,
+ "Endpoint": "https://example.com"
+ }
+ },
+ {
+ "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://example.com"
+ }
+ },
+ "params": {
+ "UseFIPS": false,
+ "UseDualStack": false,
+ "Endpoint": "https://example.com"
+ }
+ },
+ {
+ "documentation": "For custom endpoint with fips enabled and dualstack disabled",
+ "expect": {
+ "error": "Invalid Configuration: FIPS and custom endpoint are not supported"
+ },
+ "params": {
+ "Region": "us-east-1",
+ "UseFIPS": true,
+ "UseDualStack": false,
+ "Endpoint": "https://example.com"
+ }
+ },
+ {
+ "documentation": "For custom endpoint with fips disabled and dualstack enabled",
+ "expect": {
+ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
+ },
+ "params": {
+ "Region": "us-east-1",
+ "UseFIPS": false,
+ "UseDualStack": true,
+ "Endpoint": "https://example.com"
+ }
+ },
+ {
+ "documentation": "Missing region",
+ "expect": {
+ "error": "Invalid Configuration: Missing Region"
+ }
+ }
+ ],
+ "version": "1.0"
+}
\ No newline at end of file
diff --git a/models/apis/taxsettings/2018-05-10/examples-1.json b/models/apis/taxsettings/2018-05-10/examples-1.json
new file mode 100644
index 00000000000..0ea7e3b0bbe
--- /dev/null
+++ b/models/apis/taxsettings/2018-05-10/examples-1.json
@@ -0,0 +1,5 @@
+{
+ "version": "1.0",
+ "examples": {
+ }
+}
diff --git a/models/apis/taxsettings/2018-05-10/paginators-1.json b/models/apis/taxsettings/2018-05-10/paginators-1.json
new file mode 100644
index 00000000000..3944b04ceb7
--- /dev/null
+++ b/models/apis/taxsettings/2018-05-10/paginators-1.json
@@ -0,0 +1,10 @@
+{
+ "pagination": {
+ "ListTaxRegistrations": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults",
+ "result_key": "accountDetails"
+ }
+ }
+}
diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json
index 3d3288dc20b..30c2ac8bca2 100644
--- a/models/endpoints/endpoints.json
+++ b/models/endpoints/endpoints.json
@@ -9020,6 +9020,7 @@
"ap-southeast-3" : { },
"ap-southeast-4" : { },
"ca-central-1" : { },
+ "ca-west-1" : { },
"eu-central-1" : { },
"eu-central-2" : { },
"eu-north-1" : { },
@@ -19581,9 +19582,11 @@
"eu-north-1" : { },
"eu-west-1" : { },
"eu-west-2" : { },
+ "eu-west-3" : { },
"sa-east-1" : { },
"us-east-1" : { },
"us-east-2" : { },
+ "us-west-1" : { },
"us-west-2" : { }
}
},
@@ -27888,43 +27891,23 @@
},
"rds" : {
"endpoints" : {
- "rds-fips.us-iso-east-1" : {
- "credentialScope" : {
- "region" : "us-iso-east-1"
- },
- "deprecated" : true,
- "hostname" : "rds-fips.us-iso-east-1.c2s.ic.gov"
- },
- "rds-fips.us-iso-west-1" : {
- "credentialScope" : {
- "region" : "us-iso-west-1"
- },
- "deprecated" : true,
- "hostname" : "rds-fips.us-iso-west-1.c2s.ic.gov"
- },
"rds.us-iso-east-1" : {
"credentialScope" : {
"region" : "us-iso-east-1"
},
"deprecated" : true,
- "variants" : [ {
- "hostname" : "rds-fips.us-iso-east-1.c2s.ic.gov",
- "tags" : [ "fips" ]
- } ]
+ "hostname" : "rds.us-iso-east-1.c2s.ic.gov"
},
"rds.us-iso-west-1" : {
"credentialScope" : {
"region" : "us-iso-west-1"
},
"deprecated" : true,
- "variants" : [ {
- "hostname" : "rds-fips.us-iso-west-1.c2s.ic.gov",
- "tags" : [ "fips" ]
- } ]
+ "hostname" : "rds.us-iso-west-1.c2s.ic.gov"
},
"us-iso-east-1" : {
"variants" : [ {
- "hostname" : "rds-fips.us-iso-east-1.c2s.ic.gov",
+ "hostname" : "rds.us-iso-east-1.c2s.ic.gov",
"tags" : [ "fips" ]
} ]
},
@@ -27933,11 +27916,11 @@
"region" : "us-iso-east-1"
},
"deprecated" : true,
- "hostname" : "rds-fips.us-iso-east-1.c2s.ic.gov"
+ "hostname" : "rds.us-iso-east-1.c2s.ic.gov"
},
"us-iso-west-1" : {
"variants" : [ {
- "hostname" : "rds-fips.us-iso-west-1.c2s.ic.gov",
+ "hostname" : "rds.us-iso-west-1.c2s.ic.gov",
"tags" : [ "fips" ]
} ]
},
@@ -27946,7 +27929,7 @@
"region" : "us-iso-west-1"
},
"deprecated" : true,
- "hostname" : "rds-fips.us-iso-west-1.c2s.ic.gov"
+ "hostname" : "rds.us-iso-west-1.c2s.ic.gov"
}
}
},
@@ -28616,26 +28599,16 @@
},
"rds" : {
"endpoints" : {
- "rds-fips.us-isob-east-1" : {
- "credentialScope" : {
- "region" : "us-isob-east-1"
- },
- "deprecated" : true,
- "hostname" : "rds-fips.us-isob-east-1.sc2s.sgov.gov"
- },
"rds.us-isob-east-1" : {
"credentialScope" : {
"region" : "us-isob-east-1"
},
"deprecated" : true,
- "variants" : [ {
- "hostname" : "rds-fips.us-isob-east-1.sc2s.sgov.gov",
- "tags" : [ "fips" ]
- } ]
+ "hostname" : "rds.us-isob-east-1.sc2s.sgov.gov"
},
"us-isob-east-1" : {
"variants" : [ {
- "hostname" : "rds-fips.us-isob-east-1.sc2s.sgov.gov",
+ "hostname" : "rds.us-isob-east-1.sc2s.sgov.gov",
"tags" : [ "fips" ]
} ]
},
@@ -28644,7 +28617,7 @@
"region" : "us-isob-east-1"
},
"deprecated" : true,
- "hostname" : "rds-fips.us-isob-east-1.sc2s.sgov.gov"
+ "hostname" : "rds.us-isob-east-1.sc2s.sgov.gov"
}
}
},
diff --git a/service/ec2/api.go b/service/ec2/api.go
index 687ca0252ee..b4a4f846a33 100644
--- a/service/ec2/api.go
+++ b/service/ec2/api.go
@@ -196660,6 +196660,33 @@ const (
// InstanceTypeGr68xlarge is a InstanceType enum value
InstanceTypeGr68xlarge = "gr6.8xlarge"
+
+ // InstanceTypeC7iFlexLarge is a InstanceType enum value
+ InstanceTypeC7iFlexLarge = "c7i-flex.large"
+
+ // InstanceTypeC7iFlexXlarge is a InstanceType enum value
+ InstanceTypeC7iFlexXlarge = "c7i-flex.xlarge"
+
+ // InstanceTypeC7iFlex2xlarge is a InstanceType enum value
+ InstanceTypeC7iFlex2xlarge = "c7i-flex.2xlarge"
+
+ // InstanceTypeC7iFlex4xlarge is a InstanceType enum value
+ InstanceTypeC7iFlex4xlarge = "c7i-flex.4xlarge"
+
+ // InstanceTypeC7iFlex8xlarge is a InstanceType enum value
+ InstanceTypeC7iFlex8xlarge = "c7i-flex.8xlarge"
+
+ // InstanceTypeU7i12tb224xlarge is a InstanceType enum value
+ InstanceTypeU7i12tb224xlarge = "u7i-12tb.224xlarge"
+
+ // InstanceTypeU7in16tb224xlarge is a InstanceType enum value
+ InstanceTypeU7in16tb224xlarge = "u7in-16tb.224xlarge"
+
+ // InstanceTypeU7in24tb224xlarge is a InstanceType enum value
+ InstanceTypeU7in24tb224xlarge = "u7in-24tb.224xlarge"
+
+ // InstanceTypeU7in32tb224xlarge is a InstanceType enum value
+ InstanceTypeU7in32tb224xlarge = "u7in-32tb.224xlarge"
)
// InstanceType_Values returns all elements of the InstanceType enum
@@ -197461,6 +197488,15 @@ func InstanceType_Values() []string {
InstanceTypeG648xlarge,
InstanceTypeGr64xlarge,
InstanceTypeGr68xlarge,
+ InstanceTypeC7iFlexLarge,
+ InstanceTypeC7iFlexXlarge,
+ InstanceTypeC7iFlex2xlarge,
+ InstanceTypeC7iFlex4xlarge,
+ InstanceTypeC7iFlex8xlarge,
+ InstanceTypeU7i12tb224xlarge,
+ InstanceTypeU7in16tb224xlarge,
+ InstanceTypeU7in24tb224xlarge,
+ InstanceTypeU7in32tb224xlarge,
}
}
diff --git a/service/pipes/api.go b/service/pipes/api.go
index 02c5daf7eeb..3e822c92b34 100644
--- a/service/pipes/api.go
+++ b/service/pipes/api.go
@@ -2465,6 +2465,92 @@ func (s *DescribePipeOutput) SetTargetParameters(v *PipeTargetParameters) *Descr
return s
}
+// Maps source data to a dimension in the target Timestream for LiveAnalytics
+// table.
+//
+// For more information, see Amazon Timestream for LiveAnalytics concepts (https://docs.aws.amazon.com/timestream/latest/developerguide/concepts.html)
+type DimensionMapping struct {
+ _ struct{} `type:"structure"`
+
+ // The metadata attributes of the time series. For example, the name and Availability
+ // Zone of an Amazon EC2 instance or the name of the manufacturer of a wind
+ // turbine are dimensions.
+ //
+ // DimensionName is a required field
+ DimensionName *string `min:"1" type:"string" required:"true"`
+
+ // Dynamic path to the dimension value in the source event.
+ //
+ // DimensionValue is a required field
+ DimensionValue *string `min:"1" type:"string" required:"true"`
+
+ // The data type of the dimension for the time-series data.
+ //
+ // DimensionValueType is a required field
+ DimensionValueType *string `type:"string" required:"true" enum:"DimensionValueType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DimensionMapping) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DimensionMapping) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DimensionMapping) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DimensionMapping"}
+ if s.DimensionName == nil {
+ invalidParams.Add(request.NewErrParamRequired("DimensionName"))
+ }
+ if s.DimensionName != nil && len(*s.DimensionName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("DimensionName", 1))
+ }
+ if s.DimensionValue == nil {
+ invalidParams.Add(request.NewErrParamRequired("DimensionValue"))
+ }
+ if s.DimensionValue != nil && len(*s.DimensionValue) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("DimensionValue", 1))
+ }
+ if s.DimensionValueType == nil {
+ invalidParams.Add(request.NewErrParamRequired("DimensionValueType"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDimensionName sets the DimensionName field's value.
+func (s *DimensionMapping) SetDimensionName(v string) *DimensionMapping {
+ s.DimensionName = &v
+ return s
+}
+
+// SetDimensionValue sets the DimensionValue field's value.
+func (s *DimensionMapping) SetDimensionValue(v string) *DimensionMapping {
+ s.DimensionValue = &v
+ return s
+}
+
+// SetDimensionValueType sets the DimensionValueType field's value.
+func (s *DimensionMapping) SetDimensionValueType(v string) *DimensionMapping {
+ s.DimensionValueType = &v
+ return s
+}
+
// The overrides that are sent to a container. An empty container override can
// be passed in. An example of an empty container override is {"containerOverrides":
// [ ] }. If a non-empty container override is specified, the name parameter
@@ -3121,12 +3207,12 @@ func (s *FilterCriteria) SetFilters(v []*Filter) *FilterCriteria {
return s
}
-// The Amazon Kinesis Data Firehose logging configuration settings for the pipe.
+// The Amazon Data Firehose logging configuration settings for the pipe.
type FirehoseLogDestination struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the Kinesis Data Firehose delivery stream
- // to which EventBridge delivers the pipe log records.
+ // The Amazon Resource Name (ARN) of the Firehose delivery stream to which EventBridge
+ // delivers the pipe log records.
DeliveryStreamArn *string `min:"1" type:"string"`
}
@@ -3154,12 +3240,12 @@ func (s *FirehoseLogDestination) SetDeliveryStreamArn(v string) *FirehoseLogDest
return s
}
-// The Amazon Kinesis Data Firehose logging configuration settings for the pipe.
+// The Amazon Data Firehose logging configuration settings for the pipe.
type FirehoseLogDestinationParameters struct {
_ struct{} `type:"structure"`
- // Specifies the Amazon Resource Name (ARN) of the Kinesis Data Firehose delivery
- // stream to which EventBridge delivers the pipe log records.
+ // Specifies the Amazon Resource Name (ARN) of the Firehose delivery stream
+ // to which EventBridge delivers the pipe log records.
//
// DeliveryStreamArn is a required field
DeliveryStreamArn *string `min:"1" type:"string" required:"true"`
@@ -3623,6 +3709,169 @@ func (s *MSKAccessCredentials) SetSaslScram512Auth(v string) *MSKAccessCredentia
return s
}
+// A mapping of a source event data field to a measure in a Timestream for LiveAnalytics
+// record.
+type MultiMeasureAttributeMapping struct {
+ _ struct{} `type:"structure"`
+
+ // Dynamic path to the measurement attribute in the source event.
+ //
+ // MeasureValue is a required field
+ MeasureValue *string `min:"1" type:"string" required:"true"`
+
+ // Data type of the measurement attribute in the source event.
+ //
+ // MeasureValueType is a required field
+ MeasureValueType *string `type:"string" required:"true" enum:"MeasureValueType"`
+
+ // Target measure name to be used.
+ //
+ // MultiMeasureAttributeName is a required field
+ MultiMeasureAttributeName *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s MultiMeasureAttributeMapping) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s MultiMeasureAttributeMapping) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *MultiMeasureAttributeMapping) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "MultiMeasureAttributeMapping"}
+ if s.MeasureValue == nil {
+ invalidParams.Add(request.NewErrParamRequired("MeasureValue"))
+ }
+ if s.MeasureValue != nil && len(*s.MeasureValue) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("MeasureValue", 1))
+ }
+ if s.MeasureValueType == nil {
+ invalidParams.Add(request.NewErrParamRequired("MeasureValueType"))
+ }
+ if s.MultiMeasureAttributeName == nil {
+ invalidParams.Add(request.NewErrParamRequired("MultiMeasureAttributeName"))
+ }
+ if s.MultiMeasureAttributeName != nil && len(*s.MultiMeasureAttributeName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("MultiMeasureAttributeName", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetMeasureValue sets the MeasureValue field's value.
+func (s *MultiMeasureAttributeMapping) SetMeasureValue(v string) *MultiMeasureAttributeMapping {
+ s.MeasureValue = &v
+ return s
+}
+
+// SetMeasureValueType sets the MeasureValueType field's value.
+func (s *MultiMeasureAttributeMapping) SetMeasureValueType(v string) *MultiMeasureAttributeMapping {
+ s.MeasureValueType = &v
+ return s
+}
+
+// SetMultiMeasureAttributeName sets the MultiMeasureAttributeName field's value.
+func (s *MultiMeasureAttributeMapping) SetMultiMeasureAttributeName(v string) *MultiMeasureAttributeMapping {
+ s.MultiMeasureAttributeName = &v
+ return s
+}
+
+// Maps multiple measures from the source event to the same Timestream for LiveAnalytics
+// record.
+//
+// For more information, see Amazon Timestream for LiveAnalytics concepts (https://docs.aws.amazon.com/timestream/latest/developerguide/concepts.html)
+type MultiMeasureMapping struct {
+ _ struct{} `type:"structure"`
+
+ // Mappings that represent multiple source event fields mapped to measures in
+ // the same Timestream for LiveAnalytics record.
+ //
+ // MultiMeasureAttributeMappings is a required field
+ MultiMeasureAttributeMappings []*MultiMeasureAttributeMapping `min:"1" type:"list" required:"true"`
+
+ // The name of the multiple measurements per record (multi-measure).
+ //
+ // MultiMeasureName is a required field
+ MultiMeasureName *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s MultiMeasureMapping) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s MultiMeasureMapping) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *MultiMeasureMapping) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "MultiMeasureMapping"}
+ if s.MultiMeasureAttributeMappings == nil {
+ invalidParams.Add(request.NewErrParamRequired("MultiMeasureAttributeMappings"))
+ }
+ if s.MultiMeasureAttributeMappings != nil && len(s.MultiMeasureAttributeMappings) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("MultiMeasureAttributeMappings", 1))
+ }
+ if s.MultiMeasureName == nil {
+ invalidParams.Add(request.NewErrParamRequired("MultiMeasureName"))
+ }
+ if s.MultiMeasureName != nil && len(*s.MultiMeasureName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("MultiMeasureName", 1))
+ }
+ if s.MultiMeasureAttributeMappings != nil {
+ for i, v := range s.MultiMeasureAttributeMappings {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MultiMeasureAttributeMappings", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetMultiMeasureAttributeMappings sets the MultiMeasureAttributeMappings field's value.
+func (s *MultiMeasureMapping) SetMultiMeasureAttributeMappings(v []*MultiMeasureAttributeMapping) *MultiMeasureMapping {
+ s.MultiMeasureAttributeMappings = v
+ return s
+}
+
+// SetMultiMeasureName sets the MultiMeasureName field's value.
+func (s *MultiMeasureMapping) SetMultiMeasureName(v string) *MultiMeasureMapping {
+ s.MultiMeasureName = &v
+ return s
+}
+
// This structure specifies the network configuration for an Amazon ECS task.
type NetworkConfiguration struct {
_ struct{} `type:"structure"`
@@ -3972,7 +4221,7 @@ type PipeLogConfiguration struct {
// The Amazon CloudWatch Logs logging configuration settings for the pipe.
CloudwatchLogsLogDestination *CloudwatchLogsLogDestination `type:"structure"`
- // The Amazon Kinesis Data Firehose logging configuration settings for the pipe.
+ // The Amazon Data Firehose logging configuration settings for the pipe.
FirehoseLogDestination *FirehoseLogDestination `type:"structure"`
// Whether the execution data (specifically, the payload, awsRequest, and awsResponse
@@ -4049,11 +4298,11 @@ func (s *PipeLogConfiguration) SetS3LogDestination(v *S3LogDestination) *PipeLog
// or S3LogDestinationParameters), EventBridge sets that field to its system-default
// value during the update.
//
-// For example, suppose when you created the pipe you specified a Kinesis Data
-// Firehose stream log destination. You then update the pipe to add an Amazon
-// S3 log destination. In addition to specifying the S3LogDestinationParameters
-// for the new log destination, you must also specify the fields in the FirehoseLogDestinationParameters
-// object in order to retain the Kinesis Data Firehose stream log destination.
+// For example, suppose when you created the pipe you specified a Firehose stream
+// log destination. You then update the pipe to add an Amazon S3 log destination.
+// In addition to specifying the S3LogDestinationParameters for the new log
+// destination, you must also specify the fields in the FirehoseLogDestinationParameters
+// object in order to retain the Firehose stream log destination.
//
// For more information on generating pipe log records, see Log EventBridge
// Pipes (eventbridge/latest/userguide/eb-pipes-logs.html) in the Amazon EventBridge
@@ -4064,18 +4313,18 @@ type PipeLogConfigurationParameters struct {
// The Amazon CloudWatch Logs logging configuration settings for the pipe.
CloudwatchLogsLogDestination *CloudwatchLogsLogDestinationParameters `type:"structure"`
- // The Amazon Kinesis Data Firehose logging configuration settings for the pipe.
+ // The Amazon Data Firehose logging configuration settings for the pipe.
FirehoseLogDestination *FirehoseLogDestinationParameters `type:"structure"`
- // Specify ON to include the execution data (specifically, the payload and awsRequest
- // fields) in the log messages for this pipe.
+ // Specify ALL to include the execution data (specifically, the payload, awsRequest,
+ // and awsResponse fields) in the log messages for this pipe.
//
// This applies to all log destinations for the pipe.
//
// For more information, see Including execution data in logs (https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes-logs.html#eb-pipes-logs-execution-data)
// in the Amazon EventBridge User Guide.
//
- // The default is OFF.
+ // By default, execution data is not included.
IncludeExecutionData []*string `type:"list" enum:"IncludeExecutionDataOption"`
// The level of logging detail to include. This applies to all log destinations
@@ -4684,6 +4933,13 @@ type PipeSourceParameters struct {
RabbitMQBrokerParameters *PipeSourceRabbitMQBrokerParameters `type:"structure"`
// The parameters for using a self-managed Apache Kafka stream as a source.
+ //
+ // A self managed cluster refers to any Apache Kafka cluster not hosted by Amazon
+ // Web Services. This includes both clusters you manage yourself, as well as
+ // those hosted by a third-party provider, such as Confluent Cloud (https://www.confluent.io/),
+ // CloudKarafka (https://www.cloudkarafka.com/), or Redpanda (https://redpanda.com/).
+ // For more information, see Apache Kafka streams as a source (https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes-kafka.html)
+ // in the Amazon EventBridge User Guide.
SelfManagedKafkaParameters *PipeSourceSelfManagedKafkaParameters `type:"structure"`
// The parameters for using a Amazon SQS stream as a source.
@@ -4912,6 +5168,13 @@ func (s *PipeSourceRabbitMQBrokerParameters) SetVirtualHost(v string) *PipeSourc
}
// The parameters for using a self-managed Apache Kafka stream as a source.
+//
+// A self managed cluster refers to any Apache Kafka cluster not hosted by Amazon
+// Web Services. This includes both clusters you manage yourself, as well as
+// those hosted by a third-party provider, such as Confluent Cloud (https://www.confluent.io/),
+// CloudKarafka (https://www.cloudkarafka.com/), or Redpanda (https://redpanda.com/).
+// For more information, see Apache Kafka streams as a source (https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes-kafka.html)
+// in the Amazon EventBridge User Guide.
type PipeSourceSelfManagedKafkaParameters struct {
_ struct{} `type:"structure"`
@@ -5871,6 +6134,9 @@ type PipeTargetParameters struct {
// The parameters for using a Step Functions state machine as a target.
StepFunctionStateMachineParameters *PipeTargetStateMachineParameters `type:"structure"`
+
+ // The parameters for using a Timestream for LiveAnalytics table as a target.
+ TimestreamParameters *PipeTargetTimestreamParameters `type:"structure"`
}
// String returns the string representation.
@@ -5929,6 +6195,11 @@ func (s *PipeTargetParameters) Validate() error {
invalidParams.AddNested("SageMakerPipelineParameters", err.(request.ErrInvalidParams))
}
}
+ if s.TimestreamParameters != nil {
+ if err := s.TimestreamParameters.Validate(); err != nil {
+ invalidParams.AddNested("TimestreamParameters", err.(request.ErrInvalidParams))
+ }
+ }
if invalidParams.Len() > 0 {
return invalidParams
@@ -6008,6 +6279,12 @@ func (s *PipeTargetParameters) SetStepFunctionStateMachineParameters(v *PipeTarg
return s
}
+// SetTimestreamParameters sets the TimestreamParameters field's value.
+func (s *PipeTargetParameters) SetTimestreamParameters(v *PipeTargetTimestreamParameters) *PipeTargetParameters {
+ s.TimestreamParameters = v
+ return s
+}
+
// These are custom parameters to be used when the target is a Amazon Redshift
// cluster to invoke the Amazon Redshift Data API BatchExecuteStatement.
type PipeTargetRedshiftDataParameters struct {
@@ -6285,6 +6562,196 @@ func (s *PipeTargetStateMachineParameters) SetInvocationType(v string) *PipeTarg
return s
}
+// The parameters for using a Timestream for LiveAnalytics table as a target.
+type PipeTargetTimestreamParameters struct {
+ _ struct{} `type:"structure"`
+
+ // Map source data to dimensions in the target Timestream for LiveAnalytics
+ // table.
+ //
+ // For more information, see Amazon Timestream for LiveAnalytics concepts (https://docs.aws.amazon.com/timestream/latest/developerguide/concepts.html)
+ //
+ // DimensionMappings is a required field
+ DimensionMappings []*DimensionMapping `min:"1" type:"list" required:"true"`
+
+ // The granularity of the time units used. Default is MILLISECONDS.
+ //
+ // Required if TimeFieldType is specified as EPOCH.
+ EpochTimeUnit *string `type:"string" enum:"EpochTimeUnit"`
+
+ // Maps multiple measures from the source event to the same record in the specified
+ // Timestream for LiveAnalytics table.
+ MultiMeasureMappings []*MultiMeasureMapping `type:"list"`
+
+ // Mappings of single source data fields to individual records in the specified
+ // Timestream for LiveAnalytics table.
+ SingleMeasureMappings []*SingleMeasureMapping `type:"list"`
+
+ // The type of time value used.
+ //
+ // The default is EPOCH.
+ TimeFieldType *string `type:"string" enum:"TimeFieldType"`
+
+ // Dynamic path to the source data field that represents the time value for
+ // your data.
+ //
+ // TimeValue is a required field
+ TimeValue *string `min:"1" type:"string" required:"true"`
+
+ // How to format the timestamps. For example, YYYY-MM-DDThh:mm:ss.sssTZD.
+ //
+ // Required if TimeFieldType is specified as TIMESTAMP_FORMAT.
+ TimestampFormat *string `min:"1" type:"string"`
+
+ // 64 bit version value or source data field that represents the version value
+ // for your data.
+ //
+ // Write requests with a higher version number will update the existing measure
+ // values of the record and version. In cases where the measure value is the
+ // same, the version will still be updated.
+ //
+ // Default value is 1.
+ //
+ // Timestream for LiveAnalytics does not support updating partial measure values
+ // in a record.
+ //
+ // Write requests for duplicate data with a higher version number will update
+ // the existing measure value and version. In cases where the measure value
+ // is the same, Version will still be updated. Default value is 1.
+ //
+ // Version must be 1 or greater, or you will receive a ValidationException error.
+ //
+ // VersionValue is a required field
+ VersionValue *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PipeTargetTimestreamParameters) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PipeTargetTimestreamParameters) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *PipeTargetTimestreamParameters) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "PipeTargetTimestreamParameters"}
+ if s.DimensionMappings == nil {
+ invalidParams.Add(request.NewErrParamRequired("DimensionMappings"))
+ }
+ if s.DimensionMappings != nil && len(s.DimensionMappings) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("DimensionMappings", 1))
+ }
+ if s.TimeValue == nil {
+ invalidParams.Add(request.NewErrParamRequired("TimeValue"))
+ }
+ if s.TimeValue != nil && len(*s.TimeValue) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("TimeValue", 1))
+ }
+ if s.TimestampFormat != nil && len(*s.TimestampFormat) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("TimestampFormat", 1))
+ }
+ if s.VersionValue == nil {
+ invalidParams.Add(request.NewErrParamRequired("VersionValue"))
+ }
+ if s.VersionValue != nil && len(*s.VersionValue) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("VersionValue", 1))
+ }
+ if s.DimensionMappings != nil {
+ for i, v := range s.DimensionMappings {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DimensionMappings", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+ if s.MultiMeasureMappings != nil {
+ for i, v := range s.MultiMeasureMappings {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MultiMeasureMappings", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+ if s.SingleMeasureMappings != nil {
+ for i, v := range s.SingleMeasureMappings {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SingleMeasureMappings", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDimensionMappings sets the DimensionMappings field's value.
+func (s *PipeTargetTimestreamParameters) SetDimensionMappings(v []*DimensionMapping) *PipeTargetTimestreamParameters {
+ s.DimensionMappings = v
+ return s
+}
+
+// SetEpochTimeUnit sets the EpochTimeUnit field's value.
+func (s *PipeTargetTimestreamParameters) SetEpochTimeUnit(v string) *PipeTargetTimestreamParameters {
+ s.EpochTimeUnit = &v
+ return s
+}
+
+// SetMultiMeasureMappings sets the MultiMeasureMappings field's value.
+func (s *PipeTargetTimestreamParameters) SetMultiMeasureMappings(v []*MultiMeasureMapping) *PipeTargetTimestreamParameters {
+ s.MultiMeasureMappings = v
+ return s
+}
+
+// SetSingleMeasureMappings sets the SingleMeasureMappings field's value.
+func (s *PipeTargetTimestreamParameters) SetSingleMeasureMappings(v []*SingleMeasureMapping) *PipeTargetTimestreamParameters {
+ s.SingleMeasureMappings = v
+ return s
+}
+
+// SetTimeFieldType sets the TimeFieldType field's value.
+func (s *PipeTargetTimestreamParameters) SetTimeFieldType(v string) *PipeTargetTimestreamParameters {
+ s.TimeFieldType = &v
+ return s
+}
+
+// SetTimeValue sets the TimeValue field's value.
+func (s *PipeTargetTimestreamParameters) SetTimeValue(v string) *PipeTargetTimestreamParameters {
+ s.TimeValue = &v
+ return s
+}
+
+// SetTimestampFormat sets the TimestampFormat field's value.
+func (s *PipeTargetTimestreamParameters) SetTimestampFormat(v string) *PipeTargetTimestreamParameters {
+ s.TimestampFormat = &v
+ return s
+}
+
+// SetVersionValue sets the VersionValue field's value.
+func (s *PipeTargetTimestreamParameters) SetVersionValue(v string) *PipeTargetTimestreamParameters {
+ s.VersionValue = &v
+ return s
+}
+
// An object representing a constraint on task placement. To learn more, see
// Task Placement Constraints (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html)
// in the Amazon Elastic Container Service Developer Guide.
@@ -6846,6 +7313,90 @@ func (s *ServiceQuotaExceededException) RequestID() string {
return s.RespMetadata.RequestID
}
+// Maps a single source data field to a single record in the specified Timestream
+// for LiveAnalytics table.
+//
+// For more information, see Amazon Timestream for LiveAnalytics concepts (https://docs.aws.amazon.com/timestream/latest/developerguide/concepts.html)
+type SingleMeasureMapping struct {
+ _ struct{} `type:"structure"`
+
+ // Target measure name for the measurement attribute in the Timestream table.
+ //
+ // MeasureName is a required field
+ MeasureName *string `min:"1" type:"string" required:"true"`
+
+ // Dynamic path of the source field to map to the measure in the record.
+ //
+ // MeasureValue is a required field
+ MeasureValue *string `min:"1" type:"string" required:"true"`
+
+ // Data type of the source field.
+ //
+ // MeasureValueType is a required field
+ MeasureValueType *string `type:"string" required:"true" enum:"MeasureValueType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s SingleMeasureMapping) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s SingleMeasureMapping) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *SingleMeasureMapping) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "SingleMeasureMapping"}
+ if s.MeasureName == nil {
+ invalidParams.Add(request.NewErrParamRequired("MeasureName"))
+ }
+ if s.MeasureName != nil && len(*s.MeasureName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("MeasureName", 1))
+ }
+ if s.MeasureValue == nil {
+ invalidParams.Add(request.NewErrParamRequired("MeasureValue"))
+ }
+ if s.MeasureValue != nil && len(*s.MeasureValue) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("MeasureValue", 1))
+ }
+ if s.MeasureValueType == nil {
+ invalidParams.Add(request.NewErrParamRequired("MeasureValueType"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetMeasureName sets the MeasureName field's value.
+func (s *SingleMeasureMapping) SetMeasureName(v string) *SingleMeasureMapping {
+ s.MeasureName = &v
+ return s
+}
+
+// SetMeasureValue sets the MeasureValue field's value.
+func (s *SingleMeasureMapping) SetMeasureValue(v string) *SingleMeasureMapping {
+ s.MeasureValue = &v
+ return s
+}
+
+// SetMeasureValueType sets the MeasureValueType field's value.
+func (s *SingleMeasureMapping) SetMeasureValueType(v string) *SingleMeasureMapping {
+ s.MeasureValueType = &v
+ return s
+}
+
type StartPipeInput struct {
_ struct{} `type:"structure" nopayload:"true"`
@@ -8068,6 +8619,13 @@ type UpdatePipeSourceParameters struct {
RabbitMQBrokerParameters *UpdatePipeSourceRabbitMQBrokerParameters `type:"structure"`
// The parameters for using a self-managed Apache Kafka stream as a source.
+ //
+ // A self managed cluster refers to any Apache Kafka cluster not hosted by Amazon
+ // Web Services. This includes both clusters you manage yourself, as well as
+ // those hosted by a third-party provider, such as Confluent Cloud (https://www.confluent.io/),
+ // CloudKarafka (https://www.cloudkarafka.com/), or Redpanda (https://redpanda.com/).
+ // For more information, see Apache Kafka streams as a source (https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes-kafka.html)
+ // in the Amazon EventBridge User Guide.
SelfManagedKafkaParameters *UpdatePipeSourceSelfManagedKafkaParameters `type:"structure"`
// The parameters for using a Amazon SQS stream as a source.
@@ -8259,6 +8817,13 @@ func (s *UpdatePipeSourceRabbitMQBrokerParameters) SetMaximumBatchingWindowInSec
}
// The parameters for using a self-managed Apache Kafka stream as a source.
+//
+// A self managed cluster refers to any Apache Kafka cluster not hosted by Amazon
+// Web Services. This includes both clusters you manage yourself, as well as
+// those hosted by a third-party provider, such as Confluent Cloud (https://www.confluent.io/),
+// CloudKarafka (https://www.cloudkarafka.com/), or Redpanda (https://redpanda.com/).
+// For more information, see Apache Kafka streams as a source (https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes-kafka.html)
+// in the Amazon EventBridge User Guide.
type UpdatePipeSourceSelfManagedKafkaParameters struct {
_ struct{} `type:"structure"`
@@ -8567,6 +9132,18 @@ func BatchResourceRequirementType_Values() []string {
}
}
+const (
+ // DimensionValueTypeVarchar is a DimensionValueType enum value
+ DimensionValueTypeVarchar = "VARCHAR"
+)
+
+// DimensionValueType_Values returns all elements of the DimensionValueType enum
+func DimensionValueType_Values() []string {
+ return []string{
+ DimensionValueTypeVarchar,
+ }
+}
+
const (
// DynamoDBStreamStartPositionTrimHorizon is a DynamoDBStreamStartPosition enum value
DynamoDBStreamStartPositionTrimHorizon = "TRIM_HORIZON"
@@ -8611,6 +9188,30 @@ func EcsResourceRequirementType_Values() []string {
}
}
+const (
+ // EpochTimeUnitMilliseconds is a EpochTimeUnit enum value
+ EpochTimeUnitMilliseconds = "MILLISECONDS"
+
+ // EpochTimeUnitSeconds is a EpochTimeUnit enum value
+ EpochTimeUnitSeconds = "SECONDS"
+
+ // EpochTimeUnitMicroseconds is a EpochTimeUnit enum value
+ EpochTimeUnitMicroseconds = "MICROSECONDS"
+
+ // EpochTimeUnitNanoseconds is a EpochTimeUnit enum value
+ EpochTimeUnitNanoseconds = "NANOSECONDS"
+)
+
+// EpochTimeUnit_Values returns all elements of the EpochTimeUnit enum
+func EpochTimeUnit_Values() []string {
+ return []string{
+ EpochTimeUnitMilliseconds,
+ EpochTimeUnitSeconds,
+ EpochTimeUnitMicroseconds,
+ EpochTimeUnitNanoseconds,
+ }
+}
+
const (
// IncludeExecutionDataOptionAll is a IncludeExecutionDataOption enum value
IncludeExecutionDataOptionAll = "ALL"
@@ -8703,6 +9304,34 @@ func MSKStartPosition_Values() []string {
}
}
+const (
+ // MeasureValueTypeDouble is a MeasureValueType enum value
+ MeasureValueTypeDouble = "DOUBLE"
+
+ // MeasureValueTypeBigint is a MeasureValueType enum value
+ MeasureValueTypeBigint = "BIGINT"
+
+ // MeasureValueTypeVarchar is a MeasureValueType enum value
+ MeasureValueTypeVarchar = "VARCHAR"
+
+ // MeasureValueTypeBoolean is a MeasureValueType enum value
+ MeasureValueTypeBoolean = "BOOLEAN"
+
+ // MeasureValueTypeTimestamp is a MeasureValueType enum value
+ MeasureValueTypeTimestamp = "TIMESTAMP"
+)
+
+// MeasureValueType_Values returns all elements of the MeasureValueType enum
+func MeasureValueType_Values() []string {
+ return []string{
+ MeasureValueTypeDouble,
+ MeasureValueTypeBigint,
+ MeasureValueTypeVarchar,
+ MeasureValueTypeBoolean,
+ MeasureValueTypeTimestamp,
+ }
+}
+
const (
// OnPartialBatchItemFailureStreamsAutomaticBisect is a OnPartialBatchItemFailureStreams enum value
OnPartialBatchItemFailureStreamsAutomaticBisect = "AUTOMATIC_BISECT"
@@ -8918,3 +9547,19 @@ func SelfManagedKafkaStartPosition_Values() []string {
SelfManagedKafkaStartPositionLatest,
}
}
+
+const (
+ // TimeFieldTypeEpoch is a TimeFieldType enum value
+ TimeFieldTypeEpoch = "EPOCH"
+
+ // TimeFieldTypeTimestampFormat is a TimeFieldType enum value
+ TimeFieldTypeTimestampFormat = "TIMESTAMP_FORMAT"
+)
+
+// TimeFieldType_Values returns all elements of the TimeFieldType enum
+func TimeFieldType_Values() []string {
+ return []string{
+ TimeFieldTypeEpoch,
+ TimeFieldTypeTimestampFormat,
+ }
+}
diff --git a/service/sagemaker/api.go b/service/sagemaker/api.go
index f984178918c..1d50627e250 100644
--- a/service/sagemaker/api.go
+++ b/service/sagemaker/api.go
@@ -10253,7 +10253,7 @@ func (c *SageMaker) DescribeClusterNodeRequest(input *DescribeClusterNodeInput)
// DescribeClusterNode API operation for Amazon SageMaker Service.
//
-// Retrieves information of an instance (also called a node interchangeably)
+// Retrieves information of a node (also called a instance interchangeably)
// of a SageMaker HyperPod cluster.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
@@ -37806,6 +37806,51 @@ func (s *ClusterInstanceGroupSpecification) SetThreadsPerCore(v int64) *ClusterI
return s
}
+// Specifies the placement details for the node in the SageMaker HyperPod cluster,
+// including the Availability Zone and the unique identifier (ID) of the Availability
+// Zone.
+type ClusterInstancePlacement struct {
+ _ struct{} `type:"structure"`
+
+ // The Availability Zone where the node in the SageMaker HyperPod cluster is
+ // launched.
+ AvailabilityZone *string `type:"string"`
+
+ // The unique identifier (ID) of the Availability Zone where the node in the
+ // SageMaker HyperPod cluster is launched.
+ AvailabilityZoneId *string `type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ClusterInstancePlacement) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ClusterInstancePlacement) GoString() string {
+ return s.String()
+}
+
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *ClusterInstancePlacement) SetAvailabilityZone(v string) *ClusterInstancePlacement {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetAvailabilityZoneId sets the AvailabilityZoneId field's value.
+func (s *ClusterInstancePlacement) SetAvailabilityZoneId(v string) *ClusterInstancePlacement {
+ s.AvailabilityZoneId = &v
+ return s
+}
+
// Details of an instance in a SageMaker HyperPod cluster.
type ClusterInstanceStatusDetails struct {
_ struct{} `type:"structure"`
@@ -37942,6 +37987,15 @@ type ClusterNodeDetails struct {
// The LifeCycle configuration applied to the instance.
LifeCycleConfig *ClusterLifeCycleConfig `type:"structure"`
+ // The placement details of the SageMaker HyperPod cluster node.
+ Placement *ClusterInstancePlacement `type:"structure"`
+
+ // The private DNS hostname of the SageMaker HyperPod cluster node.
+ PrivateDnsHostname *string `type:"string"`
+
+ // The private primary IP address of the SageMaker HyperPod cluster node.
+ PrivatePrimaryIp *string `type:"string"`
+
// The number of threads per CPU core you specified under CreateCluster.
ThreadsPerCore *int64 `min:"1" type:"integer"`
}
@@ -38000,6 +38054,24 @@ func (s *ClusterNodeDetails) SetLifeCycleConfig(v *ClusterLifeCycleConfig) *Clus
return s
}
+// SetPlacement sets the Placement field's value.
+func (s *ClusterNodeDetails) SetPlacement(v *ClusterInstancePlacement) *ClusterNodeDetails {
+ s.Placement = v
+ return s
+}
+
+// SetPrivateDnsHostname sets the PrivateDnsHostname field's value.
+func (s *ClusterNodeDetails) SetPrivateDnsHostname(v string) *ClusterNodeDetails {
+ s.PrivateDnsHostname = &v
+ return s
+}
+
+// SetPrivatePrimaryIp sets the PrivatePrimaryIp field's value.
+func (s *ClusterNodeDetails) SetPrivatePrimaryIp(v string) *ClusterNodeDetails {
+ s.PrivatePrimaryIp = &v
+ return s
+}
+
// SetThreadsPerCore sets the ThreadsPerCore field's value.
func (s *ClusterNodeDetails) SetThreadsPerCore(v int64) *ClusterNodeDetails {
s.ThreadsPerCore = &v
@@ -57856,12 +57928,12 @@ type DescribeClusterNodeInput struct {
_ struct{} `type:"structure"`
// The string name or the Amazon Resource Name (ARN) of the SageMaker HyperPod
- // cluster in which the instance is.
+ // cluster in which the node is.
//
// ClusterName is a required field
ClusterName *string `type:"string" required:"true"`
- // The ID of the instance.
+ // The ID of the SageMaker HyperPod cluster node.
//
// NodeId is a required field
NodeId *string `min:"1" type:"string" required:"true"`
@@ -57919,7 +57991,7 @@ func (s *DescribeClusterNodeInput) SetNodeId(v string) *DescribeClusterNodeInput
type DescribeClusterNodeOutput struct {
_ struct{} `type:"structure"`
- // The details of the instance.
+ // The details of the SageMaker HyperPod cluster node.
//
// NodeDetails is a required field
NodeDetails *ClusterNodeDetails `type:"structure" required:"true"`
diff --git a/service/taxsettings/api.go b/service/taxsettings/api.go
new file mode 100644
index 00000000000..a3afe0f3a33
--- /dev/null
+++ b/service/taxsettings/api.go
@@ -0,0 +1,4644 @@
+// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
+
+package taxsettings
+
+import (
+ "fmt"
+
+ "github.com/aws/aws-sdk-go/aws"
+ "github.com/aws/aws-sdk-go/aws/awsutil"
+ "github.com/aws/aws-sdk-go/aws/request"
+ "github.com/aws/aws-sdk-go/private/protocol"
+ "github.com/aws/aws-sdk-go/private/protocol/restjson"
+)
+
+const opBatchDeleteTaxRegistration = "BatchDeleteTaxRegistration"
+
+// BatchDeleteTaxRegistrationRequest generates a "aws/request.Request" representing the
+// client's request for the BatchDeleteTaxRegistration operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See BatchDeleteTaxRegistration for more information on using the BatchDeleteTaxRegistration
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the BatchDeleteTaxRegistrationRequest method.
+// req, resp := client.BatchDeleteTaxRegistrationRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/BatchDeleteTaxRegistration
+func (c *TaxSettings) BatchDeleteTaxRegistrationRequest(input *BatchDeleteTaxRegistrationInput) (req *request.Request, output *BatchDeleteTaxRegistrationOutput) {
+ op := &request.Operation{
+ Name: opBatchDeleteTaxRegistration,
+ HTTPMethod: "POST",
+ HTTPPath: "/BatchDeleteTaxRegistration",
+ }
+
+ if input == nil {
+ input = &BatchDeleteTaxRegistrationInput{}
+ }
+
+ output = &BatchDeleteTaxRegistrationOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// BatchDeleteTaxRegistration API operation for Tax Settings.
+//
+// Deletes tax registration for multiple accounts in batch. This can be used
+// to delete tax registrations for up to five accounts in one batch.
+//
+// This API operation can't be used to delete your tax registration in Brazil.
+// Use the Payment preferences (https://console.aws.amazon.com/billing/home#/paymentpreferences/paymentmethods)
+// page in the Billing and Cost Management console instead.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Tax Settings's
+// API operation BatchDeleteTaxRegistration for usage and error information.
+//
+// Returned Error Types:
+//
+// - ValidationException
+// The exception when the input doesn't pass validation for at least one of
+// the input parameters.
+//
+// - ConflictException
+// The exception when the input is creating conflict with the given state.
+//
+// - InternalServerException
+// The exception thrown when an unexpected error occurs when processing a request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/BatchDeleteTaxRegistration
+func (c *TaxSettings) BatchDeleteTaxRegistration(input *BatchDeleteTaxRegistrationInput) (*BatchDeleteTaxRegistrationOutput, error) {
+ req, out := c.BatchDeleteTaxRegistrationRequest(input)
+ return out, req.Send()
+}
+
+// BatchDeleteTaxRegistrationWithContext is the same as BatchDeleteTaxRegistration with the addition of
+// the ability to pass a context and additional request options.
+//
+// See BatchDeleteTaxRegistration for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *TaxSettings) BatchDeleteTaxRegistrationWithContext(ctx aws.Context, input *BatchDeleteTaxRegistrationInput, opts ...request.Option) (*BatchDeleteTaxRegistrationOutput, error) {
+ req, out := c.BatchDeleteTaxRegistrationRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opBatchPutTaxRegistration = "BatchPutTaxRegistration"
+
+// BatchPutTaxRegistrationRequest generates a "aws/request.Request" representing the
+// client's request for the BatchPutTaxRegistration operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See BatchPutTaxRegistration for more information on using the BatchPutTaxRegistration
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the BatchPutTaxRegistrationRequest method.
+// req, resp := client.BatchPutTaxRegistrationRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/BatchPutTaxRegistration
+func (c *TaxSettings) BatchPutTaxRegistrationRequest(input *BatchPutTaxRegistrationInput) (req *request.Request, output *BatchPutTaxRegistrationOutput) {
+ op := &request.Operation{
+ Name: opBatchPutTaxRegistration,
+ HTTPMethod: "POST",
+ HTTPPath: "/BatchPutTaxRegistration",
+ }
+
+ if input == nil {
+ input = &BatchPutTaxRegistrationInput{}
+ }
+
+ output = &BatchPutTaxRegistrationOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// BatchPutTaxRegistration API operation for Tax Settings.
+//
+// Adds or updates tax registration for multiple accounts in batch. This can
+// be used to add or update tax registrations for up to five accounts in one
+// batch. You can't set a TRN if there's a pending TRN. You'll need to delete
+// the pending TRN first.
+//
+// To call this API operation for specific countries, see the following country-specific
+// requirements.
+//
+// Bangladesh
+//
+// - You must specify the tax registration certificate document in the taxRegistrationDocuments
+// field of the VerificationDetails object.
+//
+// Brazil
+//
+// - You must complete the tax registration process in the Payment preferences
+// (https://console.aws.amazon.com/billing/home#/paymentpreferences/paymentmethods)
+// page in the Billing and Cost Management console. After your TRN and billing
+// address are verified, you can call this API operation.
+//
+// - For Amazon Web Services accounts created through Organizations, you
+// can call this API operation when you don't have a billing address.
+//
+// Georgia
+//
+// - The valid personType values are Physical Person and Business.
+//
+// Kenya
+//
+// - You must specify the personType in the kenyaAdditionalInfo field of
+// the additionalTaxInformation object.
+//
+// - If the personType is Physical Person, you must specify the tax registration
+// certificate document in the taxRegistrationDocuments field of the VerificationDetails
+// object.
+//
+// Malaysia
+//
+// - If you use this operation to set a tax registration number (TRN) in
+// Malaysia, only resellers with a valid sales and service tax (SST) number
+// are required to provide tax registration information.
+//
+// - By using this API operation to set a TRN in Malaysia, Amazon Web Services
+// will regard you as self-declaring that you're an authorized business reseller
+// registered with the Royal Malaysia Customs Department (RMCD) and have
+// a valid SST number.
+//
+// - Amazon Web Services reserves the right to seek additional information
+// and/or take other actions to support your self-declaration as appropriate.
+//
+// - If you're not a reseller of Amazon Web Services, we don't recommend
+// that you use this operation to set the TRN in Malaysia.
+//
+// - Only use this API operation to upload the TRNs for accounts through
+// which you're reselling Amazon Web Services.
+//
+// - Amazon Web Services is currently registered under the following service
+// tax codes. You must include at least one of the service tax codes in the
+// service tax code strings to declare yourself as an authorized registered
+// business reseller. Taxable service and service tax codes: Consultancy
+//
+// - 9907061674 Training or coaching service - 9907071685 IT service - 9907101676
+// Digital services and electronic medium - 9907121690
+//
+// Nepal
+//
+// - The sector valid values are Business and Individual.
+//
+// Saudi Arabia
+//
+// - For address, you must specify addressLine3.
+//
+// South Korea
+//
+// - You must specify the certifiedEmailId and legalName in the TaxRegistrationEntry
+// object. Use Korean characters for legalName.
+//
+// - You must specify the businessRepresentativeName, itemOfBusiness, and
+// lineOfBusiness in the southKoreaAdditionalInfo field of the additionalTaxInformation
+// object. Use Korean characters for these fields.
+//
+// - You must specify the tax registration certificate document in the taxRegistrationDocuments
+// field of the VerificationDetails object.
+//
+// - For the address object, use Korean characters for addressLine1, addressLine2
+// city, postalCode, and stateOrRegion.
+//
+// Spain
+//
+// - You must specify the registrationType in the spainAdditionalInfo field
+// of the additionalTaxInformation object.
+//
+// - If the registrationType is Local, you must specify the tax registration
+// certificate document in the taxRegistrationDocuments field of the VerificationDetails
+// object.
+//
+// Turkey
+//
+// - You must specify the sector in the taxRegistrationEntry object.
+//
+// - If your sector is Business, Individual, or Government: Specify the taxOffice.
+// If your sector is Individual, don't enter this value. (Optional) Specify
+// the kepEmailId. If your sector is Individual, don't enter this value.
+// Note: In the Tax Settings page of the Billing console, Government appears
+// as Public institutions
+//
+// - If your sector is Business and you're subject to KDV tax, you must specify
+// your industry in the industries field.
+//
+// - For address, you must specify districtOrCounty.
+//
+// Ukraine
+//
+// - The sector valid values are Business and Individual.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Tax Settings's
+// API operation BatchPutTaxRegistration for usage and error information.
+//
+// Returned Error Types:
+//
+// - ValidationException
+// The exception when the input doesn't pass validation for at least one of
+// the input parameters.
+//
+// - ConflictException
+// The exception when the input is creating conflict with the given state.
+//
+// - InternalServerException
+// The exception thrown when an unexpected error occurs when processing a request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/BatchPutTaxRegistration
+func (c *TaxSettings) BatchPutTaxRegistration(input *BatchPutTaxRegistrationInput) (*BatchPutTaxRegistrationOutput, error) {
+ req, out := c.BatchPutTaxRegistrationRequest(input)
+ return out, req.Send()
+}
+
+// BatchPutTaxRegistrationWithContext is the same as BatchPutTaxRegistration with the addition of
+// the ability to pass a context and additional request options.
+//
+// See BatchPutTaxRegistration for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *TaxSettings) BatchPutTaxRegistrationWithContext(ctx aws.Context, input *BatchPutTaxRegistrationInput, opts ...request.Option) (*BatchPutTaxRegistrationOutput, error) {
+ req, out := c.BatchPutTaxRegistrationRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opDeleteTaxRegistration = "DeleteTaxRegistration"
+
+// DeleteTaxRegistrationRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteTaxRegistration operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See DeleteTaxRegistration for more information on using the DeleteTaxRegistration
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the DeleteTaxRegistrationRequest method.
+// req, resp := client.DeleteTaxRegistrationRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/DeleteTaxRegistration
+func (c *TaxSettings) DeleteTaxRegistrationRequest(input *DeleteTaxRegistrationInput) (req *request.Request, output *DeleteTaxRegistrationOutput) {
+ op := &request.Operation{
+ Name: opDeleteTaxRegistration,
+ HTTPMethod: "POST",
+ HTTPPath: "/DeleteTaxRegistration",
+ }
+
+ if input == nil {
+ input = &DeleteTaxRegistrationInput{}
+ }
+
+ output = &DeleteTaxRegistrationOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// DeleteTaxRegistration API operation for Tax Settings.
+//
+// Deletes tax registration for a single account.
+//
+// This API operation can't be used to delete your tax registration in Brazil.
+// Use the Payment preferences (https://console.aws.amazon.com/billing/home#/paymentpreferences/paymentmethods)
+// page in the Billing and Cost Management console instead.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Tax Settings's
+// API operation DeleteTaxRegistration for usage and error information.
+//
+// Returned Error Types:
+//
+// - ValidationException
+// The exception when the input doesn't pass validation for at least one of
+// the input parameters.
+//
+// - ConflictException
+// The exception when the input is creating conflict with the given state.
+//
+// - ResourceNotFoundException
+// The exception thrown when the input doesn't have a resource associated to
+// it.
+//
+// - InternalServerException
+// The exception thrown when an unexpected error occurs when processing a request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/DeleteTaxRegistration
+func (c *TaxSettings) DeleteTaxRegistration(input *DeleteTaxRegistrationInput) (*DeleteTaxRegistrationOutput, error) {
+ req, out := c.DeleteTaxRegistrationRequest(input)
+ return out, req.Send()
+}
+
+// DeleteTaxRegistrationWithContext is the same as DeleteTaxRegistration with the addition of
+// the ability to pass a context and additional request options.
+//
+// See DeleteTaxRegistration for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *TaxSettings) DeleteTaxRegistrationWithContext(ctx aws.Context, input *DeleteTaxRegistrationInput, opts ...request.Option) (*DeleteTaxRegistrationOutput, error) {
+ req, out := c.DeleteTaxRegistrationRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opGetTaxRegistration = "GetTaxRegistration"
+
+// GetTaxRegistrationRequest generates a "aws/request.Request" representing the
+// client's request for the GetTaxRegistration operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See GetTaxRegistration for more information on using the GetTaxRegistration
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the GetTaxRegistrationRequest method.
+// req, resp := client.GetTaxRegistrationRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/GetTaxRegistration
+func (c *TaxSettings) GetTaxRegistrationRequest(input *GetTaxRegistrationInput) (req *request.Request, output *GetTaxRegistrationOutput) {
+ op := &request.Operation{
+ Name: opGetTaxRegistration,
+ HTTPMethod: "POST",
+ HTTPPath: "/GetTaxRegistration",
+ }
+
+ if input == nil {
+ input = &GetTaxRegistrationInput{}
+ }
+
+ output = &GetTaxRegistrationOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// GetTaxRegistration API operation for Tax Settings.
+//
+// Retrieves tax registration for a single account.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Tax Settings's
+// API operation GetTaxRegistration for usage and error information.
+//
+// Returned Error Types:
+//
+// - ValidationException
+// The exception when the input doesn't pass validation for at least one of
+// the input parameters.
+//
+// - ResourceNotFoundException
+// The exception thrown when the input doesn't have a resource associated to
+// it.
+//
+// - InternalServerException
+// The exception thrown when an unexpected error occurs when processing a request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/GetTaxRegistration
+func (c *TaxSettings) GetTaxRegistration(input *GetTaxRegistrationInput) (*GetTaxRegistrationOutput, error) {
+ req, out := c.GetTaxRegistrationRequest(input)
+ return out, req.Send()
+}
+
+// GetTaxRegistrationWithContext is the same as GetTaxRegistration with the addition of
+// the ability to pass a context and additional request options.
+//
+// See GetTaxRegistration for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *TaxSettings) GetTaxRegistrationWithContext(ctx aws.Context, input *GetTaxRegistrationInput, opts ...request.Option) (*GetTaxRegistrationOutput, error) {
+ req, out := c.GetTaxRegistrationRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opGetTaxRegistrationDocument = "GetTaxRegistrationDocument"
+
+// GetTaxRegistrationDocumentRequest generates a "aws/request.Request" representing the
+// client's request for the GetTaxRegistrationDocument operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See GetTaxRegistrationDocument for more information on using the GetTaxRegistrationDocument
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the GetTaxRegistrationDocumentRequest method.
+// req, resp := client.GetTaxRegistrationDocumentRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/GetTaxRegistrationDocument
+func (c *TaxSettings) GetTaxRegistrationDocumentRequest(input *GetTaxRegistrationDocumentInput) (req *request.Request, output *GetTaxRegistrationDocumentOutput) {
+ op := &request.Operation{
+ Name: opGetTaxRegistrationDocument,
+ HTTPMethod: "POST",
+ HTTPPath: "/GetTaxRegistrationDocument",
+ }
+
+ if input == nil {
+ input = &GetTaxRegistrationDocumentInput{}
+ }
+
+ output = &GetTaxRegistrationDocumentOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// GetTaxRegistrationDocument API operation for Tax Settings.
+//
+// Downloads your tax documents to the Amazon S3 bucket that you specify in
+// your request.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Tax Settings's
+// API operation GetTaxRegistrationDocument for usage and error information.
+//
+// Returned Error Types:
+//
+// - ValidationException
+// The exception when the input doesn't pass validation for at least one of
+// the input parameters.
+//
+// - InternalServerException
+// The exception thrown when an unexpected error occurs when processing a request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/GetTaxRegistrationDocument
+func (c *TaxSettings) GetTaxRegistrationDocument(input *GetTaxRegistrationDocumentInput) (*GetTaxRegistrationDocumentOutput, error) {
+ req, out := c.GetTaxRegistrationDocumentRequest(input)
+ return out, req.Send()
+}
+
+// GetTaxRegistrationDocumentWithContext is the same as GetTaxRegistrationDocument with the addition of
+// the ability to pass a context and additional request options.
+//
+// See GetTaxRegistrationDocument for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *TaxSettings) GetTaxRegistrationDocumentWithContext(ctx aws.Context, input *GetTaxRegistrationDocumentInput, opts ...request.Option) (*GetTaxRegistrationDocumentOutput, error) {
+ req, out := c.GetTaxRegistrationDocumentRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opListTaxRegistrations = "ListTaxRegistrations"
+
+// ListTaxRegistrationsRequest generates a "aws/request.Request" representing the
+// client's request for the ListTaxRegistrations operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListTaxRegistrations for more information on using the ListTaxRegistrations
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListTaxRegistrationsRequest method.
+// req, resp := client.ListTaxRegistrationsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/ListTaxRegistrations
+func (c *TaxSettings) ListTaxRegistrationsRequest(input *ListTaxRegistrationsInput) (req *request.Request, output *ListTaxRegistrationsOutput) {
+ op := &request.Operation{
+ Name: opListTaxRegistrations,
+ HTTPMethod: "POST",
+ HTTPPath: "/ListTaxRegistrations",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"nextToken"},
+ OutputTokens: []string{"nextToken"},
+ LimitToken: "maxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListTaxRegistrationsInput{}
+ }
+
+ output = &ListTaxRegistrationsOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListTaxRegistrations API operation for Tax Settings.
+//
+// Retrieves the tax registration of accounts listed in a consolidated billing
+// family. This can be used to retrieve up to 100 accounts' tax registrations
+// in one call (default 50).
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Tax Settings's
+// API operation ListTaxRegistrations for usage and error information.
+//
+// Returned Error Types:
+//
+// - ValidationException
+// The exception when the input doesn't pass validation for at least one of
+// the input parameters.
+//
+// - ResourceNotFoundException
+// The exception thrown when the input doesn't have a resource associated to
+// it.
+//
+// - InternalServerException
+// The exception thrown when an unexpected error occurs when processing a request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/ListTaxRegistrations
+func (c *TaxSettings) ListTaxRegistrations(input *ListTaxRegistrationsInput) (*ListTaxRegistrationsOutput, error) {
+ req, out := c.ListTaxRegistrationsRequest(input)
+ return out, req.Send()
+}
+
+// ListTaxRegistrationsWithContext is the same as ListTaxRegistrations with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListTaxRegistrations for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *TaxSettings) ListTaxRegistrationsWithContext(ctx aws.Context, input *ListTaxRegistrationsInput, opts ...request.Option) (*ListTaxRegistrationsOutput, error) {
+ req, out := c.ListTaxRegistrationsRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListTaxRegistrationsPages iterates over the pages of a ListTaxRegistrations operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListTaxRegistrations method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListTaxRegistrations operation.
+// pageNum := 0
+// err := client.ListTaxRegistrationsPages(params,
+// func(page *taxsettings.ListTaxRegistrationsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *TaxSettings) ListTaxRegistrationsPages(input *ListTaxRegistrationsInput, fn func(*ListTaxRegistrationsOutput, bool) bool) error {
+ return c.ListTaxRegistrationsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListTaxRegistrationsPagesWithContext same as ListTaxRegistrationsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *TaxSettings) ListTaxRegistrationsPagesWithContext(ctx aws.Context, input *ListTaxRegistrationsInput, fn func(*ListTaxRegistrationsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListTaxRegistrationsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListTaxRegistrationsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListTaxRegistrationsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opPutTaxRegistration = "PutTaxRegistration"
+
+// PutTaxRegistrationRequest generates a "aws/request.Request" representing the
+// client's request for the PutTaxRegistration operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See PutTaxRegistration for more information on using the PutTaxRegistration
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the PutTaxRegistrationRequest method.
+// req, resp := client.PutTaxRegistrationRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/PutTaxRegistration
+func (c *TaxSettings) PutTaxRegistrationRequest(input *PutTaxRegistrationInput) (req *request.Request, output *PutTaxRegistrationOutput) {
+ op := &request.Operation{
+ Name: opPutTaxRegistration,
+ HTTPMethod: "POST",
+ HTTPPath: "/PutTaxRegistration",
+ }
+
+ if input == nil {
+ input = &PutTaxRegistrationInput{}
+ }
+
+ output = &PutTaxRegistrationOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// PutTaxRegistration API operation for Tax Settings.
+//
+// Adds or updates tax registration for a single account. You can't set a TRN
+// if there's a pending TRN. You'll need to delete the pending TRN first.
+//
+// To call this API operation for specific countries, see the following country-specific
+// requirements.
+//
+// Bangladesh
+//
+// - You must specify the tax registration certificate document in the taxRegistrationDocuments
+// field of the VerificationDetails object.
+//
+// Brazil
+//
+// - You must complete the tax registration process in the Payment preferences
+// (https://console.aws.amazon.com/billing/home#/paymentpreferences/paymentmethods)
+// page in the Billing and Cost Management console. After your TRN and billing
+// address are verified, you can call this API operation.
+//
+// - For Amazon Web Services accounts created through Organizations, you
+// can call this API operation when you don't have a billing address.
+//
+// Georgia
+//
+// - The valid personType values are Physical Person and Business.
+//
+// Kenya
+//
+// - You must specify the personType in the kenyaAdditionalInfo field of
+// the additionalTaxInformation object.
+//
+// - If the personType is Physical Person, you must specify the tax registration
+// certificate document in the taxRegistrationDocuments field of the VerificationDetails
+// object.
+//
+// Malaysia
+//
+// - If you use this operation to set a tax registration number (TRN) in
+// Malaysia, only resellers with a valid sales and service tax (SST) number
+// are required to provide tax registration information.
+//
+// - By using this API operation to set a TRN in Malaysia, Amazon Web Services
+// will regard you as self-declaring that you're an authorized business reseller
+// registered with the Royal Malaysia Customs Department (RMCD) and have
+// a valid SST number.
+//
+// - Amazon Web Services reserves the right to seek additional information
+// and/or take other actions to support your self-declaration as appropriate.
+//
+// - If you're not a reseller of Amazon Web Services, we don't recommend
+// that you use this operation to set the TRN in Malaysia.
+//
+// - Only use this API operation to upload the TRNs for accounts through
+// which you're reselling Amazon Web Services.
+//
+// - Amazon Web Services is currently registered under the following service
+// tax codes. You must include at least one of the service tax codes in the
+// service tax code strings to declare yourself as an authorized registered
+// business reseller. Taxable service and service tax codes: Consultancy
+//
+// - 9907061674 Training or coaching service - 9907071685 IT service - 9907101676
+// Digital services and electronic medium - 9907121690
+//
+// Nepal
+//
+// - The sector valid values are Business and Individual.
+//
+// Saudi Arabia
+//
+// - For address, you must specify addressLine3.
+//
+// South Korea
+//
+// - You must specify the certifiedEmailId and legalName in the TaxRegistrationEntry
+// object. Use Korean characters for legalName.
+//
+// - You must specify the businessRepresentativeName, itemOfBusiness, and
+// lineOfBusiness in the southKoreaAdditionalInfo field of the additionalTaxInformation
+// object. Use Korean characters for these fields.
+//
+// - You must specify the tax registration certificate document in the taxRegistrationDocuments
+// field of the VerificationDetails object.
+//
+// - For the address object, use Korean characters for addressLine1, addressLine2
+// city, postalCode, and stateOrRegion.
+//
+// Spain
+//
+// - You must specify the registrationType in the spainAdditionalInfo field
+// of the additionalTaxInformation object.
+//
+// - If the registrationType is Local, you must specify the tax registration
+// certificate document in the taxRegistrationDocuments field of the VerificationDetails
+// object.
+//
+// Turkey
+//
+// - You must specify the sector in the taxRegistrationEntry object.
+//
+// - If your sector is Business, Individual, or Government: Specify the taxOffice.
+// If your sector is Individual, don't enter this value. (Optional) Specify
+// the kepEmailId. If your sector is Individual, don't enter this value.
+// Note: In the Tax Settings page of the Billing console, Government appears
+// as Public institutions
+//
+// - If your sector is Business and you're subject to KDV tax, you must specify
+// your industry in the industries field.
+//
+// - For address, you must specify districtOrCounty.
+//
+// Ukraine
+//
+// - The sector valid values are Business and Individual.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Tax Settings's
+// API operation PutTaxRegistration for usage and error information.
+//
+// Returned Error Types:
+//
+// - ValidationException
+// The exception when the input doesn't pass validation for at least one of
+// the input parameters.
+//
+// - ConflictException
+// The exception when the input is creating conflict with the given state.
+//
+// - InternalServerException
+// The exception thrown when an unexpected error occurs when processing a request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/PutTaxRegistration
+func (c *TaxSettings) PutTaxRegistration(input *PutTaxRegistrationInput) (*PutTaxRegistrationOutput, error) {
+ req, out := c.PutTaxRegistrationRequest(input)
+ return out, req.Send()
+}
+
+// PutTaxRegistrationWithContext is the same as PutTaxRegistration with the addition of
+// the ability to pass a context and additional request options.
+//
+// See PutTaxRegistration for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *TaxSettings) PutTaxRegistrationWithContext(ctx aws.Context, input *PutTaxRegistrationInput, opts ...request.Option) (*PutTaxRegistrationOutput, error) {
+ req, out := c.PutTaxRegistrationRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// An object with your accountId and TRN information.
+type AccountDetails struct {
+ _ struct{} `type:"structure" sensitive:"true"`
+
+ // List of unique account identifiers.
+ AccountId *string `locationName:"accountId" min:"12" type:"string"`
+
+ // The meta data information associated with the account.
+ //
+ // AccountMetaData is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by AccountDetails's
+ // String and GoString methods.
+ AccountMetaData *AccountMetaData `locationName:"accountMetaData" type:"structure" sensitive:"true"`
+
+ // Tax inheritance information associated with the account.
+ TaxInheritanceDetails *TaxInheritanceDetails `locationName:"taxInheritanceDetails" type:"structure"`
+
+ // Your TRN information. Instead of having full legal address, here TRN information
+ // will have jurisdiction details (for example, country code and state/region/province
+ // if applicable).
+ //
+ // TaxRegistration is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by AccountDetails's
+ // String and GoString methods.
+ TaxRegistration *TaxRegistrationWithJurisdiction `locationName:"taxRegistration" type:"structure" sensitive:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccountDetails) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccountDetails) GoString() string {
+ return s.String()
+}
+
+// SetAccountId sets the AccountId field's value.
+func (s *AccountDetails) SetAccountId(v string) *AccountDetails {
+ s.AccountId = &v
+ return s
+}
+
+// SetAccountMetaData sets the AccountMetaData field's value.
+func (s *AccountDetails) SetAccountMetaData(v *AccountMetaData) *AccountDetails {
+ s.AccountMetaData = v
+ return s
+}
+
+// SetTaxInheritanceDetails sets the TaxInheritanceDetails field's value.
+func (s *AccountDetails) SetTaxInheritanceDetails(v *TaxInheritanceDetails) *AccountDetails {
+ s.TaxInheritanceDetails = v
+ return s
+}
+
+// SetTaxRegistration sets the TaxRegistration field's value.
+func (s *AccountDetails) SetTaxRegistration(v *TaxRegistrationWithJurisdiction) *AccountDetails {
+ s.TaxRegistration = v
+ return s
+}
+
+// The meta data information associated with the account.
+type AccountMetaData struct {
+ _ struct{} `type:"structure" sensitive:"true"`
+
+ // The Amazon Web Services accounts name.
+ AccountName *string `locationName:"accountName" type:"string"`
+
+ // The details of the address associated with the TRN information.
+ Address *Address `locationName:"address" type:"structure"`
+
+ // Address roles associated with the account containing country code information.
+ AddressRoleMap map[string]*Jurisdiction `locationName:"addressRoleMap" type:"map"`
+
+ // The type of address associated with the legal profile.
+ AddressType *string `locationName:"addressType" type:"string" enum:"AddressRoleType"`
+
+ // Seller information associated with the account.
+ Seller *string `locationName:"seller" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccountMetaData) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccountMetaData) GoString() string {
+ return s.String()
+}
+
+// SetAccountName sets the AccountName field's value.
+func (s *AccountMetaData) SetAccountName(v string) *AccountMetaData {
+ s.AccountName = &v
+ return s
+}
+
+// SetAddress sets the Address field's value.
+func (s *AccountMetaData) SetAddress(v *Address) *AccountMetaData {
+ s.Address = v
+ return s
+}
+
+// SetAddressRoleMap sets the AddressRoleMap field's value.
+func (s *AccountMetaData) SetAddressRoleMap(v map[string]*Jurisdiction) *AccountMetaData {
+ s.AddressRoleMap = v
+ return s
+}
+
+// SetAddressType sets the AddressType field's value.
+func (s *AccountMetaData) SetAddressType(v string) *AccountMetaData {
+ s.AddressType = &v
+ return s
+}
+
+// SetSeller sets the Seller field's value.
+func (s *AccountMetaData) SetSeller(v string) *AccountMetaData {
+ s.Seller = &v
+ return s
+}
+
+// Additional tax information associated with your tax registration number (TRN).
+// Depending on the TRN for a specific country, you might need to specify this
+// information when you set your TRN.
+//
+// You can only specify one of the following parameters and the value can't
+// be empty.
+//
+// The parameter that you specify must match the country for the TRN, if available.
+// For example, if you set a TRN in Canada for specific provinces, you must
+// also specify the canadaAdditionalInfo parameter.
+type AdditionalInfoRequest struct {
+ _ struct{} `type:"structure"`
+
+ // Additional tax information associated with your TRN in Canada.
+ CanadaAdditionalInfo *CanadaAdditionalInfo `locationName:"canadaAdditionalInfo" type:"structure"`
+
+ // Additional tax information to specify for a TRN in Estonia.
+ EstoniaAdditionalInfo *EstoniaAdditionalInfo `locationName:"estoniaAdditionalInfo" type:"structure"`
+
+ // Additional tax information to specify for a TRN in Georgia.
+ GeorgiaAdditionalInfo *GeorgiaAdditionalInfo `locationName:"georgiaAdditionalInfo" type:"structure"`
+
+ // Additional tax information to specify for a TRN in Israel.
+ IsraelAdditionalInfo *IsraelAdditionalInfo `locationName:"israelAdditionalInfo" type:"structure"`
+
+ // Additional tax information to specify for a TRN in Italy.
+ ItalyAdditionalInfo *ItalyAdditionalInfo `locationName:"italyAdditionalInfo" type:"structure"`
+
+ // Additional tax information to specify for a TRN in Kenya.
+ KenyaAdditionalInfo *KenyaAdditionalInfo `locationName:"kenyaAdditionalInfo" type:"structure"`
+
+ // Additional tax information to specify for a TRN in Malaysia.
+ MalaysiaAdditionalInfo *MalaysiaAdditionalInfo `locationName:"malaysiaAdditionalInfo" type:"structure"`
+
+ // Additional tax information associated with your TRN in Poland.
+ PolandAdditionalInfo *PolandAdditionalInfo `locationName:"polandAdditionalInfo" type:"structure"`
+
+ // Additional tax information to specify for a TRN in Romania.
+ RomaniaAdditionalInfo *RomaniaAdditionalInfo `locationName:"romaniaAdditionalInfo" type:"structure"`
+
+ // Additional tax information associated with your TRN in Saudi Arabia.
+ SaudiArabiaAdditionalInfo *SaudiArabiaAdditionalInfo `locationName:"saudiArabiaAdditionalInfo" type:"structure"`
+
+ // Additional tax information to specify for a TRN in South Korea.
+ SouthKoreaAdditionalInfo *SouthKoreaAdditionalInfo `locationName:"southKoreaAdditionalInfo" type:"structure"`
+
+ // Additional tax information to specify for a TRN in Spain.
+ SpainAdditionalInfo *SpainAdditionalInfo `locationName:"spainAdditionalInfo" type:"structure"`
+
+ // Additional tax information to specify for a TRN in Turkey.
+ TurkeyAdditionalInfo *TurkeyAdditionalInfo `locationName:"turkeyAdditionalInfo" type:"structure"`
+
+ // Additional tax information associated with your TRN in Ukraine.
+ UkraineAdditionalInfo *UkraineAdditionalInfo `locationName:"ukraineAdditionalInfo" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AdditionalInfoRequest) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AdditionalInfoRequest) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AdditionalInfoRequest) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AdditionalInfoRequest"}
+ if s.CanadaAdditionalInfo != nil {
+ if err := s.CanadaAdditionalInfo.Validate(); err != nil {
+ invalidParams.AddNested("CanadaAdditionalInfo", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.EstoniaAdditionalInfo != nil {
+ if err := s.EstoniaAdditionalInfo.Validate(); err != nil {
+ invalidParams.AddNested("EstoniaAdditionalInfo", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.GeorgiaAdditionalInfo != nil {
+ if err := s.GeorgiaAdditionalInfo.Validate(); err != nil {
+ invalidParams.AddNested("GeorgiaAdditionalInfo", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.IsraelAdditionalInfo != nil {
+ if err := s.IsraelAdditionalInfo.Validate(); err != nil {
+ invalidParams.AddNested("IsraelAdditionalInfo", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.KenyaAdditionalInfo != nil {
+ if err := s.KenyaAdditionalInfo.Validate(); err != nil {
+ invalidParams.AddNested("KenyaAdditionalInfo", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.MalaysiaAdditionalInfo != nil {
+ if err := s.MalaysiaAdditionalInfo.Validate(); err != nil {
+ invalidParams.AddNested("MalaysiaAdditionalInfo", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.RomaniaAdditionalInfo != nil {
+ if err := s.RomaniaAdditionalInfo.Validate(); err != nil {
+ invalidParams.AddNested("RomaniaAdditionalInfo", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.SouthKoreaAdditionalInfo != nil {
+ if err := s.SouthKoreaAdditionalInfo.Validate(); err != nil {
+ invalidParams.AddNested("SouthKoreaAdditionalInfo", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.SpainAdditionalInfo != nil {
+ if err := s.SpainAdditionalInfo.Validate(); err != nil {
+ invalidParams.AddNested("SpainAdditionalInfo", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.UkraineAdditionalInfo != nil {
+ if err := s.UkraineAdditionalInfo.Validate(); err != nil {
+ invalidParams.AddNested("UkraineAdditionalInfo", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetCanadaAdditionalInfo sets the CanadaAdditionalInfo field's value.
+func (s *AdditionalInfoRequest) SetCanadaAdditionalInfo(v *CanadaAdditionalInfo) *AdditionalInfoRequest {
+ s.CanadaAdditionalInfo = v
+ return s
+}
+
+// SetEstoniaAdditionalInfo sets the EstoniaAdditionalInfo field's value.
+func (s *AdditionalInfoRequest) SetEstoniaAdditionalInfo(v *EstoniaAdditionalInfo) *AdditionalInfoRequest {
+ s.EstoniaAdditionalInfo = v
+ return s
+}
+
+// SetGeorgiaAdditionalInfo sets the GeorgiaAdditionalInfo field's value.
+func (s *AdditionalInfoRequest) SetGeorgiaAdditionalInfo(v *GeorgiaAdditionalInfo) *AdditionalInfoRequest {
+ s.GeorgiaAdditionalInfo = v
+ return s
+}
+
+// SetIsraelAdditionalInfo sets the IsraelAdditionalInfo field's value.
+func (s *AdditionalInfoRequest) SetIsraelAdditionalInfo(v *IsraelAdditionalInfo) *AdditionalInfoRequest {
+ s.IsraelAdditionalInfo = v
+ return s
+}
+
+// SetItalyAdditionalInfo sets the ItalyAdditionalInfo field's value.
+func (s *AdditionalInfoRequest) SetItalyAdditionalInfo(v *ItalyAdditionalInfo) *AdditionalInfoRequest {
+ s.ItalyAdditionalInfo = v
+ return s
+}
+
+// SetKenyaAdditionalInfo sets the KenyaAdditionalInfo field's value.
+func (s *AdditionalInfoRequest) SetKenyaAdditionalInfo(v *KenyaAdditionalInfo) *AdditionalInfoRequest {
+ s.KenyaAdditionalInfo = v
+ return s
+}
+
+// SetMalaysiaAdditionalInfo sets the MalaysiaAdditionalInfo field's value.
+func (s *AdditionalInfoRequest) SetMalaysiaAdditionalInfo(v *MalaysiaAdditionalInfo) *AdditionalInfoRequest {
+ s.MalaysiaAdditionalInfo = v
+ return s
+}
+
+// SetPolandAdditionalInfo sets the PolandAdditionalInfo field's value.
+func (s *AdditionalInfoRequest) SetPolandAdditionalInfo(v *PolandAdditionalInfo) *AdditionalInfoRequest {
+ s.PolandAdditionalInfo = v
+ return s
+}
+
+// SetRomaniaAdditionalInfo sets the RomaniaAdditionalInfo field's value.
+func (s *AdditionalInfoRequest) SetRomaniaAdditionalInfo(v *RomaniaAdditionalInfo) *AdditionalInfoRequest {
+ s.RomaniaAdditionalInfo = v
+ return s
+}
+
+// SetSaudiArabiaAdditionalInfo sets the SaudiArabiaAdditionalInfo field's value.
+func (s *AdditionalInfoRequest) SetSaudiArabiaAdditionalInfo(v *SaudiArabiaAdditionalInfo) *AdditionalInfoRequest {
+ s.SaudiArabiaAdditionalInfo = v
+ return s
+}
+
+// SetSouthKoreaAdditionalInfo sets the SouthKoreaAdditionalInfo field's value.
+func (s *AdditionalInfoRequest) SetSouthKoreaAdditionalInfo(v *SouthKoreaAdditionalInfo) *AdditionalInfoRequest {
+ s.SouthKoreaAdditionalInfo = v
+ return s
+}
+
+// SetSpainAdditionalInfo sets the SpainAdditionalInfo field's value.
+func (s *AdditionalInfoRequest) SetSpainAdditionalInfo(v *SpainAdditionalInfo) *AdditionalInfoRequest {
+ s.SpainAdditionalInfo = v
+ return s
+}
+
+// SetTurkeyAdditionalInfo sets the TurkeyAdditionalInfo field's value.
+func (s *AdditionalInfoRequest) SetTurkeyAdditionalInfo(v *TurkeyAdditionalInfo) *AdditionalInfoRequest {
+ s.TurkeyAdditionalInfo = v
+ return s
+}
+
+// SetUkraineAdditionalInfo sets the UkraineAdditionalInfo field's value.
+func (s *AdditionalInfoRequest) SetUkraineAdditionalInfo(v *UkraineAdditionalInfo) *AdditionalInfoRequest {
+ s.UkraineAdditionalInfo = v
+ return s
+}
+
+// Additional tax information associated with your TRN. The Tax Settings API
+// returns country-specific information in the response when any additional
+// information is present with your TRN for the following countries.
+type AdditionalInfoResponse struct {
+ _ struct{} `type:"structure"`
+
+ // Additional tax information associated with your TRN in Brazil. The Tax Settings
+ // API returns this information in your response when any additional information
+ // is present with your TRN in Brazil.
+ BrazilAdditionalInfo *BrazilAdditionalInfo `locationName:"brazilAdditionalInfo" type:"structure"`
+
+ // Additional tax information associated with your TRN in Canada.
+ CanadaAdditionalInfo *CanadaAdditionalInfo `locationName:"canadaAdditionalInfo" type:"structure"`
+
+ // Additional tax information associated with your TRN in Estonia.
+ EstoniaAdditionalInfo *EstoniaAdditionalInfo `locationName:"estoniaAdditionalInfo" type:"structure"`
+
+ // Additional tax information associated with your TRN in Georgia.
+ GeorgiaAdditionalInfo *GeorgiaAdditionalInfo `locationName:"georgiaAdditionalInfo" type:"structure"`
+
+ // Additional tax information in India.
+ IndiaAdditionalInfo *IndiaAdditionalInfo `locationName:"indiaAdditionalInfo" type:"structure"`
+
+ // Additional tax information associated with your TRN in Israel.
+ IsraelAdditionalInfo *IsraelAdditionalInfo `locationName:"israelAdditionalInfo" type:"structure"`
+
+ // Additional tax information associated with your TRN in Italy.
+ ItalyAdditionalInfo *ItalyAdditionalInfo `locationName:"italyAdditionalInfo" type:"structure"`
+
+ // Additional tax information associated with your TRN in Kenya.
+ KenyaAdditionalInfo *KenyaAdditionalInfo `locationName:"kenyaAdditionalInfo" type:"structure"`
+
+ // Additional tax information associated with your TRN in Malaysia.
+ MalaysiaAdditionalInfo *MalaysiaAdditionalInfo `locationName:"malaysiaAdditionalInfo" type:"structure"`
+
+ // Additional tax information associated with your TRN in Poland.
+ PolandAdditionalInfo *PolandAdditionalInfo `locationName:"polandAdditionalInfo" type:"structure"`
+
+ // Additional tax information to specify for a TRN in Romania.
+ RomaniaAdditionalInfo *RomaniaAdditionalInfo `locationName:"romaniaAdditionalInfo" type:"structure"`
+
+ // Additional tax information associated with your TRN in Saudi Arabia.
+ SaudiArabiaAdditionalInfo *SaudiArabiaAdditionalInfo `locationName:"saudiArabiaAdditionalInfo" type:"structure"`
+
+ // Additional tax information associated with your TRN in South Korea.
+ SouthKoreaAdditionalInfo *SouthKoreaAdditionalInfo `locationName:"southKoreaAdditionalInfo" type:"structure"`
+
+ // Additional tax information associated with your TRN in Spain.
+ SpainAdditionalInfo *SpainAdditionalInfo `locationName:"spainAdditionalInfo" type:"structure"`
+
+ // Additional tax information associated with your TRN in Turkey.
+ TurkeyAdditionalInfo *TurkeyAdditionalInfo `locationName:"turkeyAdditionalInfo" type:"structure"`
+
+ // Additional tax information associated with your TRN in Ukraine.
+ UkraineAdditionalInfo *UkraineAdditionalInfo `locationName:"ukraineAdditionalInfo" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AdditionalInfoResponse) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AdditionalInfoResponse) GoString() string {
+ return s.String()
+}
+
+// SetBrazilAdditionalInfo sets the BrazilAdditionalInfo field's value.
+func (s *AdditionalInfoResponse) SetBrazilAdditionalInfo(v *BrazilAdditionalInfo) *AdditionalInfoResponse {
+ s.BrazilAdditionalInfo = v
+ return s
+}
+
+// SetCanadaAdditionalInfo sets the CanadaAdditionalInfo field's value.
+func (s *AdditionalInfoResponse) SetCanadaAdditionalInfo(v *CanadaAdditionalInfo) *AdditionalInfoResponse {
+ s.CanadaAdditionalInfo = v
+ return s
+}
+
+// SetEstoniaAdditionalInfo sets the EstoniaAdditionalInfo field's value.
+func (s *AdditionalInfoResponse) SetEstoniaAdditionalInfo(v *EstoniaAdditionalInfo) *AdditionalInfoResponse {
+ s.EstoniaAdditionalInfo = v
+ return s
+}
+
+// SetGeorgiaAdditionalInfo sets the GeorgiaAdditionalInfo field's value.
+func (s *AdditionalInfoResponse) SetGeorgiaAdditionalInfo(v *GeorgiaAdditionalInfo) *AdditionalInfoResponse {
+ s.GeorgiaAdditionalInfo = v
+ return s
+}
+
+// SetIndiaAdditionalInfo sets the IndiaAdditionalInfo field's value.
+func (s *AdditionalInfoResponse) SetIndiaAdditionalInfo(v *IndiaAdditionalInfo) *AdditionalInfoResponse {
+ s.IndiaAdditionalInfo = v
+ return s
+}
+
+// SetIsraelAdditionalInfo sets the IsraelAdditionalInfo field's value.
+func (s *AdditionalInfoResponse) SetIsraelAdditionalInfo(v *IsraelAdditionalInfo) *AdditionalInfoResponse {
+ s.IsraelAdditionalInfo = v
+ return s
+}
+
+// SetItalyAdditionalInfo sets the ItalyAdditionalInfo field's value.
+func (s *AdditionalInfoResponse) SetItalyAdditionalInfo(v *ItalyAdditionalInfo) *AdditionalInfoResponse {
+ s.ItalyAdditionalInfo = v
+ return s
+}
+
+// SetKenyaAdditionalInfo sets the KenyaAdditionalInfo field's value.
+func (s *AdditionalInfoResponse) SetKenyaAdditionalInfo(v *KenyaAdditionalInfo) *AdditionalInfoResponse {
+ s.KenyaAdditionalInfo = v
+ return s
+}
+
+// SetMalaysiaAdditionalInfo sets the MalaysiaAdditionalInfo field's value.
+func (s *AdditionalInfoResponse) SetMalaysiaAdditionalInfo(v *MalaysiaAdditionalInfo) *AdditionalInfoResponse {
+ s.MalaysiaAdditionalInfo = v
+ return s
+}
+
+// SetPolandAdditionalInfo sets the PolandAdditionalInfo field's value.
+func (s *AdditionalInfoResponse) SetPolandAdditionalInfo(v *PolandAdditionalInfo) *AdditionalInfoResponse {
+ s.PolandAdditionalInfo = v
+ return s
+}
+
+// SetRomaniaAdditionalInfo sets the RomaniaAdditionalInfo field's value.
+func (s *AdditionalInfoResponse) SetRomaniaAdditionalInfo(v *RomaniaAdditionalInfo) *AdditionalInfoResponse {
+ s.RomaniaAdditionalInfo = v
+ return s
+}
+
+// SetSaudiArabiaAdditionalInfo sets the SaudiArabiaAdditionalInfo field's value.
+func (s *AdditionalInfoResponse) SetSaudiArabiaAdditionalInfo(v *SaudiArabiaAdditionalInfo) *AdditionalInfoResponse {
+ s.SaudiArabiaAdditionalInfo = v
+ return s
+}
+
+// SetSouthKoreaAdditionalInfo sets the SouthKoreaAdditionalInfo field's value.
+func (s *AdditionalInfoResponse) SetSouthKoreaAdditionalInfo(v *SouthKoreaAdditionalInfo) *AdditionalInfoResponse {
+ s.SouthKoreaAdditionalInfo = v
+ return s
+}
+
+// SetSpainAdditionalInfo sets the SpainAdditionalInfo field's value.
+func (s *AdditionalInfoResponse) SetSpainAdditionalInfo(v *SpainAdditionalInfo) *AdditionalInfoResponse {
+ s.SpainAdditionalInfo = v
+ return s
+}
+
+// SetTurkeyAdditionalInfo sets the TurkeyAdditionalInfo field's value.
+func (s *AdditionalInfoResponse) SetTurkeyAdditionalInfo(v *TurkeyAdditionalInfo) *AdditionalInfoResponse {
+ s.TurkeyAdditionalInfo = v
+ return s
+}
+
+// SetUkraineAdditionalInfo sets the UkraineAdditionalInfo field's value.
+func (s *AdditionalInfoResponse) SetUkraineAdditionalInfo(v *UkraineAdditionalInfo) *AdditionalInfoResponse {
+ s.UkraineAdditionalInfo = v
+ return s
+}
+
+// The details of the address associated with the TRN information.
+type Address struct {
+ _ struct{} `type:"structure"`
+
+ // The first line of the address.
+ //
+ // AddressLine1 is a required field
+ AddressLine1 *string `locationName:"addressLine1" min:"1" type:"string" required:"true"`
+
+ // The second line of the address, if applicable.
+ AddressLine2 *string `locationName:"addressLine2" min:"1" type:"string"`
+
+ // The third line of the address, if applicable. Currently, the Tax Settings
+ // API accepts the addressLine3 parameter only for Saudi Arabia. When you specify
+ // a TRN in Saudi Arabia, you must enter the addressLine3 and specify the building
+ // number for the address. For example, you might enter 1234.
+ AddressLine3 *string `locationName:"addressLine3" min:"1" type:"string"`
+
+ // The city that the address is in.
+ //
+ // City is a required field
+ City *string `locationName:"city" min:"1" type:"string" required:"true"`
+
+ // The country code for the country that the address is in.
+ //
+ // CountryCode is a required field
+ CountryCode *string `locationName:"countryCode" min:"2" type:"string" required:"true"`
+
+ // The district or county the address is located.
+ //
+ // For addresses in Brazil, this parameter uses the name of the neighborhood.
+ // When you set a TRN in Brazil, use districtOrCounty for the neighborhood name.
+ DistrictOrCounty *string `locationName:"districtOrCounty" min:"1" type:"string"`
+
+ // The postal code associated with the address.
+ //
+ // PostalCode is a required field
+ PostalCode *string `locationName:"postalCode" min:"1" type:"string" required:"true"`
+
+ // The state, region, or province that the address is located.
+ //
+ // If this is required for tax settings, use the same name as shown on the Tax
+ // Settings page.
+ StateOrRegion *string `locationName:"stateOrRegion" min:"1" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Address) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Address) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *Address) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "Address"}
+ if s.AddressLine1 == nil {
+ invalidParams.Add(request.NewErrParamRequired("AddressLine1"))
+ }
+ if s.AddressLine1 != nil && len(*s.AddressLine1) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("AddressLine1", 1))
+ }
+ if s.AddressLine2 != nil && len(*s.AddressLine2) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("AddressLine2", 1))
+ }
+ if s.AddressLine3 != nil && len(*s.AddressLine3) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("AddressLine3", 1))
+ }
+ if s.City == nil {
+ invalidParams.Add(request.NewErrParamRequired("City"))
+ }
+ if s.City != nil && len(*s.City) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("City", 1))
+ }
+ if s.CountryCode == nil {
+ invalidParams.Add(request.NewErrParamRequired("CountryCode"))
+ }
+ if s.CountryCode != nil && len(*s.CountryCode) < 2 {
+ invalidParams.Add(request.NewErrParamMinLen("CountryCode", 2))
+ }
+ if s.DistrictOrCounty != nil && len(*s.DistrictOrCounty) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("DistrictOrCounty", 1))
+ }
+ if s.PostalCode == nil {
+ invalidParams.Add(request.NewErrParamRequired("PostalCode"))
+ }
+ if s.PostalCode != nil && len(*s.PostalCode) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PostalCode", 1))
+ }
+ if s.StateOrRegion != nil && len(*s.StateOrRegion) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("StateOrRegion", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAddressLine1 sets the AddressLine1 field's value.
+func (s *Address) SetAddressLine1(v string) *Address {
+ s.AddressLine1 = &v
+ return s
+}
+
+// SetAddressLine2 sets the AddressLine2 field's value.
+func (s *Address) SetAddressLine2(v string) *Address {
+ s.AddressLine2 = &v
+ return s
+}
+
+// SetAddressLine3 sets the AddressLine3 field's value.
+func (s *Address) SetAddressLine3(v string) *Address {
+ s.AddressLine3 = &v
+ return s
+}
+
+// SetCity sets the City field's value.
+func (s *Address) SetCity(v string) *Address {
+ s.City = &v
+ return s
+}
+
+// SetCountryCode sets the CountryCode field's value.
+func (s *Address) SetCountryCode(v string) *Address {
+ s.CountryCode = &v
+ return s
+}
+
+// SetDistrictOrCounty sets the DistrictOrCounty field's value.
+func (s *Address) SetDistrictOrCounty(v string) *Address {
+ s.DistrictOrCounty = &v
+ return s
+}
+
+// SetPostalCode sets the PostalCode field's value.
+func (s *Address) SetPostalCode(v string) *Address {
+ s.PostalCode = &v
+ return s
+}
+
+// SetStateOrRegion sets the StateOrRegion field's value.
+func (s *Address) SetStateOrRegion(v string) *Address {
+ s.StateOrRegion = &v
+ return s
+}
+
+// The error object for representing failures in the BatchDeleteTaxRegistration
+// operation.
+type BatchDeleteTaxRegistrationError struct {
+ _ struct{} `type:"structure"`
+
+ // The unique account identifier for the account whose tax registration couldn't
+ // be deleted during the BatchDeleteTaxRegistration operation.
+ //
+ // AccountId is a required field
+ AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"`
+
+ // The error code for an individual failure in BatchDeleteTaxRegistration operation.
+ Code *string `locationName:"code" type:"string"`
+
+ // The error message for an individual failure in the BatchDeleteTaxRegistration
+ // operation.
+ //
+ // Message is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by BatchDeleteTaxRegistrationError's
+ // String and GoString methods.
+ //
+ // Message is a required field
+ Message *string `locationName:"message" type:"string" required:"true" sensitive:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s BatchDeleteTaxRegistrationError) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s BatchDeleteTaxRegistrationError) GoString() string {
+ return s.String()
+}
+
+// SetAccountId sets the AccountId field's value.
+func (s *BatchDeleteTaxRegistrationError) SetAccountId(v string) *BatchDeleteTaxRegistrationError {
+ s.AccountId = &v
+ return s
+}
+
+// SetCode sets the Code field's value.
+func (s *BatchDeleteTaxRegistrationError) SetCode(v string) *BatchDeleteTaxRegistrationError {
+ s.Code = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *BatchDeleteTaxRegistrationError) SetMessage(v string) *BatchDeleteTaxRegistrationError {
+ s.Message = &v
+ return s
+}
+
+type BatchDeleteTaxRegistrationInput struct {
+ _ struct{} `type:"structure"`
+
+ // List of unique account identifiers.
+ //
+ // AccountIds is a required field
+ AccountIds []*string `locationName:"accountIds" min:"1" type:"list" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s BatchDeleteTaxRegistrationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s BatchDeleteTaxRegistrationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *BatchDeleteTaxRegistrationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "BatchDeleteTaxRegistrationInput"}
+ if s.AccountIds == nil {
+ invalidParams.Add(request.NewErrParamRequired("AccountIds"))
+ }
+ if s.AccountIds != nil && len(s.AccountIds) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("AccountIds", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAccountIds sets the AccountIds field's value.
+func (s *BatchDeleteTaxRegistrationInput) SetAccountIds(v []*string) *BatchDeleteTaxRegistrationInput {
+ s.AccountIds = v
+ return s
+}
+
+type BatchDeleteTaxRegistrationOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The list of errors for the accounts the TRN information could not be deleted
+ // for.
+ //
+ // Errors is a required field
+ Errors []*BatchDeleteTaxRegistrationError `locationName:"errors" type:"list" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s BatchDeleteTaxRegistrationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s BatchDeleteTaxRegistrationOutput) GoString() string {
+ return s.String()
+}
+
+// SetErrors sets the Errors field's value.
+func (s *BatchDeleteTaxRegistrationOutput) SetErrors(v []*BatchDeleteTaxRegistrationError) *BatchDeleteTaxRegistrationOutput {
+ s.Errors = v
+ return s
+}
+
+// The error object for representing failures in the BatchPutTaxRegistration
+// operation.
+type BatchPutTaxRegistrationError struct {
+ _ struct{} `type:"structure"`
+
+ // The unique account identifier for the account that the tax registration couldn't
+ // be added, or updated during the BatchPutTaxRegistration operation.
+ //
+ // AccountId is a required field
+ AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"`
+
+ // The error code for an individual failure in the BatchPutTaxRegistration operation.
+ Code *string `locationName:"code" type:"string"`
+
+ // The error message for an individual failure in the BatchPutTaxRegistration
+ // operation.
+ //
+ // Message is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by BatchPutTaxRegistrationError's
+ // String and GoString methods.
+ //
+ // Message is a required field
+ Message *string `locationName:"message" type:"string" required:"true" sensitive:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s BatchPutTaxRegistrationError) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s BatchPutTaxRegistrationError) GoString() string {
+ return s.String()
+}
+
+// SetAccountId sets the AccountId field's value.
+func (s *BatchPutTaxRegistrationError) SetAccountId(v string) *BatchPutTaxRegistrationError {
+ s.AccountId = &v
+ return s
+}
+
+// SetCode sets the Code field's value.
+func (s *BatchPutTaxRegistrationError) SetCode(v string) *BatchPutTaxRegistrationError {
+ s.Code = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *BatchPutTaxRegistrationError) SetMessage(v string) *BatchPutTaxRegistrationError {
+ s.Message = &v
+ return s
+}
+
+type BatchPutTaxRegistrationInput struct {
+ _ struct{} `type:"structure"`
+
+ // List of unique account identifiers.
+ //
+ // AccountIds is a required field
+ AccountIds []*string `locationName:"accountIds" min:"1" type:"list" required:"true"`
+
+ // Your TRN information that will be stored to the accounts mentioned in putEntries.
+ //
+ // TaxRegistrationEntry is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by BatchPutTaxRegistrationInput's
+ // String and GoString methods.
+ //
+ // TaxRegistrationEntry is a required field
+ TaxRegistrationEntry *TaxRegistrationEntry `locationName:"taxRegistrationEntry" type:"structure" required:"true" sensitive:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s BatchPutTaxRegistrationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s BatchPutTaxRegistrationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *BatchPutTaxRegistrationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "BatchPutTaxRegistrationInput"}
+ if s.AccountIds == nil {
+ invalidParams.Add(request.NewErrParamRequired("AccountIds"))
+ }
+ if s.AccountIds != nil && len(s.AccountIds) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("AccountIds", 1))
+ }
+ if s.TaxRegistrationEntry == nil {
+ invalidParams.Add(request.NewErrParamRequired("TaxRegistrationEntry"))
+ }
+ if s.TaxRegistrationEntry != nil {
+ if err := s.TaxRegistrationEntry.Validate(); err != nil {
+ invalidParams.AddNested("TaxRegistrationEntry", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAccountIds sets the AccountIds field's value.
+func (s *BatchPutTaxRegistrationInput) SetAccountIds(v []*string) *BatchPutTaxRegistrationInput {
+ s.AccountIds = v
+ return s
+}
+
+// SetTaxRegistrationEntry sets the TaxRegistrationEntry field's value.
+func (s *BatchPutTaxRegistrationInput) SetTaxRegistrationEntry(v *TaxRegistrationEntry) *BatchPutTaxRegistrationInput {
+ s.TaxRegistrationEntry = v
+ return s
+}
+
+type BatchPutTaxRegistrationOutput struct {
+ _ struct{} `type:"structure"`
+
+ // List of errors for the accounts the TRN information could not be added or
+ // updated to.
+ //
+ // Errors is a required field
+ Errors []*BatchPutTaxRegistrationError `locationName:"errors" type:"list" required:"true"`
+
+ // The status of your TRN stored in the system after processing. Based on the
+ // validation occurring on the TRN, the status can be Verified, Pending or Rejected.
+ Status *string `locationName:"status" type:"string" enum:"TaxRegistrationStatus"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s BatchPutTaxRegistrationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s BatchPutTaxRegistrationOutput) GoString() string {
+ return s.String()
+}
+
+// SetErrors sets the Errors field's value.
+func (s *BatchPutTaxRegistrationOutput) SetErrors(v []*BatchPutTaxRegistrationError) *BatchPutTaxRegistrationOutput {
+ s.Errors = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *BatchPutTaxRegistrationOutput) SetStatus(v string) *BatchPutTaxRegistrationOutput {
+ s.Status = &v
+ return s
+}
+
+// Additional tax information associated with your TRN in Brazil.
+type BrazilAdditionalInfo struct {
+ _ struct{} `type:"structure"`
+
+ // The Cadastro de Contribuintes Mobiliários (CCM) code for your TRN in Brazil.
+ // This only applies for a CNPJ tax type for the São Paulo municipality.
+ CcmCode *string `locationName:"ccmCode" type:"string"`
+
+ // Legal nature of business, based on your TRN in Brazil. This only applies
+ // for a CNPJ tax type.
+ LegalNatureCode *string `locationName:"legalNatureCode" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s BrazilAdditionalInfo) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s BrazilAdditionalInfo) GoString() string {
+ return s.String()
+}
+
+// SetCcmCode sets the CcmCode field's value.
+func (s *BrazilAdditionalInfo) SetCcmCode(v string) *BrazilAdditionalInfo {
+ s.CcmCode = &v
+ return s
+}
+
+// SetLegalNatureCode sets the LegalNatureCode field's value.
+func (s *BrazilAdditionalInfo) SetLegalNatureCode(v string) *BrazilAdditionalInfo {
+ s.LegalNatureCode = &v
+ return s
+}
+
+// Additional tax information associated with your TRN in Canada .
+type CanadaAdditionalInfo struct {
+ _ struct{} `type:"structure"`
+
+ // The Quebec Sales Tax ID number. Leave blank if you do not have a Quebec Sales
+ // Tax ID number.
+ CanadaQuebecSalesTaxNumber *string `locationName:"canadaQuebecSalesTaxNumber" type:"string"`
+
+ // Manitoba Retail Sales Tax ID number. Customers purchasing Amazon Web Services
+ // for resale in Manitoba must provide a valid Retail Sales Tax ID number for
+ // Manitoba. Leave this blank if you do not have a Retail Sales Tax ID number
+ // in Manitoba or are not purchasing Amazon Web Services for resale.
+ CanadaRetailSalesTaxNumber *string `locationName:"canadaRetailSalesTaxNumber" type:"string"`
+
+ // The value for this parameter must be true if the provincialSalesTaxId value
+ // is provided for a TRN in British Columbia, Saskatchewan, or Manitoba provinces.
+ //
+ // To claim a provincial sales tax (PST) and retail sales tax (RST) reseller
+ // exemption, you must confirm that purchases from this account were made for
+ // resale. Otherwise, remove the PST or RST number from the provincialSalesTaxId
+ // parameter from your request.
+ IsResellerAccount *bool `locationName:"isResellerAccount" type:"boolean"`
+
+ // The provincial sales tax ID for your TRN in Canada. This parameter can represent
+ // the following:
+ //
+ // * Provincial sales tax ID number for British Columbia and Saskatchewan
+ // provinces
+ //
+ // * Manitoba retail sales tax ID number for Manitoba province
+ //
+ // * Quebec sales tax ID number for Quebec province
+ //
+ // The Tax Setting API only accepts this parameter if the TRN is specified for
+ // the previous provinces. For other provinces, the Tax Settings API doesn't
+ // accept this parameter.
+ ProvincialSalesTaxId *string `locationName:"provincialSalesTaxId" min:"7" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CanadaAdditionalInfo) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CanadaAdditionalInfo) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CanadaAdditionalInfo) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CanadaAdditionalInfo"}
+ if s.ProvincialSalesTaxId != nil && len(*s.ProvincialSalesTaxId) < 7 {
+ invalidParams.Add(request.NewErrParamMinLen("ProvincialSalesTaxId", 7))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetCanadaQuebecSalesTaxNumber sets the CanadaQuebecSalesTaxNumber field's value.
+func (s *CanadaAdditionalInfo) SetCanadaQuebecSalesTaxNumber(v string) *CanadaAdditionalInfo {
+ s.CanadaQuebecSalesTaxNumber = &v
+ return s
+}
+
+// SetCanadaRetailSalesTaxNumber sets the CanadaRetailSalesTaxNumber field's value.
+func (s *CanadaAdditionalInfo) SetCanadaRetailSalesTaxNumber(v string) *CanadaAdditionalInfo {
+ s.CanadaRetailSalesTaxNumber = &v
+ return s
+}
+
+// SetIsResellerAccount sets the IsResellerAccount field's value.
+func (s *CanadaAdditionalInfo) SetIsResellerAccount(v bool) *CanadaAdditionalInfo {
+ s.IsResellerAccount = &v
+ return s
+}
+
+// SetProvincialSalesTaxId sets the ProvincialSalesTaxId field's value.
+func (s *CanadaAdditionalInfo) SetProvincialSalesTaxId(v string) *CanadaAdditionalInfo {
+ s.ProvincialSalesTaxId = &v
+ return s
+}
+
+// The exception when the input is creating conflict with the given state.
+type ConflictException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ // 409
+ //
+ // ErrorCode is a required field
+ ErrorCode *string `locationName:"errorCode" type:"string" required:"true"`
+
+ // Message_ is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by ConflictException's
+ // String and GoString methods.
+ Message_ *string `locationName:"message" type:"string" sensitive:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ConflictException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ConflictException) GoString() string {
+ return s.String()
+}
+
+func newErrorConflictException(v protocol.ResponseMetadata) error {
+ return &ConflictException{
+ RespMetadata: v,
+ }
+}
+
+// Code returns the exception type name.
+func (s *ConflictException) Code() string {
+ return "ConflictException"
+}
+
+// Message returns the exception's message.
+func (s *ConflictException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *ConflictException) OrigErr() error {
+ return nil
+}
+
+func (s *ConflictException) Error() string {
+ return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
+}
+
+// Status code returns the HTTP status code for the request's response error.
+func (s *ConflictException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *ConflictException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+type DeleteTaxRegistrationInput struct {
+ _ struct{} `type:"structure"`
+
+ // Unique account identifier for the TRN information that needs to be deleted.
+ // If this isn't passed, the account ID corresponding to the credentials of
+ // the API caller will be used for this parameter.
+ AccountId *string `locationName:"accountId" min:"12" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteTaxRegistrationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteTaxRegistrationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteTaxRegistrationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteTaxRegistrationInput"}
+ if s.AccountId != nil && len(*s.AccountId) < 12 {
+ invalidParams.Add(request.NewErrParamMinLen("AccountId", 12))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAccountId sets the AccountId field's value.
+func (s *DeleteTaxRegistrationInput) SetAccountId(v string) *DeleteTaxRegistrationInput {
+ s.AccountId = &v
+ return s
+}
+
+type DeleteTaxRegistrationOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteTaxRegistrationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteTaxRegistrationOutput) GoString() string {
+ return s.String()
+}
+
+// The location of the Amazon S3 bucket that you specify to download your tax
+// documents to.
+type DestinationS3Location struct {
+ _ struct{} `type:"structure"`
+
+ // The name of your Amazon S3 bucket that you specify to download your tax documents
+ // to.
+ //
+ // Bucket is a required field
+ Bucket *string `locationName:"bucket" min:"3" type:"string" required:"true"`
+
+ // The Amazon S3 object prefix that you specify for your tax document file.
+ Prefix *string `locationName:"prefix" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DestinationS3Location) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DestinationS3Location) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DestinationS3Location) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DestinationS3Location"}
+ if s.Bucket == nil {
+ invalidParams.Add(request.NewErrParamRequired("Bucket"))
+ }
+ if s.Bucket != nil && len(*s.Bucket) < 3 {
+ invalidParams.Add(request.NewErrParamMinLen("Bucket", 3))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetBucket sets the Bucket field's value.
+func (s *DestinationS3Location) SetBucket(v string) *DestinationS3Location {
+ s.Bucket = &v
+ return s
+}
+
+// SetPrefix sets the Prefix field's value.
+func (s *DestinationS3Location) SetPrefix(v string) *DestinationS3Location {
+ s.Prefix = &v
+ return s
+}
+
+// Additional tax information associated with your TRN in Estonia.
+type EstoniaAdditionalInfo struct {
+ _ struct{} `type:"structure"`
+
+ // Registry commercial code (RCC) for your TRN in Estonia. This value is an
+ // eight-numeric string, such as 12345678.
+ //
+ // RegistryCommercialCode is a required field
+ RegistryCommercialCode *string `locationName:"registryCommercialCode" min:"8" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s EstoniaAdditionalInfo) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s EstoniaAdditionalInfo) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *EstoniaAdditionalInfo) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "EstoniaAdditionalInfo"}
+ if s.RegistryCommercialCode == nil {
+ invalidParams.Add(request.NewErrParamRequired("RegistryCommercialCode"))
+ }
+ if s.RegistryCommercialCode != nil && len(*s.RegistryCommercialCode) < 8 {
+ invalidParams.Add(request.NewErrParamMinLen("RegistryCommercialCode", 8))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetRegistryCommercialCode sets the RegistryCommercialCode field's value.
+func (s *EstoniaAdditionalInfo) SetRegistryCommercialCode(v string) *EstoniaAdditionalInfo {
+ s.RegistryCommercialCode = &v
+ return s
+}
+
+// Additional tax information associated with your TRN in Georgia.
+type GeorgiaAdditionalInfo struct {
+ _ struct{} `type:"structure"`
+
+ // The legal person or physical person assigned to this TRN in Georgia.
+ //
+ // PersonType is a required field
+ PersonType *string `locationName:"personType" type:"string" required:"true" enum:"PersonType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GeorgiaAdditionalInfo) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GeorgiaAdditionalInfo) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GeorgiaAdditionalInfo) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GeorgiaAdditionalInfo"}
+ if s.PersonType == nil {
+ invalidParams.Add(request.NewErrParamRequired("PersonType"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetPersonType sets the PersonType field's value.
+func (s *GeorgiaAdditionalInfo) SetPersonType(v string) *GeorgiaAdditionalInfo {
+ s.PersonType = &v
+ return s
+}
+
+type GetTaxRegistrationDocumentInput struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon S3 bucket that you specify to download your tax documents to.
+ //
+ // DestinationS3Location is a required field
+ DestinationS3Location *DestinationS3Location `locationName:"destinationS3Location" type:"structure" required:"true"`
+
+ // The metadata for your tax document.
+ //
+ // TaxDocumentMetadata is a required field
+ TaxDocumentMetadata *TaxDocumentMetadata `locationName:"taxDocumentMetadata" type:"structure" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetTaxRegistrationDocumentInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetTaxRegistrationDocumentInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetTaxRegistrationDocumentInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetTaxRegistrationDocumentInput"}
+ if s.DestinationS3Location == nil {
+ invalidParams.Add(request.NewErrParamRequired("DestinationS3Location"))
+ }
+ if s.TaxDocumentMetadata == nil {
+ invalidParams.Add(request.NewErrParamRequired("TaxDocumentMetadata"))
+ }
+ if s.DestinationS3Location != nil {
+ if err := s.DestinationS3Location.Validate(); err != nil {
+ invalidParams.AddNested("DestinationS3Location", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.TaxDocumentMetadata != nil {
+ if err := s.TaxDocumentMetadata.Validate(); err != nil {
+ invalidParams.AddNested("TaxDocumentMetadata", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDestinationS3Location sets the DestinationS3Location field's value.
+func (s *GetTaxRegistrationDocumentInput) SetDestinationS3Location(v *DestinationS3Location) *GetTaxRegistrationDocumentInput {
+ s.DestinationS3Location = v
+ return s
+}
+
+// SetTaxDocumentMetadata sets the TaxDocumentMetadata field's value.
+func (s *GetTaxRegistrationDocumentInput) SetTaxDocumentMetadata(v *TaxDocumentMetadata) *GetTaxRegistrationDocumentInput {
+ s.TaxDocumentMetadata = v
+ return s
+}
+
+type GetTaxRegistrationDocumentOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The file path of the Amazon S3 bucket where you want to download your tax
+ // document to.
+ DestinationFilePath *string `locationName:"destinationFilePath" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetTaxRegistrationDocumentOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetTaxRegistrationDocumentOutput) GoString() string {
+ return s.String()
+}
+
+// SetDestinationFilePath sets the DestinationFilePath field's value.
+func (s *GetTaxRegistrationDocumentOutput) SetDestinationFilePath(v string) *GetTaxRegistrationDocumentOutput {
+ s.DestinationFilePath = &v
+ return s
+}
+
+type GetTaxRegistrationInput struct {
+ _ struct{} `type:"structure"`
+
+ // Your unique account identifier.
+ AccountId *string `locationName:"accountId" min:"12" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetTaxRegistrationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetTaxRegistrationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetTaxRegistrationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetTaxRegistrationInput"}
+ if s.AccountId != nil && len(*s.AccountId) < 12 {
+ invalidParams.Add(request.NewErrParamMinLen("AccountId", 12))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAccountId sets the AccountId field's value.
+func (s *GetTaxRegistrationInput) SetAccountId(v string) *GetTaxRegistrationInput {
+ s.AccountId = &v
+ return s
+}
+
+type GetTaxRegistrationOutput struct {
+ _ struct{} `type:"structure"`
+
+ // TRN information of the account mentioned in the request.
+ //
+ // TaxRegistration is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by GetTaxRegistrationOutput's
+ // String and GoString methods.
+ TaxRegistration *TaxRegistration `locationName:"taxRegistration" type:"structure" sensitive:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetTaxRegistrationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetTaxRegistrationOutput) GoString() string {
+ return s.String()
+}
+
+// SetTaxRegistration sets the TaxRegistration field's value.
+func (s *GetTaxRegistrationOutput) SetTaxRegistration(v *TaxRegistration) *GetTaxRegistrationOutput {
+ s.TaxRegistration = v
+ return s
+}
+
+// Additional tax information in India.
+type IndiaAdditionalInfo struct {
+ _ struct{} `type:"structure"`
+
+ // India pan information associated with the account.
+ Pan *string `locationName:"pan" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s IndiaAdditionalInfo) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s IndiaAdditionalInfo) GoString() string {
+ return s.String()
+}
+
+// SetPan sets the Pan field's value.
+func (s *IndiaAdditionalInfo) SetPan(v string) *IndiaAdditionalInfo {
+ s.Pan = &v
+ return s
+}
+
+// The exception thrown when an unexpected error occurs when processing a request.
+type InternalServerException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ // 500
+ //
+ // ErrorCode is a required field
+ ErrorCode *string `locationName:"errorCode" type:"string" required:"true"`
+
+ // Message_ is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by InternalServerException's
+ // String and GoString methods.
+ Message_ *string `locationName:"message" type:"string" sensitive:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s InternalServerException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s InternalServerException) GoString() string {
+ return s.String()
+}
+
+func newErrorInternalServerException(v protocol.ResponseMetadata) error {
+ return &InternalServerException{
+ RespMetadata: v,
+ }
+}
+
+// Code returns the exception type name.
+func (s *InternalServerException) Code() string {
+ return "InternalServerException"
+}
+
+// Message returns the exception's message.
+func (s *InternalServerException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *InternalServerException) OrigErr() error {
+ return nil
+}
+
+func (s *InternalServerException) Error() string {
+ return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
+}
+
+// Status code returns the HTTP status code for the request's response error.
+func (s *InternalServerException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *InternalServerException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+// Additional tax information associated with your TRN in Israel.
+type IsraelAdditionalInfo struct {
+ _ struct{} `type:"structure"`
+
+ // Customer type for your TRN in Israel. The value can be Business or Individual.
+ // Use Businessfor entities such as not-for-profit and financial institutions.
+ //
+ // CustomerType is a required field
+ CustomerType *string `locationName:"customerType" type:"string" required:"true" enum:"IsraelCustomerType"`
+
+ // Dealer type for your TRN in Israel. If you're not a local authorized dealer
+ // with an Israeli VAT ID, specify your tax identification number so that Amazon
+ // Web Services can send you a compliant tax invoice.
+ //
+ // DealerType is a required field
+ DealerType *string `locationName:"dealerType" type:"string" required:"true" enum:"IsraelDealerType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s IsraelAdditionalInfo) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s IsraelAdditionalInfo) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *IsraelAdditionalInfo) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "IsraelAdditionalInfo"}
+ if s.CustomerType == nil {
+ invalidParams.Add(request.NewErrParamRequired("CustomerType"))
+ }
+ if s.DealerType == nil {
+ invalidParams.Add(request.NewErrParamRequired("DealerType"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetCustomerType sets the CustomerType field's value.
+func (s *IsraelAdditionalInfo) SetCustomerType(v string) *IsraelAdditionalInfo {
+ s.CustomerType = &v
+ return s
+}
+
+// SetDealerType sets the DealerType field's value.
+func (s *IsraelAdditionalInfo) SetDealerType(v string) *IsraelAdditionalInfo {
+ s.DealerType = &v
+ return s
+}
+
+// Additional tax information associated with your TRN in Italy.
+type ItalyAdditionalInfo struct {
+ _ struct{} `type:"structure"`
+
+ // The tender procedure identification code.
+ CigNumber *string `locationName:"cigNumber" type:"string"`
+
+ // Additional tax information to specify for a TRN in Italy. This is managed
+ // by the Interministerial Committee for Economic Planning (CIPE) which characterizes
+ // every public investment project (Individual Project Code).
+ CupNumber *string `locationName:"cupNumber" type:"string"`
+
+ // Additional tax information to specify for a TRN in Italy. Use CodiceDestinatario
+ // to receive your invoices via web service (API) or FTP.
+ SdiAccountId *string `locationName:"sdiAccountId" type:"string"`
+
+ // List of service tax codes for your TRN in Italy. You can use your customer
+ // tax code as part of a VAT Group.
+ TaxCode *string `locationName:"taxCode" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ItalyAdditionalInfo) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ItalyAdditionalInfo) GoString() string {
+ return s.String()
+}
+
+// SetCigNumber sets the CigNumber field's value.
+func (s *ItalyAdditionalInfo) SetCigNumber(v string) *ItalyAdditionalInfo {
+ s.CigNumber = &v
+ return s
+}
+
+// SetCupNumber sets the CupNumber field's value.
+func (s *ItalyAdditionalInfo) SetCupNumber(v string) *ItalyAdditionalInfo {
+ s.CupNumber = &v
+ return s
+}
+
+// SetSdiAccountId sets the SdiAccountId field's value.
+func (s *ItalyAdditionalInfo) SetSdiAccountId(v string) *ItalyAdditionalInfo {
+ s.SdiAccountId = &v
+ return s
+}
+
+// SetTaxCode sets the TaxCode field's value.
+func (s *ItalyAdditionalInfo) SetTaxCode(v string) *ItalyAdditionalInfo {
+ s.TaxCode = &v
+ return s
+}
+
+// The jurisdiction details of the TRN information of the customers. This doesn't
+// contain full legal address, and contains only country code and state/region/province.
+type Jurisdiction struct {
+ _ struct{} `type:"structure"`
+
+ // The country code of the jurisdiction.
+ //
+ // CountryCode is a required field
+ CountryCode *string `locationName:"countryCode" min:"2" type:"string" required:"true"`
+
+ // The state, region, or province associated with the country of the jurisdiction,
+ // if applicable.
+ StateOrRegion *string `locationName:"stateOrRegion" min:"1" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Jurisdiction) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Jurisdiction) GoString() string {
+ return s.String()
+}
+
+// SetCountryCode sets the CountryCode field's value.
+func (s *Jurisdiction) SetCountryCode(v string) *Jurisdiction {
+ s.CountryCode = &v
+ return s
+}
+
+// SetStateOrRegion sets the StateOrRegion field's value.
+func (s *Jurisdiction) SetStateOrRegion(v string) *Jurisdiction {
+ s.StateOrRegion = &v
+ return s
+}
+
+// Additional tax information associated with your TRN in Kenya.
+type KenyaAdditionalInfo struct {
+ _ struct{} `type:"structure"`
+
+ // The legal person or physical person assigned to this TRN in Kenya.
+ //
+ // PersonType is a required field
+ PersonType *string `locationName:"personType" type:"string" required:"true" enum:"PersonType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s KenyaAdditionalInfo) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s KenyaAdditionalInfo) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *KenyaAdditionalInfo) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "KenyaAdditionalInfo"}
+ if s.PersonType == nil {
+ invalidParams.Add(request.NewErrParamRequired("PersonType"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetPersonType sets the PersonType field's value.
+func (s *KenyaAdditionalInfo) SetPersonType(v string) *KenyaAdditionalInfo {
+ s.PersonType = &v
+ return s
+}
+
+type ListTaxRegistrationsInput struct {
+ _ struct{} `type:"structure"`
+
+ // Number of accountDetails results you want in one response.
+ MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
+
+ // The token to retrieve the next set of results.
+ NextToken *string `locationName:"nextToken" min:"1" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListTaxRegistrationsInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListTaxRegistrationsInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListTaxRegistrationsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListTaxRegistrationsInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
+ if s.NextToken != nil && len(*s.NextToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListTaxRegistrationsInput) SetMaxResults(v int64) *ListTaxRegistrationsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListTaxRegistrationsInput) SetNextToken(v string) *ListTaxRegistrationsInput {
+ s.NextToken = &v
+ return s
+}
+
+type ListTaxRegistrationsOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The list of account details. This contains account Ids and TRN Information
+ // for each of the linked accounts.
+ //
+ // AccountDetails is a required field
+ AccountDetails []*AccountDetails `locationName:"accountDetails" type:"list" required:"true"`
+
+ // The token to retrieve the next set of results.
+ NextToken *string `locationName:"nextToken" min:"1" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListTaxRegistrationsOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListTaxRegistrationsOutput) GoString() string {
+ return s.String()
+}
+
+// SetAccountDetails sets the AccountDetails field's value.
+func (s *ListTaxRegistrationsOutput) SetAccountDetails(v []*AccountDetails) *ListTaxRegistrationsOutput {
+ s.AccountDetails = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListTaxRegistrationsOutput) SetNextToken(v string) *ListTaxRegistrationsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// Additional tax information associated with your TRN in Malaysia.
+type MalaysiaAdditionalInfo struct {
+ _ struct{} `type:"structure"`
+
+ // List of service tax codes for your TRN in Malaysia.
+ //
+ // ServiceTaxCodes is a required field
+ ServiceTaxCodes []*string `locationName:"serviceTaxCodes" min:"1" type:"list" required:"true" enum:"MalaysiaServiceTaxCode"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s MalaysiaAdditionalInfo) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s MalaysiaAdditionalInfo) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *MalaysiaAdditionalInfo) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "MalaysiaAdditionalInfo"}
+ if s.ServiceTaxCodes == nil {
+ invalidParams.Add(request.NewErrParamRequired("ServiceTaxCodes"))
+ }
+ if s.ServiceTaxCodes != nil && len(s.ServiceTaxCodes) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ServiceTaxCodes", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetServiceTaxCodes sets the ServiceTaxCodes field's value.
+func (s *MalaysiaAdditionalInfo) SetServiceTaxCodes(v []*string) *MalaysiaAdditionalInfo {
+ s.ServiceTaxCodes = v
+ return s
+}
+
+// Additional tax information associated with your TRN in Poland.
+type PolandAdditionalInfo struct {
+ _ struct{} `type:"structure"`
+
+ // The individual tax registration number (NIP). Individual NIP is valid for
+ // other taxes excluding VAT purposes.
+ IndividualRegistrationNumber *string `locationName:"individualRegistrationNumber" type:"string"`
+
+ // True if your business is a member of a VAT group with a NIP active for VAT
+ // purposes. Otherwise, this is false.
+ IsGroupVatEnabled *bool `locationName:"isGroupVatEnabled" type:"boolean"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PolandAdditionalInfo) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PolandAdditionalInfo) GoString() string {
+ return s.String()
+}
+
+// SetIndividualRegistrationNumber sets the IndividualRegistrationNumber field's value.
+func (s *PolandAdditionalInfo) SetIndividualRegistrationNumber(v string) *PolandAdditionalInfo {
+ s.IndividualRegistrationNumber = &v
+ return s
+}
+
+// SetIsGroupVatEnabled sets the IsGroupVatEnabled field's value.
+func (s *PolandAdditionalInfo) SetIsGroupVatEnabled(v bool) *PolandAdditionalInfo {
+ s.IsGroupVatEnabled = &v
+ return s
+}
+
+type PutTaxRegistrationInput struct {
+ _ struct{} `type:"structure"`
+
+ // Your unique account identifier.
+ AccountId *string `locationName:"accountId" min:"12" type:"string"`
+
+ // Your TRN information that will be stored to the account mentioned in accountId.
+ //
+ // TaxRegistrationEntry is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by PutTaxRegistrationInput's
+ // String and GoString methods.
+ //
+ // TaxRegistrationEntry is a required field
+ TaxRegistrationEntry *TaxRegistrationEntry `locationName:"taxRegistrationEntry" type:"structure" required:"true" sensitive:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PutTaxRegistrationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PutTaxRegistrationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *PutTaxRegistrationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "PutTaxRegistrationInput"}
+ if s.AccountId != nil && len(*s.AccountId) < 12 {
+ invalidParams.Add(request.NewErrParamMinLen("AccountId", 12))
+ }
+ if s.TaxRegistrationEntry == nil {
+ invalidParams.Add(request.NewErrParamRequired("TaxRegistrationEntry"))
+ }
+ if s.TaxRegistrationEntry != nil {
+ if err := s.TaxRegistrationEntry.Validate(); err != nil {
+ invalidParams.AddNested("TaxRegistrationEntry", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAccountId sets the AccountId field's value.
+func (s *PutTaxRegistrationInput) SetAccountId(v string) *PutTaxRegistrationInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetTaxRegistrationEntry sets the TaxRegistrationEntry field's value.
+func (s *PutTaxRegistrationInput) SetTaxRegistrationEntry(v *TaxRegistrationEntry) *PutTaxRegistrationInput {
+ s.TaxRegistrationEntry = v
+ return s
+}
+
+type PutTaxRegistrationOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The status of your TRN stored in the system after processing. Based on the
+ // validation occurring on the TRN, the status can be Verified, Pending or Rejected.
+ Status *string `locationName:"status" type:"string" enum:"TaxRegistrationStatus"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PutTaxRegistrationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PutTaxRegistrationOutput) GoString() string {
+ return s.String()
+}
+
+// SetStatus sets the Status field's value.
+func (s *PutTaxRegistrationOutput) SetStatus(v string) *PutTaxRegistrationOutput {
+ s.Status = &v
+ return s
+}
+
+// The exception thrown when the input doesn't have a resource associated to
+// it.
+type ResourceNotFoundException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ // 404
+ //
+ // ErrorCode is a required field
+ ErrorCode *string `locationName:"errorCode" type:"string" required:"true"`
+
+ // Message_ is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by ResourceNotFoundException's
+ // String and GoString methods.
+ Message_ *string `locationName:"message" type:"string" sensitive:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ResourceNotFoundException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ResourceNotFoundException) GoString() string {
+ return s.String()
+}
+
+func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error {
+ return &ResourceNotFoundException{
+ RespMetadata: v,
+ }
+}
+
+// Code returns the exception type name.
+func (s *ResourceNotFoundException) Code() string {
+ return "ResourceNotFoundException"
+}
+
+// Message returns the exception's message.
+func (s *ResourceNotFoundException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *ResourceNotFoundException) OrigErr() error {
+ return nil
+}
+
+func (s *ResourceNotFoundException) Error() string {
+ return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
+}
+
+// Status code returns the HTTP status code for the request's response error.
+func (s *ResourceNotFoundException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *ResourceNotFoundException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+// Additional tax information to specify for a TRN in Romania.
+type RomaniaAdditionalInfo struct {
+ _ struct{} `type:"structure"`
+
+ // The tax registration number type. The value can be TaxRegistrationNumber
+ // or LocalRegistrationNumber.
+ //
+ // TaxRegistrationNumberType is a required field
+ TaxRegistrationNumberType *string `locationName:"taxRegistrationNumberType" type:"string" required:"true" enum:"TaxRegistrationNumberType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s RomaniaAdditionalInfo) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s RomaniaAdditionalInfo) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *RomaniaAdditionalInfo) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "RomaniaAdditionalInfo"}
+ if s.TaxRegistrationNumberType == nil {
+ invalidParams.Add(request.NewErrParamRequired("TaxRegistrationNumberType"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetTaxRegistrationNumberType sets the TaxRegistrationNumberType field's value.
+func (s *RomaniaAdditionalInfo) SetTaxRegistrationNumberType(v string) *RomaniaAdditionalInfo {
+ s.TaxRegistrationNumberType = &v
+ return s
+}
+
+// Additional tax information associated with your TRN in Saudi Arabia.
+type SaudiArabiaAdditionalInfo struct {
+ _ struct{} `type:"structure"`
+
+ // The tax registration number type.
+ TaxRegistrationNumberType *string `locationName:"taxRegistrationNumberType" type:"string" enum:"SaudiArabiaTaxRegistrationNumberType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s SaudiArabiaAdditionalInfo) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s SaudiArabiaAdditionalInfo) GoString() string {
+ return s.String()
+}
+
+// SetTaxRegistrationNumberType sets the TaxRegistrationNumberType field's value.
+func (s *SaudiArabiaAdditionalInfo) SetTaxRegistrationNumberType(v string) *SaudiArabiaAdditionalInfo {
+ s.TaxRegistrationNumberType = &v
+ return s
+}
+
+// The Amazon S3 bucket in your account where your tax document is located.
+type SourceS3Location struct {
+ _ struct{} `type:"structure"`
+
+ // The name of your Amazon S3 bucket that your tax document is located.
+ //
+ // Bucket is a required field
+ Bucket *string `locationName:"bucket" min:"3" type:"string" required:"true"`
+
+ // The object key of your tax document object in Amazon S3.
+ //
+ // Key is a required field
+ Key *string `locationName:"key" min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s SourceS3Location) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s SourceS3Location) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *SourceS3Location) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "SourceS3Location"}
+ if s.Bucket == nil {
+ invalidParams.Add(request.NewErrParamRequired("Bucket"))
+ }
+ if s.Bucket != nil && len(*s.Bucket) < 3 {
+ invalidParams.Add(request.NewErrParamMinLen("Bucket", 3))
+ }
+ if s.Key == nil {
+ invalidParams.Add(request.NewErrParamRequired("Key"))
+ }
+ if s.Key != nil && len(*s.Key) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Key", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetBucket sets the Bucket field's value.
+func (s *SourceS3Location) SetBucket(v string) *SourceS3Location {
+ s.Bucket = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *SourceS3Location) SetKey(v string) *SourceS3Location {
+ s.Key = &v
+ return s
+}
+
+// Additional tax information associated with your TRN in South Korea.
+type SouthKoreaAdditionalInfo struct {
+ _ struct{} `type:"structure"`
+
+ // The business legal name based on the most recently uploaded tax registration
+ // certificate.
+ //
+ // BusinessRepresentativeName is a required field
+ BusinessRepresentativeName *string `locationName:"businessRepresentativeName" min:"1" type:"string" required:"true"`
+
+ // Item of business based on the most recently uploaded tax registration certificate.
+ //
+ // ItemOfBusiness is a required field
+ ItemOfBusiness *string `locationName:"itemOfBusiness" min:"1" type:"string" required:"true"`
+
+ // Line of business based on the most recently uploaded tax registration certificate.
+ //
+ // LineOfBusiness is a required field
+ LineOfBusiness *string `locationName:"lineOfBusiness" min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s SouthKoreaAdditionalInfo) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s SouthKoreaAdditionalInfo) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *SouthKoreaAdditionalInfo) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "SouthKoreaAdditionalInfo"}
+ if s.BusinessRepresentativeName == nil {
+ invalidParams.Add(request.NewErrParamRequired("BusinessRepresentativeName"))
+ }
+ if s.BusinessRepresentativeName != nil && len(*s.BusinessRepresentativeName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("BusinessRepresentativeName", 1))
+ }
+ if s.ItemOfBusiness == nil {
+ invalidParams.Add(request.NewErrParamRequired("ItemOfBusiness"))
+ }
+ if s.ItemOfBusiness != nil && len(*s.ItemOfBusiness) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ItemOfBusiness", 1))
+ }
+ if s.LineOfBusiness == nil {
+ invalidParams.Add(request.NewErrParamRequired("LineOfBusiness"))
+ }
+ if s.LineOfBusiness != nil && len(*s.LineOfBusiness) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("LineOfBusiness", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetBusinessRepresentativeName sets the BusinessRepresentativeName field's value.
+func (s *SouthKoreaAdditionalInfo) SetBusinessRepresentativeName(v string) *SouthKoreaAdditionalInfo {
+ s.BusinessRepresentativeName = &v
+ return s
+}
+
+// SetItemOfBusiness sets the ItemOfBusiness field's value.
+func (s *SouthKoreaAdditionalInfo) SetItemOfBusiness(v string) *SouthKoreaAdditionalInfo {
+ s.ItemOfBusiness = &v
+ return s
+}
+
+// SetLineOfBusiness sets the LineOfBusiness field's value.
+func (s *SouthKoreaAdditionalInfo) SetLineOfBusiness(v string) *SouthKoreaAdditionalInfo {
+ s.LineOfBusiness = &v
+ return s
+}
+
+// Additional tax information associated with your TRN in Spain.
+type SpainAdditionalInfo struct {
+ _ struct{} `type:"structure"`
+
+ // The registration type in Spain.
+ //
+ // RegistrationType is a required field
+ RegistrationType *string `locationName:"registrationType" type:"string" required:"true" enum:"RegistrationType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s SpainAdditionalInfo) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s SpainAdditionalInfo) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *SpainAdditionalInfo) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "SpainAdditionalInfo"}
+ if s.RegistrationType == nil {
+ invalidParams.Add(request.NewErrParamRequired("RegistrationType"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetRegistrationType sets the RegistrationType field's value.
+func (s *SpainAdditionalInfo) SetRegistrationType(v string) *SpainAdditionalInfo {
+ s.RegistrationType = &v
+ return s
+}
+
+// The metadata for your tax document.
+type TaxDocumentMetadata struct {
+ _ struct{} `type:"structure"`
+
+ // The tax document access token, which contains information that the Tax Settings
+ // API uses to locate the tax document.
+ //
+ // If you update your tax registration, the existing taxDocumentAccessToken
+ // won't be valid. To get the latest token, call the GetTaxRegistration or ListTaxRegistrations
+ // API operation. This token is valid for 24 hours.
+ //
+ // TaxDocumentAccessToken is a required field
+ TaxDocumentAccessToken *string `locationName:"taxDocumentAccessToken" type:"string" required:"true"`
+
+ // The name of your tax document.
+ //
+ // TaxDocumentName is a required field
+ TaxDocumentName *string `locationName:"taxDocumentName" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TaxDocumentMetadata) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TaxDocumentMetadata) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *TaxDocumentMetadata) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "TaxDocumentMetadata"}
+ if s.TaxDocumentAccessToken == nil {
+ invalidParams.Add(request.NewErrParamRequired("TaxDocumentAccessToken"))
+ }
+ if s.TaxDocumentName == nil {
+ invalidParams.Add(request.NewErrParamRequired("TaxDocumentName"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetTaxDocumentAccessToken sets the TaxDocumentAccessToken field's value.
+func (s *TaxDocumentMetadata) SetTaxDocumentAccessToken(v string) *TaxDocumentMetadata {
+ s.TaxDocumentAccessToken = &v
+ return s
+}
+
+// SetTaxDocumentName sets the TaxDocumentName field's value.
+func (s *TaxDocumentMetadata) SetTaxDocumentName(v string) *TaxDocumentMetadata {
+ s.TaxDocumentName = &v
+ return s
+}
+
+// Tax inheritance information associated with the account.
+type TaxInheritanceDetails struct {
+ _ struct{} `type:"structure"`
+
+ // Tax inheritance reason information associated with the account.
+ InheritanceObtainedReason *string `locationName:"inheritanceObtainedReason" type:"string"`
+
+ // Tax inheritance parent account information associated with the account.
+ ParentEntityId *string `locationName:"parentEntityId" min:"12" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TaxInheritanceDetails) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TaxInheritanceDetails) GoString() string {
+ return s.String()
+}
+
+// SetInheritanceObtainedReason sets the InheritanceObtainedReason field's value.
+func (s *TaxInheritanceDetails) SetInheritanceObtainedReason(v string) *TaxInheritanceDetails {
+ s.InheritanceObtainedReason = &v
+ return s
+}
+
+// SetParentEntityId sets the ParentEntityId field's value.
+func (s *TaxInheritanceDetails) SetParentEntityId(v string) *TaxInheritanceDetails {
+ s.ParentEntityId = &v
+ return s
+}
+
+// Your TRN information.
+type TaxRegistration struct {
+ _ struct{} `type:"structure" sensitive:"true"`
+
+ // Additional tax information associated with your TRN.
+ AdditionalTaxInformation *AdditionalInfoResponse `locationName:"additionalTaxInformation" type:"structure"`
+
+ // The email address to receive VAT invoices.
+ CertifiedEmailId *string `locationName:"certifiedEmailId" type:"string"`
+
+ // The legal address associated with your TRN registration.
+ //
+ // LegalAddress is a required field
+ LegalAddress *Address `locationName:"legalAddress" type:"structure" required:"true"`
+
+ // The legal name associated with your TRN registration.
+ //
+ // LegalName is a required field
+ LegalName *string `locationName:"legalName" min:"1" type:"string" required:"true"`
+
+ // Your tax registration unique identifier.
+ //
+ // RegistrationId is a required field
+ RegistrationId *string `locationName:"registrationId" min:"1" type:"string" required:"true"`
+
+ // Type of your tax registration. This can be either VAT or GST.
+ //
+ // RegistrationType is a required field
+ RegistrationType *string `locationName:"registrationType" type:"string" required:"true" enum:"TaxRegistrationType"`
+
+ // The industry that describes your business. For business-to-business (B2B)
+ // customers, specify Business. For business-to-consumer (B2C) customers, specify
+ // Individual. For business-to-government (B2G), specify Government. Note that
+ // certain values may not applicable for the request country. Please refer to
+ // country specific information in API document.
+ Sector *string `locationName:"sector" type:"string" enum:"Sector"`
+
+ // The status of your TRN. This can be either Verified, Pending, Deleted, or
+ // Rejected.
+ //
+ // Status is a required field
+ Status *string `locationName:"status" type:"string" required:"true" enum:"TaxRegistrationStatus"`
+
+ // The metadata for your tax document.
+ TaxDocumentMetadatas []*TaxDocumentMetadata `locationName:"taxDocumentMetadatas" min:"1" type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TaxRegistration) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TaxRegistration) GoString() string {
+ return s.String()
+}
+
+// SetAdditionalTaxInformation sets the AdditionalTaxInformation field's value.
+func (s *TaxRegistration) SetAdditionalTaxInformation(v *AdditionalInfoResponse) *TaxRegistration {
+ s.AdditionalTaxInformation = v
+ return s
+}
+
+// SetCertifiedEmailId sets the CertifiedEmailId field's value.
+func (s *TaxRegistration) SetCertifiedEmailId(v string) *TaxRegistration {
+ s.CertifiedEmailId = &v
+ return s
+}
+
+// SetLegalAddress sets the LegalAddress field's value.
+func (s *TaxRegistration) SetLegalAddress(v *Address) *TaxRegistration {
+ s.LegalAddress = v
+ return s
+}
+
+// SetLegalName sets the LegalName field's value.
+func (s *TaxRegistration) SetLegalName(v string) *TaxRegistration {
+ s.LegalName = &v
+ return s
+}
+
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *TaxRegistration) SetRegistrationId(v string) *TaxRegistration {
+ s.RegistrationId = &v
+ return s
+}
+
+// SetRegistrationType sets the RegistrationType field's value.
+func (s *TaxRegistration) SetRegistrationType(v string) *TaxRegistration {
+ s.RegistrationType = &v
+ return s
+}
+
+// SetSector sets the Sector field's value.
+func (s *TaxRegistration) SetSector(v string) *TaxRegistration {
+ s.Sector = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *TaxRegistration) SetStatus(v string) *TaxRegistration {
+ s.Status = &v
+ return s
+}
+
+// SetTaxDocumentMetadatas sets the TaxDocumentMetadatas field's value.
+func (s *TaxRegistration) SetTaxDocumentMetadatas(v []*TaxDocumentMetadata) *TaxRegistration {
+ s.TaxDocumentMetadatas = v
+ return s
+}
+
+// Tax registration document information.
+type TaxRegistrationDocument struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon S3 location where your tax registration document is stored.
+ //
+ // S3Location is a required field
+ S3Location *SourceS3Location `locationName:"s3Location" type:"structure" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TaxRegistrationDocument) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TaxRegistrationDocument) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *TaxRegistrationDocument) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "TaxRegistrationDocument"}
+ if s.S3Location == nil {
+ invalidParams.Add(request.NewErrParamRequired("S3Location"))
+ }
+ if s.S3Location != nil {
+ if err := s.S3Location.Validate(); err != nil {
+ invalidParams.AddNested("S3Location", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetS3Location sets the S3Location field's value.
+func (s *TaxRegistrationDocument) SetS3Location(v *SourceS3Location) *TaxRegistrationDocument {
+ s.S3Location = v
+ return s
+}
+
+// The TRN information you provide when you add a new TRN, or update.
+type TaxRegistrationEntry struct {
+ _ struct{} `type:"structure" sensitive:"true"`
+
+ // Additional tax information associated with your TRN. You only need to specify
+ // this parameter if Amazon Web Services collects any additional information
+ // for your country within AdditionalInfoRequest.
+ AdditionalTaxInformation *AdditionalInfoRequest `locationName:"additionalTaxInformation" type:"structure"`
+
+ // The email address to receive VAT invoices.
+ CertifiedEmailId *string `locationName:"certifiedEmailId" type:"string"`
+
+ // The legal address associated with your TRN.
+ //
+ // If you're setting a TRN in Brazil for the CNPJ tax type, you don't need to
+ // specify the legal address.
+ //
+ // For TRNs in other countries and for CPF tax types Brazil, you must specify
+ // the legal address.
+ LegalAddress *Address `locationName:"legalAddress" type:"structure"`
+
+ // The legal name associated with your TRN.
+ //
+ // If you're setting a TRN in Brazil, you don't need to specify the legal name.
+ // For TRNs in other countries, you must specify the legal name.
+ LegalName *string `locationName:"legalName" min:"1" type:"string"`
+
+ // Your tax registration unique identifier.
+ //
+ // RegistrationId is a required field
+ RegistrationId *string `locationName:"registrationId" min:"1" type:"string" required:"true"`
+
+ // Your tax registration type. This can be either VAT or GST.
+ //
+ // RegistrationType is a required field
+ RegistrationType *string `locationName:"registrationType" type:"string" required:"true" enum:"TaxRegistrationType"`
+
+ // The industry that describes your business. For business-to-business (B2B)
+ // customers, specify Business. For business-to-consumer (B2C) customers, specify
+ // Individual. For business-to-government (B2G), specify Government.Note that
+ // certain values may not applicable for the request country. Please refer to
+ // country specific information in API document.
+ Sector *string `locationName:"sector" type:"string" enum:"Sector"`
+
+ // Additional details needed to verify your TRN information in Brazil. You only
+ // need to specify this parameter when you set a TRN in Brazil that is the CPF
+ // tax type.
+ //
+ // Don't specify this parameter to set a TRN in Brazil of the CNPJ tax type
+ // or to set a TRN for another country.
+ VerificationDetails *VerificationDetails `locationName:"verificationDetails" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TaxRegistrationEntry) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TaxRegistrationEntry) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *TaxRegistrationEntry) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "TaxRegistrationEntry"}
+ if s.LegalName != nil && len(*s.LegalName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("LegalName", 1))
+ }
+ if s.RegistrationId == nil {
+ invalidParams.Add(request.NewErrParamRequired("RegistrationId"))
+ }
+ if s.RegistrationId != nil && len(*s.RegistrationId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("RegistrationId", 1))
+ }
+ if s.RegistrationType == nil {
+ invalidParams.Add(request.NewErrParamRequired("RegistrationType"))
+ }
+ if s.AdditionalTaxInformation != nil {
+ if err := s.AdditionalTaxInformation.Validate(); err != nil {
+ invalidParams.AddNested("AdditionalTaxInformation", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.LegalAddress != nil {
+ if err := s.LegalAddress.Validate(); err != nil {
+ invalidParams.AddNested("LegalAddress", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.VerificationDetails != nil {
+ if err := s.VerificationDetails.Validate(); err != nil {
+ invalidParams.AddNested("VerificationDetails", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAdditionalTaxInformation sets the AdditionalTaxInformation field's value.
+func (s *TaxRegistrationEntry) SetAdditionalTaxInformation(v *AdditionalInfoRequest) *TaxRegistrationEntry {
+ s.AdditionalTaxInformation = v
+ return s
+}
+
+// SetCertifiedEmailId sets the CertifiedEmailId field's value.
+func (s *TaxRegistrationEntry) SetCertifiedEmailId(v string) *TaxRegistrationEntry {
+ s.CertifiedEmailId = &v
+ return s
+}
+
+// SetLegalAddress sets the LegalAddress field's value.
+func (s *TaxRegistrationEntry) SetLegalAddress(v *Address) *TaxRegistrationEntry {
+ s.LegalAddress = v
+ return s
+}
+
+// SetLegalName sets the LegalName field's value.
+func (s *TaxRegistrationEntry) SetLegalName(v string) *TaxRegistrationEntry {
+ s.LegalName = &v
+ return s
+}
+
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *TaxRegistrationEntry) SetRegistrationId(v string) *TaxRegistrationEntry {
+ s.RegistrationId = &v
+ return s
+}
+
+// SetRegistrationType sets the RegistrationType field's value.
+func (s *TaxRegistrationEntry) SetRegistrationType(v string) *TaxRegistrationEntry {
+ s.RegistrationType = &v
+ return s
+}
+
+// SetSector sets the Sector field's value.
+func (s *TaxRegistrationEntry) SetSector(v string) *TaxRegistrationEntry {
+ s.Sector = &v
+ return s
+}
+
+// SetVerificationDetails sets the VerificationDetails field's value.
+func (s *TaxRegistrationEntry) SetVerificationDetails(v *VerificationDetails) *TaxRegistrationEntry {
+ s.VerificationDetails = v
+ return s
+}
+
+// Your TRN information with jurisdiction details. This doesn't contain the
+// full legal address associated with the TRN information.
+type TaxRegistrationWithJurisdiction struct {
+ _ struct{} `type:"structure" sensitive:"true"`
+
+ // Additional tax information associated with your TRN.
+ AdditionalTaxInformation *AdditionalInfoResponse `locationName:"additionalTaxInformation" type:"structure"`
+
+ // The email address to receive VAT invoices.
+ CertifiedEmailId *string `locationName:"certifiedEmailId" type:"string"`
+
+ // The jurisdiction associated with your TRN information.
+ //
+ // Jurisdiction is a required field
+ Jurisdiction *Jurisdiction `locationName:"jurisdiction" type:"structure" required:"true"`
+
+ // The legal name associated with your TRN information.
+ //
+ // LegalName is a required field
+ LegalName *string `locationName:"legalName" min:"1" type:"string" required:"true"`
+
+ // Your tax registration unique identifier.
+ //
+ // RegistrationId is a required field
+ RegistrationId *string `locationName:"registrationId" min:"1" type:"string" required:"true"`
+
+ // The type of your tax registration. This can be either VAT or GST.
+ //
+ // RegistrationType is a required field
+ RegistrationType *string `locationName:"registrationType" type:"string" required:"true" enum:"TaxRegistrationType"`
+
+ // The industry that describes your business. For business-to-business (B2B)
+ // customers, specify Business. For business-to-consumer (B2C) customers, specify
+ // Individual. For business-to-government (B2G), specify Government.Note that
+ // certain values may not applicable for the request country. Please refer to
+ // country specific information in API document.
+ Sector *string `locationName:"sector" type:"string" enum:"Sector"`
+
+ // The status of your TRN. This can be either Verified, Pending, Deleted, or
+ // Rejected.
+ //
+ // Status is a required field
+ Status *string `locationName:"status" type:"string" required:"true" enum:"TaxRegistrationStatus"`
+
+ // The metadata for your tax document.
+ TaxDocumentMetadatas []*TaxDocumentMetadata `locationName:"taxDocumentMetadatas" min:"1" type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TaxRegistrationWithJurisdiction) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TaxRegistrationWithJurisdiction) GoString() string {
+ return s.String()
+}
+
+// SetAdditionalTaxInformation sets the AdditionalTaxInformation field's value.
+func (s *TaxRegistrationWithJurisdiction) SetAdditionalTaxInformation(v *AdditionalInfoResponse) *TaxRegistrationWithJurisdiction {
+ s.AdditionalTaxInformation = v
+ return s
+}
+
+// SetCertifiedEmailId sets the CertifiedEmailId field's value.
+func (s *TaxRegistrationWithJurisdiction) SetCertifiedEmailId(v string) *TaxRegistrationWithJurisdiction {
+ s.CertifiedEmailId = &v
+ return s
+}
+
+// SetJurisdiction sets the Jurisdiction field's value.
+func (s *TaxRegistrationWithJurisdiction) SetJurisdiction(v *Jurisdiction) *TaxRegistrationWithJurisdiction {
+ s.Jurisdiction = v
+ return s
+}
+
+// SetLegalName sets the LegalName field's value.
+func (s *TaxRegistrationWithJurisdiction) SetLegalName(v string) *TaxRegistrationWithJurisdiction {
+ s.LegalName = &v
+ return s
+}
+
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *TaxRegistrationWithJurisdiction) SetRegistrationId(v string) *TaxRegistrationWithJurisdiction {
+ s.RegistrationId = &v
+ return s
+}
+
+// SetRegistrationType sets the RegistrationType field's value.
+func (s *TaxRegistrationWithJurisdiction) SetRegistrationType(v string) *TaxRegistrationWithJurisdiction {
+ s.RegistrationType = &v
+ return s
+}
+
+// SetSector sets the Sector field's value.
+func (s *TaxRegistrationWithJurisdiction) SetSector(v string) *TaxRegistrationWithJurisdiction {
+ s.Sector = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *TaxRegistrationWithJurisdiction) SetStatus(v string) *TaxRegistrationWithJurisdiction {
+ s.Status = &v
+ return s
+}
+
+// SetTaxDocumentMetadatas sets the TaxDocumentMetadatas field's value.
+func (s *TaxRegistrationWithJurisdiction) SetTaxDocumentMetadatas(v []*TaxDocumentMetadata) *TaxRegistrationWithJurisdiction {
+ s.TaxDocumentMetadatas = v
+ return s
+}
+
+// Additional tax information associated with your TRN in Turkey.
+type TurkeyAdditionalInfo struct {
+ _ struct{} `type:"structure"`
+
+ // The industry information that tells the Tax Settings API if you're subject
+ // to additional withholding taxes. This information required for business-to-business
+ // (B2B) customers. This information is conditionally mandatory for B2B customers
+ // who are subject to KDV tax.
+ Industries *string `locationName:"industries" type:"string" enum:"Industries"`
+
+ // The Registered Electronic Mail (REM) that is used to send notarized communication.
+ // This parameter is optional for business-to-business (B2B) and business-to-government
+ // (B2G) customers. It's not required for business-to-consumer (B2C) customers.
+ KepEmailId *string `locationName:"kepEmailId" type:"string"`
+
+ // Secondary tax ID (“harcama birimi VKN”si”). If one isn't provided,
+ // we will use your VKN as the secondary ID.
+ SecondaryTaxId *string `locationName:"secondaryTaxId" type:"string"`
+
+ // The tax office where you're registered. You can enter this information as
+ // a string. The Tax Settings API will add this information to your invoice.
+ // This parameter is required for business-to-business (B2B) and business-to-government
+ // customers. It's not required for business-to-consumer (B2C) customers.
+ TaxOffice *string `locationName:"taxOffice" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TurkeyAdditionalInfo) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TurkeyAdditionalInfo) GoString() string {
+ return s.String()
+}
+
+// SetIndustries sets the Industries field's value.
+func (s *TurkeyAdditionalInfo) SetIndustries(v string) *TurkeyAdditionalInfo {
+ s.Industries = &v
+ return s
+}
+
+// SetKepEmailId sets the KepEmailId field's value.
+func (s *TurkeyAdditionalInfo) SetKepEmailId(v string) *TurkeyAdditionalInfo {
+ s.KepEmailId = &v
+ return s
+}
+
+// SetSecondaryTaxId sets the SecondaryTaxId field's value.
+func (s *TurkeyAdditionalInfo) SetSecondaryTaxId(v string) *TurkeyAdditionalInfo {
+ s.SecondaryTaxId = &v
+ return s
+}
+
+// SetTaxOffice sets the TaxOffice field's value.
+func (s *TurkeyAdditionalInfo) SetTaxOffice(v string) *TurkeyAdditionalInfo {
+ s.TaxOffice = &v
+ return s
+}
+
+// Additional tax information associated with your TRN in Ukraine.
+type UkraineAdditionalInfo struct {
+ _ struct{} `type:"structure"`
+
+ // The tax registration type.
+ //
+ // UkraineTrnType is a required field
+ UkraineTrnType *string `locationName:"ukraineTrnType" type:"string" required:"true" enum:"UkraineTrnType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UkraineAdditionalInfo) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UkraineAdditionalInfo) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *UkraineAdditionalInfo) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UkraineAdditionalInfo"}
+ if s.UkraineTrnType == nil {
+ invalidParams.Add(request.NewErrParamRequired("UkraineTrnType"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetUkraineTrnType sets the UkraineTrnType field's value.
+func (s *UkraineAdditionalInfo) SetUkraineTrnType(v string) *UkraineAdditionalInfo {
+ s.UkraineTrnType = &v
+ return s
+}
+
+// The exception when the input doesn't pass validation for at least one of
+// the input parameters.
+type ValidationException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ // 400
+ //
+ // ErrorCode is a required field
+ ErrorCode *string `locationName:"errorCode" type:"string" required:"true" enum:"ValidationExceptionErrorCode"`
+
+ // 400
+ FieldList []*ValidationExceptionField `locationName:"fieldList" type:"list"`
+
+ // Message_ is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by ValidationException's
+ // String and GoString methods.
+ Message_ *string `locationName:"message" type:"string" sensitive:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ValidationException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ValidationException) GoString() string {
+ return s.String()
+}
+
+func newErrorValidationException(v protocol.ResponseMetadata) error {
+ return &ValidationException{
+ RespMetadata: v,
+ }
+}
+
+// Code returns the exception type name.
+func (s *ValidationException) Code() string {
+ return "ValidationException"
+}
+
+// Message returns the exception's message.
+func (s *ValidationException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *ValidationException) OrigErr() error {
+ return nil
+}
+
+func (s *ValidationException) Error() string {
+ return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
+}
+
+// Status code returns the HTTP status code for the request's response error.
+func (s *ValidationException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *ValidationException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+// The information about the specified parameter in the request that caused
+// an error.
+type ValidationExceptionField struct {
+ _ struct{} `type:"structure"`
+
+ // The name of the parameter that caused a ValidationException error.
+ //
+ // Name is a required field
+ Name *string `locationName:"name" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ValidationExceptionField) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ValidationExceptionField) GoString() string {
+ return s.String()
+}
+
+// SetName sets the Name field's value.
+func (s *ValidationExceptionField) SetName(v string) *ValidationExceptionField {
+ s.Name = &v
+ return s
+}
+
+// Required information to verify your TRN.
+type VerificationDetails struct {
+ _ struct{} `type:"structure"`
+
+ // Date of birth to verify your submitted TRN. Use the YYYY-MM-DD format.
+ DateOfBirth *string `locationName:"dateOfBirth" min:"10" type:"string"`
+
+ // The tax registration document, which is required for specific countries such
+ // as Bangladesh, Kenya, South Korea and Spain.
+ TaxRegistrationDocuments []*TaxRegistrationDocument `locationName:"taxRegistrationDocuments" min:"1" type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s VerificationDetails) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s VerificationDetails) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *VerificationDetails) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "VerificationDetails"}
+ if s.DateOfBirth != nil && len(*s.DateOfBirth) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("DateOfBirth", 10))
+ }
+ if s.TaxRegistrationDocuments != nil && len(s.TaxRegistrationDocuments) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("TaxRegistrationDocuments", 1))
+ }
+ if s.TaxRegistrationDocuments != nil {
+ for i, v := range s.TaxRegistrationDocuments {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TaxRegistrationDocuments", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDateOfBirth sets the DateOfBirth field's value.
+func (s *VerificationDetails) SetDateOfBirth(v string) *VerificationDetails {
+ s.DateOfBirth = &v
+ return s
+}
+
+// SetTaxRegistrationDocuments sets the TaxRegistrationDocuments field's value.
+func (s *VerificationDetails) SetTaxRegistrationDocuments(v []*TaxRegistrationDocument) *VerificationDetails {
+ s.TaxRegistrationDocuments = v
+ return s
+}
+
+const (
+ // AddressRoleTypeTaxAddress is a AddressRoleType enum value
+ AddressRoleTypeTaxAddress = "TaxAddress"
+
+ // AddressRoleTypeBillingAddress is a AddressRoleType enum value
+ AddressRoleTypeBillingAddress = "BillingAddress"
+
+ // AddressRoleTypeContactAddress is a AddressRoleType enum value
+ AddressRoleTypeContactAddress = "ContactAddress"
+)
+
+// AddressRoleType_Values returns all elements of the AddressRoleType enum
+func AddressRoleType_Values() []string {
+ return []string{
+ AddressRoleTypeTaxAddress,
+ AddressRoleTypeBillingAddress,
+ AddressRoleTypeContactAddress,
+ }
+}
+
+const (
+ // IndustriesCirculatingOrg is a Industries enum value
+ IndustriesCirculatingOrg = "CirculatingOrg"
+
+ // IndustriesProfessionalOrg is a Industries enum value
+ IndustriesProfessionalOrg = "ProfessionalOrg"
+
+ // IndustriesBanks is a Industries enum value
+ IndustriesBanks = "Banks"
+
+ // IndustriesInsurance is a Industries enum value
+ IndustriesInsurance = "Insurance"
+
+ // IndustriesPensionAndBenefitFunds is a Industries enum value
+ IndustriesPensionAndBenefitFunds = "PensionAndBenefitFunds"
+
+ // IndustriesDevelopmentAgencies is a Industries enum value
+ IndustriesDevelopmentAgencies = "DevelopmentAgencies"
+)
+
+// Industries_Values returns all elements of the Industries enum
+func Industries_Values() []string {
+ return []string{
+ IndustriesCirculatingOrg,
+ IndustriesProfessionalOrg,
+ IndustriesBanks,
+ IndustriesInsurance,
+ IndustriesPensionAndBenefitFunds,
+ IndustriesDevelopmentAgencies,
+ }
+}
+
+const (
+ // IsraelCustomerTypeBusiness is a IsraelCustomerType enum value
+ IsraelCustomerTypeBusiness = "Business"
+
+ // IsraelCustomerTypeIndividual is a IsraelCustomerType enum value
+ IsraelCustomerTypeIndividual = "Individual"
+)
+
+// IsraelCustomerType_Values returns all elements of the IsraelCustomerType enum
+func IsraelCustomerType_Values() []string {
+ return []string{
+ IsraelCustomerTypeBusiness,
+ IsraelCustomerTypeIndividual,
+ }
+}
+
+const (
+ // IsraelDealerTypeAuthorized is a IsraelDealerType enum value
+ IsraelDealerTypeAuthorized = "Authorized"
+
+ // IsraelDealerTypeNonAuthorized is a IsraelDealerType enum value
+ IsraelDealerTypeNonAuthorized = "Non-authorized"
+)
+
+// IsraelDealerType_Values returns all elements of the IsraelDealerType enum
+func IsraelDealerType_Values() []string {
+ return []string{
+ IsraelDealerTypeAuthorized,
+ IsraelDealerTypeNonAuthorized,
+ }
+}
+
+const (
+ // MalaysiaServiceTaxCodeConsultancy is a MalaysiaServiceTaxCode enum value
+ MalaysiaServiceTaxCodeConsultancy = "Consultancy"
+
+ // MalaysiaServiceTaxCodeDigitalServiceAndElectronicMedium is a MalaysiaServiceTaxCode enum value
+ MalaysiaServiceTaxCodeDigitalServiceAndElectronicMedium = "Digital Service And Electronic Medium"
+
+ // MalaysiaServiceTaxCodeItservices is a MalaysiaServiceTaxCode enum value
+ MalaysiaServiceTaxCodeItservices = "IT Services"
+
+ // MalaysiaServiceTaxCodeTrainingOrCoaching is a MalaysiaServiceTaxCode enum value
+ MalaysiaServiceTaxCodeTrainingOrCoaching = "Training Or Coaching"
+)
+
+// MalaysiaServiceTaxCode_Values returns all elements of the MalaysiaServiceTaxCode enum
+func MalaysiaServiceTaxCode_Values() []string {
+ return []string{
+ MalaysiaServiceTaxCodeConsultancy,
+ MalaysiaServiceTaxCodeDigitalServiceAndElectronicMedium,
+ MalaysiaServiceTaxCodeItservices,
+ MalaysiaServiceTaxCodeTrainingOrCoaching,
+ }
+}
+
+const (
+ // PersonTypeLegalPerson is a PersonType enum value
+ PersonTypeLegalPerson = "Legal Person"
+
+ // PersonTypePhysicalPerson is a PersonType enum value
+ PersonTypePhysicalPerson = "Physical Person"
+
+ // PersonTypeBusiness is a PersonType enum value
+ PersonTypeBusiness = "Business"
+)
+
+// PersonType_Values returns all elements of the PersonType enum
+func PersonType_Values() []string {
+ return []string{
+ PersonTypeLegalPerson,
+ PersonTypePhysicalPerson,
+ PersonTypeBusiness,
+ }
+}
+
+const (
+ // RegistrationTypeIntraEu is a RegistrationType enum value
+ RegistrationTypeIntraEu = "Intra-EU"
+
+ // RegistrationTypeLocal is a RegistrationType enum value
+ RegistrationTypeLocal = "Local"
+)
+
+// RegistrationType_Values returns all elements of the RegistrationType enum
+func RegistrationType_Values() []string {
+ return []string{
+ RegistrationTypeIntraEu,
+ RegistrationTypeLocal,
+ }
+}
+
+const (
+ // SaudiArabiaTaxRegistrationNumberTypeTaxRegistrationNumber is a SaudiArabiaTaxRegistrationNumberType enum value
+ SaudiArabiaTaxRegistrationNumberTypeTaxRegistrationNumber = "TaxRegistrationNumber"
+
+ // SaudiArabiaTaxRegistrationNumberTypeTaxIdentificationNumber is a SaudiArabiaTaxRegistrationNumberType enum value
+ SaudiArabiaTaxRegistrationNumberTypeTaxIdentificationNumber = "TaxIdentificationNumber"
+
+ // SaudiArabiaTaxRegistrationNumberTypeCommercialRegistrationNumber is a SaudiArabiaTaxRegistrationNumberType enum value
+ SaudiArabiaTaxRegistrationNumberTypeCommercialRegistrationNumber = "CommercialRegistrationNumber"
+)
+
+// SaudiArabiaTaxRegistrationNumberType_Values returns all elements of the SaudiArabiaTaxRegistrationNumberType enum
+func SaudiArabiaTaxRegistrationNumberType_Values() []string {
+ return []string{
+ SaudiArabiaTaxRegistrationNumberTypeTaxRegistrationNumber,
+ SaudiArabiaTaxRegistrationNumberTypeTaxIdentificationNumber,
+ SaudiArabiaTaxRegistrationNumberTypeCommercialRegistrationNumber,
+ }
+}
+
+const (
+ // SectorBusiness is a Sector enum value
+ SectorBusiness = "Business"
+
+ // SectorIndividual is a Sector enum value
+ SectorIndividual = "Individual"
+
+ // SectorGovernment is a Sector enum value
+ SectorGovernment = "Government"
+)
+
+// Sector_Values returns all elements of the Sector enum
+func Sector_Values() []string {
+ return []string{
+ SectorBusiness,
+ SectorIndividual,
+ SectorGovernment,
+ }
+}
+
+const (
+ // TaxRegistrationNumberTypeTaxRegistrationNumber is a TaxRegistrationNumberType enum value
+ TaxRegistrationNumberTypeTaxRegistrationNumber = "TaxRegistrationNumber"
+
+ // TaxRegistrationNumberTypeLocalRegistrationNumber is a TaxRegistrationNumberType enum value
+ TaxRegistrationNumberTypeLocalRegistrationNumber = "LocalRegistrationNumber"
+)
+
+// TaxRegistrationNumberType_Values returns all elements of the TaxRegistrationNumberType enum
+func TaxRegistrationNumberType_Values() []string {
+ return []string{
+ TaxRegistrationNumberTypeTaxRegistrationNumber,
+ TaxRegistrationNumberTypeLocalRegistrationNumber,
+ }
+}
+
+const (
+ // TaxRegistrationStatusVerified is a TaxRegistrationStatus enum value
+ TaxRegistrationStatusVerified = "Verified"
+
+ // TaxRegistrationStatusPending is a TaxRegistrationStatus enum value
+ TaxRegistrationStatusPending = "Pending"
+
+ // TaxRegistrationStatusDeleted is a TaxRegistrationStatus enum value
+ TaxRegistrationStatusDeleted = "Deleted"
+
+ // TaxRegistrationStatusRejected is a TaxRegistrationStatus enum value
+ TaxRegistrationStatusRejected = "Rejected"
+)
+
+// TaxRegistrationStatus_Values returns all elements of the TaxRegistrationStatus enum
+func TaxRegistrationStatus_Values() []string {
+ return []string{
+ TaxRegistrationStatusVerified,
+ TaxRegistrationStatusPending,
+ TaxRegistrationStatusDeleted,
+ TaxRegistrationStatusRejected,
+ }
+}
+
+const (
+ // TaxRegistrationTypeVat is a TaxRegistrationType enum value
+ TaxRegistrationTypeVat = "VAT"
+
+ // TaxRegistrationTypeGst is a TaxRegistrationType enum value
+ TaxRegistrationTypeGst = "GST"
+
+ // TaxRegistrationTypeCpf is a TaxRegistrationType enum value
+ TaxRegistrationTypeCpf = "CPF"
+
+ // TaxRegistrationTypeCnpj is a TaxRegistrationType enum value
+ TaxRegistrationTypeCnpj = "CNPJ"
+
+ // TaxRegistrationTypeSst is a TaxRegistrationType enum value
+ TaxRegistrationTypeSst = "SST"
+)
+
+// TaxRegistrationType_Values returns all elements of the TaxRegistrationType enum
+func TaxRegistrationType_Values() []string {
+ return []string{
+ TaxRegistrationTypeVat,
+ TaxRegistrationTypeGst,
+ TaxRegistrationTypeCpf,
+ TaxRegistrationTypeCnpj,
+ TaxRegistrationTypeSst,
+ }
+}
+
+const (
+ // UkraineTrnTypeBusiness is a UkraineTrnType enum value
+ UkraineTrnTypeBusiness = "Business"
+
+ // UkraineTrnTypeIndividual is a UkraineTrnType enum value
+ UkraineTrnTypeIndividual = "Individual"
+)
+
+// UkraineTrnType_Values returns all elements of the UkraineTrnType enum
+func UkraineTrnType_Values() []string {
+ return []string{
+ UkraineTrnTypeBusiness,
+ UkraineTrnTypeIndividual,
+ }
+}
+
+const (
+ // ValidationExceptionErrorCodeMalformedToken is a ValidationExceptionErrorCode enum value
+ ValidationExceptionErrorCodeMalformedToken = "MalformedToken"
+
+ // ValidationExceptionErrorCodeExpiredToken is a ValidationExceptionErrorCode enum value
+ ValidationExceptionErrorCodeExpiredToken = "ExpiredToken"
+
+ // ValidationExceptionErrorCodeInvalidToken is a ValidationExceptionErrorCode enum value
+ ValidationExceptionErrorCodeInvalidToken = "InvalidToken"
+
+ // ValidationExceptionErrorCodeFieldValidationFailed is a ValidationExceptionErrorCode enum value
+ ValidationExceptionErrorCodeFieldValidationFailed = "FieldValidationFailed"
+
+ // ValidationExceptionErrorCodeMissingInput is a ValidationExceptionErrorCode enum value
+ ValidationExceptionErrorCodeMissingInput = "MissingInput"
+)
+
+// ValidationExceptionErrorCode_Values returns all elements of the ValidationExceptionErrorCode enum
+func ValidationExceptionErrorCode_Values() []string {
+ return []string{
+ ValidationExceptionErrorCodeMalformedToken,
+ ValidationExceptionErrorCodeExpiredToken,
+ ValidationExceptionErrorCodeInvalidToken,
+ ValidationExceptionErrorCodeFieldValidationFailed,
+ ValidationExceptionErrorCodeMissingInput,
+ }
+}
diff --git a/service/taxsettings/doc.go b/service/taxsettings/doc.go
new file mode 100644
index 00000000000..3d13bba50f0
--- /dev/null
+++ b/service/taxsettings/doc.go
@@ -0,0 +1,38 @@
+// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
+
+// Package taxsettings provides the client and types for making API
+// requests to Tax Settings.
+//
+// You can use the tax setting API to programmatically set, modify, and delete
+// the tax registration number (TRN), associated business legal name, and address
+// (Collectively referred to as "TRN information"). You can also programmatically
+// view TRN information and tax addresses ("Tax profiles").
+//
+// You can use this API to automate your TRN information settings instead of
+// manually using the console.
+//
+// Service Endpoint
+//
+// - https://tax.us-east-1.amazonaws.com
+//
+// See https://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10 for more information on this service.
+//
+// See taxsettings package documentation for more information.
+// https://docs.aws.amazon.com/sdk-for-go/api/service/taxsettings/
+//
+// # Using the Client
+//
+// To contact Tax Settings with the SDK use the New function to create
+// a new service client. With that client you can make API requests to the service.
+// These clients are safe to use concurrently.
+//
+// See the SDK's documentation for more information on how to use the SDK.
+// https://docs.aws.amazon.com/sdk-for-go/api/
+//
+// See aws.Config documentation for more information on configuring SDK clients.
+// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
+//
+// See the Tax Settings client TaxSettings for more
+// information on creating client for this service.
+// https://docs.aws.amazon.com/sdk-for-go/api/service/taxsettings/#New
+package taxsettings
diff --git a/service/taxsettings/errors.go b/service/taxsettings/errors.go
new file mode 100644
index 00000000000..9c1957c463b
--- /dev/null
+++ b/service/taxsettings/errors.go
@@ -0,0 +1,43 @@
+// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
+
+package taxsettings
+
+import (
+ "github.com/aws/aws-sdk-go/private/protocol"
+)
+
+const (
+
+ // ErrCodeConflictException for service response error code
+ // "ConflictException".
+ //
+ // The exception when the input is creating conflict with the given state.
+ ErrCodeConflictException = "ConflictException"
+
+ // ErrCodeInternalServerException for service response error code
+ // "InternalServerException".
+ //
+ // The exception thrown when an unexpected error occurs when processing a request.
+ ErrCodeInternalServerException = "InternalServerException"
+
+ // ErrCodeResourceNotFoundException for service response error code
+ // "ResourceNotFoundException".
+ //
+ // The exception thrown when the input doesn't have a resource associated to
+ // it.
+ ErrCodeResourceNotFoundException = "ResourceNotFoundException"
+
+ // ErrCodeValidationException for service response error code
+ // "ValidationException".
+ //
+ // The exception when the input doesn't pass validation for at least one of
+ // the input parameters.
+ ErrCodeValidationException = "ValidationException"
+)
+
+var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
+ "ConflictException": newErrorConflictException,
+ "InternalServerException": newErrorInternalServerException,
+ "ResourceNotFoundException": newErrorResourceNotFoundException,
+ "ValidationException": newErrorValidationException,
+}
diff --git a/service/taxsettings/service.go b/service/taxsettings/service.go
new file mode 100644
index 00000000000..b46e5c713df
--- /dev/null
+++ b/service/taxsettings/service.go
@@ -0,0 +1,106 @@
+// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
+
+package taxsettings
+
+import (
+ "github.com/aws/aws-sdk-go/aws"
+ "github.com/aws/aws-sdk-go/aws/client"
+ "github.com/aws/aws-sdk-go/aws/client/metadata"
+ "github.com/aws/aws-sdk-go/aws/request"
+ "github.com/aws/aws-sdk-go/aws/signer/v4"
+ "github.com/aws/aws-sdk-go/private/protocol"
+ "github.com/aws/aws-sdk-go/private/protocol/restjson"
+)
+
+// TaxSettings provides the API operation methods for making requests to
+// Tax Settings. See this package's package overview docs
+// for details on the service.
+//
+// TaxSettings methods are safe to use concurrently. It is not safe to
+// modify mutate any of the struct's properties though.
+type TaxSettings struct {
+ *client.Client
+}
+
+// Used for custom client initialization logic
+var initClient func(*client.Client)
+
+// Used for custom request initialization logic
+var initRequest func(*request.Request)
+
+// Service information constants
+const (
+ ServiceName = "TaxSettings" // Name of service.
+ EndpointsID = "tax" // ID to lookup a service endpoint with.
+ ServiceID = "TaxSettings" // ServiceID is a unique identifier of a specific service.
+)
+
+// New creates a new instance of the TaxSettings client with a session.
+// If additional configuration is needed for the client instance use the optional
+// aws.Config parameter to add your extra config.
+//
+// Example:
+//
+// mySession := session.Must(session.NewSession())
+//
+// // Create a TaxSettings client from just a session.
+// svc := taxsettings.New(mySession)
+//
+// // Create a TaxSettings client with additional configuration
+// svc := taxsettings.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
+func New(p client.ConfigProvider, cfgs ...*aws.Config) *TaxSettings {
+ c := p.ClientConfig(EndpointsID, cfgs...)
+ if c.SigningNameDerived || len(c.SigningName) == 0 {
+ c.SigningName = "tax"
+ }
+ return newClient(*c.Config, c.Handlers, c.PartitionID, c.Endpoint, c.SigningRegion, c.SigningName, c.ResolvedRegion)
+}
+
+// newClient creates, initializes and returns a new service client instance.
+func newClient(cfg aws.Config, handlers request.Handlers, partitionID, endpoint, signingRegion, signingName, resolvedRegion string) *TaxSettings {
+ svc := &TaxSettings{
+ Client: client.New(
+ cfg,
+ metadata.ClientInfo{
+ ServiceName: ServiceName,
+ ServiceID: ServiceID,
+ SigningName: signingName,
+ SigningRegion: signingRegion,
+ PartitionID: partitionID,
+ Endpoint: endpoint,
+ APIVersion: "2018-05-10",
+ ResolvedRegion: resolvedRegion,
+ },
+ handlers,
+ ),
+ }
+
+ // Handlers
+ svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler)
+ svc.Handlers.Build.PushBackNamed(restjson.BuildHandler)
+ svc.Handlers.Unmarshal.PushBackNamed(restjson.UnmarshalHandler)
+ svc.Handlers.UnmarshalMeta.PushBackNamed(restjson.UnmarshalMetaHandler)
+ svc.Handlers.UnmarshalError.PushBackNamed(
+ protocol.NewUnmarshalErrorHandler(restjson.NewUnmarshalTypedError(exceptionFromCode)).NamedHandler(),
+ )
+
+ // Run custom client initialization if present
+ if initClient != nil {
+ initClient(svc.Client)
+ }
+
+ return svc
+}
+
+// newRequest creates a new request for a TaxSettings operation and runs any
+// custom request initialization.
+func (c *TaxSettings) newRequest(op *request.Operation, params, data interface{}) *request.Request {
+ req := c.NewRequest(op, params, data)
+
+ // Run custom request initialization if present
+ if initRequest != nil {
+ initRequest(req)
+ }
+
+ return req
+}
diff --git a/service/taxsettings/taxsettingsiface/interface.go b/service/taxsettings/taxsettingsiface/interface.go
new file mode 100644
index 00000000000..2abb7fb3702
--- /dev/null
+++ b/service/taxsettings/taxsettingsiface/interface.go
@@ -0,0 +1,95 @@
+// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
+
+// Package taxsettingsiface provides an interface to enable mocking the Tax Settings service client
+// for testing your code.
+//
+// It is important to note that this interface will have breaking changes
+// when the service model is updated and adds new API operations, paginators,
+// and waiters.
+package taxsettingsiface
+
+import (
+ "github.com/aws/aws-sdk-go/aws"
+ "github.com/aws/aws-sdk-go/aws/request"
+ "github.com/aws/aws-sdk-go/service/taxsettings"
+)
+
+// TaxSettingsAPI provides an interface to enable mocking the
+// taxsettings.TaxSettings service client's API operation,
+// paginators, and waiters. This make unit testing your code that calls out
+// to the SDK's service client's calls easier.
+//
+// The best way to use this interface is so the SDK's service client's calls
+// can be stubbed out for unit testing your code with the SDK without needing
+// to inject custom request handlers into the SDK's request pipeline.
+//
+// // myFunc uses an SDK service client to make a request to
+// // Tax Settings.
+// func myFunc(svc taxsettingsiface.TaxSettingsAPI) bool {
+// // Make svc.BatchDeleteTaxRegistration request
+// }
+//
+// func main() {
+// sess := session.New()
+// svc := taxsettings.New(sess)
+//
+// myFunc(svc)
+// }
+//
+// In your _test.go file:
+//
+// // Define a mock struct to be used in your unit tests of myFunc.
+// type mockTaxSettingsClient struct {
+// taxsettingsiface.TaxSettingsAPI
+// }
+// func (m *mockTaxSettingsClient) BatchDeleteTaxRegistration(input *taxsettings.BatchDeleteTaxRegistrationInput) (*taxsettings.BatchDeleteTaxRegistrationOutput, error) {
+// // mock response/functionality
+// }
+//
+// func TestMyFunc(t *testing.T) {
+// // Setup Test
+// mockSvc := &mockTaxSettingsClient{}
+//
+// myfunc(mockSvc)
+//
+// // Verify myFunc's functionality
+// }
+//
+// It is important to note that this interface will have breaking changes
+// when the service model is updated and adds new API operations, paginators,
+// and waiters. Its suggested to use the pattern above for testing, or using
+// tooling to generate mocks to satisfy the interfaces.
+type TaxSettingsAPI interface {
+ BatchDeleteTaxRegistration(*taxsettings.BatchDeleteTaxRegistrationInput) (*taxsettings.BatchDeleteTaxRegistrationOutput, error)
+ BatchDeleteTaxRegistrationWithContext(aws.Context, *taxsettings.BatchDeleteTaxRegistrationInput, ...request.Option) (*taxsettings.BatchDeleteTaxRegistrationOutput, error)
+ BatchDeleteTaxRegistrationRequest(*taxsettings.BatchDeleteTaxRegistrationInput) (*request.Request, *taxsettings.BatchDeleteTaxRegistrationOutput)
+
+ BatchPutTaxRegistration(*taxsettings.BatchPutTaxRegistrationInput) (*taxsettings.BatchPutTaxRegistrationOutput, error)
+ BatchPutTaxRegistrationWithContext(aws.Context, *taxsettings.BatchPutTaxRegistrationInput, ...request.Option) (*taxsettings.BatchPutTaxRegistrationOutput, error)
+ BatchPutTaxRegistrationRequest(*taxsettings.BatchPutTaxRegistrationInput) (*request.Request, *taxsettings.BatchPutTaxRegistrationOutput)
+
+ DeleteTaxRegistration(*taxsettings.DeleteTaxRegistrationInput) (*taxsettings.DeleteTaxRegistrationOutput, error)
+ DeleteTaxRegistrationWithContext(aws.Context, *taxsettings.DeleteTaxRegistrationInput, ...request.Option) (*taxsettings.DeleteTaxRegistrationOutput, error)
+ DeleteTaxRegistrationRequest(*taxsettings.DeleteTaxRegistrationInput) (*request.Request, *taxsettings.DeleteTaxRegistrationOutput)
+
+ GetTaxRegistration(*taxsettings.GetTaxRegistrationInput) (*taxsettings.GetTaxRegistrationOutput, error)
+ GetTaxRegistrationWithContext(aws.Context, *taxsettings.GetTaxRegistrationInput, ...request.Option) (*taxsettings.GetTaxRegistrationOutput, error)
+ GetTaxRegistrationRequest(*taxsettings.GetTaxRegistrationInput) (*request.Request, *taxsettings.GetTaxRegistrationOutput)
+
+ GetTaxRegistrationDocument(*taxsettings.GetTaxRegistrationDocumentInput) (*taxsettings.GetTaxRegistrationDocumentOutput, error)
+ GetTaxRegistrationDocumentWithContext(aws.Context, *taxsettings.GetTaxRegistrationDocumentInput, ...request.Option) (*taxsettings.GetTaxRegistrationDocumentOutput, error)
+ GetTaxRegistrationDocumentRequest(*taxsettings.GetTaxRegistrationDocumentInput) (*request.Request, *taxsettings.GetTaxRegistrationDocumentOutput)
+
+ ListTaxRegistrations(*taxsettings.ListTaxRegistrationsInput) (*taxsettings.ListTaxRegistrationsOutput, error)
+ ListTaxRegistrationsWithContext(aws.Context, *taxsettings.ListTaxRegistrationsInput, ...request.Option) (*taxsettings.ListTaxRegistrationsOutput, error)
+ ListTaxRegistrationsRequest(*taxsettings.ListTaxRegistrationsInput) (*request.Request, *taxsettings.ListTaxRegistrationsOutput)
+
+ ListTaxRegistrationsPages(*taxsettings.ListTaxRegistrationsInput, func(*taxsettings.ListTaxRegistrationsOutput, bool) bool) error
+ ListTaxRegistrationsPagesWithContext(aws.Context, *taxsettings.ListTaxRegistrationsInput, func(*taxsettings.ListTaxRegistrationsOutput, bool) bool, ...request.Option) error
+
+ PutTaxRegistration(*taxsettings.PutTaxRegistrationInput) (*taxsettings.PutTaxRegistrationOutput, error)
+ PutTaxRegistrationWithContext(aws.Context, *taxsettings.PutTaxRegistrationInput, ...request.Option) (*taxsettings.PutTaxRegistrationOutput, error)
+ PutTaxRegistrationRequest(*taxsettings.PutTaxRegistrationInput) (*request.Request, *taxsettings.PutTaxRegistrationOutput)
+}
+
+var _ TaxSettingsAPI = (*taxsettings.TaxSettings)(nil)