diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f1ccce807e..bb373b477c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ +Release v1.44.321 (2023-08-10) +=== + +### Service Client Updates +* `service/cloudtrail`: Updates service documentation + * Documentation updates for CloudTrail. +* `service/connect`: Updates service API, documentation, and paginators +* `service/elasticloadbalancingv2`: Updates service API and documentation +* `service/omics`: Updates service API and documentation +* `service/secretsmanager`: Updates service API + * Add additional InvalidRequestException to list of possible exceptions for ListSecret. +* `service/transfer`: Updates service documentation + * Documentation updates for AW Transfer Family + Release v1.44.320 (2023-08-09) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index ff1f6443599..40e02986443 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -13724,6 +13724,9 @@ var awsPartition = partition{ endpointKey{ Region: "af-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-east-1", + }: endpoint{}, endpointKey{ Region: "ap-northeast-1", }: endpoint{}, @@ -13766,6 +13769,9 @@ var awsPartition = partition{ endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "me-south-1", + }: endpoint{}, endpointKey{ Region: "sa-east-1", }: endpoint{}, @@ -13775,6 +13781,9 @@ var awsPartition = partition{ endpointKey{ Region: "us-east-2", }: endpoint{}, + endpointKey{ + Region: "us-west-1", + }: endpoint{}, endpointKey{ Region: "us-west-2", }: endpoint{}, @@ -25030,6 +25039,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "il-central-1", + }: endpoint{}, endpointKey{ Region: "me-central-1", }: endpoint{}, diff --git a/aws/version.go b/aws/version.go index 9d917362699..3226593c3d1 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.44.320" +const SDKVersion = "1.44.321" diff --git a/models/apis/cloudtrail/2013-11-01/docs-2.json b/models/apis/cloudtrail/2013-11-01/docs-2.json index 0cf8bb4b55b..167256eeffa 100644 --- a/models/apis/cloudtrail/2013-11-01/docs-2.json +++ b/models/apis/cloudtrail/2013-11-01/docs-2.json @@ -1165,7 +1165,7 @@ } }, "MaxConcurrentQueriesException": { - "base": "

You are already running the maximum number of concurrent queries. Wait a minute for some queries to finish, and then run the query again.

", + "base": "

You are already running the maximum number of concurrent queries. The maximum number of concurrent queries is 10. Wait a minute for some queries to finish, and then run the query again.

", "refs": { } }, @@ -1506,12 +1506,12 @@ "RetentionPeriod": { "base": null, "refs": { - "CreateEventDataStoreRequest$RetentionPeriod": "

The retention period of the event data store, in days. You can set a retention period of up to 2557 days, the equivalent of seven years.

", + "CreateEventDataStoreRequest$RetentionPeriod": "

The retention period of the event data store, in days. You can set a retention period of up to 2557 days, the equivalent of seven years. CloudTrail Lake determines whether to retain an event by checking if the eventTime of the event is within the specified retention period. For example, if you set a retention period of 90 days, CloudTrail will remove events when the eventTime is older than 90 days.

If you plan to copy trail events to this event data store, we recommend that you consider both the age of the events that you want to copy as well as how long you want to keep the copied events in your event data store. For example, if you copy trail events that are 5 years old and specify a retention period of 7 years, the event data store will retain those events for two years.

", "CreateEventDataStoreResponse$RetentionPeriod": "

The retention period of an event data store, in days.

", "EventDataStore$RetentionPeriod": "

The retention period, in days.

", "GetEventDataStoreResponse$RetentionPeriod": "

The retention period of the event data store, in days.

", "RestoreEventDataStoreResponse$RetentionPeriod": "

The retention period, in days.

", - "UpdateEventDataStoreRequest$RetentionPeriod": "

The retention period, in days.

", + "UpdateEventDataStoreRequest$RetentionPeriod": "

The retention period of the event data store, in days. You can set a retention period of up to 2557 days, the equivalent of seven years. CloudTrail Lake determines whether to retain an event by checking if the eventTime of the event is within the specified retention period. For example, if you set a retention period of 90 days, CloudTrail will remove events when the eventTime is older than 90 days.

If you decrease the retention period of an event data store, CloudTrail will remove any events with an eventTime older than the new retention period. For example, if the previous retention period was 365 days and you decrease it to 100 days, CloudTrail will remove events with an eventTime older than 100 days.

", "UpdateEventDataStoreResponse$RetentionPeriod": "

The retention period, in days.

" } }, @@ -1529,7 +1529,7 @@ "SelectorField": { "base": null, "refs": { - "AdvancedFieldSelector$Field": "

A field in a CloudTrail event record on which to filter events to be logged. For event data stores for Config configuration items, Audit Manager evidence, or non-Amazon Web Services events, the field is used only for selecting events as filtering is not supported.

For CloudTrail event records, supported fields include readOnly, eventCategory, eventSource (for management events), eventName, resources.type, and resources.ARN.

For event data stores for Config configuration items, Audit Manager evidence, or non-Amazon Web Services events, the only supported field is eventCategory.

" + "AdvancedFieldSelector$Field": "

A field in a CloudTrail event record on which to filter events to be logged. For event data stores for Config configuration items, Audit Manager evidence, or non-Amazon Web Services events, the field is used only for selecting events as filtering is not supported.

For CloudTrail event records, supported fields include readOnly, eventCategory, eventSource (for management events), eventName, resources.type, and resources.ARN.

For event data stores for Config configuration items, Audit Manager evidence, or non-Amazon Web Services events, the only supported field is eventCategory.

" } }, "SelectorName": { @@ -1643,7 +1643,7 @@ "CreateTrailResponse$CloudWatchLogsLogGroupArn": "

Specifies the Amazon Resource Name (ARN) of the log group to which CloudTrail logs will be delivered.

", "CreateTrailResponse$CloudWatchLogsRoleArn": "

Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.

", "CreateTrailResponse$KmsKeyId": "

Specifies the KMS key ID that encrypts the events delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the following format.

arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012

", - "DataResource$Type": "

The resource type in which you want to log data events. You can specify the following basic event selector resource types:

The following resource types are also available through advanced event selectors. Basic event selector resource types are valid in advanced event selectors, but advanced event selector resource types are not valid in basic event selectors. For more information, see AdvancedFieldSelector.

", + "DataResource$Type": "

The resource type in which you want to log data events. You can specify the following basic event selector resource types:

The following resource types are also available through advanced event selectors. Basic event selector resource types are valid in advanced event selectors, but advanced event selector resource types are not valid in basic event selectors. For more information, see AdvancedFieldSelector.

", "DataResourceValues$member": null, "DeleteTrailRequest$Name": "

Specifies the name or the CloudTrail ARN of the trail to be deleted. The following is the format of a trail ARN. arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

", "Event$EventId": "

The CloudTrail ID of the event returned.

", diff --git a/models/apis/cloudtrail/2013-11-01/endpoint-rule-set-1.json b/models/apis/cloudtrail/2013-11-01/endpoint-rule-set-1.json index 2b5ffaa7a8c..be85a60fb63 100644 --- a/models/apis/cloudtrail/2013-11-01/endpoint-rule-set-1.json +++ b/models/apis/cloudtrail/2013-11-01/endpoint-rule-set-1.json @@ -58,52 +58,56 @@ "type": "error" }, { - "conditions": [], - "type": "tree", - "rules": [ + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" + "ref": "UseDualStack" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + true + ] } - ] + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, { - "conditions": [], + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "type": "tree", "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], "type": "tree", @@ -111,13 +115,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -127,92 +140,83 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://cloudtrail-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://cloudtrail-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] } ], @@ -221,168 +225,128 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } + "ref": "Region" + }, + "us-gov-east-1" ] } ], - "type": "tree", - "rules": [ + "endpoint": { + "url": "https://cloudtrail.us-gov-east-1.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "us-gov-east-1" - ] - } - ], - "endpoint": { - "url": "https://cloudtrail.us-gov-east-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, + "fn": "stringEquals", + "argv": [ { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "us-gov-west-1" - ] - } - ], - "endpoint": { - "url": "https://cloudtrail.us-gov-west-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "ref": "Region" }, - { - "conditions": [], - "endpoint": { - "url": "https://cloudtrail-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "us-gov-west-1" ] } - ] + ], + "endpoint": { + "url": "https://cloudtrail.us-gov-west-1.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://cloudtrail-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://cloudtrail.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://cloudtrail.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://cloudtrail.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://cloudtrail.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } \ No newline at end of file diff --git a/models/apis/connect/2017-08-08/api-2.json b/models/apis/connect/2017-08-08/api-2.json index 50476eaf747..32cf8e7a317 100644 --- a/models/apis/connect/2017-08-08/api-2.json +++ b/models/apis/connect/2017-08-08/api-2.json @@ -194,6 +194,24 @@ {"shape":"ThrottlingException"} ] }, + "AssociateTrafficDistributionGroupUser":{ + "name":"AssociateTrafficDistributionGroupUser", + "http":{ + "method":"PUT", + "requestUri":"/traffic-distribution-group/{TrafficDistributionGroupId}/user" + }, + "input":{"shape":"AssociateTrafficDistributionGroupUserRequest"}, + "output":{"shape":"AssociateTrafficDistributionGroupUserResponse"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ResourceConflictException"}, + {"shape":"InternalServiceException"} + ], + "idempotent":true + }, "ClaimPhoneNumber":{ "name":"ClaimPhoneNumber", "http":{ @@ -1362,6 +1380,24 @@ {"shape":"ThrottlingException"} ] }, + "DisassociateTrafficDistributionGroupUser":{ + "name":"DisassociateTrafficDistributionGroupUser", + "http":{ + "method":"DELETE", + "requestUri":"/traffic-distribution-group/{TrafficDistributionGroupId}/user" + }, + "input":{"shape":"DisassociateTrafficDistributionGroupUserRequest"}, + "output":{"shape":"DisassociateTrafficDistributionGroupUserResponse"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ResourceConflictException"}, + {"shape":"InternalServiceException"} + ], + "idempotent":true + }, "DismissUserContact":{ "name":"DismissUserContact", "http":{ @@ -2010,6 +2046,22 @@ {"shape":"InternalServiceException"} ] }, + "ListTrafficDistributionGroupUsers":{ + "name":"ListTrafficDistributionGroupUsers", + "http":{ + "method":"GET", + "requestUri":"/traffic-distribution-group/{TrafficDistributionGroupId}/user" + }, + "input":{"shape":"ListTrafficDistributionGroupUsersRequest"}, + "output":{"shape":"ListTrafficDistributionGroupUsersResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InvalidRequestException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceException"} + ] + }, "ListTrafficDistributionGroups":{ "name":"ListTrafficDistributionGroups", "http":{ @@ -3251,6 +3303,13 @@ "TIME_SINCE_LAST_INBOUND" ] }, + "AgentConfig":{ + "type":"structure", + "required":["Distributions"], + "members":{ + "Distributions":{"shape":"DistributionList"} + } + }, "AgentContactReference":{ "type":"structure", "members":{ @@ -3585,6 +3644,28 @@ "AssociationId":{"shape":"AssociationId"} } }, + "AssociateTrafficDistributionGroupUserRequest":{ + "type":"structure", + "required":[ + "TrafficDistributionGroupId", + "UserId", + "InstanceId" + ], + "members":{ + "TrafficDistributionGroupId":{ + "shape":"TrafficDistributionGroupIdOrArn", + "location":"uri", + "locationName":"TrafficDistributionGroupId" + }, + "UserId":{"shape":"UserId"}, + "InstanceId":{"shape":"InstanceId"} + } + }, + "AssociateTrafficDistributionGroupUserResponse":{ + "type":"structure", + "members":{ + } + }, "AssociationId":{ "type":"string", "max":100, @@ -5918,6 +5999,36 @@ } } }, + "DisassociateTrafficDistributionGroupUserRequest":{ + "type":"structure", + "required":[ + "TrafficDistributionGroupId", + "UserId", + "InstanceId" + ], + "members":{ + "TrafficDistributionGroupId":{ + "shape":"TrafficDistributionGroupIdOrArn", + "location":"uri", + "locationName":"TrafficDistributionGroupId" + }, + "UserId":{ + "shape":"UserId", + "location":"querystring", + "locationName":"UserId" + }, + "InstanceId":{ + "shape":"InstanceId", + "location":"querystring", + "locationName":"InstanceId" + } + } + }, + "DisassociateTrafficDistributionGroupUserResponse":{ + "type":"structure", + "members":{ + } + }, "DismissUserContactRequest":{ "type":"structure", "required":[ @@ -6802,7 +6913,9 @@ "members":{ "TelephonyConfig":{"shape":"TelephonyConfig"}, "Id":{"shape":"TrafficDistributionGroupId"}, - "Arn":{"shape":"TrafficDistributionGroupArn"} + "Arn":{"shape":"TrafficDistributionGroupArn"}, + "SignInConfig":{"shape":"SignInConfig"}, + "AgentConfig":{"shape":"AgentConfig"} } }, "Grouping":{ @@ -8409,6 +8522,35 @@ "NextToken":{"shape":"NextToken"} } }, + "ListTrafficDistributionGroupUsersRequest":{ + "type":"structure", + "required":["TrafficDistributionGroupId"], + "members":{ + "TrafficDistributionGroupId":{ + "shape":"TrafficDistributionGroupIdOrArn", + "location":"uri", + "locationName":"TrafficDistributionGroupId" + }, + "MaxResults":{ + "shape":"MaxResult10", + "box":true, + "location":"querystring", + "locationName":"maxResults" + }, + "NextToken":{ + "shape":"NextToken", + "location":"querystring", + "locationName":"nextToken" + } + } + }, + "ListTrafficDistributionGroupUsersResponse":{ + "type":"structure", + "members":{ + "NextToken":{"shape":"NextToken"}, + "TrafficDistributionGroupUserSummaryList":{"shape":"TrafficDistributionGroupUserSummaryList"} + } + }, "ListTrafficDistributionGroupsRequest":{ "type":"structure", "members":{ @@ -10393,6 +10535,28 @@ "error":{"httpStatusCode":402}, "exception":true }, + "SignInConfig":{ + "type":"structure", + "required":["Distributions"], + "members":{ + "Distributions":{"shape":"SignInDistributionList"} + } + }, + "SignInDistribution":{ + "type":"structure", + "required":[ + "Region", + "Enabled" + ], + "members":{ + "Region":{"shape":"AwsRegion"}, + "Enabled":{"shape":"Boolean"} + } + }, + "SignInDistributionList":{ + "type":"list", + "member":{"shape":"SignInDistribution"} + }, "SingleSelectOptions":{ "type":"list", "member":{"shape":"TaskTemplateSingleSelectOption"} @@ -11071,7 +11235,8 @@ "Description":{"shape":"Description250"}, "InstanceArn":{"shape":"InstanceArn"}, "Status":{"shape":"TrafficDistributionGroupStatus"}, - "Tags":{"shape":"TagMap"} + "Tags":{"shape":"TagMap"}, + "IsDefault":{"shape":"Boolean"} } }, "TrafficDistributionGroupArn":{ @@ -11104,7 +11269,8 @@ "Arn":{"shape":"TrafficDistributionGroupArn"}, "Name":{"shape":"Name128"}, "InstanceArn":{"shape":"InstanceArn"}, - "Status":{"shape":"TrafficDistributionGroupStatus"} + "Status":{"shape":"TrafficDistributionGroupStatus"}, + "IsDefault":{"shape":"Boolean"} } }, "TrafficDistributionGroupSummaryList":{ @@ -11113,6 +11279,18 @@ "max":10, "min":0 }, + "TrafficDistributionGroupUserSummary":{ + "type":"structure", + "members":{ + "UserId":{"shape":"UserId"} + } + }, + "TrafficDistributionGroupUserSummaryList":{ + "type":"list", + "member":{"shape":"TrafficDistributionGroupUserSummary"}, + "max":10, + "min":0 + }, "TrafficType":{ "type":"string", "enum":[ @@ -12007,7 +12185,9 @@ "location":"uri", "locationName":"Id" }, - "TelephonyConfig":{"shape":"TelephonyConfig"} + "TelephonyConfig":{"shape":"TelephonyConfig"}, + "SignInConfig":{"shape":"SignInConfig"}, + "AgentConfig":{"shape":"AgentConfig"} } }, "UpdateTrafficDistributionResponse":{ diff --git a/models/apis/connect/2017-08-08/docs-2.json b/models/apis/connect/2017-08-08/docs-2.json index 2102c8c9a1b..922ce25fa8c 100644 --- a/models/apis/connect/2017-08-08/docs-2.json +++ b/models/apis/connect/2017-08-08/docs-2.json @@ -13,6 +13,7 @@ "AssociateQueueQuickConnects": "

This API is in preview release for Amazon Connect and is subject to change.

Associates a set of quick connects with a queue.

", "AssociateRoutingProfileQueues": "

Associates a set of queues with a routing profile.

", "AssociateSecurityKey": "

This API is in preview release for Amazon Connect and is subject to change.

Associates a security key to the instance.

", + "AssociateTrafficDistributionGroupUser": "

Associates an agent with a traffic distribution group.

", "ClaimPhoneNumber": "

Claims an available phone number to your Amazon Connect instance or traffic distribution group. You can call this API only in the same Amazon Web Services Region where the Amazon Connect instance or traffic distribution group was created.

For more information about how to use this operation, see Claim a phone number in your country and Claim phone numbers to traffic distribution groups in the Amazon Connect Administrator Guide.

You can call the SearchAvailablePhoneNumbers API for available phone numbers that you can claim. Call the DescribePhoneNumber API to verify the status of a previous ClaimPhoneNumber operation.

If you plan to claim and release numbers frequently during a 30 day period, contact us for a service quota exception. Otherwise, it is possible you will be blocked from claiming and releasing any more numbers until 30 days past the oldest number released has expired.

By default you can claim and release up to 200% of your maximum number of active phone numbers during any 30 day period. If you claim and release phone numbers using the UI or API during a rolling 30 day cycle that exceeds 200% of your phone number service level quota, you will be blocked from claiming any more numbers until 30 days past the oldest number released has expired.

For example, if you already have 99 claimed numbers and a service level quota of 99 phone numbers, and in any 30 day period you release 99, claim 99, and then release 99, you will have exceeded the 200% limit. At that point you are blocked from claiming any more numbers until you open an Amazon Web Services support ticket.

", "CreateAgentStatus": "

This API is in preview release for Amazon Connect and is subject to change.

Creates an agent status for the specified Amazon Connect instance.

", "CreateContactFlow": "

Creates a flow for the specified Amazon Connect instance.

You can also create and update flows using the Amazon Connect Flow language.

", @@ -85,6 +86,7 @@ "DisassociateQueueQuickConnects": "

This API is in preview release for Amazon Connect and is subject to change.

Disassociates a set of quick connects from a queue.

", "DisassociateRoutingProfileQueues": "

Disassociates a set of queues from a routing profile.

", "DisassociateSecurityKey": "

This API is in preview release for Amazon Connect and is subject to change.

Deletes the specified security key.

", + "DisassociateTrafficDistributionGroupUser": "

Disassociates an agent from a traffic distribution group.

", "DismissUserContact": "

Dismisses contacts from an agent’s CCP and returns the agent to an available state, which allows the agent to receive a new routed contact. Contacts can only be dismissed if they are in a MISSED, ERROR, ENDED, or REJECTED state in the Agent Event Stream.

", "GetContactAttributes": "

Retrieves the contact attributes for the specified contact.

", "GetCurrentMetricData": "

Gets the real-time metric data from the specified Amazon Connect instance.

For a description of each metric, see Real-time Metrics Definitions in the Amazon Connect Administrator Guide.

", @@ -113,7 +115,7 @@ "ListLambdaFunctions": "

This API is in preview release for Amazon Connect and is subject to change.

Returns a paginated list of all Lambda functions that display in the dropdown options in the relevant flow blocks.

", "ListLexBots": "

This API is in preview release for Amazon Connect and is subject to change.

Returns a paginated list of all the Amazon Lex V1 bots currently associated with the instance. To return both Amazon Lex V1 and V2 bots, use the ListBots API.

", "ListPhoneNumbers": "

Provides information about the phone numbers for the specified Amazon Connect instance.

For more information about phone numbers, see Set Up Phone Numbers for Your Contact Center in the Amazon Connect Administrator Guide.

The phone number Arn value that is returned from each of the items in the PhoneNumberSummaryList cannot be used to tag phone number resources. It will fail with a ResourceNotFoundException. Instead, use the ListPhoneNumbersV2 API. It returns the new phone number ARN that can be used to tag phone number resources.

", - "ListPhoneNumbersV2": "

Lists phone numbers claimed to your Amazon Connect instance or traffic distribution group. If the provided TargetArn is a traffic distribution group, you can call this API in both Amazon Web Services Regions associated with traffic distribution group.

For more information about phone numbers, see Set Up Phone Numbers for Your Contact Center in the Amazon Connect Administrator Guide.

", + "ListPhoneNumbersV2": "

Lists phone numbers claimed to your Amazon Connect instance or traffic distribution group. If the provided TargetArn is a traffic distribution group, you can call this API in both Amazon Web Services Regions associated with traffic distribution group.

For more information about phone numbers, see Set Up Phone Numbers for Your Contact Center in the Amazon Connect Administrator Guide.

", "ListPrompts": "

Provides information about the prompts for the specified Amazon Connect instance.

", "ListQueueQuickConnects": "

This API is in preview release for Amazon Connect and is subject to change.

Lists the quick connects associated with a queue.

", "ListQueues": "

Provides information about the queues for the specified Amazon Connect instance.

If you do not specify a QueueTypes parameter, both standard and agent queues are returned. This might cause an unexpected truncation of results if you have more than 1000 agents and you limit the number of results of the API call in code.

For more information about queues, see Queues: Standard and Agent in the Amazon Connect Administrator Guide.

", @@ -126,6 +128,7 @@ "ListSecurityProfiles": "

Provides summary information about the security profiles for the specified Amazon Connect instance.

For more information about security profiles, see Security Profiles in the Amazon Connect Administrator Guide.

", "ListTagsForResource": "

Lists the tags for the specified resource.

For sample policies that use tags, see Amazon Connect Identity-Based Policy Examples in the Amazon Connect Administrator Guide.

", "ListTaskTemplates": "

Lists task templates for the specified Amazon Connect instance.

", + "ListTrafficDistributionGroupUsers": "

Lists traffic distribution group users.

", "ListTrafficDistributionGroups": "

Lists traffic distribution groups.

", "ListUseCases": "

Lists the use cases for the integration association.

", "ListUserHierarchyGroups": "

Provides summary information about the hierarchy groups for the specified Amazon Connect instance.

For more information about agent hierarchies, see Set Up Agent Hierarchies in the Amazon Connect Administrator Guide.

", @@ -191,7 +194,7 @@ "UpdateRule": "

Updates a rule for the specified Amazon Connect instance.

Use the Rules Function language to code conditions for the rule.

", "UpdateSecurityProfile": "

This API is in preview release for Amazon Connect and is subject to change.

Updates a security profile.

", "UpdateTaskTemplate": "

Updates details about a specific task template in the specified Amazon Connect instance. This operation does not support partial updates. Instead it does a full update of template content.

", - "UpdateTrafficDistribution": "

Updates the traffic distribution for a given traffic distribution group.

For more information about updating a traffic distribution group, see Update telephony traffic distribution across Amazon Web Services Regions in the Amazon Connect Administrator Guide.

", + "UpdateTrafficDistribution": "

Updates the traffic distribution for a given traffic distribution group.

You can change the SignInConfig only for a default TrafficDistributionGroup. If you call UpdateTrafficDistribution with a modified SignInConfig and a non-default TrafficDistributionGroup, an InvalidRequestException is returned.

For more information about updating a traffic distribution group, see Update telephony traffic distribution across Amazon Web Services Regions in the Amazon Connect Administrator Guide.

", "UpdateUserHierarchy": "

Assigns the specified hierarchy group to the specified user.

", "UpdateUserHierarchyGroupName": "

Updates the name of the user hierarchy group.

", "UpdateUserHierarchyStructure": "

Updates the user hierarchy structure: add, remove, and rename user hierarchy levels.

", @@ -357,11 +360,18 @@ "AgentAvailabilityTimer": { "base": null, "refs": { - "CreateRoutingProfileRequest$AgentAvailabilityTimer": "

Whether agents with this routing profile will have their routing order calculated based on time since their last inbound contact or longest idle time.

", + "CreateRoutingProfileRequest$AgentAvailabilityTimer": "

Whether agents with this routing profile will have their routing order calculated based on longest idle time or time since their last inbound contact.

", "RoutingProfile$AgentAvailabilityTimer": "

Whether agents with this routing profile will have their routing order calculated based on time since their last inbound contact or longest idle time.

", "UpdateRoutingProfileAgentAvailabilityTimerRequest$AgentAvailabilityTimer": "

Whether agents with this routing profile will have their routing order calculated based on time since their last inbound contact or longest idle time.

" } }, + "AgentConfig": { + "base": "

The distribution of agents between the instance and its replica(s).

", + "refs": { + "GetTrafficDistributionResponse$AgentConfig": "

The distribution of agents between the instance and its replica(s).

", + "UpdateTrafficDistributionRequest$AgentConfig": "

The distribution of agents between the instance and its replica(s).

" + } + }, "AgentContactReference": { "base": "

Information about the contact associated to the user.

", "refs": { @@ -398,9 +408,9 @@ "base": null, "refs": { "AgentInfo$Id": "

The identifier of the agent who accepted the contact.

", - "GetFederationTokenResponse$UserId": "

The identifier for the user.

", + "GetFederationTokenResponse$UserId": "

The identifier for the user. This can be the ID or the ARN of the user.

", "MonitorContactRequest$UserId": "

The identifier of the user account.

", - "TransferContactRequest$UserId": "

The identifier for the user.

" + "TransferContactRequest$UserId": "

The identifier for the user. This can be the ID or the ARN of the user.

" } }, "AgentStatus": { @@ -612,6 +622,16 @@ "refs": { } }, + "AssociateTrafficDistributionGroupUserRequest": { + "base": null, + "refs": { + } + }, + "AssociateTrafficDistributionGroupUserResponse": { + "base": null, + "refs": { + } + }, "AssociationId": { "base": null, "refs": { @@ -688,7 +708,8 @@ "base": null, "refs": { "Distribution$Region": "

The Amazon Web Services Region where the traffic is distributed.

", - "ReplicateInstanceRequest$ReplicaRegion": "

The Amazon Web Services Region where to replicate the Amazon Connect instance.

" + "ReplicateInstanceRequest$ReplicaRegion": "

The Amazon Web Services Region where to replicate the Amazon Connect instance.

", + "SignInDistribution$Region": "

The Amazon Web Services Region of the sign in distribution.

" } }, "BehaviorType": { @@ -708,6 +729,9 @@ "EvaluationFormSingleSelectQuestionOption$AutomaticFail": "

The flag to mark the option as automatic fail. If an automatic fail answer is provided, the overall evaluation gets a score of 0.

", "EvaluationScore$NotApplicable": "

The flag to mark the item as not applicable for scoring.

", "EvaluationScore$AutomaticFail": "

The flag that marks the item as automatic fail. If the item or a child item gets an automatic fail answer, this flag will be true.

", + "SignInDistribution$Enabled": "

Whether sign in distribution is enabled.

", + "TrafficDistributionGroup$IsDefault": "

Whether this is the default traffic distribution group created during instance replication. The default traffic distribution group cannot be deleted by the DeleteTrafficDistributionGroup API. The default traffic distribution group is deleted as part of the process for deleting a replica.

You can change the SignInConfig only for a default TrafficDistributionGroup. If you call UpdateTrafficDistribution with a modified SignInConfig and a non-default TrafficDistributionGroup, an InvalidRequestException is returned.

", + "TrafficDistributionGroupSummary$IsDefault": "

Whether this is the default traffic distribution group created during instance replication. The default traffic distribution group cannot be deleted by the DeleteTrafficDistributionGroup API. The default traffic distribution group is deleted as part of the process for deleting a replica.

", "UpdateAgentStatusRequest$ResetOrderNumber": "

A number indicating the reset order of the agent status.

" } }, @@ -1919,6 +1943,16 @@ "refs": { } }, + "DisassociateTrafficDistributionGroupUserRequest": { + "base": null, + "refs": { + } + }, + "DisassociateTrafficDistributionGroupUserResponse": { + "base": null, + "refs": { + } + }, "DismissUserContactRequest": { "base": null, "refs": { @@ -1945,6 +1979,7 @@ "DistributionList": { "base": null, "refs": { + "AgentConfig$Distributions": "

Information about traffic distributions.

", "TelephonyConfig$Distributions": "

Information about traffic distributions.

" } }, @@ -2850,6 +2885,7 @@ "AssociateQueueQuickConnectsRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

", "AssociateRoutingProfileQueuesRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

", "AssociateSecurityKeyRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

", + "AssociateTrafficDistributionGroupUserRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

", "CreateAgentStatusRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

", "CreateContactFlowModuleRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

", "CreateContactFlowRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", @@ -2918,6 +2954,7 @@ "DisassociateQueueQuickConnectsRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

", "DisassociateRoutingProfileQueuesRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

", "DisassociateSecurityKeyRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

", + "DisassociateTrafficDistributionGroupUserRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

", "DismissUserContactRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

", "GetContactAttributesRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "GetCurrentMetricDataRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

", @@ -3581,6 +3618,16 @@ "refs": { } }, + "ListTrafficDistributionGroupUsersRequest": { + "base": null, + "refs": { + } + }, + "ListTrafficDistributionGroupUsersResponse": { + "base": null, + "refs": { + } + }, "ListTrafficDistributionGroupsRequest": { "base": null, "refs": { @@ -3633,6 +3680,7 @@ "refs": { "ListInstanceStorageConfigsRequest$MaxResults": "

The maximum number of results to return per page.

", "ListInstancesRequest$MaxResults": "

The maximum number of results to return per page.

", + "ListTrafficDistributionGroupUsersRequest$MaxResults": "

The maximum number of results to return per page.

", "ListTrafficDistributionGroupsRequest$MaxResults": "

The maximum number of results to return per page.

", "SearchAvailablePhoneNumbersRequest$MaxResults": "

The maximum number of results to return per page.

" } @@ -3918,6 +3966,8 @@ "ListSecurityProfilesResponse$NextToken": "

If there are additional results, this is the token for the next set of results.

", "ListTaskTemplatesRequest$NextToken": "

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

It is not expected that you set this because the value returned in the previous response is always null.

", "ListTaskTemplatesResponse$NextToken": "

If there are additional results, this is the token for the next set of results.

This is always returned as a null in the response.

", + "ListTrafficDistributionGroupUsersRequest$NextToken": "

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

", + "ListTrafficDistributionGroupUsersResponse$NextToken": "

If there are additional results, this is the token for the next set of results.

", "ListTrafficDistributionGroupsRequest$NextToken": "

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

", "ListTrafficDistributionGroupsResponse$NextToken": "

If there are additional results, this is the token for the next set of results.

", "ListUseCasesRequest$NextToken": "

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

", @@ -5331,6 +5381,25 @@ "refs": { } }, + "SignInConfig": { + "base": "

The distribution of allowing signing in to the instance and its replica(s).

", + "refs": { + "GetTrafficDistributionResponse$SignInConfig": "

The distribution of allowing signing in to the instance and its replica(s).

", + "UpdateTrafficDistributionRequest$SignInConfig": "

The distribution of allowing signing in to the instance and its replica(s).

" + } + }, + "SignInDistribution": { + "base": "

The distribution of sign in traffic between the instance and its replica(s).

", + "refs": { + "SignInDistributionList$member": null + } + }, + "SignInDistributionList": { + "base": null, + "refs": { + "SignInConfig$Distributions": "

Information about traffic distributions.

" + } + }, "SingleSelectOptions": { "base": null, "refs": { @@ -5980,9 +6049,12 @@ "TrafficDistributionGroupIdOrArn": { "base": null, "refs": { + "AssociateTrafficDistributionGroupUserRequest$TrafficDistributionGroupId": "

The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.

", "DeleteTrafficDistributionGroupRequest$TrafficDistributionGroupId": "

The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.

", "DescribeTrafficDistributionGroupRequest$TrafficDistributionGroupId": "

The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.

", + "DisassociateTrafficDistributionGroupUserRequest$TrafficDistributionGroupId": "

The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.

", "GetTrafficDistributionRequest$Id": "

The identifier of the traffic distribution group.

", + "ListTrafficDistributionGroupUsersRequest$TrafficDistributionGroupId": "

The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.

", "UpdateTrafficDistributionRequest$Id": "

The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.

" } }, @@ -6005,6 +6077,18 @@ "ListTrafficDistributionGroupsResponse$TrafficDistributionGroupSummaryList": "

A list of traffic distribution groups.

" } }, + "TrafficDistributionGroupUserSummary": { + "base": "

Summary information about a traffic distribution group user.

", + "refs": { + "TrafficDistributionGroupUserSummaryList$member": null + } + }, + "TrafficDistributionGroupUserSummaryList": { + "base": null, + "refs": { + "ListTrafficDistributionGroupUsersResponse$TrafficDistributionGroupUserSummaryList": "

A list of traffic distribution group users.

" + } + }, "TrafficType": { "base": null, "refs": { @@ -6414,11 +6498,14 @@ "base": null, "refs": { "AgentsMinOneMaxHundred$member": null, + "AssociateTrafficDistributionGroupUserRequest$UserId": "

The identifier of the user account. This can be the ID or the ARN of the user.

", "CreateUserResponse$UserId": "

The identifier of the user account.

", "DeleteUserRequest$UserId": "

The identifier of the user.

", "DescribeUserRequest$UserId": "

The identifier of the user account.

", + "DisassociateTrafficDistributionGroupUserRequest$UserId": "

The identifier for the user. This can be the ID or the ARN of the user.

", "DismissUserContactRequest$UserId": "

The identifier of the user account.

", "PutUserStatusRequest$UserId": "

The identifier of the user.

", + "TrafficDistributionGroupUserSummary$UserId": "

The identifier for the user. This can be the ID or the ARN of the user.

", "UpdateUserHierarchyRequest$UserId": "

The identifier of the user account.

", "UpdateUserIdentityInfoRequest$UserId": "

The identifier of the user account.

", "UpdateUserPhoneConfigRequest$UserId": "

The identifier of the user account.

", diff --git a/models/apis/connect/2017-08-08/paginators-1.json b/models/apis/connect/2017-08-08/paginators-1.json index 739a54e57da..a4012e4c41c 100644 --- a/models/apis/connect/2017-08-08/paginators-1.json +++ b/models/apis/connect/2017-08-08/paginators-1.json @@ -198,6 +198,12 @@ "output_token": "NextToken", "result_key": "TaskTemplates" }, + "ListTrafficDistributionGroupUsers": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": "TrafficDistributionGroupUserSummaryList" + }, "ListTrafficDistributionGroups": { "input_token": "NextToken", "limit_key": "MaxResults", diff --git a/models/apis/elasticloadbalancingv2/2015-12-01/api-2.json b/models/apis/elasticloadbalancingv2/2015-12-01/api-2.json index c743df4b068..fe40358656d 100644 --- a/models/apis/elasticloadbalancingv2/2015-12-01/api-2.json +++ b/models/apis/elasticloadbalancingv2/2015-12-01/api-2.json @@ -1260,6 +1260,14 @@ }, "exception":true }, + "EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic":{"type":"string"}, + "EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum":{ + "type":"string", + "enum":[ + "on", + "off" + ] + }, "FixedResponseActionConfig":{ "type":"structure", "required":["StatusCode"], @@ -1489,7 +1497,8 @@ "AvailabilityZones":{"shape":"AvailabilityZones"}, "SecurityGroups":{"shape":"SecurityGroups"}, "IpAddressType":{"shape":"IpAddressType"}, - "CustomerOwnedIpv4Pool":{"shape":"CustomerOwnedIpv4Pool"} + "CustomerOwnedIpv4Pool":{"shape":"CustomerOwnedIpv4Pool"}, + "EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic":{"shape":"EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic"} } }, "LoadBalancerAddress":{ @@ -1977,13 +1986,15 @@ ], "members":{ "LoadBalancerArn":{"shape":"LoadBalancerArn"}, - "SecurityGroups":{"shape":"SecurityGroups"} + "SecurityGroups":{"shape":"SecurityGroups"}, + "EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic":{"shape":"EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum"} } }, "SetSecurityGroupsOutput":{ "type":"structure", "members":{ - "SecurityGroupIds":{"shape":"SecurityGroups"} + "SecurityGroupIds":{"shape":"SecurityGroups"}, + "EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic":{"shape":"EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum"} } }, "SetSubnetsInput":{ diff --git a/models/apis/elasticloadbalancingv2/2015-12-01/docs-2.json b/models/apis/elasticloadbalancingv2/2015-12-01/docs-2.json index 7f7aad2eb15..074422ac3ce 100644 --- a/models/apis/elasticloadbalancingv2/2015-12-01/docs-2.json +++ b/models/apis/elasticloadbalancingv2/2015-12-01/docs-2.json @@ -12,7 +12,7 @@ "DeleteLoadBalancer": "

Deletes the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer. Deleting a load balancer also deletes its listeners.

You can't delete a load balancer if deletion protection is enabled. If the load balancer does not exist or has already been deleted, the call succeeds.

Deleting a load balancer does not affect its registered targets. For example, your EC2 instances continue to run and are still registered to their target groups. If you no longer need these EC2 instances, you can stop or terminate them.

", "DeleteRule": "

Deletes the specified rule.

You can't delete the default rule.

", "DeleteTargetGroup": "

Deletes the specified target group.

You can delete a target group if it is not referenced by any actions. Deleting a target group also deletes any associated health checks. Deleting a target group does not affect its registered targets. For example, any EC2 instances continue to run until you stop or terminate them.

", - "DeregisterTargets": "

Deregisters the specified targets from the specified target group. After the targets are deregistered, they no longer receive traffic from the load balancer.

", + "DeregisterTargets": "

Deregisters the specified targets from the specified target group. After the targets are deregistered, they no longer receive traffic from the load balancer.

Note: If the specified target does not exist, the action returns successfully.

", "DescribeAccountLimits": "

Describes the current Elastic Load Balancing resource limits for your Amazon Web Services account.

For more information, see the following:

", "DescribeListenerCertificates": "

Describes the default certificate and the certificate list for the specified HTTPS or TLS listener.

If the default certificate is also in the certificate list, it appears twice in the results (once with IsDefault set to true and once with IsDefault set to false).

For more information, see SSL certificates in the Application Load Balancers Guide or Server certificates in the Network Load Balancers Guide.

", "DescribeListeners": "

Describes the specified listeners or the listeners for the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer. You must specify either a load balancer or one or more listeners.

", @@ -34,7 +34,7 @@ "RemoveTags": "

Removes the specified tags from the specified Elastic Load Balancing resources. You can remove the tags for one or more Application Load Balancers, Network Load Balancers, Gateway Load Balancers, target groups, listeners, or rules.

", "SetIpAddressType": "

Sets the type of IP addresses used by the subnets of the specified load balancer.

", "SetRulePriorities": "

Sets the priorities of the specified rules.

You can reorder the rules as long as there are no priority conflicts in the new order. Any existing rules that you do not specify retain their current priority.

", - "SetSecurityGroups": "

Associates the specified security groups with the specified Application Load Balancer. The specified security groups override the previously associated security groups.

You can't specify a security group for a Network Load Balancer or Gateway Load Balancer.

", + "SetSecurityGroups": "

Associates the specified security groups with the specified Application Load Balancer or Network Load Balancer. The specified security groups override the previously associated security groups.

You can't perform this operation on a Network Load Balancer unless you specified a security group for the load balancer when you created it.

You can't associate a security group with a Gateway Load Balancer.

", "SetSubnets": "

Enables the Availability Zones for the specified public subnets for the specified Application Load Balancer or Network Load Balancer. The specified subnets replace the previously enabled subnets.

When you specify subnets for a Network Load Balancer, you must include all subnets that were enabled previously, with their existing configurations, plus any additional subnets.

" }, "shapes": { @@ -608,6 +608,19 @@ "refs": { } }, + "EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic": { + "base": null, + "refs": { + "LoadBalancer$EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic": "

Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through Amazon Web Services PrivateLink.

" + } + }, + "EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum": { + "base": null, + "refs": { + "SetSecurityGroupsInput$EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic": "

Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through Amazon Web Services PrivateLink. The default is on.

", + "SetSecurityGroupsOutput$EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic": "

Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through Amazon Web Services PrivateLink.

" + } + }, "FixedResponseActionConfig": { "base": "

Information about an action that returns a custom HTTP response.

", "refs": { @@ -778,7 +791,7 @@ "LoadBalancer$IpAddressType": "

The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses).

", "SetIpAddressTypeInput$IpAddressType": "

The IP address type. The possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses). You can’t specify dualstack for a load balancer with a UDP or TCP_UDP listener.

", "SetIpAddressTypeOutput$IpAddressType": "

The IP address type.

", - "SetSubnetsInput$IpAddressType": "

[Network Load Balancers] The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses). You can’t specify dualstack for a load balancer with a UDP or TCP_UDP listener. .

", + "SetSubnetsInput$IpAddressType": "

[Network Load Balancers] The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses). You can’t specify dualstack for a load balancer with a UDP or TCP_UDP listener.

", "SetSubnetsOutput$IpAddressType": "

[Network Load Balancers] The IP address type.

" } }, @@ -789,7 +802,7 @@ } }, "Limit": { - "base": "

Information about an Elastic Load Balancing resource limit for your Amazon Web Services account.

", + "base": "

Information about an Elastic Load Balancing resource limit for your Amazon Web Services account.

For more information, see the following:

", "refs": { "Limits$member": null } @@ -890,7 +903,7 @@ "base": null, "refs": { "DescribeLoadBalancersInput$LoadBalancerArns": "

The Amazon Resource Names (ARN) of the load balancers. You can specify up to 20 load balancers in a single call.

", - "TargetGroup$LoadBalancerArns": "

The Amazon Resource Names (ARN) of the load balancers that route traffic to this target group.

" + "TargetGroup$LoadBalancerArns": "

The Amazon Resource Name (ARN) of the load balancer that routes traffic to this target group. You can use each target group with only one load balancer.

" } }, "LoadBalancerAttribute": { @@ -1105,8 +1118,8 @@ "CreateTargetGroupInput$Port": "

The port on which the targets receive traffic. This port is used unless you specify a port override when registering the target. If the target is a Lambda function, this parameter does not apply. If the protocol is GENEVE, the supported port is 6081.

", "Listener$Port": "

The port on which the load balancer is listening.

", "ModifyListenerInput$Port": "

The port for connections from clients to the load balancer. You cannot specify a port for a Gateway Load Balancer.

", - "TargetDescription$Port": "

The port on which the target is listening. If the target group protocol is GENEVE, the supported port is 6081. If the target type is alb, the targeted Application Load Balancer must have at least one listener whose port matches the target group port. Not used if the target is a Lambda function.

", - "TargetGroup$Port": "

The port on which the targets are listening. Not used if the target is a Lambda function.

" + "TargetDescription$Port": "

The port on which the target is listening. If the target group protocol is GENEVE, the supported port is 6081. If the target type is alb, the targeted Application Load Balancer must have at least one listener whose port matches the target group port. This parameter is not used if the target is a Lambda function.

", + "TargetGroup$Port": "

The port on which the targets are listening. This parameter is not used if the target is a Lambda function.

" } }, "PriorityInUseException": { @@ -1274,7 +1287,7 @@ } }, "RuleCondition": { - "base": "

Information about a condition for a rule.

Each rule can optionally include up to one of each of the following conditions: http-request-method, host-header, path-pattern, and source-ip. Each rule can also optionally include one or more of each of the following conditions: http-header and query-string. Note that the value for a condition cannot be empty.

", + "base": "

Information about a condition for a rule.

Each rule can optionally include up to one of each of the following conditions: http-request-method, host-header, path-pattern, and source-ip. Each rule can also optionally include one or more of each of the following conditions: http-header and query-string. Note that the value for a condition cannot be empty.

For more information, see Quotas for your Application Load Balancers.

", "refs": { "RuleConditionList$member": null } @@ -1334,7 +1347,7 @@ "SecurityGroups": { "base": null, "refs": { - "CreateLoadBalancerInput$SecurityGroups": "

[Application Load Balancers] The IDs of the security groups for the load balancer.

", + "CreateLoadBalancerInput$SecurityGroups": "

[Application Load Balancers and Network Load Balancers] The IDs of the security groups for the load balancer.

", "LoadBalancer$SecurityGroups": "

The IDs of the security groups for the load balancer.

", "SetSecurityGroupsInput$SecurityGroups": "

The IDs of the security groups.

", "SetSecurityGroupsOutput$SecurityGroupIds": "

The IDs of the security groups associated with the load balancer.

" diff --git a/models/apis/elasticloadbalancingv2/2015-12-01/endpoint-rule-set-1.json b/models/apis/elasticloadbalancingv2/2015-12-01/endpoint-rule-set-1.json index 79fee5593dd..78128a590f9 100644 --- a/models/apis/elasticloadbalancingv2/2015-12-01/endpoint-rule-set-1.json +++ b/models/apis/elasticloadbalancingv2/2015-12-01/endpoint-rule-set-1.json @@ -3,7 +3,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": true, + "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, @@ -32,13 +32,12 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "isSet", "argv": [ { - "ref": "Region" + "ref": "Endpoint" } - ], - "assign": "PartitionResult" + ] } ], "type": "tree", @@ -46,14 +45,20 @@ { "conditions": [ { - "fn": "isSet", + "fn": "booleanEquals", "argv": [ { - "ref": "Endpoint" - } + "ref": "UseFIPS" + }, + true ] } ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], "type": "tree", "rules": [ { @@ -62,67 +67,42 @@ "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "ref": "UseDualStack" }, true ] } ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", "type": "error" }, { "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" + "endpoint": { + "url": { + "ref": "Endpoint" }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, + } + ] + }, + { + "conditions": [], + "type": "tree", + "rules": [ { "conditions": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", + "fn": "isSet", "argv": [ { - "ref": "UseDualStack" - }, - true + "ref": "Region" + } ] } ], @@ -131,179 +111,240 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "aws.partition", "argv": [ - true, { - "fn": "getAttr", + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseFIPS" }, - "supportsFIPS" + true ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, + }, { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseDualStack" }, - "supportsDualStack" + true ] } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], + ], "type": "tree", "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, { "conditions": [], - "endpoint": { - "url": "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" } ] - } - ] - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ { - "fn": "booleanEquals", - "argv": [ - true, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseFIPS" }, - "supportsFIPS" + true ] } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [ { - "fn": "stringEquals", + "fn": "booleanEquals", "argv": [ - "aws-us-gov", + true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "name" + "supportsFIPS" ] } ] } ], - "endpoint": { - "url": "https://elasticloadbalancing.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws-us-gov", + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + } + ] + } + ], + "endpoint": { + "url": "https://elasticloadbalancing.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] }, { "conditions": [], - "endpoint": { - "url": "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" } ] - } - ] - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ { - "fn": "booleanEquals", - "argv": [ - true, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseDualStack" }, - "supportsDualStack" + true ] } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://elasticloadbalancing.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } ] - } - ], - "type": "tree", - "rules": [ + }, { "conditions": [], "type": "tree", @@ -311,7 +352,7 @@ { "conditions": [], "endpoint": { - "url": "https://elasticloadbalancing.{Region}.{PartitionResult#dualStackDnsSuffix}", + "url": "https://elasticloadbalancing.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, @@ -320,28 +361,13 @@ ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } ] }, { "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://elasticloadbalancing.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } diff --git a/models/apis/elasticloadbalancingv2/2015-12-01/endpoint-tests-1.json b/models/apis/elasticloadbalancingv2/2015-12-01/endpoint-tests-1.json index 30ae4512f69..a5e023b96c1 100644 --- a/models/apis/elasticloadbalancingv2/2015-12-01/endpoint-tests-1.json +++ b/models/apis/elasticloadbalancingv2/2015-12-01/endpoint-tests-1.json @@ -1,42 +1,55 @@ { "testCases": [ { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.us-iso-east-1.c2s.ic.gov" + "url": "https://elasticloadbalancing.af-south-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "af-south-1", "UseFIPS": false, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.us-iso-west-1.c2s.ic.gov" + "url": "https://elasticloadbalancing.ap-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "ap-east-1", "UseFIPS": false, - "Region": "us-iso-west-1" + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://elasticloadbalancing.ap-northeast-1.amazonaws.com" } }, "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-iso-east-1" + "Region": "ap-northeast-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-2", + "UseFIPS": false, + "UseDualStack": false } }, { @@ -47,87 +60,87 @@ } }, "params": { - "UseDualStack": false, + "Region": "ap-northeast-3", "UseFIPS": false, - "Region": "ap-northeast-3" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.us-east-1.amazonaws.com" + "url": "https://elasticloadbalancing.ap-south-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "ap-south-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing-fips.us-east-1.amazonaws.com" + "url": "https://elasticloadbalancing.ap-southeast-1.amazonaws.com" } }, "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-east-1" + "Region": "ap-southeast-1", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.eu-west-1.amazonaws.com" + "url": "https://elasticloadbalancing.ap-southeast-2.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "ap-southeast-2", "UseFIPS": false, - "Region": "eu-west-1" + "UseDualStack": false } }, { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.eu-west-2.amazonaws.com" + "url": "https://elasticloadbalancing.ap-southeast-3.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "ap-southeast-3", "UseFIPS": false, - "Region": "eu-west-2" + "UseDualStack": false } }, { - "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.eu-west-3.amazonaws.com" + "url": "https://elasticloadbalancing.ca-central-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "ca-central-1", "UseFIPS": false, - "Region": "eu-west-3" + "UseDualStack": false } }, { - "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.me-south-1.amazonaws.com" + "url": "https://elasticloadbalancing.eu-central-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "eu-central-1", "UseFIPS": false, - "Region": "me-south-1" + "UseDualStack": false } }, { @@ -138,139 +151,139 @@ } }, "params": { - "UseDualStack": false, + "Region": "eu-north-1", "UseFIPS": false, - "Region": "eu-north-1" + "UseDualStack": false } }, { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.us-east-2.amazonaws.com" + "url": "https://elasticloadbalancing.eu-south-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "eu-south-1", "UseFIPS": false, - "Region": "us-east-2" + "UseDualStack": false } }, { - "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing-fips.us-east-2.amazonaws.com" + "url": "https://elasticloadbalancing.eu-west-1.amazonaws.com" } }, "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-east-2" + "Region": "eu-west-1", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.sa-east-1.amazonaws.com" + "url": "https://elasticloadbalancing.eu-west-2.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "eu-west-2", "UseFIPS": false, - "Region": "sa-east-1" + "UseDualStack": false } }, { - "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.ap-east-1.amazonaws.com" + "url": "https://elasticloadbalancing.eu-west-3.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "eu-west-3", "UseFIPS": false, - "Region": "ap-east-1" + "UseDualStack": false } }, { - "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.eu-south-1.amazonaws.com" + "url": "https://elasticloadbalancing.me-south-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "me-south-1", "UseFIPS": false, - "Region": "eu-south-1" + "UseDualStack": false } }, { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.eu-central-1.amazonaws.com" + "url": "https://elasticloadbalancing.sa-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "sa-east-1", "UseFIPS": false, - "Region": "eu-central-1" + "UseDualStack": false } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.ap-southeast-1.amazonaws.com" + "url": "https://elasticloadbalancing.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": false, - "Region": "ap-southeast-1" + "UseDualStack": false } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.ap-southeast-2.amazonaws.com" + "url": "https://elasticloadbalancing-fips.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-southeast-2" + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false } }, { - "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.ap-southeast-3.amazonaws.com" + "url": "https://elasticloadbalancing.us-east-2.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-east-2", "UseFIPS": false, - "Region": "ap-southeast-3" + "UseDualStack": false } }, { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.ca-central-1.amazonaws.com" + "url": "https://elasticloadbalancing-fips.us-east-2.amazonaws.com" } }, "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "ca-central-1" + "Region": "us-east-2", + "UseFIPS": true, + "UseDualStack": false } }, { @@ -281,9 +294,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-west-1", "UseFIPS": false, - "Region": "us-west-1" + "UseDualStack": false } }, { @@ -294,9 +307,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-west-1", "UseFIPS": true, - "Region": "us-west-1" + "UseDualStack": false } }, { @@ -307,9 +320,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-west-2", "UseFIPS": false, - "Region": "us-west-2" + "UseDualStack": false } }, { @@ -320,139 +333,152 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-west-2", "UseFIPS": true, - "Region": "us-west-2" + "UseDualStack": false } }, { - "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.af-south-1.amazonaws.com" + "url": "https://elasticloadbalancing-fips.us-east-1.api.aws" } }, "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "af-south-1" + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { - "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.ap-south-1.amazonaws.com" + "url": "https://elasticloadbalancing.us-east-1.api.aws" } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": false, - "Region": "ap-south-1" + "UseDualStack": true } }, { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.ap-northeast-1.amazonaws.com" + "url": "https://elasticloadbalancing.cn-north-1.amazonaws.com.cn" } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "ap-northeast-1" + "UseDualStack": false } }, { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.ap-northeast-2.amazonaws.com" + "url": "https://elasticloadbalancing.cn-northwest-1.amazonaws.com.cn" } }, "params": { - "UseDualStack": false, + "Region": "cn-northwest-1", "UseFIPS": false, - "Region": "ap-northeast-2" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing-fips.us-east-1.api.aws" + "url": "https://elasticloadbalancing-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.us-east-1.api.aws" + "url": "https://elasticloadbalancing-fips.cn-north-1.amazonaws.com.cn" } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.us-gov-west-1.amazonaws.com" + "url": "https://elasticloadbalancing.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-gov-west-1" + "UseDualStack": false } }, { - "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.us-gov-west-1.amazonaws.com" + "url": "https://elasticloadbalancing.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-gov-west-1" + "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.us-gov-east-1.amazonaws.com" + "url": "https://elasticloadbalancing.us-gov-west-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-west-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.us-gov-east-1.amazonaws.com" + "url": "https://elasticloadbalancing.us-gov-west-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-west-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -463,9 +489,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -476,113 +502,144 @@ } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.us-isob-east-1.sc2s.sgov.gov" + "url": "https://elasticloadbalancing.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing-fips.us-isob-east-1.sc2s.sgov.gov" + "url": "https://elasticloadbalancing.us-iso-west-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-west-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, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { - "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.cn-northwest-1.amazonaws.com.cn" + "url": "https://elasticloadbalancing-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "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, - "Region": "cn-northwest-1" + "UseDualStack": true } }, { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.cn-north-1.amazonaws.com.cn" + "url": "https://elasticloadbalancing.us-isob-east-1.sc2s.sgov.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://elasticloadbalancing-fips.cn-north-1.api.amazonwebservices.com.cn" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing-fips.cn-north-1.amazonaws.com.cn" + "url": "https://elasticloadbalancing-fips.us-isob-east-1.sc2s.sgov.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": false } }, { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "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 custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.cn-north-1.api.amazonwebservices.com.cn" + "url": "https://example.com" } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": false, + "Endpoint": "https://example.com" } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -592,9 +649,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseDualStack": false, - "UseFIPS": true, "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -604,11 +661,17 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseDualStack": true, - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" diff --git a/models/apis/omics/2022-11-28/api-2.json b/models/apis/omics/2022-11-28/api-2.json index f9a4142d952..81d545b2075 100644 --- a/models/apis/omics/2022-11-28/api-2.json +++ b/models/apis/omics/2022-11-28/api-2.json @@ -5022,6 +5022,9 @@ "gpus": { "shape": "GetRunTaskResponseGpusInteger" }, + "instanceType": { + "shape": "TaskInstanceType" + }, "logStream": { "shape": "TaskLogStream" }, @@ -8210,6 +8213,10 @@ "pattern": "[0-9]+", "type": "string" }, + "TaskInstanceType": { + "pattern": "[\\p{L}||\\p{M}||\\p{Z}||\\p{S}||\\p{N}||\\p{P}]+", + "type": "string" + }, "TaskList": { "member": { "shape": "TaskListItem" @@ -8227,6 +8234,9 @@ "gpus": { "shape": "TaskListItemGpusInteger" }, + "instanceType": { + "shape": "TaskInstanceType" + }, "memory": { "shape": "TaskListItemMemoryInteger" }, diff --git a/models/apis/omics/2022-11-28/docs-2.json b/models/apis/omics/2022-11-28/docs-2.json index a8105ca14bb..f798aee0083 100644 --- a/models/apis/omics/2022-11-28/docs-2.json +++ b/models/apis/omics/2022-11-28/docs-2.json @@ -1089,7 +1089,7 @@ "ListAnnotationImportJobsRequestNextTokenString": { "base": null, "refs": { - "ListAnnotationImportJobsRequest$nextToken": "

Specify the pagination token from a previous request to retrieve the next page of results.

" + "ListAnnotationImportJobsRequest$nextToken": "

Specifies the pagination token from a previous request to retrieve the next page of results.

" } }, "ListAnnotationImportJobsResponse": { @@ -2640,7 +2640,7 @@ "GetVariantStoreResponse$name": "

The store's name.

", "InternalServerException$message": null, "ListAnnotationImportJobsFilter$storeName": "

A store name to filter on.

", - "ListAnnotationImportJobsResponse$nextToken": "

A pagination token that's included if more results are available.

", + "ListAnnotationImportJobsResponse$nextToken": "

Specifies the pagination token from a previous request to retrieve the next page of results.

", "ListAnnotationStoresResponse$nextToken": "

A pagination token that's included if more results are available.

", "ListVariantImportJobsFilter$storeName": "

A store name to filter on.

", "ListVariantImportJobsResponse$nextToken": "

A pagination token that's included if more results are available.

", @@ -2819,6 +2819,13 @@ "TaskListItem$taskId": "

The task's ID.

" } }, + "TaskInstanceType": { + "base": null, + "refs": { + "GetRunTaskResponse$instanceType": "

The instance type for a task.

", + "TaskListItem$instanceType": "

The instance type for a task.

" + } + }, "TaskList": { "base": null, "refs": { diff --git a/models/apis/secretsmanager/2017-10-17/api-2.json b/models/apis/secretsmanager/2017-10-17/api-2.json index 2e0dc42b699..f250e3537e7 100644 --- a/models/apis/secretsmanager/2017-10-17/api-2.json +++ b/models/apis/secretsmanager/2017-10-17/api-2.json @@ -163,6 +163,7 @@ "output":{"shape":"ListSecretsResponse"}, "errors":[ {"shape":"InvalidParameterException"}, + {"shape":"InvalidRequestException"}, {"shape":"InvalidNextTokenException"}, {"shape":"InternalServiceError"} ] diff --git a/models/apis/transfer/2018-11-05/docs-2.json b/models/apis/transfer/2018-11-05/docs-2.json index dc9fe1b2c3e..ef2cd8366c6 100644 --- a/models/apis/transfer/2018-11-05/docs-2.json +++ b/models/apis/transfer/2018-11-05/docs-2.json @@ -4,7 +4,7 @@ "operations": { "CreateAccess": "

Used by administrators to choose which groups in the directory should have access to upload and download files over the enabled protocols using Transfer Family. For example, a Microsoft Active Directory might contain 50,000 users, but only a small fraction might need the ability to transfer files to the server. An administrator can use CreateAccess to limit the access to the correct set of users who need this ability.

", "CreateAgreement": "

Creates an agreement. An agreement is a bilateral trading partner agreement, or partnership, between an Transfer Family server and an AS2 process. The agreement defines the file and message transfer relationship between the server and the AS2 process. To define an agreement, Transfer Family combines a server, local profile, partner profile, certificate, and other attributes.

The partner is identified with the PartnerProfileId, and the AS2 process is identified with the LocalProfileId.

", - "CreateConnector": "

Creates the connector, which captures the parameters for an outbound connection for the AS2 or SFTP protocol. The connector is required for sending files to an externally hosted AS2 or SFTP server. For more details about AS2 connectors, see Create AS2 connectors.

You must specify exactly one configuration object: either for AS2 (As2Config) or SFTP (SftpConfig).

", + "CreateConnector": "

Creates the connector, which captures the parameters for a connection for the AS2 or SFTP protocol. For AS2, the connector is required for sending files to an externally hosted AS2 server. For SFTP, the connector is required when sending files to an SFTP server or receiving files from an SFTP server. For more details about connectors, see Create AS2 connectors and Create SFTP connectors.

You must specify exactly one configuration object: either for AS2 (As2Config) or SFTP (SftpConfig).

", "CreateProfile": "

Creates the local or partner profile to use for AS2 transfers.

", "CreateServer": "

Instantiates an auto-scaling virtual server based on the selected file transfer protocol in Amazon Web Services. When you make updates to your file transfer protocol-enabled server or when you work with users, use the service-generated ServerId property that is assigned to the newly created server.

", "CreateUser": "

Creates a user and associates them with an existing file transfer protocol-enabled server. You can only create and associate users with servers that have the IdentityProviderType set to SERVICE_MANAGED. Using parameters for CreateUser, you can specify the user name, set the home directory, store the user's public key, and assign the user's Identity and Access Management (IAM) role. You can also optionally add a session policy, and assign metadata with tags that can be used to group and search for users.

", @@ -46,7 +46,7 @@ "ListUsers": "

Lists the users for a file transfer protocol-enabled server that you specify by passing the ServerId parameter.

", "ListWorkflows": "

Lists all workflows associated with your Amazon Web Services account for your current region.

", "SendWorkflowStepState": "

Sends a callback for asynchronous custom steps.

The ExecutionId, WorkflowId, and Token are passed to the target resource during execution of a custom step of a workflow. You must include those with their callback as well as providing a status.

", - "StartFileTransfer": "

Begins a file transfer between local Amazon Web Services storage and a remote AS2 or SFTP server.

", + "StartFileTransfer": "

Begins a file transfer between local Amazon Web Services storage and a remote AS2 or SFTP server.

", "StartServer": "

Changes the state of a file transfer protocol-enabled server from OFFLINE to ONLINE. It has no impact on a server that is already ONLINE. An ONLINE server can accept and process file transfer jobs.

The state of STARTING indicates that the server is in an intermediate state, either not fully able to respond, or not fully online. The values of START_FAILED can indicate an error condition.

No response is returned from this call.

", "StopServer": "

Changes the state of a file transfer protocol-enabled server from ONLINE to OFFLINE. An OFFLINE server cannot accept and process file transfer jobs. Information tied to your server, such as server and user properties, are not affected by stopping your server.

Stopping the server does not reduce or impact your file transfer protocol endpoint billing; you must delete the server to stop being billed.

The state of STOPPING indicates that the server is in an intermediate state, either not fully able to respond, or not fully offline. The values of STOP_FAILED can indicate an error condition.

No response is returned from this call.

", "TagResource": "

Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN). Resources are users, servers, roles, and other entities.

There is no response returned from this call.

", @@ -784,7 +784,7 @@ "FilePaths": { "base": null, "refs": { - "StartFileTransferRequest$SendFilePaths": "

One or more source paths for the Transfer Family server. Each string represents a source file path for one outbound file transfer. For example, DOC-EXAMPLE-BUCKET/myfile.txt .

", + "StartFileTransferRequest$SendFilePaths": "

One or more source paths for the Transfer Family server. Each string represents a source file path for one outbound file transfer. For example, DOC-EXAMPLE-BUCKET/myfile.txt .

Replace DOC-EXAMPLE-BUCKET with one of your actual buckets.

", "StartFileTransferRequest$RetrieveFilePaths": "

One or more source paths for the partner's SFTP server. Each string represents a source file path for one inbound file transfer.

" } }, @@ -1477,14 +1477,14 @@ "base": null, "refs": { "CreateAccessRequest$Role": "

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that controls your users' access to your Amazon S3 bucket or Amazon EFS file system. The policies attached to this role determine the level of access that you want to provide your users when transferring files into and out of your Amazon S3 bucket or Amazon EFS file system. The IAM role should also contain a trust relationship that allows the server to access your resources when servicing your users' transfer requests.

", - "CreateAgreementRequest$AccessRole": "

With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

If you are using Basic authentication for your AS2 connector, the access role requires the secretsmanager:GetSecretValue permission for the secret. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs the kms:Decrypt permission for that key.

", - "CreateConnectorRequest$AccessRole": "

With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

If you are using Basic authentication for your AS2 connector, the access role requires the secretsmanager:GetSecretValue permission for the secret. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs the kms:Decrypt permission for that key.

", + "CreateAgreementRequest$AccessRole": "

Connectors are used to send files using either the AS2 or SFTP protocol. For the access role, provide the Amazon Resource Name (ARN) of the Identity and Access Management role to use.

For AS2 connectors

With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

If you are using Basic authentication for your AS2 connector, the access role requires the secretsmanager:GetSecretValue permission for the secret. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs the kms:Decrypt permission for that key.

For SFTP connectors

Make sure that the access role provides read and write access to the parent directory of the file location that's used in the StartFileTransfer request. Additionally, make sure that the role provides secretsmanager:GetSecretValue permission to Secrets Manager.

", + "CreateConnectorRequest$AccessRole": "

Connectors are used to send files using either the AS2 or SFTP protocol. For the access role, provide the Amazon Resource Name (ARN) of the Identity and Access Management role to use.

For AS2 connectors

With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

If you are using Basic authentication for your AS2 connector, the access role requires the secretsmanager:GetSecretValue permission for the secret. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs the kms:Decrypt permission for that key.

For SFTP connectors

Make sure that the access role provides read and write access to the parent directory of the file location that's used in the StartFileTransfer request. Additionally, make sure that the role provides secretsmanager:GetSecretValue permission to Secrets Manager.

", "CreateConnectorRequest$LoggingRole": "

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a connector to turn on CloudWatch logging for Amazon S3 events. When set, you can view connector activity in your CloudWatch logs.

", "CreateServerRequest$LoggingRole": "

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFSevents. When set, you can view user activity in your CloudWatch logs.

", "CreateUserRequest$Role": "

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that controls your users' access to your Amazon S3 bucket or Amazon EFS file system. The policies attached to this role determine the level of access that you want to provide your users when transferring files into and out of your Amazon S3 bucket or Amazon EFS file system. The IAM role should also contain a trust relationship that allows the server to access your resources when servicing your users' transfer requests.

", "DescribedAccess$Role": "

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that controls your users' access to your Amazon S3 bucket or Amazon EFS file system. The policies attached to this role determine the level of access that you want to provide your users when transferring files into and out of your Amazon S3 bucket or Amazon EFS file system. The IAM role should also contain a trust relationship that allows the server to access your resources when servicing your users' transfer requests.

", - "DescribedAgreement$AccessRole": "

With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

If you are using Basic authentication for your AS2 connector, the access role requires the secretsmanager:GetSecretValue permission for the secret. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs the kms:Decrypt permission for that key.

", - "DescribedConnector$AccessRole": "

With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

If you are using Basic authentication for your AS2 connector, the access role requires the secretsmanager:GetSecretValue permission for the secret. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs the kms:Decrypt permission for that key.

", + "DescribedAgreement$AccessRole": "

Connectors are used to send files using either the AS2 or SFTP protocol. For the access role, provide the Amazon Resource Name (ARN) of the Identity and Access Management role to use.

For AS2 connectors

With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

If you are using Basic authentication for your AS2 connector, the access role requires the secretsmanager:GetSecretValue permission for the secret. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs the kms:Decrypt permission for that key.

For SFTP connectors

Make sure that the access role provides read and write access to the parent directory of the file location that's used in the StartFileTransfer request. Additionally, make sure that the role provides secretsmanager:GetSecretValue permission to Secrets Manager.

", + "DescribedConnector$AccessRole": "

Connectors are used to send files using either the AS2 or SFTP protocol. For the access role, provide the Amazon Resource Name (ARN) of the Identity and Access Management role to use.

For AS2 connectors

With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

If you are using Basic authentication for your AS2 connector, the access role requires the secretsmanager:GetSecretValue permission for the secret. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs the kms:Decrypt permission for that key.

For SFTP connectors

Make sure that the access role provides read and write access to the parent directory of the file location that's used in the StartFileTransfer request. Additionally, make sure that the role provides secretsmanager:GetSecretValue permission to Secrets Manager.

", "DescribedConnector$LoggingRole": "

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a connector to turn on CloudWatch logging for Amazon S3 events. When set, you can view connector activity in your CloudWatch logs.

", "DescribedExecution$ExecutionRole": "

The IAM role associated with the execution.

", "DescribedServer$LoggingRole": "

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFSevents. When set, you can view user activity in your CloudWatch logs.

", @@ -1495,8 +1495,8 @@ "ListedUser$Role": "

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that controls your users' access to your Amazon S3 bucket or Amazon EFS file system. The policies attached to this role determine the level of access that you want to provide your users when transferring files into and out of your Amazon S3 bucket or Amazon EFS file system. The IAM role should also contain a trust relationship that allows the server to access your resources when servicing your users' transfer requests.

The IAM role that controls your users' access to your Amazon S3 bucket for servers with Domain=S3, or your EFS file system for servers with Domain=EFS.

The policies attached to this role determine the level of access you want to provide your users when transferring files into and out of your S3 buckets or EFS file systems.

", "LoggingConfiguration$LoggingRole": "

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFSevents. When set, you can view user activity in your CloudWatch logs.

", "UpdateAccessRequest$Role": "

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that controls your users' access to your Amazon S3 bucket or Amazon EFS file system. The policies attached to this role determine the level of access that you want to provide your users when transferring files into and out of your Amazon S3 bucket or Amazon EFS file system. The IAM role should also contain a trust relationship that allows the server to access your resources when servicing your users' transfer requests.

", - "UpdateAgreementRequest$AccessRole": "

With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

If you are using Basic authentication for your AS2 connector, the access role requires the secretsmanager:GetSecretValue permission for the secret. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs the kms:Decrypt permission for that key.

", - "UpdateConnectorRequest$AccessRole": "

With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

If you are using Basic authentication for your AS2 connector, the access role requires the secretsmanager:GetSecretValue permission for the secret. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs the kms:Decrypt permission for that key.

", + "UpdateAgreementRequest$AccessRole": "

Connectors are used to send files using either the AS2 or SFTP protocol. For the access role, provide the Amazon Resource Name (ARN) of the Identity and Access Management role to use.

For AS2 connectors

With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

If you are using Basic authentication for your AS2 connector, the access role requires the secretsmanager:GetSecretValue permission for the secret. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs the kms:Decrypt permission for that key.

For SFTP connectors

Make sure that the access role provides read and write access to the parent directory of the file location that's used in the StartFileTransfer request. Additionally, make sure that the role provides secretsmanager:GetSecretValue permission to Secrets Manager.

", + "UpdateConnectorRequest$AccessRole": "

Connectors are used to send files using either the AS2 or SFTP protocol. For the access role, provide the Amazon Resource Name (ARN) of the Identity and Access Management role to use.

For AS2 connectors

With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

If you are using Basic authentication for your AS2 connector, the access role requires the secretsmanager:GetSecretValue permission for the secret. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs the kms:Decrypt permission for that key.

For SFTP connectors

Make sure that the access role provides read and write access to the parent directory of the file location that's used in the StartFileTransfer request. Additionally, make sure that the role provides secretsmanager:GetSecretValue permission to Secrets Manager.

", "UpdateConnectorRequest$LoggingRole": "

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a connector to turn on CloudWatch logging for Amazon S3 events. When set, you can view connector activity in your CloudWatch logs.

", "UpdateUserRequest$Role": "

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that controls your users' access to your Amazon S3 bucket or Amazon EFS file system. The policies attached to this role determine the level of access that you want to provide your users when transferring files into and out of your Amazon S3 bucket or Amazon EFS file system. The IAM role should also contain a trust relationship that allows the server to access your resources when servicing your users' transfer requests.

", "WorkflowDetail$ExecutionRole": "

Includes the necessary permissions for S3, EFS, and Lambda operations that Transfer can assume, so that all workflow steps can operate on the required resources

" diff --git a/models/apis/transfer/2018-11-05/endpoint-rule-set-1.json b/models/apis/transfer/2018-11-05/endpoint-rule-set-1.json index 6f1477c015b..2694e990a7d 100644 --- a/models/apis/transfer/2018-11-05/endpoint-rule-set-1.json +++ b/models/apis/transfer/2018-11-05/endpoint-rule-set-1.json @@ -58,52 +58,56 @@ "type": "error" }, { - "conditions": [], - "type": "tree", - "rules": [ + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" + "ref": "UseDualStack" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + true + ] } - ] + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, { - "conditions": [], + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "type": "tree", "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], "type": "tree", @@ -111,13 +115,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -127,224 +140,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://transfer-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://transfer-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://transfer-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://transfer-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://transfer.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://transfer.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://transfer.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://transfer.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } \ No newline at end of file diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 770c70a9c86..19e799d0cf3 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -7841,6 +7841,7 @@ "identitystore" : { "endpoints" : { "af-south-1" : { }, + "ap-east-1" : { }, "ap-northeast-1" : { }, "ap-northeast-2" : { }, "ap-northeast-3" : { }, @@ -7855,9 +7856,11 @@ "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { }, "us-east-2" : { }, + "us-west-1" : { }, "us-west-2" : { } } }, @@ -14311,6 +14314,7 @@ "deprecated" : true, "hostname" : "securityhub-fips.us-west-2.amazonaws.com" }, + "il-central-1" : { }, "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, diff --git a/service/cloudtrail/api.go b/service/cloudtrail/api.go index d3bb5d37ce0..817e10dd552 100644 --- a/service/cloudtrail/api.go +++ b/service/cloudtrail/api.go @@ -5476,8 +5476,9 @@ func (c *CloudTrail) StartQueryRequest(input *StartQueryInput) (req *request.Req // in the CloudTrail User Guide. // // - MaxConcurrentQueriesException -// You are already running the maximum number of concurrent queries. Wait a -// minute for some queries to finish, and then run the query again. +// You are already running the maximum number of concurrent queries. The maximum +// number of concurrent queries is 10. Wait a minute for some queries to finish, +// and then run the query again. // // - InsufficientEncryptionPolicyException // This exception is thrown when the policy on the S3 bucket or KMS key does @@ -7069,11 +7070,12 @@ type AdvancedFieldSelector struct { // AWS::CloudTrail::Channel AWS::CodeWhisperer::Profile AWS::Cognito::IdentityPool // AWS::DynamoDB::Stream AWS::EC2::Snapshot AWS::EMRWAL::Workspace AWS::FinSpace::Environment // AWS::Glue::Table AWS::GuardDuty::Detector AWS::KendraRanking::ExecutionPlan - // AWS::ManagedBlockchain::Node AWS::SageMaker::ExperimentTrialComponent - // AWS::SageMaker::FeatureGroup AWS::S3::AccessPoint AWS::S3ObjectLambda::AccessPoint - // AWS::S3Outposts::Object You can have only one resources.type field per - // selector. To log data events on more than one resource type, add another - // selector. + // AWS::ManagedBlockchain::Network AWS::ManagedBlockchain::Node AWS::MedicalImaging::Datastore + // AWS::SageMaker::ExperimentTrialComponent AWS::SageMaker::FeatureGroup + // AWS::S3::AccessPoint AWS::S3ObjectLambda::AccessPoint AWS::S3Outposts::Object + // AWS::SSMMessages::ControlChannel AWS::VerifiedPermissions::PolicyStore + // You can have only one resources.type field per selector. To log data + // events on more than one resource type, add another selector. // // * resources.ARN - You can use any operator with resources.ARN, but if // you use Equals or NotEquals, the value must exactly match the ARN of a @@ -7115,9 +7117,14 @@ type AdvancedFieldSelector struct { // When resources.type equals AWS::KendraRanking::ExecutionPlan, and the // operator is set to Equals or NotEquals, the ARN must be in the following // format: arn::kendra-ranking:::rescore-execution-plan/ - // When resources.type equals AWS::ManagedBlockchain::Node, and the operator + // When resources.type equals AWS::ManagedBlockchain::Network, and the operator // is set to Equals or NotEquals, the ARN must be in the following format: - // arn::managedblockchain:::nodes/ + // arn::managedblockchain:::networks/ When resources.type + // equals AWS::ManagedBlockchain::Node, and the operator is set to Equals + // or NotEquals, the ARN must be in the following format: arn::managedblockchain:::nodes/ + // When resources.type equals AWS::MedicalImaging::Datastore, and the operator + // is set to Equals or NotEquals, the ARN must be in the following format: + // arn::medical-imaging:::datastore/ // When resources.type equals AWS::SageMaker::ExperimentTrialComponent, and // the operator is set to Equals or NotEquals, the ARN must be in the following // format: arn::sagemaker:::experiment-trial-component/ @@ -7135,6 +7142,12 @@ type AdvancedFieldSelector struct { // arn::s3-object-lambda:::accesspoint/ // When resources.type equals AWS::S3Outposts::Object, and the operator is // set to Equals or NotEquals, the ARN must be in the following format: arn::s3-outposts::: + // When resources.type equals AWS::SSMMessages::ControlChannel, and the operator + // is set to Equals or NotEquals, the ARN must be in the following format: + // arn::ssmmessages:::control-channel/ + // When resources.type equals AWS::VerifiedPermissions::PolicyStore, and + // the operator is set to Equals or NotEquals, the ARN must be in the following + // format: arn::verifiedpermissions:::policy-store/ // // Field is a required field Field *string `min:"1" type:"string" required:"true"` @@ -8240,7 +8253,18 @@ type CreateEventDataStoreInput struct { OrganizationEnabled *bool `type:"boolean"` // The retention period of the event data store, in days. You can set a retention - // period of up to 2557 days, the equivalent of seven years. + // period of up to 2557 days, the equivalent of seven years. CloudTrail Lake + // determines whether to retain an event by checking if the eventTime of the + // event is within the specified retention period. For example, if you set a + // retention period of 90 days, CloudTrail will remove events when the eventTime + // is older than 90 days. + // + // If you plan to copy trail events to this event data store, we recommend that + // you consider both the age of the events that you want to copy as well as + // how long you want to keep the copied events in your event data store. For + // example, if you copy trail events that are 5 years old and specify a retention + // period of 7 years, the event data store will retain those events for two + // years. RetentionPeriod *int64 `min:"7" type:"integer"` // Specifies whether the event data store should start ingesting live events. @@ -8968,8 +8992,12 @@ type DataResource struct { // // * AWS::KendraRanking::ExecutionPlan // + // * AWS::ManagedBlockchain::Network + // // * AWS::ManagedBlockchain::Node // + // * AWS::MedicalImaging::Datastore + // // * AWS::SageMaker::ExperimentTrialComponent // // * AWS::SageMaker::FeatureGroup @@ -8979,6 +9007,10 @@ type DataResource struct { // * AWS::S3ObjectLambda::AccessPoint // // * AWS::S3Outposts::Object + // + // * AWS::SSMMessages::ControlChannel + // + // * AWS::VerifiedPermissions::PolicyStore Type *string `type:"string"` // An array of Amazon Resource Name (ARN) strings or partial ARN strings for @@ -15674,8 +15706,9 @@ func (s *LookupEventsOutput) SetNextToken(v string) *LookupEventsOutput { return s } -// You are already running the maximum number of concurrent queries. Wait a -// minute for some queries to finish, and then run the query again. +// You are already running the maximum number of concurrent queries. The maximum +// number of concurrent queries is 10. Wait a minute for some queries to finish, +// and then run the query again. type MaxConcurrentQueriesException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -19408,7 +19441,18 @@ type UpdateEventDataStoreInput struct { // in Organizations. OrganizationEnabled *bool `type:"boolean"` - // The retention period, in days. + // The retention period of the event data store, in days. You can set a retention + // period of up to 2557 days, the equivalent of seven years. CloudTrail Lake + // determines whether to retain an event by checking if the eventTime of the + // event is within the specified retention period. For example, if you set a + // retention period of 90 days, CloudTrail will remove events when the eventTime + // is older than 90 days. + // + // If you decrease the retention period of an event data store, CloudTrail will + // remove any events with an eventTime older than the new retention period. + // For example, if the previous retention period was 365 days and you decrease + // it to 100 days, CloudTrail will remove events with an eventTime older than + // 100 days. RetentionPeriod *int64 `min:"7" type:"integer"` // Indicates that termination protection is enabled and the event data store diff --git a/service/cloudtrail/errors.go b/service/cloudtrail/errors.go index 5c8aeade526..2deaa7f3e1a 100644 --- a/service/cloudtrail/errors.go +++ b/service/cloudtrail/errors.go @@ -456,8 +456,9 @@ const ( // ErrCodeMaxConcurrentQueriesException for service response error code // "MaxConcurrentQueriesException". // - // You are already running the maximum number of concurrent queries. Wait a - // minute for some queries to finish, and then run the query again. + // You are already running the maximum number of concurrent queries. The maximum + // number of concurrent queries is 10. Wait a minute for some queries to finish, + // and then run the query again. ErrCodeMaxConcurrentQueriesException = "MaxConcurrentQueriesException" // ErrCodeMaximumNumberOfTrailsExceededException for service response error code diff --git a/service/connect/api.go b/service/connect/api.go index a9bbe131563..9369ea8cc05 100644 --- a/service/connect/api.go +++ b/service/connect/api.go @@ -1095,6 +1095,101 @@ func (c *Connect) AssociateSecurityKeyWithContext(ctx aws.Context, input *Associ return out, req.Send() } +const opAssociateTrafficDistributionGroupUser = "AssociateTrafficDistributionGroupUser" + +// AssociateTrafficDistributionGroupUserRequest generates a "aws/request.Request" representing the +// client's request for the AssociateTrafficDistributionGroupUser 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 AssociateTrafficDistributionGroupUser for more information on using the AssociateTrafficDistributionGroupUser +// 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 AssociateTrafficDistributionGroupUserRequest method. +// req, resp := client.AssociateTrafficDistributionGroupUserRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateTrafficDistributionGroupUser +func (c *Connect) AssociateTrafficDistributionGroupUserRequest(input *AssociateTrafficDistributionGroupUserInput) (req *request.Request, output *AssociateTrafficDistributionGroupUserOutput) { + op := &request.Operation{ + Name: opAssociateTrafficDistributionGroupUser, + HTTPMethod: "PUT", + HTTPPath: "/traffic-distribution-group/{TrafficDistributionGroupId}/user", + } + + if input == nil { + input = &AssociateTrafficDistributionGroupUserInput{} + } + + output = &AssociateTrafficDistributionGroupUserOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// AssociateTrafficDistributionGroupUser API operation for Amazon Connect Service. +// +// Associates an agent with a traffic distribution group. +// +// 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 Amazon Connect Service's +// API operation AssociateTrafficDistributionGroupUser for usage and error information. +// +// Returned Error Types: +// +// - InvalidRequestException +// The request is not valid. +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. +// +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ResourceConflictException +// A resource already has that name. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateTrafficDistributionGroupUser +func (c *Connect) AssociateTrafficDistributionGroupUser(input *AssociateTrafficDistributionGroupUserInput) (*AssociateTrafficDistributionGroupUserOutput, error) { + req, out := c.AssociateTrafficDistributionGroupUserRequest(input) + return out, req.Send() +} + +// AssociateTrafficDistributionGroupUserWithContext is the same as AssociateTrafficDistributionGroupUser with the addition of +// the ability to pass a context and additional request options. +// +// See AssociateTrafficDistributionGroupUser 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 *Connect) AssociateTrafficDistributionGroupUserWithContext(ctx aws.Context, input *AssociateTrafficDistributionGroupUserInput, opts ...request.Option) (*AssociateTrafficDistributionGroupUserOutput, error) { + req, out := c.AssociateTrafficDistributionGroupUserRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opClaimPhoneNumber = "ClaimPhoneNumber" // ClaimPhoneNumberRequest generates a "aws/request.Request" representing the @@ -7976,6 +8071,101 @@ func (c *Connect) DisassociateSecurityKeyWithContext(ctx aws.Context, input *Dis return out, req.Send() } +const opDisassociateTrafficDistributionGroupUser = "DisassociateTrafficDistributionGroupUser" + +// DisassociateTrafficDistributionGroupUserRequest generates a "aws/request.Request" representing the +// client's request for the DisassociateTrafficDistributionGroupUser 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 DisassociateTrafficDistributionGroupUser for more information on using the DisassociateTrafficDistributionGroupUser +// 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 DisassociateTrafficDistributionGroupUserRequest method. +// req, resp := client.DisassociateTrafficDistributionGroupUserRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateTrafficDistributionGroupUser +func (c *Connect) DisassociateTrafficDistributionGroupUserRequest(input *DisassociateTrafficDistributionGroupUserInput) (req *request.Request, output *DisassociateTrafficDistributionGroupUserOutput) { + op := &request.Operation{ + Name: opDisassociateTrafficDistributionGroupUser, + HTTPMethod: "DELETE", + HTTPPath: "/traffic-distribution-group/{TrafficDistributionGroupId}/user", + } + + if input == nil { + input = &DisassociateTrafficDistributionGroupUserInput{} + } + + output = &DisassociateTrafficDistributionGroupUserOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DisassociateTrafficDistributionGroupUser API operation for Amazon Connect Service. +// +// Disassociates an agent from a traffic distribution group. +// +// 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 Amazon Connect Service's +// API operation DisassociateTrafficDistributionGroupUser for usage and error information. +// +// Returned Error Types: +// +// - InvalidRequestException +// The request is not valid. +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. +// +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ResourceConflictException +// A resource already has that name. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateTrafficDistributionGroupUser +func (c *Connect) DisassociateTrafficDistributionGroupUser(input *DisassociateTrafficDistributionGroupUserInput) (*DisassociateTrafficDistributionGroupUserOutput, error) { + req, out := c.DisassociateTrafficDistributionGroupUserRequest(input) + return out, req.Send() +} + +// DisassociateTrafficDistributionGroupUserWithContext is the same as DisassociateTrafficDistributionGroupUser with the addition of +// the ability to pass a context and additional request options. +// +// See DisassociateTrafficDistributionGroupUser 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 *Connect) DisassociateTrafficDistributionGroupUserWithContext(ctx aws.Context, input *DisassociateTrafficDistributionGroupUserInput, opts ...request.Option) (*DisassociateTrafficDistributionGroupUserOutput, error) { + req, out := c.DisassociateTrafficDistributionGroupUserRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDismissUserContact = "DismissUserContact" // DismissUserContactRequest generates a "aws/request.Request" representing the @@ -11895,6 +12085,12 @@ func (c *Connect) ListPhoneNumbersV2Request(input *ListPhoneNumbersV2Input) (req // Contact Center (https://docs.aws.amazon.com/connect/latest/adminguide/contact-center-phone-number.html) // in the Amazon Connect Administrator Guide. // +// - When given an instance ARN, ListPhoneNumbersV2 returns only the phone +// numbers claimed to the instance. +// +// - When given a traffic distribution group ARN ListPhoneNumbersV2 returns +// only the phone numbers claimed to the traffic distribution group. +// // 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. @@ -13739,6 +13935,154 @@ func (c *Connect) ListTaskTemplatesPagesWithContext(ctx aws.Context, input *List return p.Err() } +const opListTrafficDistributionGroupUsers = "ListTrafficDistributionGroupUsers" + +// ListTrafficDistributionGroupUsersRequest generates a "aws/request.Request" representing the +// client's request for the ListTrafficDistributionGroupUsers 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 ListTrafficDistributionGroupUsers for more information on using the ListTrafficDistributionGroupUsers +// 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 ListTrafficDistributionGroupUsersRequest method. +// req, resp := client.ListTrafficDistributionGroupUsersRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListTrafficDistributionGroupUsers +func (c *Connect) ListTrafficDistributionGroupUsersRequest(input *ListTrafficDistributionGroupUsersInput) (req *request.Request, output *ListTrafficDistributionGroupUsersOutput) { + op := &request.Operation{ + Name: opListTrafficDistributionGroupUsers, + HTTPMethod: "GET", + HTTPPath: "/traffic-distribution-group/{TrafficDistributionGroupId}/user", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListTrafficDistributionGroupUsersInput{} + } + + output = &ListTrafficDistributionGroupUsersOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListTrafficDistributionGroupUsers API operation for Amazon Connect Service. +// +// Lists traffic distribution group users. +// +// 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 Amazon Connect Service's +// API operation ListTrafficDistributionGroupUsers for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidRequestException +// The request is not valid. +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. +// +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListTrafficDistributionGroupUsers +func (c *Connect) ListTrafficDistributionGroupUsers(input *ListTrafficDistributionGroupUsersInput) (*ListTrafficDistributionGroupUsersOutput, error) { + req, out := c.ListTrafficDistributionGroupUsersRequest(input) + return out, req.Send() +} + +// ListTrafficDistributionGroupUsersWithContext is the same as ListTrafficDistributionGroupUsers with the addition of +// the ability to pass a context and additional request options. +// +// See ListTrafficDistributionGroupUsers 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 *Connect) ListTrafficDistributionGroupUsersWithContext(ctx aws.Context, input *ListTrafficDistributionGroupUsersInput, opts ...request.Option) (*ListTrafficDistributionGroupUsersOutput, error) { + req, out := c.ListTrafficDistributionGroupUsersRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListTrafficDistributionGroupUsersPages iterates over the pages of a ListTrafficDistributionGroupUsers operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListTrafficDistributionGroupUsers 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 ListTrafficDistributionGroupUsers operation. +// pageNum := 0 +// err := client.ListTrafficDistributionGroupUsersPages(params, +// func(page *connect.ListTrafficDistributionGroupUsersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Connect) ListTrafficDistributionGroupUsersPages(input *ListTrafficDistributionGroupUsersInput, fn func(*ListTrafficDistributionGroupUsersOutput, bool) bool) error { + return c.ListTrafficDistributionGroupUsersPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListTrafficDistributionGroupUsersPagesWithContext same as ListTrafficDistributionGroupUsersPages 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 *Connect) ListTrafficDistributionGroupUsersPagesWithContext(ctx aws.Context, input *ListTrafficDistributionGroupUsersInput, fn func(*ListTrafficDistributionGroupUsersOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListTrafficDistributionGroupUsersInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListTrafficDistributionGroupUsersRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListTrafficDistributionGroupUsersOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListTrafficDistributionGroups = "ListTrafficDistributionGroups" // ListTrafficDistributionGroupsRequest generates a "aws/request.Request" representing the @@ -20890,6 +21234,10 @@ func (c *Connect) UpdateTrafficDistributionRequest(input *UpdateTrafficDistribut // // Updates the traffic distribution for a given traffic distribution group. // +// You can change the SignInConfig only for a default TrafficDistributionGroup. +// If you call UpdateTrafficDistribution with a modified SignInConfig and a +// non-default TrafficDistributionGroup, an InvalidRequestException is returned. +// // For more information about updating a traffic distribution group, see Update // telephony traffic distribution across Amazon Web Services Regions (https://docs.aws.amazon.com/connect/latest/adminguide/update-telephony-traffic-distribution.html) // in the Amazon Connect Administrator Guide. @@ -21841,6 +22189,63 @@ func (s *ActivateEvaluationFormOutput) SetEvaluationFormVersion(v int64) *Activa return s } +// The distribution of agents between the instance and its replica(s). +type AgentConfig struct { + _ struct{} `type:"structure"` + + // Information about traffic distributions. + // + // Distributions is a required field + Distributions []*Distribution `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 AgentConfig) 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 AgentConfig) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AgentConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AgentConfig"} + if s.Distributions == nil { + invalidParams.Add(request.NewErrParamRequired("Distributions")) + } + if s.Distributions != nil { + for i, v := range s.Distributions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Distributions", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDistributions sets the Distributions field's value. +func (s *AgentConfig) SetDistributions(v []*Distribution) *AgentConfig { + s.Distributions = v + return s +} + // Information about the contact (https://docs.aws.amazon.com/connect/latest/APIReference/API_Contact.html) // associated to the user. type AgentContactReference struct { @@ -23262,6 +23667,114 @@ func (s *AssociateSecurityKeyOutput) SetAssociationId(v string) *AssociateSecuri return s } +type AssociateTrafficDistributionGroupUserInput struct { + _ struct{} `type:"structure"` + + // The identifier of the Amazon Connect instance. You can find the instance + // ID (https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html) + // in the Amazon Resource Name (ARN) of the instance. + // + // InstanceId is a required field + InstanceId *string `min:"1" type:"string" required:"true"` + + // The identifier of the traffic distribution group. This can be the ID or the + // ARN if the API is being called in the Region where the traffic distribution + // group was created. The ARN must be provided if the call is from the replicated + // Region. + // + // TrafficDistributionGroupId is a required field + TrafficDistributionGroupId *string `location:"uri" locationName:"TrafficDistributionGroupId" type:"string" required:"true"` + + // The identifier of the user account. This can be the ID or the ARN of the + // user. + // + // UserId is a required field + UserId *string `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 AssociateTrafficDistributionGroupUserInput) 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 AssociateTrafficDistributionGroupUserInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AssociateTrafficDistributionGroupUserInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AssociateTrafficDistributionGroupUserInput"} + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } + if s.TrafficDistributionGroupId == nil { + invalidParams.Add(request.NewErrParamRequired("TrafficDistributionGroupId")) + } + if s.TrafficDistributionGroupId != nil && len(*s.TrafficDistributionGroupId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TrafficDistributionGroupId", 1)) + } + if s.UserId == nil { + invalidParams.Add(request.NewErrParamRequired("UserId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInstanceId sets the InstanceId field's value. +func (s *AssociateTrafficDistributionGroupUserInput) SetInstanceId(v string) *AssociateTrafficDistributionGroupUserInput { + s.InstanceId = &v + return s +} + +// SetTrafficDistributionGroupId sets the TrafficDistributionGroupId field's value. +func (s *AssociateTrafficDistributionGroupUserInput) SetTrafficDistributionGroupId(v string) *AssociateTrafficDistributionGroupUserInput { + s.TrafficDistributionGroupId = &v + return s +} + +// SetUserId sets the UserId field's value. +func (s *AssociateTrafficDistributionGroupUserInput) SetUserId(v string) *AssociateTrafficDistributionGroupUserInput { + s.UserId = &v + return s +} + +type AssociateTrafficDistributionGroupUserOutput 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 AssociateTrafficDistributionGroupUserOutput) 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 AssociateTrafficDistributionGroupUserOutput) GoString() string { + return s.String() +} + // Information about a reference when the referenceType is ATTACHMENT. Otherwise, // null. type AttachmentReference struct { @@ -26364,7 +26877,7 @@ type CreateRoutingProfileInput struct { _ struct{} `type:"structure"` // Whether agents with this routing profile will have their routing order calculated - // based on time since their last inbound contact or longest idle time. + // based on longest idle time or time since their last inbound contact. AgentAvailabilityTimer *string `type:"string" enum:"AgentAvailabilityTimer"` // The default outbound queue for the routing profile. @@ -33398,6 +33911,113 @@ func (s DisassociateSecurityKeyOutput) GoString() string { return s.String() } +type DisassociateTrafficDistributionGroupUserInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The identifier of the Amazon Connect instance. You can find the instance + // ID (https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html) + // in the Amazon Resource Name (ARN) of the instance. + // + // InstanceId is a required field + InstanceId *string `location:"querystring" locationName:"InstanceId" min:"1" type:"string" required:"true"` + + // The identifier of the traffic distribution group. This can be the ID or the + // ARN if the API is being called in the Region where the traffic distribution + // group was created. The ARN must be provided if the call is from the replicated + // Region. + // + // TrafficDistributionGroupId is a required field + TrafficDistributionGroupId *string `location:"uri" locationName:"TrafficDistributionGroupId" type:"string" required:"true"` + + // The identifier for the user. This can be the ID or the ARN of the user. + // + // UserId is a required field + UserId *string `location:"querystring" locationName:"UserId" 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 DisassociateTrafficDistributionGroupUserInput) 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 DisassociateTrafficDistributionGroupUserInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DisassociateTrafficDistributionGroupUserInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DisassociateTrafficDistributionGroupUserInput"} + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } + if s.TrafficDistributionGroupId == nil { + invalidParams.Add(request.NewErrParamRequired("TrafficDistributionGroupId")) + } + if s.TrafficDistributionGroupId != nil && len(*s.TrafficDistributionGroupId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TrafficDistributionGroupId", 1)) + } + if s.UserId == nil { + invalidParams.Add(request.NewErrParamRequired("UserId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInstanceId sets the InstanceId field's value. +func (s *DisassociateTrafficDistributionGroupUserInput) SetInstanceId(v string) *DisassociateTrafficDistributionGroupUserInput { + s.InstanceId = &v + return s +} + +// SetTrafficDistributionGroupId sets the TrafficDistributionGroupId field's value. +func (s *DisassociateTrafficDistributionGroupUserInput) SetTrafficDistributionGroupId(v string) *DisassociateTrafficDistributionGroupUserInput { + s.TrafficDistributionGroupId = &v + return s +} + +// SetUserId sets the UserId field's value. +func (s *DisassociateTrafficDistributionGroupUserInput) SetUserId(v string) *DisassociateTrafficDistributionGroupUserInput { + s.UserId = &v + return s +} + +type DisassociateTrafficDistributionGroupUserOutput 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 DisassociateTrafficDistributionGroupUserOutput) 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 DisassociateTrafficDistributionGroupUserOutput) GoString() string { + return s.String() +} + type DismissUserContactInput struct { _ struct{} `type:"structure"` @@ -36545,7 +37165,7 @@ type GetFederationTokenOutput struct { // The Amazon Resource Name (ARN) of the user. UserArn *string `type:"string"` - // The identifier for the user. + // The identifier for the user. This can be the ID or the ARN of the user. UserId *string `min:"1" type:"string"` } @@ -37931,6 +38551,9 @@ func (s *GetTrafficDistributionInput) SetId(v string) *GetTrafficDistributionInp type GetTrafficDistributionOutput struct { _ struct{} `type:"structure"` + // The distribution of agents between the instance and its replica(s). + AgentConfig *AgentConfig `type:"structure"` + // The Amazon Resource Name (ARN) of the traffic distribution group. Arn *string `type:"string"` @@ -37940,6 +38563,9 @@ type GetTrafficDistributionOutput struct { // Region. Id *string `type:"string"` + // The distribution of allowing signing in to the instance and its replica(s). + SignInConfig *SignInConfig `type:"structure"` + // The distribution of traffic between the instance and its replicas. TelephonyConfig *TelephonyConfig `type:"structure"` } @@ -37962,6 +38588,12 @@ func (s GetTrafficDistributionOutput) GoString() string { return s.String() } +// SetAgentConfig sets the AgentConfig field's value. +func (s *GetTrafficDistributionOutput) SetAgentConfig(v *AgentConfig) *GetTrafficDistributionOutput { + s.AgentConfig = v + return s +} + // SetArn sets the Arn field's value. func (s *GetTrafficDistributionOutput) SetArn(v string) *GetTrafficDistributionOutput { s.Arn = &v @@ -37974,6 +38606,12 @@ func (s *GetTrafficDistributionOutput) SetId(v string) *GetTrafficDistributionOu return s } +// SetSignInConfig sets the SignInConfig field's value. +func (s *GetTrafficDistributionOutput) SetSignInConfig(v *SignInConfig) *GetTrafficDistributionOutput { + s.SignInConfig = v + return s +} + // SetTelephonyConfig sets the TelephonyConfig field's value. func (s *GetTrafficDistributionOutput) SetTelephonyConfig(v *TelephonyConfig) *GetTrafficDistributionOutput { s.TelephonyConfig = v @@ -44278,6 +44916,120 @@ func (s *ListTaskTemplatesOutput) SetTaskTemplates(v []*TaskTemplateMetadata) *L return s } +type ListTrafficDistributionGroupUsersInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The maximum number of results to return per page. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // The token for the next set of results. Use the value returned in the previous + // response in the next request to retrieve the next set of results. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // The identifier of the traffic distribution group. This can be the ID or the + // ARN if the API is being called in the Region where the traffic distribution + // group was created. The ARN must be provided if the call is from the replicated + // Region. + // + // TrafficDistributionGroupId is a required field + TrafficDistributionGroupId *string `location:"uri" locationName:"TrafficDistributionGroupId" 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 ListTrafficDistributionGroupUsersInput) 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 ListTrafficDistributionGroupUsersInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListTrafficDistributionGroupUsersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListTrafficDistributionGroupUsersInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.TrafficDistributionGroupId == nil { + invalidParams.Add(request.NewErrParamRequired("TrafficDistributionGroupId")) + } + if s.TrafficDistributionGroupId != nil && len(*s.TrafficDistributionGroupId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TrafficDistributionGroupId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListTrafficDistributionGroupUsersInput) SetMaxResults(v int64) *ListTrafficDistributionGroupUsersInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListTrafficDistributionGroupUsersInput) SetNextToken(v string) *ListTrafficDistributionGroupUsersInput { + s.NextToken = &v + return s +} + +// SetTrafficDistributionGroupId sets the TrafficDistributionGroupId field's value. +func (s *ListTrafficDistributionGroupUsersInput) SetTrafficDistributionGroupId(v string) *ListTrafficDistributionGroupUsersInput { + s.TrafficDistributionGroupId = &v + return s +} + +type ListTrafficDistributionGroupUsersOutput struct { + _ struct{} `type:"structure"` + + // If there are additional results, this is the token for the next set of results. + NextToken *string `type:"string"` + + // A list of traffic distribution group users. + TrafficDistributionGroupUserSummaryList []*TrafficDistributionGroupUserSummary `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 ListTrafficDistributionGroupUsersOutput) 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 ListTrafficDistributionGroupUsersOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListTrafficDistributionGroupUsersOutput) SetNextToken(v string) *ListTrafficDistributionGroupUsersOutput { + s.NextToken = &v + return s +} + +// SetTrafficDistributionGroupUserSummaryList sets the TrafficDistributionGroupUserSummaryList field's value. +func (s *ListTrafficDistributionGroupUsersOutput) SetTrafficDistributionGroupUserSummaryList(v []*TrafficDistributionGroupUserSummary) *ListTrafficDistributionGroupUsersOutput { + s.TrafficDistributionGroupUserSummaryList = v + return s +} + type ListTrafficDistributionGroupsInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -51199,6 +51951,127 @@ func (s *ServiceQuotaExceededException) RequestID() string { return s.RespMetadata.RequestID } +// The distribution of allowing signing in to the instance and its replica(s). +type SignInConfig struct { + _ struct{} `type:"structure"` + + // Information about traffic distributions. + // + // Distributions is a required field + Distributions []*SignInDistribution `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 SignInConfig) 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 SignInConfig) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SignInConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SignInConfig"} + if s.Distributions == nil { + invalidParams.Add(request.NewErrParamRequired("Distributions")) + } + if s.Distributions != nil { + for i, v := range s.Distributions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Distributions", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDistributions sets the Distributions field's value. +func (s *SignInConfig) SetDistributions(v []*SignInDistribution) *SignInConfig { + s.Distributions = v + return s +} + +// The distribution of sign in traffic between the instance and its replica(s). +type SignInDistribution struct { + _ struct{} `type:"structure"` + + // Whether sign in distribution is enabled. + // + // Enabled is a required field + Enabled *bool `type:"boolean" required:"true"` + + // The Amazon Web Services Region of the sign in distribution. + // + // Region is a required field + Region *string `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 SignInDistribution) 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 SignInDistribution) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SignInDistribution) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SignInDistribution"} + if s.Enabled == nil { + invalidParams.Add(request.NewErrParamRequired("Enabled")) + } + if s.Region == nil { + invalidParams.Add(request.NewErrParamRequired("Region")) + } + if s.Region != nil && len(*s.Region) < 8 { + invalidParams.Add(request.NewErrParamMinLen("Region", 8)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEnabled sets the Enabled field's value. +func (s *SignInDistribution) SetEnabled(v bool) *SignInDistribution { + s.Enabled = &v + return s +} + +// SetRegion sets the Region field's value. +func (s *SignInDistribution) SetRegion(v string) *SignInDistribution { + s.Region = &v + return s +} + // Information about the automation option based on a rule category for a single // select question. type SingleSelectQuestionRuleCategoryAutomation struct { @@ -53974,6 +54847,16 @@ type TrafficDistributionGroup struct { // The Amazon Resource Name (ARN). InstanceArn *string `type:"string"` + // Whether this is the default traffic distribution group created during instance + // replication. The default traffic distribution group cannot be deleted by + // the DeleteTrafficDistributionGroup API. The default traffic distribution + // group is deleted as part of the process for deleting a replica. + // + // You can change the SignInConfig only for a default TrafficDistributionGroup. + // If you call UpdateTrafficDistribution with a modified SignInConfig and a + // non-default TrafficDistributionGroup, an InvalidRequestException is returned. + IsDefault *bool `type:"boolean"` + // The name of the traffic distribution group. Name *string `min:"1" type:"string"` @@ -54048,6 +54931,12 @@ func (s *TrafficDistributionGroup) SetInstanceArn(v string) *TrafficDistribution return s } +// SetIsDefault sets the IsDefault field's value. +func (s *TrafficDistributionGroup) SetIsDefault(v bool) *TrafficDistributionGroup { + s.IsDefault = &v + return s +} + // SetName sets the Name field's value. func (s *TrafficDistributionGroup) SetName(v string) *TrafficDistributionGroup { s.Name = &v @@ -54082,6 +54971,12 @@ type TrafficDistributionGroupSummary struct { // The Amazon Resource Name (ARN) of the traffic distribution group. InstanceArn *string `type:"string"` + // Whether this is the default traffic distribution group created during instance + // replication. The default traffic distribution group cannot be deleted by + // the DeleteTrafficDistributionGroup API. The default traffic distribution + // group is deleted as part of the process for deleting a replica. + IsDefault *bool `type:"boolean"` + // The name of the traffic distribution group. Name *string `min:"1" type:"string"` @@ -54146,6 +55041,12 @@ func (s *TrafficDistributionGroupSummary) SetInstanceArn(v string) *TrafficDistr return s } +// SetIsDefault sets the IsDefault field's value. +func (s *TrafficDistributionGroupSummary) SetIsDefault(v bool) *TrafficDistributionGroupSummary { + s.IsDefault = &v + return s +} + // SetName sets the Name field's value. func (s *TrafficDistributionGroupSummary) SetName(v string) *TrafficDistributionGroupSummary { s.Name = &v @@ -54158,6 +55059,38 @@ func (s *TrafficDistributionGroupSummary) SetStatus(v string) *TrafficDistributi return s } +// Summary information about a traffic distribution group user. +type TrafficDistributionGroupUserSummary struct { + _ struct{} `type:"structure"` + + // The identifier for the user. This can be the ID or the ARN of the user. + UserId *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 TrafficDistributionGroupUserSummary) 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 TrafficDistributionGroupUserSummary) GoString() string { + return s.String() +} + +// SetUserId sets the UserId field's value. +func (s *TrafficDistributionGroupUserSummary) SetUserId(v string) *TrafficDistributionGroupUserSummary { + s.UserId = &v + return s +} + type TransferContactInput struct { _ struct{} `type:"structure"` @@ -54187,7 +55120,7 @@ type TransferContactInput struct { // The identifier for the queue. QueueId *string `type:"string"` - // The identifier for the user. + // The identifier for the user. This can be the ID or the ARN of the user. UserId *string `min:"1" type:"string"` } @@ -58489,6 +59422,9 @@ func (s *UpdateTaskTemplateOutput) SetStatus(v string) *UpdateTaskTemplateOutput type UpdateTrafficDistributionInput struct { _ struct{} `type:"structure"` + // The distribution of agents between the instance and its replica(s). + AgentConfig *AgentConfig `type:"structure"` + // The identifier of the traffic distribution group. This can be the ID or the // ARN if the API is being called in the Region where the traffic distribution // group was created. The ARN must be provided if the call is from the replicated @@ -58497,6 +59433,9 @@ type UpdateTrafficDistributionInput struct { // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` + // The distribution of allowing signing in to the instance and its replica(s). + SignInConfig *SignInConfig `type:"structure"` + // The distribution of traffic between the instance and its replica(s). TelephonyConfig *TelephonyConfig `type:"structure"` } @@ -58528,6 +59467,16 @@ func (s *UpdateTrafficDistributionInput) Validate() error { if s.Id != nil && len(*s.Id) < 1 { invalidParams.Add(request.NewErrParamMinLen("Id", 1)) } + if s.AgentConfig != nil { + if err := s.AgentConfig.Validate(); err != nil { + invalidParams.AddNested("AgentConfig", err.(request.ErrInvalidParams)) + } + } + if s.SignInConfig != nil { + if err := s.SignInConfig.Validate(); err != nil { + invalidParams.AddNested("SignInConfig", err.(request.ErrInvalidParams)) + } + } if s.TelephonyConfig != nil { if err := s.TelephonyConfig.Validate(); err != nil { invalidParams.AddNested("TelephonyConfig", err.(request.ErrInvalidParams)) @@ -58540,12 +59489,24 @@ func (s *UpdateTrafficDistributionInput) Validate() error { return nil } +// SetAgentConfig sets the AgentConfig field's value. +func (s *UpdateTrafficDistributionInput) SetAgentConfig(v *AgentConfig) *UpdateTrafficDistributionInput { + s.AgentConfig = v + return s +} + // SetId sets the Id field's value. func (s *UpdateTrafficDistributionInput) SetId(v string) *UpdateTrafficDistributionInput { s.Id = &v return s } +// SetSignInConfig sets the SignInConfig field's value. +func (s *UpdateTrafficDistributionInput) SetSignInConfig(v *SignInConfig) *UpdateTrafficDistributionInput { + s.SignInConfig = v + return s +} + // SetTelephonyConfig sets the TelephonyConfig field's value. func (s *UpdateTrafficDistributionInput) SetTelephonyConfig(v *TelephonyConfig) *UpdateTrafficDistributionInput { s.TelephonyConfig = v diff --git a/service/connect/connectiface/interface.go b/service/connect/connectiface/interface.go index 0fcd406e9db..7c082f10ef1 100644 --- a/service/connect/connectiface/interface.go +++ b/service/connect/connectiface/interface.go @@ -104,6 +104,10 @@ type ConnectAPI interface { AssociateSecurityKeyWithContext(aws.Context, *connect.AssociateSecurityKeyInput, ...request.Option) (*connect.AssociateSecurityKeyOutput, error) AssociateSecurityKeyRequest(*connect.AssociateSecurityKeyInput) (*request.Request, *connect.AssociateSecurityKeyOutput) + AssociateTrafficDistributionGroupUser(*connect.AssociateTrafficDistributionGroupUserInput) (*connect.AssociateTrafficDistributionGroupUserOutput, error) + AssociateTrafficDistributionGroupUserWithContext(aws.Context, *connect.AssociateTrafficDistributionGroupUserInput, ...request.Option) (*connect.AssociateTrafficDistributionGroupUserOutput, error) + AssociateTrafficDistributionGroupUserRequest(*connect.AssociateTrafficDistributionGroupUserInput) (*request.Request, *connect.AssociateTrafficDistributionGroupUserOutput) + ClaimPhoneNumber(*connect.ClaimPhoneNumberInput) (*connect.ClaimPhoneNumberOutput, error) ClaimPhoneNumberWithContext(aws.Context, *connect.ClaimPhoneNumberInput, ...request.Option) (*connect.ClaimPhoneNumberOutput, error) ClaimPhoneNumberRequest(*connect.ClaimPhoneNumberInput) (*request.Request, *connect.ClaimPhoneNumberOutput) @@ -392,6 +396,10 @@ type ConnectAPI interface { DisassociateSecurityKeyWithContext(aws.Context, *connect.DisassociateSecurityKeyInput, ...request.Option) (*connect.DisassociateSecurityKeyOutput, error) DisassociateSecurityKeyRequest(*connect.DisassociateSecurityKeyInput) (*request.Request, *connect.DisassociateSecurityKeyOutput) + DisassociateTrafficDistributionGroupUser(*connect.DisassociateTrafficDistributionGroupUserInput) (*connect.DisassociateTrafficDistributionGroupUserOutput, error) + DisassociateTrafficDistributionGroupUserWithContext(aws.Context, *connect.DisassociateTrafficDistributionGroupUserInput, ...request.Option) (*connect.DisassociateTrafficDistributionGroupUserOutput, error) + DisassociateTrafficDistributionGroupUserRequest(*connect.DisassociateTrafficDistributionGroupUserInput) (*request.Request, *connect.DisassociateTrafficDistributionGroupUserOutput) + DismissUserContact(*connect.DismissUserContactInput) (*connect.DismissUserContactOutput, error) DismissUserContactWithContext(aws.Context, *connect.DismissUserContactInput, ...request.Option) (*connect.DismissUserContactOutput, error) DismissUserContactRequest(*connect.DismissUserContactInput) (*request.Request, *connect.DismissUserContactOutput) @@ -658,6 +666,13 @@ type ConnectAPI interface { ListTaskTemplatesPages(*connect.ListTaskTemplatesInput, func(*connect.ListTaskTemplatesOutput, bool) bool) error ListTaskTemplatesPagesWithContext(aws.Context, *connect.ListTaskTemplatesInput, func(*connect.ListTaskTemplatesOutput, bool) bool, ...request.Option) error + ListTrafficDistributionGroupUsers(*connect.ListTrafficDistributionGroupUsersInput) (*connect.ListTrafficDistributionGroupUsersOutput, error) + ListTrafficDistributionGroupUsersWithContext(aws.Context, *connect.ListTrafficDistributionGroupUsersInput, ...request.Option) (*connect.ListTrafficDistributionGroupUsersOutput, error) + ListTrafficDistributionGroupUsersRequest(*connect.ListTrafficDistributionGroupUsersInput) (*request.Request, *connect.ListTrafficDistributionGroupUsersOutput) + + ListTrafficDistributionGroupUsersPages(*connect.ListTrafficDistributionGroupUsersInput, func(*connect.ListTrafficDistributionGroupUsersOutput, bool) bool) error + ListTrafficDistributionGroupUsersPagesWithContext(aws.Context, *connect.ListTrafficDistributionGroupUsersInput, func(*connect.ListTrafficDistributionGroupUsersOutput, bool) bool, ...request.Option) error + ListTrafficDistributionGroups(*connect.ListTrafficDistributionGroupsInput) (*connect.ListTrafficDistributionGroupsOutput, error) ListTrafficDistributionGroupsWithContext(aws.Context, *connect.ListTrafficDistributionGroupsInput, ...request.Option) (*connect.ListTrafficDistributionGroupsOutput, error) ListTrafficDistributionGroupsRequest(*connect.ListTrafficDistributionGroupsInput) (*request.Request, *connect.ListTrafficDistributionGroupsOutput) diff --git a/service/elbv2/api.go b/service/elbv2/api.go index 643b4fb74c2..82e93a96506 100644 --- a/service/elbv2/api.go +++ b/service/elbv2/api.go @@ -1113,6 +1113,8 @@ func (c *ELBV2) DeregisterTargetsRequest(input *DeregisterTargetsInput) (req *re // the targets are deregistered, they no longer receive traffic from the load // balancer. // +// Note: If the specified target does not exist, the action returns successfully. +// // 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. @@ -3274,11 +3276,13 @@ func (c *ELBV2) SetSecurityGroupsRequest(input *SetSecurityGroupsInput) (req *re // SetSecurityGroups API operation for Elastic Load Balancing. // // Associates the specified security groups with the specified Application Load -// Balancer. The specified security groups override the previously associated -// security groups. +// Balancer or Network Load Balancer. The specified security groups override +// the previously associated security groups. +// +// You can't perform this operation on a Network Load Balancer unless you specified +// a security group for the load balancer when you created it. // -// You can't specify a security group for a Network Load Balancer or Gateway -// Load Balancer. +// You can't associate a security group with a Gateway Load Balancer. // // 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 @@ -4458,8 +4462,8 @@ type CreateLoadBalancerInput struct { // You cannot specify a scheme for a Gateway Load Balancer. Scheme *string `type:"string" enum:"LoadBalancerSchemeEnum"` - // [Application Load Balancers] The IDs of the security groups for the load - // balancer. + // [Application Load Balancers and Network Load Balancers] The IDs of the security + // groups for the load balancer. SecurityGroups []*string `type:"list"` // The IDs of the public subnets. You can specify only one subnet per Availability @@ -6836,6 +6840,14 @@ func (s *HttpRequestMethodConditionConfig) SetValues(v []*string) *HttpRequestMe // Information about an Elastic Load Balancing resource limit for your Amazon // Web Services account. +// +// For more information, see the following: +// +// - Quotas for your Application Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html) +// +// - Quotas for your Network Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-limits.html) +// +// - Quotas for your Gateway Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/quotas-limits.html) type Limit struct { _ struct{} `type:"structure"` @@ -7029,6 +7041,10 @@ type LoadBalancer struct { // The public DNS name of the load balancer. DNSName *string `type:"string"` + // Indicates whether to evaluate inbound security group rules for traffic sent + // to a Network Load Balancer through Amazon Web Services PrivateLink. + EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic *string `type:"string"` + // The type of IP addresses used by the subnets for your load balancer. The // possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and // IPv6 addresses). @@ -7112,6 +7128,12 @@ func (s *LoadBalancer) SetDNSName(v string) *LoadBalancer { return s } +// SetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic sets the EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic field's value. +func (s *LoadBalancer) SetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(v string) *LoadBalancer { + s.EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic = &v + return s +} + // SetIpAddressType sets the IpAddressType field's value. func (s *LoadBalancer) SetIpAddressType(v string) *LoadBalancer { s.IpAddressType = &v @@ -8683,6 +8705,8 @@ func (s *Rule) SetRuleArn(v string) *Rule { // can also optionally include one or more of each of the following conditions: // http-header and query-string. Note that the value for a condition cannot // be empty. +// +// For more information, see Quotas for your Application Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html). type RuleCondition struct { _ struct{} `type:"structure"` @@ -9056,6 +9080,11 @@ func (s *SetRulePrioritiesOutput) SetRules(v []*Rule) *SetRulePrioritiesOutput { type SetSecurityGroupsInput struct { _ struct{} `type:"structure"` + // Indicates whether to evaluate inbound security group rules for traffic sent + // to a Network Load Balancer through Amazon Web Services PrivateLink. The default + // is on. + EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic *string `type:"string" enum:"EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum"` + // The Amazon Resource Name (ARN) of the load balancer. // // LoadBalancerArn is a required field @@ -9101,6 +9130,12 @@ func (s *SetSecurityGroupsInput) Validate() error { return nil } +// SetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic sets the EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic field's value. +func (s *SetSecurityGroupsInput) SetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(v string) *SetSecurityGroupsInput { + s.EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic = &v + return s +} + // SetLoadBalancerArn sets the LoadBalancerArn field's value. func (s *SetSecurityGroupsInput) SetLoadBalancerArn(v string) *SetSecurityGroupsInput { s.LoadBalancerArn = &v @@ -9116,6 +9151,10 @@ func (s *SetSecurityGroupsInput) SetSecurityGroups(v []*string) *SetSecurityGrou type SetSecurityGroupsOutput struct { _ struct{} `type:"structure"` + // Indicates whether to evaluate inbound security group rules for traffic sent + // to a Network Load Balancer through Amazon Web Services PrivateLink. + EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic *string `type:"string" enum:"EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum"` + // The IDs of the security groups associated with the load balancer. SecurityGroupIds []*string `type:"list"` } @@ -9138,6 +9177,12 @@ func (s SetSecurityGroupsOutput) GoString() string { return s.String() } +// SetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic sets the EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic field's value. +func (s *SetSecurityGroupsOutput) SetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(v string) *SetSecurityGroupsOutput { + s.EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic = &v + return s +} + // SetSecurityGroupIds sets the SecurityGroupIds field's value. func (s *SetSecurityGroupsOutput) SetSecurityGroupIds(v []*string) *SetSecurityGroupsOutput { s.SecurityGroupIds = v @@ -9150,7 +9195,7 @@ type SetSubnetsInput struct { // [Network Load Balancers] The type of IP addresses used by the subnets for // your load balancer. The possible values are ipv4 (for IPv4 addresses) and // dualstack (for IPv4 and IPv6 addresses). You can’t specify dualstack for - // a load balancer with a UDP or TCP_UDP listener. . + // a load balancer with a UDP or TCP_UDP listener. IpAddressType *string `type:"string" enum:"IpAddressType"` // The Amazon Resource Name (ARN) of the load balancer. @@ -9590,7 +9635,8 @@ type TargetDescription struct { // The port on which the target is listening. If the target group protocol is // GENEVE, the supported port is 6081. If the target type is alb, the targeted // Application Load Balancer must have at least one listener whose port matches - // the target group port. Not used if the target is a Lambda function. + // the target group port. This parameter is not used if the target is a Lambda + // function. Port *int64 `min:"1" type:"integer"` } @@ -9680,16 +9726,16 @@ type TargetGroup struct { // type defaults to ipv4. IpAddressType *string `type:"string" enum:"TargetGroupIpAddressTypeEnum"` - // The Amazon Resource Names (ARN) of the load balancers that route traffic - // to this target group. + // The Amazon Resource Name (ARN) of the load balancer that routes traffic to + // this target group. You can use each target group with only one load balancer. LoadBalancerArns []*string `type:"list"` // The HTTP or gRPC codes to use when checking for a successful response from // a target. Matcher *Matcher `type:"structure"` - // The port on which the targets are listening. Not used if the target is a - // Lambda function. + // The port on which the targets are listening. This parameter is not used if + // the target is a Lambda function. Port *int64 `min:"1" type:"integer"` // The protocol to use for routing traffic to the targets. @@ -10314,6 +10360,22 @@ func AuthenticateOidcActionConditionalBehaviorEnum_Values() []string { } } +const ( + // EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnumOn is a EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum enum value + EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnumOn = "on" + + // EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnumOff is a EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum enum value + EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnumOff = "off" +) + +// EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum_Values returns all elements of the EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum enum +func EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum_Values() []string { + return []string{ + EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnumOn, + EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnumOff, + } +} + const ( // IpAddressTypeIpv4 is a IpAddressType enum value IpAddressTypeIpv4 = "ipv4" diff --git a/service/omics/api.go b/service/omics/api.go index 8f97cdbf29f..623603b0f9f 100644 --- a/service/omics/api.go +++ b/service/omics/api.go @@ -14308,6 +14308,9 @@ type GetRunTaskOutput struct { // The number of Graphics Processing Units (GPU) specified in the task. Gpus *int64 `locationName:"gpus" type:"integer"` + // The instance type for a task. + InstanceType *string `locationName:"instanceType" type:"string"` + // The task's log stream. LogStream *string `locationName:"logStream" type:"string"` @@ -14369,6 +14372,12 @@ func (s *GetRunTaskOutput) SetGpus(v int64) *GetRunTaskOutput { return s } +// SetInstanceType sets the InstanceType field's value. +func (s *GetRunTaskOutput) SetInstanceType(v string) *GetRunTaskOutput { + s.InstanceType = &v + return s +} + // SetLogStream sets the LogStream field's value. func (s *GetRunTaskOutput) SetLogStream(v string) *GetRunTaskOutput { s.LogStream = &v @@ -15795,7 +15804,7 @@ type ListAnnotationImportJobsInput struct { // The maximum number of jobs to return in one page of results. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // Specify the pagination token from a previous request to retrieve the next + // Specifies the pagination token from a previous request to retrieve the next // page of results. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` } @@ -15867,7 +15876,8 @@ type ListAnnotationImportJobsOutput struct { // A list of jobs. AnnotationImportJobs []*AnnotationImportJobItem `locationName:"annotationImportJobs" type:"list"` - // A pagination token that's included if more results are available. + // Specifies the pagination token from a previous request to retrieve the next + // page of results. NextToken *string `locationName:"nextToken" type:"string"` } @@ -21949,6 +21959,9 @@ type TaskListItem struct { // The number of Graphics Processing Units (GPU) specified for the task. Gpus *int64 `locationName:"gpus" type:"integer"` + // The instance type for a task. + InstanceType *string `locationName:"instanceType" type:"string"` + // The task's memory use in gigabyes. Memory *int64 `locationName:"memory" min:"1" type:"integer"` @@ -22004,6 +22017,12 @@ func (s *TaskListItem) SetGpus(v int64) *TaskListItem { return s } +// SetInstanceType sets the InstanceType field's value. +func (s *TaskListItem) SetInstanceType(v string) *TaskListItem { + s.InstanceType = &v + return s +} + // SetMemory sets the Memory field's value. func (s *TaskListItem) SetMemory(v int64) *TaskListItem { s.Memory = &v diff --git a/service/secretsmanager/api.go b/service/secretsmanager/api.go index 92a89253ee1..f38f07ffa44 100644 --- a/service/secretsmanager/api.go +++ b/service/secretsmanager/api.go @@ -1231,6 +1231,21 @@ func (c *SecretsManager) ListSecretsRequest(input *ListSecretsInput) (req *reque // - InvalidParameterException // The parameter name or value is invalid. // +// - InvalidRequestException +// A parameter value is not valid for the current state of the resource. +// +// Possible causes: +// +// - The secret is scheduled for deletion. +// +// - You tried to enable rotation on a secret that doesn't already have a +// Lambda function ARN configured and you didn't include such an ARN as a +// parameter in this call. +// +// - The secret is managed by another service, and you must use that service +// to update it. For more information, see Secrets managed by other Amazon +// Web Services services (https://docs.aws.amazon.com/secretsmanager/latest/userguide/service-linked-secrets.html). +// // - InvalidNextTokenException // The NextToken value is invalid. // diff --git a/service/secretsmanager/examples_test.go b/service/secretsmanager/examples_test.go index 3bda41472f6..3cc00b7cc1b 100644 --- a/service/secretsmanager/examples_test.go +++ b/service/secretsmanager/examples_test.go @@ -371,6 +371,8 @@ func ExampleSecretsManager_ListSecrets_shared00() { switch aerr.Code() { case secretsmanager.ErrCodeInvalidParameterException: fmt.Println(secretsmanager.ErrCodeInvalidParameterException, aerr.Error()) + case secretsmanager.ErrCodeInvalidRequestException: + fmt.Println(secretsmanager.ErrCodeInvalidRequestException, aerr.Error()) case secretsmanager.ErrCodeInvalidNextTokenException: fmt.Println(secretsmanager.ErrCodeInvalidNextTokenException, aerr.Error()) case secretsmanager.ErrCodeInternalServiceError: diff --git a/service/transfer/api.go b/service/transfer/api.go index c44d7f07f0d..505019c4bf4 100644 --- a/service/transfer/api.go +++ b/service/transfer/api.go @@ -259,10 +259,12 @@ func (c *Transfer) CreateConnectorRequest(input *CreateConnectorInput) (req *req // CreateConnector API operation for AWS Transfer Family. // -// Creates the connector, which captures the parameters for an outbound connection -// for the AS2 or SFTP protocol. The connector is required for sending files -// to an externally hosted AS2 or SFTP server. For more details about AS2 connectors, -// see Create AS2 connectors (https://docs.aws.amazon.com/transfer/latest/userguide/create-b2b-server.html#configure-as2-connector). +// Creates the connector, which captures the parameters for a connection for +// the AS2 or SFTP protocol. For AS2, the connector is required for sending +// files to an externally hosted AS2 server. For SFTP, the connector is required +// when sending files to an SFTP server or receiving files from an SFTP server. +// For more details about connectors, see Create AS2 connectors (https://docs.aws.amazon.com/transfer/latest/userguide/create-b2b-server.html#configure-as2-connector) +// and Create SFTP connectors (https://docs.aws.amazon.com/transfer/latest/userguide/configure-sftp-connector.html). // // You must specify exactly one configuration object: either for AS2 (As2Config) // or SFTP (SftpConfig). @@ -4883,12 +4885,12 @@ func (c *Transfer) StartFileTransferRequest(input *StartFileTransferInput) (req // - For an SFTP connector, the file transfer can be either outbound or inbound. // In both cases, you specify the ConnectorId. Depending on the direction // of the transfer, you also specify the following items: If you are transferring -// file from a partner's SFTP server to a Transfer Family server, you specify -// one or more RetreiveFilePaths to identify the files you want to transfer, -// and a LocalDirectoryPath to specify the destination folder. If you are -// transferring file to a partner's SFTP server from Amazon Web Services -// storage, you specify one or more SendFilePaths to identify the files you -// want to transfer, and a RemoteDirectoryPath to specify the destination +// file from a partner's SFTP server to Amazon Web Services storage, you +// specify one or more RetreiveFilePaths to identify the files you want to +// transfer, and a LocalDirectoryPath to specify the destination folder. +// If you are transferring file to a partner's SFTP server from Amazon Web +// Services storage, you specify one or more SendFilePaths to identify the +// files you want to transfer, and a RemoteDirectoryPath to specify the destination // folder. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -7006,6 +7008,12 @@ func (s *CreateAccessOutput) SetServerId(v string) *CreateAccessOutput { type CreateAgreementInput struct { _ struct{} `type:"structure"` + // Connectors are used to send files using either the AS2 or SFTP protocol. + // For the access role, provide the Amazon Resource Name (ARN) of the Identity + // and Access Management role to use. + // + // For AS2 connectors + // // With AS2, you can send files by calling StartFileTransfer and specifying // the file paths in the request parameter, SendFilePaths. We use the file’s // parent directory (for example, for --send-file-paths /bucket/dir/file.txt, @@ -7023,6 +7031,13 @@ type CreateAgreementInput struct { // Web Services managed key in Secrets Manager, then the role also needs the // kms:Decrypt permission for that key. // + // For SFTP connectors + // + // Make sure that the access role provides read and write access to the parent + // directory of the file location that's used in the StartFileTransfer request. + // Additionally, make sure that the role provides secretsmanager:GetSecretValue + // permission to Secrets Manager. + // // AccessRole is a required field AccessRole *string `min:"20" type:"string" required:"true"` @@ -7216,6 +7231,12 @@ func (s *CreateAgreementOutput) SetAgreementId(v string) *CreateAgreementOutput type CreateConnectorInput struct { _ struct{} `type:"structure"` + // Connectors are used to send files using either the AS2 or SFTP protocol. + // For the access role, provide the Amazon Resource Name (ARN) of the Identity + // and Access Management role to use. + // + // For AS2 connectors + // // With AS2, you can send files by calling StartFileTransfer and specifying // the file paths in the request parameter, SendFilePaths. We use the file’s // parent directory (for example, for --send-file-paths /bucket/dir/file.txt, @@ -7233,6 +7254,13 @@ type CreateConnectorInput struct { // Web Services managed key in Secrets Manager, then the role also needs the // kms:Decrypt permission for that key. // + // For SFTP connectors + // + // Make sure that the access role provides read and write access to the parent + // directory of the file location that's used in the StartFileTransfer request. + // Additionally, make sure that the role provides secretsmanager:GetSecretValue + // permission to Secrets Manager. + // // AccessRole is a required field AccessRole *string `min:"20" type:"string" required:"true"` @@ -10675,6 +10703,12 @@ func (s *DescribedAccess) SetRole(v string) *DescribedAccess { type DescribedAgreement struct { _ struct{} `type:"structure"` + // Connectors are used to send files using either the AS2 or SFTP protocol. + // For the access role, provide the Amazon Resource Name (ARN) of the Identity + // and Access Management role to use. + // + // For AS2 connectors + // // With AS2, you can send files by calling StartFileTransfer and specifying // the file paths in the request parameter, SendFilePaths. We use the file’s // parent directory (for example, for --send-file-paths /bucket/dir/file.txt, @@ -10691,6 +10725,13 @@ type DescribedAgreement struct { // If the secret is encrypted using a customer-managed key instead of the Amazon // Web Services managed key in Secrets Manager, then the role also needs the // kms:Decrypt permission for that key. + // + // For SFTP connectors + // + // Make sure that the access role provides read and write access to the parent + // directory of the file location that's used in the StartFileTransfer request. + // Additionally, make sure that the role provides secretsmanager:GetSecretValue + // permission to Secrets Manager. AccessRole *string `min:"20" type:"string"` // A unique identifier for the agreement. This identifier is returned when you @@ -10971,6 +11012,12 @@ func (s *DescribedCertificate) SetUsage(v string) *DescribedCertificate { type DescribedConnector struct { _ struct{} `type:"structure"` + // Connectors are used to send files using either the AS2 or SFTP protocol. + // For the access role, provide the Amazon Resource Name (ARN) of the Identity + // and Access Management role to use. + // + // For AS2 connectors + // // With AS2, you can send files by calling StartFileTransfer and specifying // the file paths in the request parameter, SendFilePaths. We use the file’s // parent directory (for example, for --send-file-paths /bucket/dir/file.txt, @@ -10987,6 +11034,13 @@ type DescribedConnector struct { // If the secret is encrypted using a customer-managed key instead of the Amazon // Web Services managed key in Secrets Manager, then the role also needs the // kms:Decrypt permission for that key. + // + // For SFTP connectors + // + // Make sure that the access role provides read and write access to the parent + // directory of the file location that's used in the StartFileTransfer request. + // Additionally, make sure that the role provides secretsmanager:GetSecretValue + // permission to Secrets Manager. AccessRole *string `min:"20" type:"string"` // The unique Amazon Resource Name (ARN) for the connector. @@ -16517,6 +16571,8 @@ type StartFileTransferInput struct { // One or more source paths for the Transfer Family server. Each string represents // a source file path for one outbound file transfer. For example, DOC-EXAMPLE-BUCKET/myfile.txt . + // + // Replace DOC-EXAMPLE-BUCKET with one of your actual buckets. SendFilePaths []*string `min:"1" type:"list"` } @@ -17724,6 +17780,12 @@ func (s *UpdateAccessOutput) SetServerId(v string) *UpdateAccessOutput { type UpdateAgreementInput struct { _ struct{} `type:"structure"` + // Connectors are used to send files using either the AS2 or SFTP protocol. + // For the access role, provide the Amazon Resource Name (ARN) of the Identity + // and Access Management role to use. + // + // For AS2 connectors + // // With AS2, you can send files by calling StartFileTransfer and specifying // the file paths in the request parameter, SendFilePaths. We use the file’s // parent directory (for example, for --send-file-paths /bucket/dir/file.txt, @@ -17740,6 +17802,13 @@ type UpdateAgreementInput struct { // If the secret is encrypted using a customer-managed key instead of the Amazon // Web Services managed key in Secrets Manager, then the role also needs the // kms:Decrypt permission for that key. + // + // For SFTP connectors + // + // Make sure that the access role provides read and write access to the parent + // directory of the file location that's used in the StartFileTransfer request. + // Additionally, make sure that the role provides secretsmanager:GetSecretValue + // permission to Secrets Manager. AccessRole *string `min:"20" type:"string"` // A unique identifier for the agreement. This identifier is returned when you @@ -18025,6 +18094,12 @@ func (s *UpdateCertificateOutput) SetCertificateId(v string) *UpdateCertificateO type UpdateConnectorInput struct { _ struct{} `type:"structure"` + // Connectors are used to send files using either the AS2 or SFTP protocol. + // For the access role, provide the Amazon Resource Name (ARN) of the Identity + // and Access Management role to use. + // + // For AS2 connectors + // // With AS2, you can send files by calling StartFileTransfer and specifying // the file paths in the request parameter, SendFilePaths. We use the file’s // parent directory (for example, for --send-file-paths /bucket/dir/file.txt, @@ -18041,6 +18116,13 @@ type UpdateConnectorInput struct { // If the secret is encrypted using a customer-managed key instead of the Amazon // Web Services managed key in Secrets Manager, then the role also needs the // kms:Decrypt permission for that key. + // + // For SFTP connectors + // + // Make sure that the access role provides read and write access to the parent + // directory of the file location that's used in the StartFileTransfer request. + // Additionally, make sure that the role provides secretsmanager:GetSecretValue + // permission to Secrets Manager. AccessRole *string `min:"20" type:"string"` // A structure that contains the parameters for an AS2 connector object.