diff --git a/CHANGELOG.md b/CHANGELOG.md index feed38c4198..ec81160a3e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,23 @@ +Release v1.46.5 (2023-10-26) +=== + +### Service Client Updates +* `service/appstream`: Updates service API and documentation + * This release introduces multi-session fleets, allowing customers to provision more than one user session on a single fleet instance. +* `service/ec2`: Updates service API, documentation, and paginators + * Launching GetSecurityGroupsForVpc API. This API gets security groups that can be associated by the AWS account making the request with network interfaces in the specified VPC. +* `service/network-firewall`: Updates service API and documentation +* `service/opensearch`: Updates service API and documentation +* `service/redshift`: Updates service API, documentation, and paginators + * Add Redshift APIs GetResourcePolicy, DeleteResourcePolicy, PutResourcePolicy and DescribeInboundIntegrations for the new Amazon Redshift Zero-ETL integration feature, which can be used to control data ingress into Redshift namespace, and view inbound integrations. +* `service/sagemaker`: Updates service API and documentation + * Amazon Sagemaker Autopilot now supports Text Generation jobs. +* `service/sns`: Updates service API and documentation + * Message Archiving and Replay is now supported in Amazon SNS for FIFO topics. +* `service/ssm-sap`: Updates service API and documentation +* `service/transfer`: Updates service API, documentation, waiters, and paginators + * No API changes from previous release. This release migrated the model to Smithy keeping all features unchanged. + Release v1.46.4 (2023-10-25) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 6c26194f412..bb7a8e0526b 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -19175,6 +19175,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-northeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-northeast-3", + }: endpoint{}, endpointKey{ Region: "ap-south-1", }: endpoint{}, @@ -19227,6 +19230,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-northeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-northeast-3", + }: endpoint{}, endpointKey{ Region: "ap-south-1", }: endpoint{}, @@ -19279,6 +19285,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-northeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-northeast-3", + }: endpoint{}, endpointKey{ Region: "ap-south-1", }: endpoint{}, diff --git a/aws/version.go b/aws/version.go index 742791a3cbb..7b36bd0507b 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.46.4" +const SDKVersion = "1.46.5" diff --git a/models/apis/appstream/2016-12-01/api-2.json b/models/apis/appstream/2016-12-01/api-2.json index 6a083b058d9..85b33be9ac6 100644 --- a/models/apis/appstream/2016-12-01/api-2.json +++ b/models/apis/appstream/2016-12-01/api-2.json @@ -1487,9 +1487,9 @@ }, "ComputeCapacity":{ "type":"structure", - "required":["DesiredInstances"], "members":{ - "DesiredInstances":{"shape":"Integer"} + "DesiredInstances":{"shape":"Integer"}, + "DesiredSessions":{"shape":"Integer"} } }, "ComputeCapacityStatus":{ @@ -1499,7 +1499,11 @@ "Desired":{"shape":"Integer"}, "Running":{"shape":"Integer"}, "InUse":{"shape":"Integer"}, - "Available":{"shape":"Integer"} + "Available":{"shape":"Integer"}, + "DesiredUserSessions":{"shape":"Integer"}, + "AvailableUserSessions":{"shape":"Integer"}, + "ActiveUserSessions":{"shape":"Integer"}, + "ActualUserSessions":{"shape":"Integer"} } }, "ConcurrentModificationException":{ @@ -1692,7 +1696,8 @@ "Platform":{"shape":"PlatformType"}, "MaxConcurrentSessions":{"shape":"Integer"}, "UsbDeviceFilterStrings":{"shape":"UsbDeviceFilterStrings"}, - "SessionScriptS3Location":{"shape":"S3Location"} + "SessionScriptS3Location":{"shape":"S3Location"}, + "MaxSessionsPerInstance":{"shape":"Integer"} } }, "CreateFleetResult":{ @@ -2186,12 +2191,13 @@ "FleetName" ], "members":{ - "StackName":{"shape":"String"}, - "FleetName":{"shape":"String"}, + "StackName":{"shape":"Name"}, + "FleetName":{"shape":"Name"}, "UserId":{"shape":"UserId"}, "NextToken":{"shape":"String"}, "Limit":{"shape":"Integer"}, - "AuthenticationType":{"shape":"AuthenticationType"} + "AuthenticationType":{"shape":"AuthenticationType"}, + "InstanceId":{"shape":"String"} } }, "DescribeSessionsResult":{ @@ -2540,7 +2546,8 @@ "Platform":{"shape":"PlatformType"}, "MaxConcurrentSessions":{"shape":"Integer"}, "UsbDeviceFilterStrings":{"shape":"UsbDeviceFilterStrings"}, - "SessionScriptS3Location":{"shape":"S3Location"} + "SessionScriptS3Location":{"shape":"S3Location"}, + "MaxSessionsPerInstance":{"shape":"Integer"} } }, "FleetAttribute":{ @@ -2551,7 +2558,8 @@ "DOMAIN_JOIN_INFO", "IAM_ROLE_ARN", "USB_DEVICE_FILTER_STRINGS", - "SESSION_SCRIPT_S3_LOCATION" + "SESSION_SCRIPT_S3_LOCATION", + "MAX_SESSIONS_PER_INSTANCE" ] }, "FleetAttributes":{ @@ -3063,7 +3071,8 @@ "StartTime":{"shape":"Timestamp"}, "MaxExpirationTime":{"shape":"Timestamp"}, "AuthenticationType":{"shape":"AuthenticationType"}, - "NetworkAccessConfiguration":{"shape":"NetworkAccessConfiguration"} + "NetworkAccessConfiguration":{"shape":"NetworkAccessConfiguration"}, + "InstanceId":{"shape":"String"} } }, "SessionConnectionState":{ @@ -3438,7 +3447,7 @@ "members":{ "ImageName":{"shape":"String"}, "ImageArn":{"shape":"Arn"}, - "Name":{"shape":"String"}, + "Name":{"shape":"Name"}, "InstanceType":{"shape":"String"}, "ComputeCapacity":{"shape":"ComputeCapacity"}, "VpcConfig":{"shape":"VpcConfig"}, @@ -3459,7 +3468,8 @@ "Platform":{"shape":"PlatformType"}, "MaxConcurrentSessions":{"shape":"Integer"}, "UsbDeviceFilterStrings":{"shape":"UsbDeviceFilterStrings"}, - "SessionScriptS3Location":{"shape":"S3Location"} + "SessionScriptS3Location":{"shape":"S3Location"}, + "MaxSessionsPerInstance":{"shape":"Integer"} } }, "UpdateFleetResult":{ diff --git a/models/apis/appstream/2016-12-01/docs-2.json b/models/apis/appstream/2016-12-01/docs-2.json index 28bfa281213..018893bf58f 100644 --- a/models/apis/appstream/2016-12-01/docs-2.json +++ b/models/apis/appstream/2016-12-01/docs-2.json @@ -1319,14 +1319,20 @@ "base": null, "refs": { "ComputeCapacity$DesiredInstances": "

The desired number of streaming instances.

", + "ComputeCapacity$DesiredSessions": "

The desired number of user sessions for a multi-session fleet. This is not allowed for single-session fleets.

When you create a fleet, you must set either the DesiredSessions or DesiredInstances attribute, based on the type of fleet you create. You can’t define both attributes or leave both attributes blank.

", "ComputeCapacityStatus$Desired": "

The desired number of streaming instances.

", "ComputeCapacityStatus$Running": "

The total number of simultaneous streaming instances that are running.

", "ComputeCapacityStatus$InUse": "

The number of instances in use for streaming.

", "ComputeCapacityStatus$Available": "

The number of currently available instances that can be used to stream sessions.

", - "CreateFleetRequest$MaxUserDurationInSeconds": "

The maximum amount of time that a streaming session can remain active, in seconds. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance.

Specify a value between 600 and 360000.

", + "ComputeCapacityStatus$DesiredUserSessions": "

The total number of sessions slots that are either running or pending. This represents the total number of concurrent streaming sessions your fleet can support in a steady state.

DesiredUserSessionCapacity = ActualUserSessionCapacity + PendingUserSessionCapacity

This only applies to multi-session fleets.

", + "ComputeCapacityStatus$AvailableUserSessions": "

The number of idle session slots currently available for user sessions.

AvailableUserSessionCapacity = ActualUserSessionCapacity - ActiveUserSessions

This only applies to multi-session fleets.

", + "ComputeCapacityStatus$ActiveUserSessions": "

The number of user sessions currently being used for streaming sessions. This only applies to multi-session fleets.

", + "ComputeCapacityStatus$ActualUserSessions": "

The total number of session slots that are available for streaming or are currently streaming.

ActualUserSessionCapacity = AvailableUserSessionCapacity + ActiveUserSessions

This only applies to multi-session fleets.

", + "CreateFleetRequest$MaxUserDurationInSeconds": "

The maximum amount of time that a streaming session can remain active, in seconds. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance.

Specify a value between 600 and 432000.

", "CreateFleetRequest$DisconnectTimeoutInSeconds": "

The amount of time that a streaming session remains active after users disconnect. If users try to reconnect to the streaming session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance.

Specify a value between 60 and 360000.

", "CreateFleetRequest$IdleDisconnectTimeoutInSeconds": "

The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the DisconnectTimeoutInSeconds time interval begins. Users are notified before they are disconnected due to inactivity. If they try to reconnect to the streaming session before the time interval specified in DisconnectTimeoutInSeconds elapses, they are connected to their previous session. Users are considered idle when they stop providing keyboard or mouse input during their streaming session. File uploads and downloads, audio in, audio out, and pixels changing do not qualify as user activity. If users continue to be idle after the time interval in IdleDisconnectTimeoutInSeconds elapses, they are disconnected.

To prevent users from being disconnected due to inactivity, specify a value of 0. Otherwise, specify a value between 60 and 3600. The default value is 0.

If you enable this feature, we recommend that you specify a value that corresponds exactly to a whole number of minutes (for example, 60, 120, and 180). If you don't do this, the value is rounded to the nearest minute. For example, if you specify a value of 70, users are disconnected after 1 minute of inactivity. If you specify a value that is at the midpoint between two different minutes, the value is rounded up. For example, if you specify a value of 90, users are disconnected after 2 minutes of inactivity.

", "CreateFleetRequest$MaxConcurrentSessions": "

The maximum concurrent sessions of the Elastic fleet. This is required for Elastic fleets, and not allowed for other fleet types.

", + "CreateFleetRequest$MaxSessionsPerInstance": "

The maximum number of user sessions on an instance. This only applies to multi-session fleets.

", "DescribeAppBlockBuilderAppBlockAssociationsRequest$MaxResults": "

The maximum size of each page of results.

", "DescribeAppBlockBuildersRequest$MaxResults": "

The maximum size of each page of results. The maximum value is 25.

", "DescribeAppBlocksRequest$MaxResults": "

The maximum size of each page of results.

", @@ -1342,12 +1348,14 @@ "Fleet$DisconnectTimeoutInSeconds": "

The amount of time that a streaming session remains active after users disconnect. If they try to reconnect to the streaming session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance.

Specify a value between 60 and 360000.

", "Fleet$IdleDisconnectTimeoutInSeconds": "

The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the DisconnectTimeoutInSeconds time interval begins. Users are notified before they are disconnected due to inactivity. If users try to reconnect to the streaming session before the time interval specified in DisconnectTimeoutInSeconds elapses, they are connected to their previous session. Users are considered idle when they stop providing keyboard or mouse input during their streaming session. File uploads and downloads, audio in, audio out, and pixels changing do not qualify as user activity. If users continue to be idle after the time interval in IdleDisconnectTimeoutInSeconds elapses, they are disconnected.

To prevent users from being disconnected due to inactivity, specify a value of 0. Otherwise, specify a value between 60 and 3600. The default value is 0.

If you enable this feature, we recommend that you specify a value that corresponds exactly to a whole number of minutes (for example, 60, 120, and 180). If you don't do this, the value is rounded to the nearest minute. For example, if you specify a value of 70, users are disconnected after 1 minute of inactivity. If you specify a value that is at the midpoint between two different minutes, the value is rounded up. For example, if you specify a value of 90, users are disconnected after 2 minutes of inactivity.

", "Fleet$MaxConcurrentSessions": "

The maximum number of concurrent sessions for the fleet.

", + "Fleet$MaxSessionsPerInstance": "

The maximum number of user sessions on an instance. This only applies to multi-session fleets.

", "ListEntitledApplicationsRequest$MaxResults": "

The maximum size of each page of results.

", "ScriptDetails$TimeoutInSeconds": "

The run timeout, in seconds, for the script.

", "UpdateFleetRequest$MaxUserDurationInSeconds": "

The maximum amount of time that a streaming session can remain active, in seconds. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance.

Specify a value between 600 and 432000.

", "UpdateFleetRequest$DisconnectTimeoutInSeconds": "

The amount of time that a streaming session remains active after users disconnect. If users try to reconnect to the streaming session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance.

Specify a value between 60 and 360000.

", "UpdateFleetRequest$IdleDisconnectTimeoutInSeconds": "

The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the DisconnectTimeoutInSeconds time interval begins. Users are notified before they are disconnected due to inactivity. If users try to reconnect to the streaming session before the time interval specified in DisconnectTimeoutInSeconds elapses, they are connected to their previous session. Users are considered idle when they stop providing keyboard or mouse input during their streaming session. File uploads and downloads, audio in, audio out, and pixels changing do not qualify as user activity. If users continue to be idle after the time interval in IdleDisconnectTimeoutInSeconds elapses, they are disconnected.

To prevent users from being disconnected due to inactivity, specify a value of 0. Otherwise, specify a value between 60 and 3600. The default value is 0.

If you enable this feature, we recommend that you specify a value that corresponds exactly to a whole number of minutes (for example, 60, 120, and 180). If you don't do this, the value is rounded to the nearest minute. For example, if you specify a value of 70, users are disconnected after 1 minute of inactivity. If you specify a value that is at the midpoint between two different minutes, the value is rounded up. For example, if you specify a value of 90, users are disconnected after 2 minutes of inactivity.

", - "UpdateFleetRequest$MaxConcurrentSessions": "

The maximum number of concurrent sessions for a fleet.

" + "UpdateFleetRequest$MaxConcurrentSessions": "

The maximum number of concurrent sessions for a fleet.

", + "UpdateFleetRequest$MaxSessionsPerInstance": "

The maximum number of user sessions on an instance. This only applies to multi-session fleets.

" } }, "InvalidAccountStatusException": { @@ -1486,6 +1494,8 @@ "DescribeEntitlementsRequest$StackName": "

The name of the stack with which the entitlement is associated.

", "DescribeImagePermissionsRequest$Name": "

The name of the private image for which to describe permissions. The image must be one that you own.

", "DescribeImagePermissionsResult$Name": "

The name of the private image.

", + "DescribeSessionsRequest$StackName": "

The name of the stack. This value is case-sensitive.

", + "DescribeSessionsRequest$FleetName": "

The name of the fleet. This value is case-sensitive.

", "DisassociateAppBlockBuilderAppBlockRequest$AppBlockBuilderName": "

The name of the app block builder.

", "DisassociateApplicationFleetRequest$FleetName": "

The name of the fleet.

", "DisassociateApplicationFromEntitlementRequest$StackName": "

The name of the stack with which the entitlement is associated.

", @@ -1500,6 +1510,7 @@ "UpdateApplicationRequest$Name": "

The name of the application. This name is visible to users when display name is not specified.

", "UpdateEntitlementRequest$Name": "

The name of the entitlement.

", "UpdateEntitlementRequest$StackName": "

The name of the stack with which the entitlement is associated.

", + "UpdateFleetRequest$Name": "

A unique name for the fleet.

", "UpdateImagePermissionsRequest$Name": "

The name of the private image.

" } }, @@ -1929,9 +1940,8 @@ "DescribeImagePermissionsResult$NextToken": "

The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

", "DescribeImagesRequest$NextToken": "

The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

", "DescribeImagesResult$NextToken": "

The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

", - "DescribeSessionsRequest$StackName": "

The name of the stack. This value is case-sensitive.

", - "DescribeSessionsRequest$FleetName": "

The name of the fleet. This value is case-sensitive.

", "DescribeSessionsRequest$NextToken": "

The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

", + "DescribeSessionsRequest$InstanceId": "

The identifier for the instance hosting the session.

", "DescribeSessionsResult$NextToken": "

The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

", "DescribeStacksRequest$NextToken": "

The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

", "DescribeStacksResult$NextToken": "

The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

", @@ -1987,6 +1997,7 @@ "Session$Id": "

The identifier of the streaming session.

", "Session$StackName": "

The name of the stack for the streaming session.

", "Session$FleetName": "

The name of the fleet for the streaming session.

", + "Session$InstanceId": "

The identifier for the instance hosting the session.

", "Stack$Name": "

The name of the stack.

", "Stack$Description": "

The description to display.

", "Stack$DisplayName": "

The stack name to display.

", @@ -2002,7 +2013,6 @@ "UpdateApplicationRequest$WorkingDirectory": "

The working directory of the application.

", "UpdateApplicationRequest$LaunchParameters": "

The launch parameters of the application.

", "UpdateFleetRequest$ImageName": "

The name of the image used to create the fleet.

", - "UpdateFleetRequest$Name": "

A unique name for the fleet.

", "UpdateFleetRequest$InstanceType": "

The instance type to use when launching fleet instances. The following instance types are available:

The following instance types are available for Elastic fleets:

", "UpdateStackRequest$Name": "

The name of the stack.

", "UsageReportSubscription$S3BucketName": "

The Amazon S3 bucket where generated reports are stored.

If you enabled on-instance session scripts and Amazon S3 logging for your session script configuration, AppStream 2.0 created an S3 bucket to store the script output. The bucket is unique to your account and Region. When you enable usage reporting in this case, AppStream 2.0 uses the same bucket to store your usage reports. If you haven't already enabled on-instance session scripts, when you enable usage reports, AppStream 2.0 creates a new S3 bucket.

", diff --git a/models/apis/appstream/2016-12-01/endpoint-rule-set-1.json b/models/apis/appstream/2016-12-01/endpoint-rule-set-1.json index 28c0f984e51..680ab66595b 100644 --- a/models/apis/appstream/2016-12-01/endpoint-rule-set-1.json +++ b/models/apis/appstream/2016-12-01/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,11 +212,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -231,14 +227,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -252,7 +250,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -272,7 +269,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -283,14 +279,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -351,9 +349,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json index d7b0c02e489..71600864378 100755 --- a/models/apis/ec2/2016-11-15/api-2.json +++ b/models/apis/ec2/2016-11-15/api-2.json @@ -3982,6 +3982,15 @@ "input":{"shape":"GetReservedInstancesExchangeQuoteRequest"}, "output":{"shape":"GetReservedInstancesExchangeQuoteResult"} }, + "GetSecurityGroupsForVpc":{ + "name":"GetSecurityGroupsForVpc", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetSecurityGroupsForVpcRequest"}, + "output":{"shape":"GetSecurityGroupsForVpcResult"} + }, "GetSerialConsoleAccessStatus":{ "name":"GetSerialConsoleAccessStatus", "http":{ @@ -23318,6 +23327,38 @@ } } }, + "GetSecurityGroupsForVpcRequest":{ + "type":"structure", + "required":["VpcId"], + "members":{ + "VpcId":{"shape":"VpcId"}, + "NextToken":{"shape":"String"}, + "MaxResults":{"shape":"GetSecurityGroupsForVpcRequestMaxResults"}, + "Filters":{ + "shape":"FilterList", + "locationName":"Filter" + }, + "DryRun":{"shape":"Boolean"} + } + }, + "GetSecurityGroupsForVpcRequestMaxResults":{ + "type":"integer", + "max":1000, + "min":5 + }, + "GetSecurityGroupsForVpcResult":{ + "type":"structure", + "members":{ + "NextToken":{ + "shape":"String", + "locationName":"nextToken" + }, + "SecurityGroupForVpcs":{ + "shape":"SecurityGroupForVpcList", + "locationName":"securityGroupForVpcSet" + } + } + }, "GetSerialConsoleAccessStatusRequest":{ "type":"structure", "members":{ @@ -38709,6 +38750,42 @@ } } }, + "SecurityGroupForVpc":{ + "type":"structure", + "members":{ + "Description":{ + "shape":"String", + "locationName":"description" + }, + "GroupName":{ + "shape":"String", + "locationName":"groupName" + }, + "OwnerId":{ + "shape":"String", + "locationName":"ownerId" + }, + "GroupId":{ + "shape":"String", + "locationName":"groupId" + }, + "Tags":{ + "shape":"TagList", + "locationName":"tagSet" + }, + "PrimaryVpcId":{ + "shape":"String", + "locationName":"primaryVpcId" + } + } + }, + "SecurityGroupForVpcList":{ + "type":"list", + "member":{ + "shape":"SecurityGroupForVpc", + "locationName":"item" + } + }, "SecurityGroupId":{"type":"string"}, "SecurityGroupIdList":{ "type":"list", diff --git a/models/apis/ec2/2016-11-15/docs-2.json b/models/apis/ec2/2016-11-15/docs-2.json index 747ea0ce30d..12ad9940450 100755 --- a/models/apis/ec2/2016-11-15/docs-2.json +++ b/models/apis/ec2/2016-11-15/docs-2.json @@ -447,6 +447,7 @@ "GetNetworkInsightsAccessScopeContent": "

Gets the content for the specified Network Access Scope.

", "GetPasswordData": "

Retrieves the encrypted administrator password for a running Windows instance.

The Windows password is generated at boot by the EC2Config service or EC2Launch scripts (Windows Server 2016 and later). This usually only happens the first time an instance is launched. For more information, see EC2Config and EC2Launch in the Amazon EC2 User Guide.

For the EC2Config service, the password is not generated for rebundled AMIs unless Ec2SetPassword is enabled before bundling.

The password is encrypted using the key pair that you specified when you launched the instance. You must provide the corresponding key pair file.

When you launch an instance, password generation and encryption may take a few minutes. If you try to retrieve the password before it's available, the output returns an empty string. We recommend that you wait up to 15 minutes after launching an instance before trying to retrieve the generated password.

", "GetReservedInstancesExchangeQuote": "

Returns a quote and exchange information for exchanging one or more specified Convertible Reserved Instances for a new Convertible Reserved Instance. If the exchange cannot be performed, the reason is returned in the response. Use AcceptReservedInstancesExchangeQuote to perform the exchange.

", + "GetSecurityGroupsForVpc": "

Gets security groups that can be associated by the Amazon Web Services account making the request with network interfaces in the specified VPC.

", "GetSerialConsoleAccessStatus": "

Retrieves the access status of your account to the EC2 serial console of all instances. By default, access to the EC2 serial console is disabled for your account. For more information, see Manage account access to the EC2 serial console in the Amazon EC2 User Guide.

", "GetSpotPlacementScores": "

Calculates the Spot placement score for a Region or Availability Zone based on the specified target capacity and compute requirements.

You can specify your compute requirements either by using InstanceRequirementsWithMetadata and letting Amazon EC2 choose the optimal instance types to fulfill your Spot request, or you can specify the instance types by using InstanceTypes.

For more information, see Spot placement score in the Amazon EC2 User Guide.

", "GetSubnetCidrReservations": "

Gets information about the subnet CIDR reservations.

", @@ -2435,6 +2436,7 @@ "GetPasswordDataRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "GetReservedInstancesExchangeQuoteRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "GetReservedInstancesExchangeQuoteResult$IsValidExchange": "

If true, the exchange is valid. If false, the exchange cannot be completed.

", + "GetSecurityGroupsForVpcRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "GetSerialConsoleAccessStatusRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "GetSerialConsoleAccessStatusResult$SerialConsoleAccessEnabled": "

If true, access to the EC2 serial console of all instances is enabled for your account. If false, access to the EC2 serial console of all instances is disabled for your account.

", "GetSpotPlacementScoresRequest$SingleAvailabilityZone": "

Specify true so that the response returns a list of scored Availability Zones. Otherwise, the response returns a list of scored Regions.

A list of scored Availability Zones is useful if you want to launch all of your Spot capacity into a single Availability Zone.

", @@ -9217,6 +9219,7 @@ "GetIpamPoolAllocationsRequest$Filters": "

One or more filters for the request. For more information about filtering, see Filtering CLI output.

", "GetIpamPoolCidrsRequest$Filters": "

One or more filters for the request. For more information about filtering, see Filtering CLI output.

", "GetIpamResourceCidrsRequest$Filters": "

One or more filters for the request. For more information about filtering, see Filtering CLI output.

", + "GetSecurityGroupsForVpcRequest$Filters": "

The filters. If using multiple filters, the results include security groups which match all filters.

", "GetSubnetCidrReservationsRequest$Filters": "

One or more filters.

", "GetTransitGatewayAttachmentPropagationsRequest$Filters": "

One or more filters. The possible values are:

", "GetTransitGatewayMulticastDomainAssociationsRequest$Filters": "

One or more filters. The possible values are:

", @@ -9956,6 +9959,22 @@ "refs": { } }, + "GetSecurityGroupsForVpcRequest": { + "base": null, + "refs": { + } + }, + "GetSecurityGroupsForVpcRequestMaxResults": { + "base": null, + "refs": { + "GetSecurityGroupsForVpcRequest$MaxResults": "

The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.

" + } + }, + "GetSecurityGroupsForVpcResult": { + "base": null, + "refs": { + } + }, "GetSerialConsoleAccessStatusRequest": { "base": null, "refs": { @@ -17666,6 +17685,18 @@ "SecurityGroupList$member": null } }, + "SecurityGroupForVpc": { + "base": "

A security group that can be used by interfaces in the VPC.

", + "refs": { + "SecurityGroupForVpcList$member": null + } + }, + "SecurityGroupForVpcList": { + "base": null, + "refs": { + "GetSecurityGroupsForVpcResult$SecurityGroupForVpcs": "

The security group that can be used by interfaces in the VPC.

" + } + }, "SecurityGroupId": { "base": null, "refs": { @@ -19283,6 +19314,8 @@ "GetReservedInstancesExchangeQuoteResult$CurrencyCode": "

The currency of the transaction.

", "GetReservedInstancesExchangeQuoteResult$PaymentDue": "

The total true upfront charge for the exchange.

", "GetReservedInstancesExchangeQuoteResult$ValidationFailureReason": "

Describes the reason why the exchange cannot be completed.

", + "GetSecurityGroupsForVpcRequest$NextToken": "

The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

", + "GetSecurityGroupsForVpcResult$NextToken": "

The token to include in another request to get the next page of items. This value is null when there are no more items to return.

", "GetSpotPlacementScoresRequest$NextToken": "

The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

", "GetSpotPlacementScoresResult$NextToken": "

The token to include in another request to get the next page of items. This value is null when there are no more items to return.

", "GetSubnetCidrReservationsRequest$NextToken": "

The token for the next page of results.

", @@ -20049,6 +20082,11 @@ "SecurityGroup$OwnerId": "

The Amazon Web Services account ID of the owner of the security group.

", "SecurityGroup$GroupId": "

The ID of the security group.

", "SecurityGroup$VpcId": "

The ID of the VPC for the security group.

", + "SecurityGroupForVpc$Description": "

The security group's description.

", + "SecurityGroupForVpc$GroupName": "

The security group name.

", + "SecurityGroupForVpc$OwnerId": "

The security group owner ID.

", + "SecurityGroupForVpc$GroupId": "

The security group ID.

", + "SecurityGroupForVpc$PrimaryVpcId": "

The VPC ID in which the security group was created.

", "SecurityGroupIdentifier$GroupId": "

The ID of the security group.

", "SecurityGroupIdentifier$GroupName": "

The name of the security group.

", "SecurityGroupReference$GroupId": "

The ID of your security group.

", @@ -20779,6 +20817,7 @@ "ReservedInstancesListing$Tags": "

Any tags assigned to the resource.

", "RouteTable$Tags": "

Any tags assigned to the route table.

", "SecurityGroup$Tags": "

Any tags assigned to the security group.

", + "SecurityGroupForVpc$Tags": "

The security group tags.

", "SecurityGroupRule$Tags": "

The tags applied to the security group rule.

", "ServiceConfiguration$Tags": "

The tags assigned to the service.

", "ServiceDetail$Tags": "

The tags assigned to the service.

", @@ -23226,6 +23265,7 @@ "Ec2InstanceConnectEndpoint$VpcId": "

The ID of the VPC in which the EC2 Instance Connect Endpoint was created.

", "EnableVpcClassicLinkDnsSupportRequest$VpcId": "

The ID of the VPC.

", "EnableVpcClassicLinkRequest$VpcId": "

The ID of the VPC.

", + "GetSecurityGroupsForVpcRequest$VpcId": "

The VPC ID where the security group can be used.

", "ModifyClientVpnEndpointRequest$VpcId": "

The ID of the VPC to associate with the Client VPN endpoint.

", "ModifyVpcAttributeRequest$VpcId": "

The ID of the VPC.

", "ModifyVpcTenancyRequest$VpcId": "

The ID of the VPC.

", diff --git a/models/apis/ec2/2016-11-15/paginators-1.json b/models/apis/ec2/2016-11-15/paginators-1.json index 7d3eebedeb8..522792d6af4 100755 --- a/models/apis/ec2/2016-11-15/paginators-1.json +++ b/models/apis/ec2/2016-11-15/paginators-1.json @@ -785,6 +785,12 @@ "output_token": "NextToken", "result_key": "AnalysisFindings" }, + "GetSecurityGroupsForVpc": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": "SecurityGroupForVpcs" + }, "GetSpotPlacementScores": { "input_token": "NextToken", "limit_key": "MaxResults", diff --git a/models/apis/network-firewall/2020-11-12/api-2.json b/models/apis/network-firewall/2020-11-12/api-2.json index 8ad4df02032..e881d09b40d 100644 --- a/models/apis/network-firewall/2020-11-12/api-2.json +++ b/models/apis/network-firewall/2020-11-12/api-2.json @@ -709,6 +709,13 @@ "type":"list", "member":{"shape":"TlsCertificateData"} }, + "CheckCertificateRevocationStatusActions":{ + "type":"structure", + "members":{ + "RevokedStatusAction":{"shape":"RevocationCheckAction"}, + "UnknownStatusAction":{"shape":"RevocationCheckAction"} + } + }, "CollectionMember_String":{"type":"string"}, "ConfigurationSyncState":{ "type":"string", @@ -1676,7 +1683,16 @@ "type":"string", "enum":[ "ACTIVE", - "DELETING" + "DELETING", + "ERROR" + ] + }, + "RevocationCheckAction":{ + "type":"string", + "enum":[ + "PASS", + "DROP", + "REJECT" ] }, "RuleCapacity":{"type":"integer"}, @@ -1816,7 +1832,9 @@ "type":"structure", "members":{ "ServerCertificates":{"shape":"ServerCertificates"}, - "Scopes":{"shape":"ServerCertificateScopes"} + "Scopes":{"shape":"ServerCertificateScopes"}, + "CertificateAuthorityArn":{"shape":"ResourceArn"}, + "CheckCertificateRevocationStatus":{"shape":"CheckCertificateRevocationStatusActions"} } }, "ServerCertificateConfigurations":{ @@ -2101,7 +2119,8 @@ "LastModifiedTime":{"shape":"LastUpdateTime"}, "NumberOfAssociations":{"shape":"NumberOfAssociations"}, "EncryptionConfiguration":{"shape":"EncryptionConfiguration"}, - "Certificates":{"shape":"Certificates"} + "Certificates":{"shape":"Certificates"}, + "CertificateAuthority":{"shape":"TlsCertificateData"} } }, "TLSInspectionConfigurations":{ diff --git a/models/apis/network-firewall/2020-11-12/docs-2.json b/models/apis/network-firewall/2020-11-12/docs-2.json index 182627c9336..87146ce552d 100644 --- a/models/apis/network-firewall/2020-11-12/docs-2.json +++ b/models/apis/network-firewall/2020-11-12/docs-2.json @@ -7,7 +7,7 @@ "CreateFirewall": "

Creates an Network Firewall Firewall and accompanying FirewallStatus for a VPC.

The firewall defines the configuration settings for an Network Firewall firewall. The settings that you can define at creation include the firewall policy, the subnets in your VPC to use for the firewall endpoints, and any tags that are attached to the firewall Amazon Web Services resource.

After you create a firewall, you can provide additional settings, like the logging configuration.

To update the settings for a firewall, you use the operations that apply to the settings themselves, for example UpdateLoggingConfiguration, AssociateSubnets, and UpdateFirewallDeleteProtection.

To manage a firewall's tags, use the standard Amazon Web Services resource tagging operations, ListTagsForResource, TagResource, and UntagResource.

To retrieve information about firewalls, use ListFirewalls and DescribeFirewall.

", "CreateFirewallPolicy": "

Creates the firewall policy for the firewall according to the specifications.

An Network Firewall firewall policy defines the behavior of a firewall, in a collection of stateless and stateful rule groups and other settings. You can use one firewall policy for multiple firewalls.

", "CreateRuleGroup": "

Creates the specified stateless or stateful rule group, which includes the rules for network traffic inspection, a capacity setting, and tags.

You provide your rule group specification in your request using either RuleGroup or Rules.

", - "CreateTLSInspectionConfiguration": "

Creates an Network Firewall TLS inspection configuration. A TLS inspection configuration contains the Certificate Manager certificate references that Network Firewall uses to decrypt and re-encrypt inbound traffic.

After you create a TLS inspection configuration, you associate it with a new firewall policy.

To update the settings for a TLS inspection configuration, use UpdateTLSInspectionConfiguration.

To manage a TLS inspection configuration's tags, use the standard Amazon Web Services resource tagging operations, ListTagsForResource, TagResource, and UntagResource.

To retrieve information about TLS inspection configurations, use ListTLSInspectionConfigurations and DescribeTLSInspectionConfiguration.

For more information about TLS inspection configurations, see Decrypting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide.

", + "CreateTLSInspectionConfiguration": "

Creates an Network Firewall TLS inspection configuration. A TLS inspection configuration contains the Certificate Manager certificate associations that Network Firewall uses to decrypt and re-encrypt traffic traveling through your firewall.

After you create a TLS inspection configuration, you can associate it with a new firewall policy.

To update the settings for a TLS inspection configuration, use UpdateTLSInspectionConfiguration.

To manage a TLS inspection configuration's tags, use the standard Amazon Web Services resource tagging operations, ListTagsForResource, TagResource, and UntagResource.

To retrieve information about TLS inspection configurations, use ListTLSInspectionConfigurations and DescribeTLSInspectionConfiguration.

For more information about TLS inspection configurations, see Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide.

", "DeleteFirewall": "

Deletes the specified Firewall and its FirewallStatus. This operation requires the firewall's DeleteProtection flag to be FALSE. You can't revert this operation.

You can check whether a firewall is in use by reviewing the route tables for the Availability Zones where you have firewall subnet mappings. Retrieve the subnet mappings by calling DescribeFirewall. You define and update the route tables through Amazon VPC. As needed, update the route tables for the zones to remove the firewall endpoints. When the route tables no longer use the firewall endpoints, you can remove the firewall safely.

To delete a firewall, remove the delete protection if you need to using UpdateFirewallDeleteProtection, then delete the firewall by calling DeleteFirewall.

", "DeleteFirewallPolicy": "

Deletes the specified FirewallPolicy.

", "DeleteResourcePolicy": "

Deletes a resource policy that you created in a PutResourcePolicy request.

", @@ -37,7 +37,7 @@ "UpdateLoggingConfiguration": "

Sets the logging configuration for the specified firewall.

To change the logging configuration, retrieve the LoggingConfiguration by calling DescribeLoggingConfiguration, then change it and provide the modified object to this update call. You must change the logging configuration one LogDestinationConfig at a time inside the retrieved LoggingConfiguration object.

You can perform only one of the following actions in any call to UpdateLoggingConfiguration:

You can't change the LogDestinationType or LogType in a LogDestinationConfig. To change these settings, delete the existing LogDestinationConfig object and create a new one, using two separate calls to this update operation.

", "UpdateRuleGroup": "

Updates the rule settings for the specified rule group. You use a rule group by reference in one or more firewall policies. When you modify a rule group, you modify all firewall policies that use the rule group.

To update a rule group, first call DescribeRuleGroup to retrieve the current RuleGroup object, update the object as needed, and then provide the updated object to this call.

", "UpdateSubnetChangeProtection": "

", - "UpdateTLSInspectionConfiguration": "

Updates the TLS inspection configuration settings for the specified TLS inspection configuration. You use a TLS inspection configuration by reference in one or more firewall policies. When you modify a TLS inspection configuration, you modify all firewall policies that use the TLS inspection configuration.

To update a TLS inspection configuration, first call DescribeTLSInspectionConfiguration to retrieve the current TLSInspectionConfiguration object, update the object as needed, and then provide the updated object to this call.

" + "UpdateTLSInspectionConfiguration": "

Updates the TLS inspection configuration settings for the specified TLS inspection configuration. You use a TLS inspection configuration by referencing it in one or more firewall policies. When you modify a TLS inspection configuration, you modify all firewall policies that use the TLS inspection configuration.

To update a TLS inspection configuration, first call DescribeTLSInspectionConfiguration to retrieve the current TLSInspectionConfiguration object, update the object as needed, and then provide the updated object to this call.

" }, "shapes": { "ActionDefinition": { @@ -171,6 +171,12 @@ "TLSInspectionConfigurationResponse$Certificates": "

A list of the certificates associated with the TLS inspection configuration.

" } }, + "CheckCertificateRevocationStatusActions": { + "base": "

Defines the actions to take on the SSL/TLS connection if the certificate presented by the server in the connection has a revoked or unknown status.

", + "refs": { + "ServerCertificateConfiguration$CheckCertificateRevocationStatus": "

When enabled, Network Firewall checks if the server certificate presented by the server in the SSL/TLS connection has a revoked or unkown status. If the certificate has an unknown or revoked status, you must specify the actions that Network Firewall takes on outbound traffic. To use this option, you must specify a CertificateAuthorityArn in ServerCertificateConfiguration.

" + } + }, "CollectionMember_String": { "base": null, "refs": { @@ -616,7 +622,7 @@ } }, "InternalServerError": { - "base": "

Your request is valid, but Network Firewall couldn’t perform the operation because of a system problem. Retry your request.

", + "base": "

Your request is valid, but Network Firewall couldn't perform the operation because of a system problem. Retry your request.

", "refs": { } }, @@ -950,7 +956,8 @@ "RuleGroupMetadata$Arn": "

The Amazon Resource Name (ARN) of the rule group.

", "RuleGroupResponse$RuleGroupArn": "

The Amazon Resource Name (ARN) of the rule group.

If this response is for a create request that had DryRun set to TRUE, then this ARN is a placeholder that isn't attached to a valid resource.

", "RuleGroupResponse$SnsTopic": "

The Amazon resource name (ARN) of the Amazon Simple Notification Service SNS topic that's used to record changes to the managed rule group. You can subscribe to the SNS topic to receive notifications when the managed rule group is modified, such as for new versions and for version expiration. For more information, see the Amazon Simple Notification Service Developer Guide..

", - "ServerCertificate$ResourceArn": "

The Amazon Resource Name (ARN) of the Certificate Manager SSL/TLS server certificate.

", + "ServerCertificate$ResourceArn": "

The Amazon Resource Name (ARN) of the Certificate Manager SSL/TLS server certificate that's used for inbound SSL/TLS inspection.

", + "ServerCertificateConfiguration$CertificateAuthorityArn": "

The Amazon Resource Name (ARN) of the imported certificate authority (CA) certificate configured in Certificate Manager (ACM) to use for outbound SSL/TLS inspection.

The following limitations apply:

For more information about the certificate requirements for outbound inspection, see Requirements for using SSL/TLS certificates with TLS inspection configurations in the Network Firewall Developer Guide.

For information about working with certificates in ACM, see Importing certificates in the Certificate Manager User Guide.

", "SourceMetadata$SourceArn": "

The Amazon Resource Name (ARN) of the rule group that your own rule group is copied from.

", "StatefulRuleGroupReference$ResourceArn": "

The Amazon Resource Name (ARN) of the stateful rule group.

", "StatelessRuleGroupReference$ResourceArn": "

The Amazon Resource Name (ARN) of the stateless rule group.

", @@ -1065,6 +1072,13 @@ "TLSInspectionConfigurationResponse$TLSInspectionConfigurationStatus": "

Detailed information about the current status of a TLSInspectionConfiguration. You can retrieve this for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration and providing the TLS inspection configuration name and ARN.

" } }, + "RevocationCheckAction": { + "base": null, + "refs": { + "CheckCertificateRevocationStatusActions$RevokedStatusAction": "

Configures how Network Firewall processes traffic when it determines that the certificate presented by the server in the SSL/TLS connection has a revoked status.

", + "CheckCertificateRevocationStatusActions$UnknownStatusAction": "

Configures how Network Firewall processes traffic when it determines that the certificate presented by the server in the SSL/TLS connection has an unknown status, or a status that cannot be determined for any other reason, including when the service is unable to connect to the OCSP and CRL endpoints for the certificate.

" + } + }, "RuleCapacity": { "base": null, "refs": { @@ -1183,13 +1197,13 @@ } }, "ServerCertificate": { - "base": "

Any Certificate Manager Secure Sockets Layer/Transport Layer Security (SSL/TLS) server certificate that's associated with a ServerCertificateConfiguration used in a TLSInspectionConfiguration. You must request or import a SSL/TLS certificate into ACM for each domain Network Firewall needs to decrypt and inspect. Network Firewall uses the SSL/TLS certificates to decrypt specified inbound SSL/TLS traffic going to your firewall. For information about working with certificates in Certificate Manager, see Request a public certificate or Importing certificates in the Certificate Manager User Guide.

", + "base": "

Any Certificate Manager (ACM) Secure Sockets Layer/Transport Layer Security (SSL/TLS) server certificate that's associated with a ServerCertificateConfiguration. Used in a TLSInspectionConfiguration for inspection of inbound traffic to your firewall. You must request or import a SSL/TLS certificate into ACM for each domain Network Firewall needs to decrypt and inspect. Network Firewall uses the SSL/TLS certificates to decrypt specified inbound SSL/TLS traffic going to your firewall. For information about working with certificates in Certificate Manager, see Request a public certificate or Importing certificates in the Certificate Manager User Guide.

", "refs": { "ServerCertificates$member": null } }, "ServerCertificateConfiguration": { - "base": "

Configures the associated Certificate Manager Secure Sockets Layer/Transport Layer Security (SSL/TLS) server certificates and scope settings Network Firewall uses to decrypt traffic in a TLSInspectionConfiguration. For information about working with SSL/TLS certificates for TLS inspection, see Requirements for using SSL/TLS server certficiates with TLS inspection configurations in the Network Firewall Developer Guide.

If a server certificate that's associated with your TLSInspectionConfiguration is revoked, deleted, or expired it can result in client-side TLS errors.

", + "base": "

Configures the Certificate Manager certificates and scope that Network Firewall uses to decrypt and re-encrypt traffic using a TLSInspectionConfiguration. You can configure ServerCertificates for inbound SSL/TLS inspection, a CertificateAuthorityArn for outbound SSL/TLS inspection, or both. For information about working with certificates for TLS inspection, see Requirements for using SSL/TLS server certficiates with TLS inspection configurations in the Network Firewall Developer Guide.

If a server certificate that's associated with your TLSInspectionConfiguration is revoked, deleted, or expired it can result in client-side TLS errors.

", "refs": { "ServerCertificateConfigurations$member": null } @@ -1209,13 +1223,13 @@ "ServerCertificateScopes": { "base": null, "refs": { - "ServerCertificateConfiguration$Scopes": "

A list of a server certificate configuration's scopes.

" + "ServerCertificateConfiguration$Scopes": "

A list of scopes.

" } }, "ServerCertificates": { "base": null, "refs": { - "ServerCertificateConfiguration$ServerCertificates": "

The list of a server certificate configuration's Certificate Manager SSL/TLS certificates.

" + "ServerCertificateConfiguration$ServerCertificates": "

The list of a server certificate configuration's Certificate Manager certificates, used for inbound SSL/TLS inspection.

" } }, "Setting": { @@ -1420,11 +1434,11 @@ } }, "TLSInspectionConfiguration": { - "base": "

The object that defines a TLS inspection configuration. This, along with TLSInspectionConfigurationResponse, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration.

Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall re-encrypts the traffic before sending it to its destination.

To use a TLS inspection configuration, you add it to a new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect inbound traffic. You can reference a TLS inspection configuration from more than one firewall policy, and you can use a firewall policy in more than one firewall. For more information about using TLS inspection configurations, see Decrypting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide.

", + "base": "

The object that defines a TLS inspection configuration. This, along with TLSInspectionConfigurationResponse, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration.

Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall re-encrypts the traffic before sending it to its destination.

To use a TLS inspection configuration, you add it to a new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect the traffic traveling through your firewalls. You can reference a TLS inspection configuration from more than one firewall policy, and you can use a firewall policy in more than one firewall. For more information about using TLS inspection configurations, see Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide.

", "refs": { - "CreateTLSInspectionConfigurationRequest$TLSInspectionConfiguration": "

The object that defines a TLS inspection configuration. This, along with TLSInspectionConfigurationResponse, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration.

Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall re-encrypts the traffic before sending it to its destination.

To use a TLS inspection configuration, you add it to a new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect inbound traffic. You can reference a TLS inspection configuration from more than one firewall policy, and you can use a firewall policy in more than one firewall. For more information about using TLS inspection configurations, see Decrypting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide.

", - "DescribeTLSInspectionConfigurationResponse$TLSInspectionConfiguration": "

The object that defines a TLS inspection configuration. This, along with TLSInspectionConfigurationResponse, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration.

Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall re-encrypts the traffic before sending it to its destination.

To use a TLS inspection configuration, you add it to a new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect inbound traffic. You can reference a TLS inspection configuration from more than one firewall policy, and you can use a firewall policy in more than one firewall. For more information about using TLS inspection configurations, see Decrypting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide.

", - "UpdateTLSInspectionConfigurationRequest$TLSInspectionConfiguration": "

The object that defines a TLS inspection configuration. This, along with TLSInspectionConfigurationResponse, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration.

Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall re-encrypts the traffic before sending it to its destination.

To use a TLS inspection configuration, you add it to a new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect inbound traffic. You can reference a TLS inspection configuration from more than one firewall policy, and you can use a firewall policy in more than one firewall. For more information about using TLS inspection configurations, see Decrypting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide.

" + "CreateTLSInspectionConfigurationRequest$TLSInspectionConfiguration": "

The object that defines a TLS inspection configuration. This, along with TLSInspectionConfigurationResponse, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration.

Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall re-encrypts the traffic before sending it to its destination.

To use a TLS inspection configuration, you add it to a new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect the traffic traveling through your firewalls. You can reference a TLS inspection configuration from more than one firewall policy, and you can use a firewall policy in more than one firewall. For more information about using TLS inspection configurations, see Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide.

", + "DescribeTLSInspectionConfigurationResponse$TLSInspectionConfiguration": "

The object that defines a TLS inspection configuration. This, along with TLSInspectionConfigurationResponse, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration.

Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall re-encrypts the traffic before sending it to its destination.

To use a TLS inspection configuration, you add it to a new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect the traffic traveling through your firewalls. You can reference a TLS inspection configuration from more than one firewall policy, and you can use a firewall policy in more than one firewall. For more information about using TLS inspection configurations, see Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide.

", + "UpdateTLSInspectionConfigurationRequest$TLSInspectionConfiguration": "

The object that defines a TLS inspection configuration. This, along with TLSInspectionConfigurationResponse, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration.

Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall re-encrypts the traffic before sending it to its destination.

To use a TLS inspection configuration, you add it to a new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect the traffic traveling through your firewalls. You can reference a TLS inspection configuration from more than one firewall policy, and you can use a firewall policy in more than one firewall. For more information about using TLS inspection configurations, see Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide.

" } }, "TLSInspectionConfigurationMetadata": { @@ -1524,7 +1538,8 @@ "TlsCertificateData": { "base": "

Contains metadata about an Certificate Manager certificate.

", "refs": { - "Certificates$member": null + "Certificates$member": null, + "TLSInspectionConfigurationResponse$CertificateAuthority": null } }, "UnsupportedOperationException": { diff --git a/models/apis/network-firewall/2020-11-12/endpoint-rule-set-1.json b/models/apis/network-firewall/2020-11-12/endpoint-rule-set-1.json index 233c4205f82..3128988c6ac 100644 --- a/models/apis/network-firewall/2020-11-12/endpoint-rule-set-1.json +++ b/models/apis/network-firewall/2020-11-12/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,11 +212,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -231,14 +227,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -252,7 +250,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -272,7 +269,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -283,14 +279,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -301,9 +299,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/models/apis/opensearch/2021-01-01/api-2.json b/models/apis/opensearch/2021-01-01/api-2.json index b529378646b..34089857c75 100644 --- a/models/apis/opensearch/2021-01-01/api-2.json +++ b/models/apis/opensearch/2021-01-01/api-2.json @@ -1424,6 +1424,7 @@ "ClusterConfig":{"shape":"ClusterConfig"}, "EBSOptions":{"shape":"EBSOptions"}, "AccessPolicies":{"shape":"PolicyDocument"}, + "IPAddressType":{"shape":"IPAddressType"}, "SnapshotOptions":{"shape":"SnapshotOptions"}, "VPCOptions":{"shape":"VPCOptions"}, "CognitoOptions":{"shape":"CognitoOptions"}, @@ -2018,6 +2019,7 @@ "ClusterConfig":{"shape":"ClusterConfigStatus"}, "EBSOptions":{"shape":"EBSOptionsStatus"}, "AccessPolicies":{"shape":"AccessPoliciesStatus"}, + "IPAddressType":{"shape":"IPAddressTypeStatus"}, "SnapshotOptions":{"shape":"SnapshotOptionsStatus"}, "VPCOptions":{"shape":"VPCDerivedInfoStatus"}, "CognitoOptions":{"shape":"CognitoOptionsStatus"}, @@ -2186,6 +2188,7 @@ "Created":{"shape":"Boolean"}, "Deleted":{"shape":"Boolean"}, "Endpoint":{"shape":"ServiceUrl"}, + "EndpointV2":{"shape":"ServiceUrl"}, "Endpoints":{"shape":"EndpointsMap"}, "Processing":{"shape":"Boolean"}, "UpgradeProcessing":{"shape":"Boolean"}, @@ -2193,6 +2196,7 @@ "ClusterConfig":{"shape":"ClusterConfig"}, "EBSOptions":{"shape":"EBSOptions"}, "AccessPolicies":{"shape":"PolicyDocument"}, + "IPAddressType":{"shape":"IPAddressType"}, "SnapshotOptions":{"shape":"SnapshotOptions"}, "VPCOptions":{"shape":"VPCDerivedInfo"}, "CognitoOptions":{"shape":"CognitoOptions"}, @@ -2474,6 +2478,24 @@ "UpgradeName":{"shape":"UpgradeName"} } }, + "IPAddressType":{ + "type":"string", + "enum":[ + "ipv4", + "dualstack" + ] + }, + "IPAddressTypeStatus":{ + "type":"structure", + "required":[ + "Options", + "Status" + ], + "members":{ + "Options":{"shape":"IPAddressType"}, + "Status":{"shape":"OptionStatus"} + } + }, "IdentityPoolId":{ "type":"string", "max":55, @@ -3867,6 +3889,7 @@ "CognitoOptions":{"shape":"CognitoOptions"}, "AdvancedOptions":{"shape":"AdvancedOptions"}, "AccessPolicies":{"shape":"PolicyDocument"}, + "IPAddressType":{"shape":"IPAddressType"}, "LogPublishingOptions":{"shape":"LogPublishingOptions"}, "EncryptionAtRestOptions":{"shape":"EncryptionAtRestOptions"}, "DomainEndpointOptions":{"shape":"DomainEndpointOptions"}, diff --git a/models/apis/opensearch/2021-01-01/docs-2.json b/models/apis/opensearch/2021-01-01/docs-2.json index 6821c07ed28..867fd703d60 100644 --- a/models/apis/opensearch/2021-01-01/docs-2.json +++ b/models/apis/opensearch/2021-01-01/docs-2.json @@ -33,11 +33,11 @@ "DescribeVpcEndpoints": "

Describes one or more Amazon OpenSearch Service-managed VPC endpoints.

", "DissociatePackage": "

Removes a package from the specified Amazon OpenSearch Service domain. The package can't be in use with any OpenSearch index for the dissociation to succeed. The package is still available in OpenSearch Service for association later. For more information, see Custom packages for Amazon OpenSearch Service.

", "GetCompatibleVersions": "

Returns a map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.

", - "GetDomainMaintenanceStatus": "

Get the status of the maintenance action.

", + "GetDomainMaintenanceStatus": "

The status of the maintenance action.

", "GetPackageVersionHistory": "

Returns a list of Amazon OpenSearch Service package versions, along with their creation time, commit message, and plugin properties (if the package is a zip plugin package). For more information, see Custom packages for Amazon OpenSearch Service.

", "GetUpgradeHistory": "

Retrieves the complete history of the last 10 upgrades performed on an Amazon OpenSearch Service domain.

", "GetUpgradeStatus": "

Returns the most recent status of the last upgrade or upgrade eligibility check performed on an Amazon OpenSearch Service domain.

", - "ListDomainMaintenances": "

Get the list of the maintenance action.

", + "ListDomainMaintenances": "

A list of maintenance actions for the domain.

", "ListDomainNames": "

Returns the names of all Amazon OpenSearch Service domains owned by the current user in the active Region.

", "ListDomainsForPackage": "

Lists all Amazon OpenSearch Service domains associated with a given package. For more information, see Custom packages for Amazon OpenSearch Service.

", "ListInstanceTypeDetails": "

Lists all instance types and available features for a given OpenSearch or Elasticsearch version.

", @@ -52,7 +52,7 @@ "RejectInboundConnection": "

Allows the remote Amazon OpenSearch Service domain owner to reject an inbound cross-cluster connection request.

", "RemoveTags": "

Removes the specified set of tags from an Amazon OpenSearch Service domain. For more information, see Tagging Amazon OpenSearch Service domains.

", "RevokeVpcEndpointAccess": "

Revokes access to an Amazon OpenSearch Service domain that was provided through an interface VPC endpoint.

", - "StartDomainMaintenance": "

Starts the node maintenance (Node restart, Node reboot, Opensearch/Elasticsearch process restart, Dashboard/kibana restart) on the data node.

", + "StartDomainMaintenance": "

Starts the node maintenance process on the data node. These processes can include a node reboot, an Opensearch or Elasticsearch process restart, or a Dashboard or Kibana restart.

", "StartServiceSoftwareUpdate": "

Schedules a service software update for an Amazon OpenSearch Service domain. For more information, see Service software updates in Amazon OpenSearch Service.

", "UpdateDomainConfig": "

Modifies the cluster configuration of the specified Amazon OpenSearch Service domain.

", "UpdatePackage": "

Updates a package for use with Amazon OpenSearch Service domains. For more information, see Custom packages for Amazon OpenSearch Service.

", @@ -962,7 +962,7 @@ "DomainMaintenanceList": { "base": null, "refs": { - "ListDomainMaintenancesResponse$DomainMaintenances": "

List of the submitted maintenance actions.

" + "ListDomainMaintenancesResponse$DomainMaintenances": "

A list of the submitted maintenance actions.

" } }, "DomainName": { @@ -1256,7 +1256,7 @@ } }, "GetDomainMaintenanceStatusResponse": { - "base": "

The result of a GetDomainMaintenanceStatus request. Contains information about the requested action.

", + "base": "

The result of a GetDomainMaintenanceStatus request that information about the requested action.

", "refs": { } }, @@ -1290,6 +1290,21 @@ "refs": { } }, + "IPAddressType": { + "base": null, + "refs": { + "CreateDomainRequest$IPAddressType": "

The type of IP addresses supported by the endpoint for the domain.

", + "DomainStatus$IPAddressType": "

The type of IP addresses supported by the endpoint for the domain.

", + "IPAddressTypeStatus$Options": "

The IP address options for the domain.

", + "UpdateDomainConfigRequest$IPAddressType": "

The type of IP addresses supported by the endpoint for the domain.

" + } + }, + "IPAddressTypeStatus": { + "base": "

The IP address type status for the domain.

", + "refs": { + "DomainConfig$IPAddressType": "

The type of IP addresses supported by the endpoint for the domain.

" + } + }, "IdentityPoolId": { "base": null, "refs": { @@ -1479,7 +1494,7 @@ } }, "ListDomainMaintenancesResponse": { - "base": "

The result of a ListDomainMaintenances request. Contains information about the requested actions.

", + "base": "

The result of a ListDomainMaintenances request that contains information about the requested actions.

", "refs": { } }, @@ -1624,22 +1639,22 @@ "base": null, "refs": { "DomainMaintenanceDetails$Status": "

The status of the action.

", - "GetDomainMaintenanceStatusResponse$Status": "

Contains status of the maintenance action.

", + "GetDomainMaintenanceStatusResponse$Status": "

The status of the maintenance action.

", "ListDomainMaintenancesRequest$Status": "

The status of the action.

" } }, "MaintenanceStatusMessage": { "base": null, "refs": { - "DomainMaintenanceDetails$StatusMessage": "

The status message of the action.

", - "GetDomainMaintenanceStatusResponse$StatusMessage": "

Contains status message of the maintenance action.

" + "DomainMaintenanceDetails$StatusMessage": "

The status message for the action.

", + "GetDomainMaintenanceStatusResponse$StatusMessage": "

The status message of the maintenance action.

" } }, "MaintenanceType": { "base": null, "refs": { "DomainMaintenanceDetails$Action": "

The name of the action.

", - "GetDomainMaintenanceStatusResponse$Action": "

Contains action name.

", + "GetDomainMaintenanceStatusResponse$Action": "

The action name.

", "ListDomainMaintenancesRequest$Action": "

The name of the action.

", "StartDomainMaintenanceRequest$Action": "

The name of the action.

" } @@ -1709,7 +1724,7 @@ "DescribeReservedInstancesRequest$NextToken": "

If your initial DescribeReservedInstances operation returns a nextToken, you can include the returned nextToken in subsequent DescribeReservedInstances operations, which returns results in the next page.

", "GetPackageVersionHistoryRequest$NextToken": "

If your initial GetPackageVersionHistory operation returns a nextToken, you can include the returned nextToken in subsequent GetPackageVersionHistory operations, which returns results in the next page.

", "GetUpgradeHistoryRequest$NextToken": "

If your initial GetUpgradeHistory operation returns a nextToken, you can include the returned nextToken in subsequent GetUpgradeHistory operations, which returns results in the next page.

", - "ListDomainMaintenancesRequest$NextToken": "

If your initial ListDomainMaintenances operation returns a nextToken, you can include the returned nextToken in subsequent ListDomainMaintenances operations, which returns results in the next page.

", + "ListDomainMaintenancesRequest$NextToken": "

If your initial ListDomainMaintenances operation returns a nextToken, include the returned nextToken in subsequent ListDomainMaintenances operations, which returns results in the next page.

", "ListDomainMaintenancesResponse$NextToken": "

When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

", "ListDomainsForPackageRequest$NextToken": "

If your initial ListDomainsForPackage operation returns a nextToken, you can include the returned nextToken in subsequent ListDomainsForPackage operations, which returns results in the next page.

", "ListInstanceTypeDetailsRequest$NextToken": "

If your initial ListInstanceTypeDetails operation returns a nextToken, you can include the returned nextToken in subsequent ListInstanceTypeDetails operations, which returns results in the next page.

", @@ -1730,10 +1745,10 @@ "NodeId": { "base": null, "refs": { - "DomainMaintenanceDetails$NodeId": "

Id of the data node.

", + "DomainMaintenanceDetails$NodeId": "

The ID of the data node.

", "DomainNodesStatus$NodeId": "

The ID of the node.

", - "GetDomainMaintenanceStatusResponse$NodeId": "

Contains node id of maintenance action.

", - "StartDomainMaintenanceRequest$NodeId": "

Id of the data node.

" + "GetDomainMaintenanceStatusResponse$NodeId": "

The node ID of the maintenance action.

", + "StartDomainMaintenanceRequest$NodeId": "

The ID of the data node.

" } }, "NodeStatus": { @@ -1853,6 +1868,7 @@ "DomainEndpointOptionsStatus$Status": "

The status of the endpoint options for a domain.

", "EBSOptionsStatus$Status": "

The status of the EBS options for the specified domain.

", "EncryptionAtRestOptionsStatus$Status": "

The status of the encryption at rest options for the specified domain.

", + "IPAddressTypeStatus$Status": null, "LogPublishingOptionsStatus$Status": "

The status of the log publishing options for the domain.

", "NodeToNodeEncryptionOptionsStatus$Status": "

The status of the node-to-node encryption options for the specified domain.

", "OffPeakWindowOptionsStatus$Status": "

The current status of off-peak window options.

", @@ -2091,9 +2107,9 @@ "RequestId": { "base": null, "refs": { - "DomainMaintenanceDetails$MaintenanceId": "

Id of the requested action.

", - "GetDomainMaintenanceStatusRequest$MaintenanceId": "

The request id of the maintenance action.

", - "StartDomainMaintenanceResponse$MaintenanceId": "

Contains request id of requested action.

" + "DomainMaintenanceDetails$MaintenanceId": "

The ID of the requested action.

", + "GetDomainMaintenanceStatusRequest$MaintenanceId": "

The request ID of the maintenance action.

", + "StartDomainMaintenanceResponse$MaintenanceId": "

The request ID of requested action.

" } }, "ReservationToken": { @@ -2272,6 +2288,7 @@ "base": "

The domain endpoint to which index and search requests are submitted. For example, search-imdb-movies-oopcnjfn6ugo.eu-west-1.es.amazonaws.com or doc-imdb-movies-oopcnjfn6u.eu-west-1.es.amazonaws.com.

", "refs": { "DomainStatus$Endpoint": "

Domain-specific endpoint used to submit index, search, and data upload requests to the domain.

", + "DomainStatus$EndpointV2": null, "EndpointsMap$value": null } }, @@ -2334,7 +2351,7 @@ } }, "StartDomainMaintenanceResponse": { - "base": "

The result of a StartDomainMaintenance request. Contains information about the requested action.

", + "base": "

The result of a StartDomainMaintenance request that information about the requested action.

", "refs": { } }, @@ -2552,10 +2569,10 @@ "AutoTuneStatus$CreationDate": "

Date and time when Auto-Tune was enabled for the domain.

", "AutoTuneStatus$UpdateDate": "

Date and time when the Auto-Tune options were last updated for the domain.

", "ChangeProgressStatusDetails$StartTime": "

The time at which the configuration change is made on the domain.

", - "DomainMaintenanceDetails$CreatedAt": "

Contains time at which action created.

", - "DomainMaintenanceDetails$UpdatedAt": "

Contains time at which action updated.

", - "GetDomainMaintenanceStatusResponse$CreatedAt": "

Contains time at which action created.

", - "GetDomainMaintenanceStatusResponse$UpdatedAt": "

Contains time at which action updated.

", + "DomainMaintenanceDetails$CreatedAt": "

The time at which the action was created.

", + "DomainMaintenanceDetails$UpdatedAt": "

The time at which the action was updated.

", + "GetDomainMaintenanceStatusResponse$CreatedAt": "

The time at which the action was created.

", + "GetDomainMaintenanceStatusResponse$UpdatedAt": "

The time at which the action was updated.

", "OptionStatus$CreationDate": "

The timestamp when the entity was created.

", "OptionStatus$UpdateDate": "

The timestamp of the last time the entity was updated.

", "ReservedInstance$StartTime": "

The date and time when the reservation was purchased.

" diff --git a/models/apis/opensearch/2021-01-01/endpoint-rule-set-1.json b/models/apis/opensearch/2021-01-01/endpoint-rule-set-1.json index 992998e7af5..fbf68aefdb4 100644 --- a/models/apis/opensearch/2021-01-01/endpoint-rule-set-1.json +++ b/models/apis/opensearch/2021-01-01/endpoint-rule-set-1.json @@ -270,6 +270,81 @@ } ], "rules": [ + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws", + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + } + ] + } + ], + "endpoint": { + "url": "https://aos.{Region}.api.aws", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws-cn", + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + } + ] + } + ], + "endpoint": { + "url": "https://aos.{Region}.api.amazonwebservices.com.cn", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws-us-gov", + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + } + ] + } + ], + "endpoint": { + "url": "https://aos.{Region}.api.aws", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, { "conditions": [], "endpoint": { diff --git a/models/apis/opensearch/2021-01-01/endpoint-tests-1.json b/models/apis/opensearch/2021-01-01/endpoint-tests-1.json index 491f64e69dc..f65ad7d5a53 100644 --- a/models/apis/opensearch/2021-01-01/endpoint-tests-1.json +++ b/models/apis/opensearch/2021-01-01/endpoint-tests-1.json @@ -355,7 +355,7 @@ "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://es.us-east-1.api.aws" + "url": "https://aos.us-east-1.api.aws" } }, "params": { @@ -420,7 +420,7 @@ "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://es.cn-north-1.api.amazonwebservices.com.cn" + "url": "https://aos.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { @@ -498,7 +498,7 @@ "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://es.us-gov-east-1.api.aws" + "url": "https://aos.us-gov-east-1.api.aws" } }, "params": { diff --git a/models/apis/redshift/2012-12-01/api-2.json b/models/apis/redshift/2012-12-01/api-2.json index 9fb3f3e781e..7d2a63fa301 100644 --- a/models/apis/redshift/2012-12-01/api-2.json +++ b/models/apis/redshift/2012-12-01/api-2.json @@ -724,6 +724,18 @@ {"shape":"UnauthorizedPartnerIntegrationFault"} ] }, + "DeleteResourcePolicy":{ + "name":"DeleteResourcePolicy", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteResourcePolicyMessage"}, + "errors":[ + {"shape":"ResourceNotFoundFault"}, + {"shape":"UnsupportedOperationFault"} + ] + }, "DeleteScheduledAction":{ "name":"DeleteScheduledAction", "http":{ @@ -1131,6 +1143,23 @@ {"shape":"InvalidTagFault"} ] }, + "DescribeInboundIntegrations":{ + "name":"DescribeInboundIntegrations", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeInboundIntegrationsMessage"}, + "output":{ + "shape":"InboundIntegrationsMessage", + "resultWrapper":"DescribeInboundIntegrationsResult" + }, + "errors":[ + {"shape":"IntegrationNotFoundFault"}, + {"shape":"InvalidNamespaceFault"}, + {"shape":"UnsupportedOperationFault"} + ] + }, "DescribeLoggingStatus":{ "name":"DescribeLoggingStatus", "http":{ @@ -1531,6 +1560,23 @@ {"shape":"DependentServiceUnavailableFault"} ] }, + "GetResourcePolicy":{ + "name":"GetResourcePolicy", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetResourcePolicyMessage"}, + "output":{ + "shape":"GetResourcePolicyResult", + "resultWrapper":"GetResourcePolicyResult" + }, + "errors":[ + {"shape":"ResourceNotFoundFault"}, + {"shape":"InvalidPolicyFault"}, + {"shape":"UnsupportedOperationFault"} + ] + }, "ModifyAquaConfiguration":{ "name":"ModifyAquaConfiguration", "http":{ @@ -1881,6 +1927,24 @@ {"shape":"UnsupportedOperationFault"} ] }, + "PutResourcePolicy":{ + "name":"PutResourcePolicy", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"PutResourcePolicyMessage"}, + "output":{ + "shape":"PutResourcePolicyResult", + "resultWrapper":"PutResourcePolicyResult" + }, + "errors":[ + {"shape":"ResourceNotFoundFault"}, + {"shape":"InvalidPolicyFault"}, + {"shape":"ConflictPolicyUpdateFault"}, + {"shape":"UnsupportedOperationFault"} + ] + }, "RebootCluster":{ "name":"RebootCluster", "http":{ @@ -3044,6 +3108,17 @@ "Clusters":{"shape":"ClusterList"} } }, + "ConflictPolicyUpdateFault":{ + "type":"structure", + "members":{ + }, + "error":{ + "code":"ConflictPolicyUpdateFault", + "httpStatusCode":409, + "senderFault":true + }, + "exception":true + }, "CopyClusterSnapshotMessage":{ "type":"structure", "required":[ @@ -3657,6 +3732,13 @@ "HsmConfigurationIdentifier":{"shape":"String"} } }, + "DeleteResourcePolicyMessage":{ + "type":"structure", + "required":["ResourceArn"], + "members":{ + "ResourceArn":{"shape":"String"} + } + }, "DeleteScheduledActionMessage":{ "type":"structure", "required":["ScheduledActionName"], @@ -3969,6 +4051,15 @@ "TagValues":{"shape":"TagValueList"} } }, + "DescribeInboundIntegrationsMessage":{ + "type":"structure", + "members":{ + "IntegrationArn":{"shape":"String"}, + "TargetArn":{"shape":"String"}, + "MaxRecords":{"shape":"IntegerOptional"}, + "Marker":{"shape":"String"} + } + }, "DescribeLoggingStatusMessage":{ "type":"structure", "required":["ClusterIdentifier"], @@ -4531,6 +4622,19 @@ "ReservedNodeOfferings":{"shape":"ReservedNodeOfferingList"} } }, + "GetResourcePolicyMessage":{ + "type":"structure", + "required":["ResourceArn"], + "members":{ + "ResourceArn":{"shape":"String"} + } + }, + "GetResourcePolicyResult":{ + "type":"structure", + "members":{ + "ResourcePolicy":{"shape":"ResourcePolicy"} + } + }, "HsmClientCertificate":{ "type":"structure", "members":{ @@ -4698,6 +4802,31 @@ }, "exception":true }, + "InboundIntegration":{ + "type":"structure", + "members":{ + "IntegrationArn":{"shape":"String"}, + "SourceArn":{"shape":"String"}, + "TargetArn":{"shape":"String"}, + "Status":{"shape":"ZeroETLIntegrationStatus"}, + "Errors":{"shape":"IntegrationErrorList"}, + "CreateTime":{"shape":"TStamp"} + } + }, + "InboundIntegrationList":{ + "type":"list", + "member":{ + "shape":"InboundIntegration", + "locationName":"InboundIntegration" + } + }, + "InboundIntegrationsMessage":{ + "type":"structure", + "members":{ + "Marker":{"shape":"String"}, + "InboundIntegrations":{"shape":"InboundIntegrationList"} + } + }, "IncompatibleOrderableOptions":{ "type":"structure", "members":{ @@ -4733,6 +4862,32 @@ }, "Integer":{"type":"integer"}, "IntegerOptional":{"type":"integer"}, + "IntegrationError":{ + "type":"structure", + "required":["ErrorCode"], + "members":{ + "ErrorCode":{"shape":"String"}, + "ErrorMessage":{"shape":"String"} + } + }, + "IntegrationErrorList":{ + "type":"list", + "member":{ + "shape":"IntegrationError", + "locationName":"IntegrationError" + } + }, + "IntegrationNotFoundFault":{ + "type":"structure", + "members":{ + }, + "error":{ + "code":"IntegrationNotFoundFault", + "httpStatusCode":404, + "senderFault":true + }, + "exception":true + }, "InvalidAuthenticationProfileRequestFault":{ "type":"structure", "members":{ @@ -4909,6 +5064,17 @@ }, "exception":true }, + "InvalidPolicyFault":{ + "type":"structure", + "members":{ + }, + "error":{ + "code":"InvalidPolicyFault", + "httpStatusCode":400, + "senderFault":true + }, + "exception":true + }, "InvalidReservedNodeStateFault":{ "type":"structure", "members":{ @@ -5679,6 +5845,23 @@ "ReservedNode":{"shape":"ReservedNode"} } }, + "PutResourcePolicyMessage":{ + "type":"structure", + "required":[ + "ResourceArn", + "Policy" + ], + "members":{ + "ResourceArn":{"shape":"String"}, + "Policy":{"shape":"String"} + } + }, + "PutResourcePolicyResult":{ + "type":"structure", + "members":{ + "ResourcePolicy":{"shape":"ResourcePolicy"} + } + }, "RebootClusterMessage":{ "type":"structure", "required":["ClusterIdentifier"], @@ -5983,6 +6166,13 @@ }, "exception":true }, + "ResourcePolicy":{ + "type":"structure", + "members":{ + "ResourceArn":{"shape":"String"}, + "Policy":{"shape":"String"} + } + }, "RestorableNodeTypeList":{ "type":"list", "member":{ @@ -7104,6 +7294,18 @@ "shape":"VpcSecurityGroupMembership", "locationName":"VpcSecurityGroup" } + }, + "ZeroETLIntegrationStatus":{ + "type":"string", + "enum":[ + "creating", + "active", + "modifying", + "failed", + "deleting", + "syncing", + "needs_attention" + ] } } } diff --git a/models/apis/redshift/2012-12-01/docs-2.json b/models/apis/redshift/2012-12-01/docs-2.json index e501788e0c9..7aa76e5dc86 100644 --- a/models/apis/redshift/2012-12-01/docs-2.json +++ b/models/apis/redshift/2012-12-01/docs-2.json @@ -42,6 +42,7 @@ "DeleteHsmClientCertificate": "

Deletes the specified HSM client certificate.

", "DeleteHsmConfiguration": "

Deletes the specified Amazon Redshift HSM configuration.

", "DeletePartner": "

Deletes a partner integration from a cluster. Data can still flow to the cluster until the integration is deleted at the partner's website.

", + "DeleteResourcePolicy": "

Deletes the resource policy for a specified resource.

", "DeleteScheduledAction": "

Deletes a scheduled action.

", "DeleteSnapshotCopyGrant": "

Deletes the specified snapshot copy grant.

", "DeleteSnapshotSchedule": "

Deletes a snapshot schedule.

", @@ -70,6 +71,7 @@ "DescribeEvents": "

Returns events related to clusters, security groups, snapshots, and parameter groups for the past 14 days. Events specific to a particular cluster, security group, snapshot or parameter group can be obtained by providing the name as a parameter. By default, the past hour of events are returned.

", "DescribeHsmClientCertificates": "

Returns information about the specified HSM client certificate. If no certificate ID is specified, returns information about all the HSM certificates owned by your Amazon Web Services account.

If you specify both tag keys and tag values in the same request, Amazon Redshift returns all HSM client certificates that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all HSM client certificates that have any combination of those values are returned.

If both tag keys and values are omitted from the request, HSM client certificates are returned regardless of whether they have tag keys or values associated with them.

", "DescribeHsmConfigurations": "

Returns information about the specified Amazon Redshift HSM configuration. If no configuration ID is specified, returns information about all the HSM configurations owned by your Amazon Web Services account.

If you specify both tag keys and tag values in the same request, Amazon Redshift returns all HSM connections that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all HSM connections that have any combination of those values are returned.

If both tag keys and values are omitted from the request, HSM connections are returned regardless of whether they have tag keys or values associated with them.

", + "DescribeInboundIntegrations": "

Returns a list of inbound integrations.

", "DescribeLoggingStatus": "

Describes whether information, such as queries and connection attempts, is being logged for the specified Amazon Redshift cluster.

", "DescribeNodeConfigurationOptions": "

Returns properties of possible node configurations such as node type, number of nodes, and disk usage for the specified action type.

", "DescribeOrderableClusterOptions": "

Returns a list of orderable cluster options. Before you create a new cluster you can use this operation to find what options are available, such as the EC2 Availability Zones (AZ) in the specific Amazon Web Services Region that you can specify, and the node types you can request. The node types differ by available storage, memory, CPU and price. With the cost involved you might want to obtain a list of cluster options in the specific region and specify values when creating a cluster. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.

", @@ -94,6 +96,7 @@ "GetClusterCredentialsWithIAM": "

Returns a database user name and temporary password with temporary authorization to log in to an Amazon Redshift database. The database user is mapped 1:1 to the source Identity and Access Management (IAM) identity. For more information about IAM identities, see IAM Identities (users, user groups, and roles) in the Amazon Web Services Identity and Access Management User Guide.

The Identity and Access Management (IAM) identity that runs this operation must have an IAM policy attached that allows access to all necessary actions and resources. For more information about permissions, see Using identity-based policies (IAM policies) in the Amazon Redshift Cluster Management Guide.

", "GetReservedNodeExchangeConfigurationOptions": "

Gets the configuration options for the reserved-node exchange. These options include information about the source reserved node and target reserved node offering. Details include the node type, the price, the node count, and the offering type.

", "GetReservedNodeExchangeOfferings": "

Returns an array of DC2 ReservedNodeOfferings that matches the payment type, term, and usage price of the given DC1 reserved node.

", + "GetResourcePolicy": "

Get the resource policy for a specified resource.

", "ModifyAquaConfiguration": "

This operation is retired. Calling this operation does not change AQUA configuration. Amazon Redshift automatically determines whether to use AQUA (Advanced Query Accelerator).

", "ModifyAuthenticationProfile": "

Modifies an authentication profile.

", "ModifyCluster": "

Modifies the settings for a cluster.

You can also change node type and the number of nodes to scale up or down the cluster. When resizing a cluster, you must specify both the number of nodes and the node type even if one of the parameters does not change.

You can add another security or parameter group, or change the admin user password. Resetting a cluster password or modifying the security groups associated with a cluster do not need a reboot. However, modifying a parameter group requires a reboot for parameters to take effect. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.

", @@ -113,6 +116,7 @@ "ModifyUsageLimit": "

Modifies a usage limit in a cluster. You can't modify the feature type or period of a usage limit.

", "PauseCluster": "

Pauses a cluster.

", "PurchaseReservedNodeOffering": "

Allows you to purchase reserved nodes. Amazon Redshift offers a predefined set of reserved node offerings. You can purchase one or more of the offerings. You can call the DescribeReservedNodeOfferings API to obtain the available reserved node offerings. You can call this API by providing a specific reserved node offering and the number of nodes you want to reserve.

For more information about reserved node offerings, go to Purchasing Reserved Nodes in the Amazon Redshift Cluster Management Guide.

", + "PutResourcePolicy": "

Updates the resource policy for a specified resource.

", "RebootCluster": "

Reboots a cluster. This action is taken as soon as possible. It results in a momentary outage to the cluster, during which the cluster status is set to rebooting. A cluster event is created when the reboot is completed. Any pending cluster modifications (see ModifyCluster) are applied at this reboot. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.

", "RejectDataShare": "

From a datashare consumer account, rejects the specified datashare.

", "ResetClusterParameterGroup": "

Sets one or more parameters of the specified parameter group to their default values and sets the source values of the parameters to \"engine-default\". To reset the entire parameter group specify the ResetAllParameters parameter. For parameter changes to take effect you must reboot any associated clusters.

", @@ -779,6 +783,11 @@ "refs": { } }, + "ConflictPolicyUpdateFault": { + "base": "

There is a conflict while updating the resource policy.

", + "refs": { + } + }, "CopyClusterSnapshotMessage": { "base": "

", "refs": { @@ -1125,6 +1134,11 @@ "refs": { } }, + "DeleteResourcePolicyMessage": { + "base": null, + "refs": { + } + }, "DeleteScheduledActionMessage": { "base": null, "refs": { @@ -1300,6 +1314,11 @@ "refs": { } }, + "DescribeInboundIntegrationsMessage": { + "base": null, + "refs": { + } + }, "DescribeLoggingStatusMessage": { "base": "

", "refs": { @@ -1655,6 +1674,16 @@ "refs": { } }, + "GetResourcePolicyMessage": { + "base": null, + "refs": { + } + }, + "GetResourcePolicyResult": { + "base": null, + "refs": { + } + }, "HsmClientCertificate": { "base": "

Returns information about an HSM client certificate. The certificate is stored in a secure Hardware Storage Module (HSM), and used by the Amazon Redshift cluster to encrypt data files.

", "refs": { @@ -1771,6 +1800,23 @@ "refs": { } }, + "InboundIntegration": { + "base": "

The content of an inbound integration.

", + "refs": { + "InboundIntegrationList$member": null + } + }, + "InboundIntegrationList": { + "base": null, + "refs": { + "InboundIntegrationsMessage$InboundIntegrations": "

A list of InboundIntegration instances.

" + } + }, + "InboundIntegrationsMessage": { + "base": null, + "refs": { + } + }, "IncompatibleOrderableOptions": { "base": "

The specified options are incompatible.

", "refs": { @@ -1841,6 +1887,7 @@ "DescribeEventsMessage$MaxRecords": "

The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

Default: 100

Constraints: minimum 20, maximum 100.

", "DescribeHsmClientCertificatesMessage$MaxRecords": "

The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

Default: 100

Constraints: minimum 20, maximum 100.

", "DescribeHsmConfigurationsMessage$MaxRecords": "

The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

Default: 100

Constraints: minimum 20, maximum 100.

", + "DescribeInboundIntegrationsMessage$MaxRecords": "

The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

Default: 100

Constraints: minimum 20, maximum 100.

", "DescribeNodeConfigurationOptionsMessage$MaxRecords": "

The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

Default: 500

Constraints: minimum 100, maximum 500.

", "DescribeOrderableClusterOptionsMessage$MaxRecords": "

The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

Default: 100

Constraints: minimum 20, maximum 100.

", "DescribeReservedNodeExchangeStatusInputMessage$MaxRecords": "

The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a Marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

", @@ -1878,6 +1925,23 @@ "SnapshotSchedule$AssociatedClusterCount": "

The number of clusters associated with the schedule.

" } }, + "IntegrationError": { + "base": "

The error of an inbound integration.

", + "refs": { + "IntegrationErrorList$member": null + } + }, + "IntegrationErrorList": { + "base": null, + "refs": { + "InboundIntegration$Errors": "

The outstanding errors of an inbound integration. Each item is an \"IntegrationError\". This is null if there is no error.

" + } + }, + "IntegrationNotFoundFault": { + "base": "

The integration can't be found.

", + "refs": { + } + }, "InvalidAuthenticationProfileRequestFault": { "base": "

The authentication profile request is not valid. The profile name can't be null or empty. The authentication profile API operation must be available in the Amazon Web Services Region.

", "refs": { @@ -1958,6 +2022,11 @@ "refs": { } }, + "InvalidPolicyFault": { + "base": "

The resource policy isn't valid.

", + "refs": { + } + }, "InvalidReservedNodeStateFault": { "base": "

Indicates that the Reserved Node being exchanged is not in an active state.

", "refs": { @@ -2452,6 +2521,16 @@ "refs": { } }, + "PutResourcePolicyMessage": { + "base": null, + "refs": { + } + }, + "PutResourcePolicyResult": { + "base": null, + "refs": { + } + }, "RebootClusterMessage": { "base": "

", "refs": { @@ -2630,6 +2709,13 @@ "refs": { } }, + "ResourcePolicy": { + "base": "

The policy that is attached to a resource.

", + "refs": { + "GetResourcePolicyResult$ResourcePolicy": "

The content of the resource policy.

", + "PutResourcePolicyResult$ResourcePolicy": "

The content of the updated resource policy.

" + } + }, "RestorableNodeTypeList": { "base": null, "refs": { @@ -3199,6 +3285,7 @@ "DeleteEventSubscriptionMessage$SubscriptionName": "

The name of the Amazon Redshift event notification subscription to be deleted.

", "DeleteHsmClientCertificateMessage$HsmClientCertificateIdentifier": "

The identifier of the HSM client certificate to be deleted.

", "DeleteHsmConfigurationMessage$HsmConfigurationIdentifier": "

The identifier of the Amazon Redshift HSM configuration to be deleted.

", + "DeleteResourcePolicyMessage$ResourceArn": "

The Amazon Resource Name (ARN) of the resource of which its resource policy is deleted.

", "DeleteScheduledActionMessage$ScheduledActionName": "

The name of the scheduled action to delete.

", "DeleteSnapshotCopyGrantMessage$SnapshotCopyGrantName": "

The name of the snapshot copy grant to delete.

", "DeleteSnapshotScheduleMessage$ScheduleIdentifier": "

A unique identifier of the snapshot schedule to delete.

", @@ -3257,6 +3344,9 @@ "DescribeHsmClientCertificatesMessage$Marker": "

An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeHsmClientCertificates request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.

", "DescribeHsmConfigurationsMessage$HsmConfigurationIdentifier": "

The identifier of a specific Amazon Redshift HSM configuration to be described. If no identifier is specified, information is returned for all HSM configurations owned by your Amazon Web Services account.

", "DescribeHsmConfigurationsMessage$Marker": "

An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeHsmConfigurations request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.

", + "DescribeInboundIntegrationsMessage$IntegrationArn": "

The Amazon Resource Name (ARN) of the inbound integration.

", + "DescribeInboundIntegrationsMessage$TargetArn": "

The Amazon Resource Name (ARN) of the target of an inbound integration.

", + "DescribeInboundIntegrationsMessage$Marker": "

An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeInboundIntegrations request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.

", "DescribeLoggingStatusMessage$ClusterIdentifier": "

The identifier of the cluster from which to get the logging status.

Example: examplecluster

", "DescribeNodeConfigurationOptionsMessage$ClusterIdentifier": "

The identifier of the cluster to evaluate for possible node configurations.

", "DescribeNodeConfigurationOptionsMessage$SnapshotIdentifier": "

The identifier of the snapshot to evaluate for possible node configurations.

", @@ -3352,6 +3442,7 @@ "GetReservedNodeExchangeOfferingsInputMessage$ReservedNodeId": "

A string representing the node identifier for the DC1 Reserved Node to be exchanged.

", "GetReservedNodeExchangeOfferingsInputMessage$Marker": "

A value that indicates the starting point for the next set of ReservedNodeOfferings.

", "GetReservedNodeExchangeOfferingsOutputMessage$Marker": "

An optional parameter that specifies the starting point for returning a set of response records. When the results of a GetReservedNodeExchangeOfferings request exceed the value specified in MaxRecords, Amazon Redshift returns a value in the marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the marker parameter and retrying the request.

", + "GetResourcePolicyMessage$ResourceArn": "

The Amazon Resource Name (ARN) of the resource of which its resource policy is fetched.

", "HsmClientCertificate$HsmClientCertificateIdentifier": "

The identifier of the HSM client certificate.

", "HsmClientCertificate$HsmClientCertificatePublicKey": "

The public key that the Amazon Redshift cluster will use to connect to the HSM. You must register the public key in the HSM.

", "HsmClientCertificateMessage$Marker": "

A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.

", @@ -3369,6 +3460,12 @@ "ImportTablesCompleted$member": null, "ImportTablesInProgress$member": null, "ImportTablesNotStarted$member": null, + "InboundIntegration$IntegrationArn": "

The Amazon Resource Name (ARN) of an inbound integration.

", + "InboundIntegration$SourceArn": "

The Amazon Resource Name (ARN) of the source of an inbound integration.

", + "InboundIntegration$TargetArn": "

The Amazon Resource Name (ARN) of the target of an inbound integration.

", + "InboundIntegrationsMessage$Marker": "

A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.

", + "IntegrationError$ErrorCode": "

The error code of an inbound integration error.

", + "IntegrationError$ErrorMessage": "

The error message of an inbound integration error.

", "LogTypeList$member": null, "LoggingStatus$BucketName": "

The name of the S3 bucket where the log files are stored.

", "LoggingStatus$S3KeyPrefix": "

The prefix applied to the log file names.

", @@ -3445,6 +3542,8 @@ "PendingModifiedValues$MaintenanceTrackName": "

The name of the maintenance track that the cluster will change to during the next maintenance window.

", "PendingModifiedValues$EncryptionType": "

The encryption type for a cluster. Possible values are: KMS and None.

", "PurchaseReservedNodeOfferingMessage$ReservedNodeOfferingId": "

The unique identifier of the reserved node offering you want to purchase.

", + "PutResourcePolicyMessage$ResourceArn": "

The Amazon Resource Name (ARN) of the resource of which its resource policy is updated.

", + "PutResourcePolicyMessage$Policy": "

The content of the resource policy being updated.

", "RebootClusterMessage$ClusterIdentifier": "

The cluster identifier.

", "RecurringCharge$RecurringChargeFrequency": "

The frequency at which the recurring charge amount is applied.

", "RejectDataShareMessage$DataShareArn": "

The Amazon Resource Name (ARN) of the datashare to reject.

", @@ -3478,6 +3577,8 @@ "ResizeProgressMessage$ResizeType": "

An enum with possible values of ClassicResize and ElasticResize. These values describe the type of resize operation being performed.

", "ResizeProgressMessage$Message": "

An optional string to provide additional details about the resize action.

", "ResizeProgressMessage$TargetEncryptionType": "

The type of encryption for the cluster after the resize is complete.

Possible values are KMS and None.

", + "ResourcePolicy$ResourceArn": "

The resources that a policy is attached to.

", + "ResourcePolicy$Policy": "

The content of a resource policy.

", "RestorableNodeTypeList$member": null, "RestoreFromClusterSnapshotMessage$ClusterIdentifier": "

The identifier of the cluster that will be created from restoring the snapshot.

Constraints:

", "RestoreFromClusterSnapshotMessage$SnapshotIdentifier": "

The name of the snapshot from which to create the new cluster. This parameter isn't case sensitive. You must specify this parameter or snapshotArn, but not both.

Example: my-snapshot-id

", @@ -3697,6 +3798,7 @@ "EndpointAuthorization$AuthorizeTime": "

The time (UTC) when the authorization was created.

", "Event$Date": "

The date and time of the event.

", "EventSubscription$SubscriptionCreationTime": "

The date and time the Amazon Redshift event notification subscription was created.

", + "InboundIntegration$CreateTime": "

The creation time of an inbound integration.

", "LoggingStatus$LastSuccessfulDeliveryTime": "

The last time that logs were delivered.

", "LoggingStatus$LastFailureTime": "

The last time when logs failed to be delivered.

", "ModifyClusterMaintenanceMessage$DeferMaintenanceStartTime": "

A timestamp indicating the start time for the deferred maintenance window.

", @@ -4000,6 +4102,12 @@ "Cluster$VpcSecurityGroups": "

A list of Amazon Virtual Private Cloud (Amazon VPC) security groups that are associated with the cluster. This parameter is returned only if the cluster is in a VPC.

", "EndpointAccess$VpcSecurityGroups": "

The security groups associated with the endpoint.

" } + }, + "ZeroETLIntegrationStatus": { + "base": null, + "refs": { + "InboundIntegration$Status": "

The status of an inbound integration.

" + } } } } diff --git a/models/apis/redshift/2012-12-01/endpoint-rule-set-1.json b/models/apis/redshift/2012-12-01/endpoint-rule-set-1.json index 2b88e273eeb..de791127467 100644 --- a/models/apis/redshift/2012-12-01/endpoint-rule-set-1.json +++ b/models/apis/redshift/2012-12-01/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,18 +212,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -236,7 +231,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -256,14 +252,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -277,7 +275,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -297,7 +294,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -308,14 +304,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -326,9 +324,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/models/apis/redshift/2012-12-01/paginators-1.json b/models/apis/redshift/2012-12-01/paginators-1.json index 9fe0f863f2f..f8a476621c9 100644 --- a/models/apis/redshift/2012-12-01/paginators-1.json +++ b/models/apis/redshift/2012-12-01/paginators-1.json @@ -120,6 +120,12 @@ "output_token": "Marker", "result_key": "HsmConfigurations" }, + "DescribeInboundIntegrations": { + "input_token": "Marker", + "limit_key": "MaxRecords", + "output_token": "Marker", + "result_key": "InboundIntegrations" + }, "DescribeNodeConfigurationOptions": { "input_token": "Marker", "limit_key": "MaxRecords", diff --git a/models/apis/sagemaker/2017-07-24/api-2.json b/models/apis/sagemaker/2017-07-24/api-2.json index faf405e9543..8c8e73535c4 100644 --- a/models/apis/sagemaker/2017-07-24/api-2.json +++ b/models/apis/sagemaker/2017-07-24/api-2.json @@ -4448,7 +4448,14 @@ "MAPE", "MASE", "WAPE", - "AverageWeightedQuantileLoss" + "AverageWeightedQuantileLoss", + "Rouge1", + "Rouge2", + "RougeL", + "RougeLSum", + "Perplexity", + "ValidationLoss", + "TrainingLoss" ] }, "AutoMLMode":{ @@ -4490,7 +4497,8 @@ "ImageClassificationJobConfig":{"shape":"ImageClassificationJobConfig"}, "TextClassificationJobConfig":{"shape":"TextClassificationJobConfig"}, "TabularJobConfig":{"shape":"TabularJobConfig"}, - "TimeSeriesForecastingJobConfig":{"shape":"TimeSeriesForecastingJobConfig"} + "TimeSeriesForecastingJobConfig":{"shape":"TimeSeriesForecastingJobConfig"}, + "TextGenerationJobConfig":{"shape":"TextGenerationJobConfig"} }, "union":true }, @@ -4500,13 +4508,15 @@ "ImageClassification", "TextClassification", "Tabular", - "TimeSeriesForecasting" + "TimeSeriesForecasting", + "TextGeneration" ] }, "AutoMLProblemTypeResolvedAttributes":{ "type":"structure", "members":{ - "TabularResolvedAttributes":{"shape":"TabularResolvedAttributes"} + "TabularResolvedAttributes":{"shape":"TabularResolvedAttributes"}, + "TextGenerationResolvedAttributes":{"shape":"TextGenerationResolvedAttributes"} }, "union":true }, @@ -4612,6 +4622,12 @@ "type":"string", "min":1 }, + "BaseModelName":{ + "type":"string", + "max":256, + "min":1, + "pattern":"^[a-zA-Z0-9](-*[a-zA-Z0-9])*" + }, "BatchDataCaptureConfig":{ "type":"structure", "required":["DestinationS3Uri"], @@ -19810,6 +19826,19 @@ "TargetLabelColumn":{"shape":"TargetLabelColumn"} } }, + "TextGenerationJobConfig":{ + "type":"structure", + "members":{ + "CompletionCriteria":{"shape":"AutoMLJobCompletionCriteria"}, + "BaseModelName":{"shape":"BaseModelName"} + } + }, + "TextGenerationResolvedAttributes":{ + "type":"structure", + "members":{ + "BaseModelName":{"shape":"BaseModelName"} + } + }, "ThingName":{ "type":"string", "max":128, diff --git a/models/apis/sagemaker/2017-07-24/docs-2.json b/models/apis/sagemaker/2017-07-24/docs-2.json index 0529e823656..a63804821de 100644 --- a/models/apis/sagemaker/2017-07-24/docs-2.json +++ b/models/apis/sagemaker/2017-07-24/docs-2.json @@ -11,8 +11,8 @@ "CreateApp": "

Creates a running app for the specified UserProfile. This operation is automatically invoked by Amazon SageMaker Studio upon access to the associated Domain, and when new kernel configurations are selected by the user. A user may have multiple Apps active simultaneously.

", "CreateAppImageConfig": "

Creates a configuration for running a SageMaker image as a KernelGateway app. The configuration specifies the Amazon Elastic File System (EFS) storage volume on the image, and a list of the kernels in the image.

", "CreateArtifact": "

Creates an artifact. An artifact is a lineage tracking entity that represents a URI addressable object or data. Some examples are the S3 URI of a dataset and the ECR registry path of an image. For more information, see Amazon SageMaker ML Lineage Tracking.

", - "CreateAutoMLJob": "

Creates an Autopilot job also referred to as Autopilot experiment or AutoML job.

We recommend using the new versions CreateAutoMLJobV2 and DescribeAutoMLJobV2, which offer backward compatibility.

CreateAutoMLJobV2 can manage tabular problem types identical to those of its previous version CreateAutoMLJob, as well as time-series forecasting, and non-tabular problem types such as image or text classification.

Find guidelines about how to migrate a CreateAutoMLJob to CreateAutoMLJobV2 in Migrate a CreateAutoMLJob to CreateAutoMLJobV2.

You can find the best-performing model after you run an AutoML job by calling DescribeAutoMLJobV2 (recommended) or DescribeAutoMLJob.

", - "CreateAutoMLJobV2": "

Creates an Autopilot job also referred to as Autopilot experiment or AutoML job V2.

CreateAutoMLJobV2 and DescribeAutoMLJobV2 are new versions of CreateAutoMLJob and DescribeAutoMLJob which offer backward compatibility.

CreateAutoMLJobV2 can manage tabular problem types identical to those of its previous version CreateAutoMLJob, as well as time-series forecasting, and non-tabular problem types such as image or text classification.

Find guidelines about how to migrate a CreateAutoMLJob to CreateAutoMLJobV2 in Migrate a CreateAutoMLJob to CreateAutoMLJobV2.

For the list of available problem types supported by CreateAutoMLJobV2, see AutoMLProblemTypeConfig.

You can find the best-performing model after you run an AutoML job V2 by calling DescribeAutoMLJobV2.

", + "CreateAutoMLJob": "

Creates an Autopilot job also referred to as Autopilot experiment or AutoML job.

We recommend using the new versions CreateAutoMLJobV2 and DescribeAutoMLJobV2, which offer backward compatibility.

CreateAutoMLJobV2 can manage tabular problem types identical to those of its previous version CreateAutoMLJob, as well as time-series forecasting, non-tabular problem types such as image or text classification, and text generation (LLMs fine-tuning).

Find guidelines about how to migrate a CreateAutoMLJob to CreateAutoMLJobV2 in Migrate a CreateAutoMLJob to CreateAutoMLJobV2.

You can find the best-performing model after you run an AutoML job by calling DescribeAutoMLJobV2 (recommended) or DescribeAutoMLJob.

", + "CreateAutoMLJobV2": "

Creates an Autopilot job also referred to as Autopilot experiment or AutoML job V2.

CreateAutoMLJobV2 and DescribeAutoMLJobV2 are new versions of CreateAutoMLJob and DescribeAutoMLJob which offer backward compatibility.

CreateAutoMLJobV2 can manage tabular problem types identical to those of its previous version CreateAutoMLJob, as well as time-series forecasting, non-tabular problem types such as image or text classification, and text generation (LLMs fine-tuning).

Find guidelines about how to migrate a CreateAutoMLJob to CreateAutoMLJobV2 in Migrate a CreateAutoMLJob to CreateAutoMLJobV2.

For the list of available problem types supported by CreateAutoMLJobV2, see AutoMLProblemTypeConfig.

You can find the best-performing model after you run an AutoML job V2 by calling DescribeAutoMLJobV2.

", "CreateCodeRepository": "

Creates a Git repository as a resource in your SageMaker account. You can associate the repository with notebook instances so that you can use Git source control for the notebooks you create. The Git repository is a resource in your SageMaker account, so it can be associated with more than one notebook instance, and it persists independently from the lifecycle of any notebook instances it is associated with.

The repository can be hosted either in Amazon Web Services CodeCommit or in any other Git repository.

", "CreateCompilationJob": "

Starts a model compilation job. After the model has been compiled, Amazon SageMaker saves the resulting model artifacts to an Amazon Simple Storage Service (Amazon S3) bucket that you specify.

If you choose to host your model using Amazon SageMaker hosting services, you can use the resulting model artifacts as part of the model. You can also use the artifacts with Amazon Web Services IoT Greengrass. In that case, deploy them as an ML resource.

In the request body, you provide the following:

You can also provide a Tag to track the model compilation job's resource use and costs. The response body contains the CompilationJobArn for the compiled job.

To stop a model compilation job, use StopCompilationJob. To get information about a particular model compilation job, use DescribeCompilationJob. To get information about multiple model compilation jobs, use ListCompilationJobs.

", "CreateContext": "

Creates a context. A context is a lineage tracking entity that represents a logical grouping of other tracking or experiment entities. Some examples are an endpoint and a model package. For more information, see Amazon SageMaker ML Lineage Tracking.

", @@ -1076,6 +1076,7 @@ "ResolvedAttributes$CompletionCriteria": null, "TabularJobConfig$CompletionCriteria": null, "TextClassificationJobConfig$CompletionCriteria": "

How long a job is allowed to run, or how many candidates a job is allowed to generate.

", + "TextGenerationJobConfig$CompletionCriteria": null, "TimeSeriesForecastingJobConfig$CompletionCriteria": null } }, @@ -1089,7 +1090,7 @@ "AutoMLJobInputDataConfig": { "base": null, "refs": { - "CreateAutoMLJobV2Request$AutoMLJobInputDataConfig": "

An array of channel objects describing the input data and their location. Each channel is a named input source. Similar to the InputDataConfig attribute in the CreateAutoMLJob input parameters. The supported formats depend on the problem type:

", + "CreateAutoMLJobV2Request$AutoMLJobInputDataConfig": "

An array of channel objects describing the input data and their location. Each channel is a named input source. Similar to the InputDataConfig attribute in the CreateAutoMLJob input parameters. The supported formats depend on the problem type:

", "DescribeAutoMLJobV2Response$AutoMLJobInputDataConfig": "

Returns an array of channel objects describing the input data and their location.

" } }, @@ -1108,11 +1109,11 @@ } }, "AutoMLJobObjective": { - "base": "

Specifies a metric to minimize or maximize as the objective of a job.

", + "base": "

Specifies a metric to minimize or maximize as the objective of an AutoML job.

", "refs": { "AutoMLResolvedAttributes$AutoMLJobObjective": null, "CreateAutoMLJobRequest$AutoMLJobObjective": "

Specifies a metric to minimize or maximize as the objective of a job. If not specified, the default objective metric depends on the problem type. See AutoMLJobObjective for the default values.

", - "CreateAutoMLJobV2Request$AutoMLJobObjective": "

Specifies a metric to minimize or maximize as the objective of a job. If not specified, the default objective metric depends on the problem type. For the list of default values per problem type, see AutoMLJobObjective.

For tabular problem types, you must either provide both the AutoMLJobObjective and indicate the type of supervised learning problem in AutoMLProblemTypeConfig (TabularJobConfig.ProblemType), or none at all.

", + "CreateAutoMLJobV2Request$AutoMLJobObjective": "

Specifies a metric to minimize or maximize as the objective of a job. If not specified, the default objective metric depends on the problem type. For the list of default values per problem type, see AutoMLJobObjective.

", "DescribeAutoMLJobResponse$AutoMLJobObjective": "

Returns the job's objective.

", "DescribeAutoMLJobV2Response$AutoMLJobObjective": "

Returns the job's objective.

", "ResolvedAttributes$AutoMLJobObjective": null @@ -1169,7 +1170,7 @@ "AutoMLMetricEnum": { "base": null, "refs": { - "AutoMLJobObjective$MetricName": "

The name of the objective metric used to measure the predictive quality of a machine learning system. During training, the model's parameters are updated iteratively to optimize its performance based on the feedback provided by the objective metric when evaluating the model on the validation dataset.

For the list of all available metrics supported by Autopilot, see Autopilot metrics.

If you do not specify a metric explicitly, the default behavior is to automatically use:

", + "AutoMLJobObjective$MetricName": "

The name of the objective metric used to measure the predictive quality of a machine learning system. During training, the model's parameters are updated iteratively to optimize its performance based on the feedback provided by the objective metric when evaluating the model on the validation dataset.

The list of available metrics supported by Autopilot and the default metric applied when you do not specify a metric name explicitly depend on the problem type.

", "FinalAutoMLJobObjectiveMetric$MetricName": "

The name of the metric with the best result. For a description of the possible objective metrics, see AutoMLJobObjective$MetricName.

", "FinalAutoMLJobObjectiveMetric$StandardMetricName": "

The name of the standard metric. For a description of the standard metrics, see Autopilot candidate metrics.

", "MetricDatum$MetricName": "

The name of the metric.

" @@ -1231,7 +1232,7 @@ } }, "AutoMLProblemTypeResolvedAttributes": { - "base": "

The resolved attributes specific to the problem type of an AutoML job V2.

", + "base": "

Stores resolved attributes specific to the problem type of an AutoML job V2.

", "refs": { "AutoMLResolvedAttributes$AutoMLProblemTypeResolvedAttributes": "

Defines the resolved attributes specific to a problem type.

" } @@ -1324,6 +1325,13 @@ "CandidateArtifactLocations$BacktestResults": "

The Amazon S3 prefix to the accuracy metrics and the inference results observed over the testing window. Available only for the time-series forecasting problem type.

" } }, + "BaseModelName": { + "base": null, + "refs": { + "TextGenerationJobConfig$BaseModelName": "

The name of the base model to fine-tune. Autopilot supports fine-tuning a variety of large language models. For information on the list of supported models, see Text generation models supporting fine-tuning in Autopilot. If no BaseModelName is provided, the default model used is Falcon-7B-Instruct.

", + "TextGenerationResolvedAttributes$BaseModelName": "

The name of the base model to fine-tune.

" + } + }, "BatchDataCaptureConfig": { "base": "

Configuration to control how SageMaker captures inference data for batch transform jobs.

", "refs": { @@ -2227,7 +2235,7 @@ "base": null, "refs": { "AutoMLChannel$ContentType": "

The content type of the data from the input source. You can use text/csv;header=present or x-application/vnd.amazon+parquet. The default value is text/csv;header=present.

", - "AutoMLJobChannel$ContentType": "

The content type of the data from the input source. The following are the allowed content types for different problems:

", + "AutoMLJobChannel$ContentType": "

The content type of the data from the input source. The following are the allowed content types for different problems:

", "Channel$ContentType": "

The MIME type of the data.

", "ContentTypes$member": null, "FileSource$ContentType": "

The type of content stored in the file source.

", @@ -6346,7 +6354,7 @@ } }, "HyperParameterTuningJobObjective": { - "base": "

Defines the objective metric for a hyperparameter tuning job. Hyperparameter tuning uses the value of this metric to evaluate the training jobs it launches, and returns the training job that results in either the highest or lowest value for this metric, depending on the value you specify for the Type parameter.

", + "base": "

Defines the objective metric for a hyperparameter tuning job. Hyperparameter tuning uses the value of this metric to evaluate the training jobs it launches, and returns the training job that results in either the highest or lowest value for this metric, depending on the value you specify for the Type parameter. If you want to define a custom objective metric, see Define metrics and environment variables.

", "refs": { "HyperParameterTrainingJobDefinition$TuningObjective": null, "HyperParameterTuningJobConfig$HyperParameterTuningJobObjective": "

The HyperParameterTuningJobObjective specifies the objective metric used to evaluate the performance of training jobs launched by this tuning job.

", @@ -6530,7 +6538,7 @@ } }, "ImageClassificationJobConfig": { - "base": "

Stores the configuration information for the image classification problem of an AutoML job V2.

", + "base": "

The collection of settings used by an AutoML job V2 for the image classification problem type.

", "refs": { "AutoMLProblemTypeConfig$ImageClassificationJobConfig": "

Settings used to configure an AutoML job V2 for the image classification problem type.

" } @@ -8351,7 +8359,7 @@ "MaxCandidates": { "base": null, "refs": { - "AutoMLJobCompletionCriteria$MaxCandidates": "

The maximum number of times a training job is allowed to run.

For text and image classification, as well as time-series forecasting problem types, the supported value is 1. For tabular problem types, the maximum value is 750.

" + "AutoMLJobCompletionCriteria$MaxCandidates": "

The maximum number of times a training job is allowed to run.

For text and image classification, time-series forecasting, as well as text generation (LLMs fine-tuning) problem types, the supported value is 1. For tabular problem types, the maximum value is 750.

" } }, "MaxConcurrentInvocationsPerInstance": { @@ -13401,15 +13409,15 @@ } }, "TabularJobConfig": { - "base": "

The collection of settings used by an AutoML job V2 for the TABULAR problem type.

", + "base": "

The collection of settings used by an AutoML job V2 for the tabular problem type.

", "refs": { - "AutoMLProblemTypeConfig$TabularJobConfig": "

Settings used to configure an AutoML job V2 for a tabular problem type (regression, classification).

" + "AutoMLProblemTypeConfig$TabularJobConfig": "

Settings used to configure an AutoML job V2 for the tabular problem type (regression, classification).

" } }, "TabularResolvedAttributes": { - "base": "

The resolved attributes specific to the TABULAR problem type.

", + "base": "

The resolved attributes specific to the tabular problem type.

", "refs": { - "AutoMLProblemTypeResolvedAttributes$TabularResolvedAttributes": "

Defines the resolved attributes for the TABULAR problem type.

" + "AutoMLProblemTypeResolvedAttributes$TabularResolvedAttributes": "

The resolved attributes for the tabular problem type.

" } }, "Tag": { @@ -13672,11 +13680,23 @@ } }, "TextClassificationJobConfig": { - "base": "

Stores the configuration information for the text classification problem of an AutoML job V2.

", + "base": "

The collection of settings used by an AutoML job V2 for the text classification problem type.

", "refs": { "AutoMLProblemTypeConfig$TextClassificationJobConfig": "

Settings used to configure an AutoML job V2 for the text classification problem type.

" } }, + "TextGenerationJobConfig": { + "base": "

The collection of settings used by an AutoML job V2 for the text generation problem type.

The text generation models that support fine-tuning in Autopilot are currently accessible exclusively in regions supported by Canvas. Refer to the documentation of Canvas for the full list of its supported Regions.

", + "refs": { + "AutoMLProblemTypeConfig$TextGenerationJobConfig": "

Settings used to configure an AutoML job V2 for the text generation (LLMs fine-tuning) problem type.

The text generation models that support fine-tuning in Autopilot are currently accessible exclusively in regions supported by Canvas. Refer to the documentation of Canvas for the full list of its supported Regions.

" + } + }, + "TextGenerationResolvedAttributes": { + "base": "

The resolved attributes specific to the text generation problem type.

", + "refs": { + "AutoMLProblemTypeResolvedAttributes$TextGenerationResolvedAttributes": "

The resolved attributes for the text generation problem type.

" + } + }, "ThingName": { "base": null, "refs": { @@ -13694,7 +13714,7 @@ "TimeSeriesForecastingJobConfig": { "base": "

The collection of settings used by an AutoML job V2 for the time-series forecasting problem type.

", "refs": { - "AutoMLProblemTypeConfig$TimeSeriesForecastingJobConfig": "

Settings used to configure an AutoML job V2 for a time-series forecasting problem type.

" + "AutoMLProblemTypeConfig$TimeSeriesForecastingJobConfig": "

Settings used to configure an AutoML job V2 for the time-series forecasting problem type.

" } }, "TimeSeriesForecastingSettings": { diff --git a/models/apis/sagemaker/2017-07-24/endpoint-rule-set-1.json b/models/apis/sagemaker/2017-07-24/endpoint-rule-set-1.json index c7c60ddc19f..7294ee06334 100644 --- a/models/apis/sagemaker/2017-07-24/endpoint-rule-set-1.json +++ b/models/apis/sagemaker/2017-07-24/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,18 +212,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws", { "fn": "getAttr", "argv": [ @@ -236,7 +231,8 @@ }, "name" ] - } + }, + "aws" ] } ], @@ -252,7 +248,6 @@ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -261,7 +256,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -281,14 +277,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -302,7 +300,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -322,7 +319,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -333,14 +329,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -351,9 +349,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/models/apis/sns/2010-03-31/api-2.json b/models/apis/sns/2010-03-31/api-2.json index 40dbbf4a24c..d5ddd8926e6 100644 --- a/models/apis/sns/2010-03-31/api-2.json +++ b/models/apis/sns/2010-03-31/api-2.json @@ -61,7 +61,8 @@ {"shape":"NotFoundException"}, {"shape":"InternalErrorException"}, {"shape":"AuthorizationErrorException"}, - {"shape":"FilterPolicyLimitExceededException"} + {"shape":"FilterPolicyLimitExceededException"}, + {"shape":"ReplayLimitExceededException"} ] }, "CreatePlatformApplication":{ @@ -197,6 +198,7 @@ "input":{"shape":"DeleteTopicInput"}, "errors":[ {"shape":"InvalidParameterException"}, + {"shape":"InvalidStateException"}, {"shape":"InternalErrorException"}, {"shape":"AuthorizationErrorException"}, {"shape":"NotFoundException"}, @@ -660,6 +662,7 @@ "errors":[ {"shape":"InvalidParameterException"}, {"shape":"FilterPolicyLimitExceededException"}, + {"shape":"ReplayLimitExceededException"}, {"shape":"InternalErrorException"}, {"shape":"NotFoundException"}, {"shape":"AuthorizationErrorException"} @@ -694,6 +697,7 @@ "errors":[ {"shape":"SubscriptionLimitExceededException"}, {"shape":"FilterPolicyLimitExceededException"}, + {"shape":"ReplayLimitExceededException"}, {"shape":"InvalidParameterException"}, {"shape":"InternalErrorException"}, {"shape":"NotFoundException"}, @@ -1198,6 +1202,18 @@ }, "exception":true }, + "InvalidStateException":{ + "type":"structure", + "members":{ + "message":{"shape":"string"} + }, + "error":{ + "code":"InvalidState", + "httpStatusCode":400, + "senderFault":true + }, + "exception":true + }, "Iso2CountryCode":{ "type":"string", "max":2, @@ -1656,6 +1672,18 @@ "Label":{"shape":"label"} } }, + "ReplayLimitExceededException":{ + "type":"structure", + "members":{ + "message":{"shape":"string"} + }, + "error":{ + "code":"ReplayLimitExceeded", + "httpStatusCode":403, + "senderFault":true + }, + "exception":true + }, "ResourceNotFoundException":{ "type":"structure", "members":{ diff --git a/models/apis/sns/2010-03-31/docs-2.json b/models/apis/sns/2010-03-31/docs-2.json index 3ad06096420..510129fb746 100644 --- a/models/apis/sns/2010-03-31/docs-2.json +++ b/models/apis/sns/2010-03-31/docs-2.json @@ -39,7 +39,7 @@ "SetSMSAttributes": "

Use this request to set the default settings for sending SMS messages and receiving daily SMS usage reports.

You can override some of these settings for a single message when you use the Publish action with the MessageAttributes.entry.N parameter. For more information, see Publishing to a mobile phone in the Amazon SNS Developer Guide.

To use this operation, you must grant the Amazon SNS service principal (sns.amazonaws.com) permission to perform the s3:ListBucket action.

", "SetSubscriptionAttributes": "

Allows a subscription owner to set an attribute of the subscription to a new value.

", "SetTopicAttributes": "

Allows a topic owner to set an attribute of the topic to a new value.

To remove the ability to change topic permissions, you must deny permissions to the AddPermission, RemovePermission, and SetTopicAttributes actions in your IAM policy.

", - "Subscribe": "

Subscribes an endpoint to an Amazon SNS topic. If the endpoint type is HTTP/S or email, or if the endpoint and the topic are not in the same Amazon Web Services account, the endpoint owner must run the ConfirmSubscription action to confirm the subscription.

You call the ConfirmSubscription action with the token from the subscription response. Confirmation tokens are valid for three days.

This action is throttled at 100 transactions per second (TPS).

", + "Subscribe": "

Subscribes an endpoint to an Amazon SNS topic. If the endpoint type is HTTP/S or email, or if the endpoint and the topic are not in the same Amazon Web Services account, the endpoint owner must run the ConfirmSubscription action to confirm the subscription.

You call the ConfirmSubscription action with the token from the subscription response. Confirmation tokens are valid for two days.

This action is throttled at 100 transactions per second (TPS).

", "TagResource": "

Add tags to the specified Amazon SNS topic. For an overview, see Amazon SNS Tags in the Amazon SNS Developer Guide.

When you use topic tags, keep the following guidelines in mind:

", "Unsubscribe": "

Deletes a subscription. If the subscription requires authentication for deletion, only the owner of the subscription or the topic's owner can unsubscribe, and an Amazon Web Services signature is required. If the Unsubscribe call does not require authentication and the requester is not the subscription owner, a final cancellation message is delivered to the endpoint, so that the endpoint owner can easily resubscribe to the topic if the Unsubscribe request was unintended.

Amazon SQS queue subscriptions require authentication for deletion. Only the owner of the subscription, or the owner of the topic can unsubscribe using the required Amazon Web Services signature.

This action is throttled at 100 transactions per second (TPS).

", "UntagResource": "

Remove tags from the specified Amazon SNS topic. For an overview, see Amazon SNS Tags in the Amazon SNS Developer Guide.

", @@ -310,6 +310,11 @@ "refs": { } }, + "InvalidStateException": { + "base": "

Indicates that the specified state is not a valid state for an event source.

", + "refs": { + } + }, "Iso2CountryCode": { "base": "The two-character code, in ISO 3166-1 alpha-2 format, for the country or region. For example, GB or US.", "refs": { @@ -322,12 +327,12 @@ } }, "KMSDisabledException": { - "base": "

The request was rejected because the specified customer master key (CMK) isn't enabled.

", + "base": "

The request was rejected because the specified Amazon Web Services KMS key isn't enabled.

", "refs": { } }, "KMSInvalidStateException": { - "base": "

The request was rejected because the state of the specified resource isn't valid for this request. For more information, see How Key State Affects Use of a Customer Master Key in the Key Management Service Developer Guide.

", + "base": "

The request was rejected because the state of the specified resource isn't valid for this request. For more information, see Key states of Amazon Web Services KMS keys in the Key Management Service Developer Guide.

", "refs": { } }, @@ -638,6 +643,11 @@ "refs": { } }, + "ReplayLimitExceededException": { + "base": "

Indicates that the request parameter has exceeded the maximum number of concurrent message replays.

", + "refs": { + } + }, "ResourceNotFoundException": { "base": "

Can’t perform the action on the specified resource. Make sure that the resource exists.

", "refs": { @@ -768,7 +778,7 @@ "base": null, "refs": { "GetSubscriptionAttributesResponse$Attributes": "

A map of the subscription's attributes. Attributes in this map include the following:

The following attribute applies only to Amazon Kinesis Data Firehose delivery stream subscriptions:

", - "SubscribeInput$Attributes": "

A map of attributes with their corresponding values.

The following lists the names, descriptions, and values of the special request parameters that the Subscribe action uses:

The following attribute applies only to Amazon Kinesis Data Firehose delivery stream subscriptions:

" + "SubscribeInput$Attributes": "

A map of attributes with their corresponding values.

The following lists the names, descriptions, and values of the special request parameters that the Subscribe action uses:

The following attribute applies only to Amazon Kinesis Data Firehose delivery stream subscriptions:

The following attributes apply only to FIFO topics:

" } }, "SubscriptionLimitExceededException": { @@ -861,7 +871,7 @@ "TopicAttributesMap": { "base": null, "refs": { - "CreateTopicInput$Attributes": "

A map of attributes with their corresponding values.

The following lists the names, descriptions, and values of the special request parameters that the CreateTopic action uses:

The following attribute applies only to server-side encryption:

The following attributes apply only to FIFO topics:

", + "CreateTopicInput$Attributes": "

A map of attributes with their corresponding values.

The following lists the names, descriptions, and values of the special request parameters that the CreateTopic action uses:

The following attribute applies only to server-side encryption:

The following attributes apply only to FIFO topics:

", "GetTopicAttributesResponse$Attributes": "

A map of the topic's attributes. Attributes in this map include the following:

The following attribute applies only to server-side-encryption:

The following attributes apply only to FIFO topics:

" } }, @@ -1041,6 +1051,7 @@ "InvalidParameterException$message": null, "InvalidParameterValueException$message": "

The parameter of an entry in a request doesn't abide by the specification.

", "InvalidSecurityException$message": null, + "InvalidStateException$message": null, "KMSAccessDeniedException$message": null, "KMSDisabledException$message": null, "KMSInvalidStateException$message": null, @@ -1053,6 +1064,7 @@ "NotFoundException$message": null, "OptedOutException$message": null, "PlatformApplicationDisabledException$message": "

Message for platform application disabled.

", + "ReplayLimitExceededException$message": null, "ResourceNotFoundException$message": null, "StaleTagException$message": null, "SubscriptionLimitExceededException$message": null, diff --git a/models/apis/sns/2010-03-31/endpoint-rule-set-1.json b/models/apis/sns/2010-03-31/endpoint-rule-set-1.json index 5c5ec25deee..30a659b5d7d 100644 --- a/models/apis/sns/2010-03-31/endpoint-rule-set-1.json +++ b/models/apis/sns/2010-03-31/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -58,331 +57,296 @@ "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" } - ] + ], + "type": "tree" }, { - "conditions": [], - "type": "tree", + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], - "type": "tree", "rules": [ { "conditions": [ { "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", + "fn": "getAttr", "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://sns-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://sns-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] }, true ] } ], - "type": "tree", "rules": [ { "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://sns.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://sns.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://sns.us-gov-west-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "ref": "Region" }, - { - "conditions": [], - "endpoint": { - "url": "https://sns-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "us-gov-west-1" ] } - ] + ], + "endpoint": { + "url": "https://sns.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://sns-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "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://sns.{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://sns.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://sns.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "endpoint": { + "url": "https://sns.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" + ], + "type": "tree" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } \ No newline at end of file diff --git a/models/apis/sns/2010-03-31/endpoint-tests-1.json b/models/apis/sns/2010-03-31/endpoint-tests-1.json index c9c0005404d..9755d146273 100644 --- a/models/apis/sns/2010-03-31/endpoint-tests-1.json +++ b/models/apis/sns/2010-03-31/endpoint-tests-1.json @@ -9,8 +9,8 @@ }, "params": { "Region": "af-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -22,8 +22,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -35,8 +35,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -48,8 +48,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -61,8 +61,8 @@ }, "params": { "Region": "ap-northeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -74,8 +74,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -87,8 +87,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -100,8 +100,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -113,8 +113,8 @@ }, "params": { "Region": "ap-southeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -126,8 +126,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -139,8 +139,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -152,8 +152,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -165,8 +165,8 @@ }, "params": { "Region": "eu-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -178,8 +178,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -191,8 +191,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -204,8 +204,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -217,8 +217,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -230,8 +230,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -243,8 +243,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -256,8 +256,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -269,8 +269,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -282,8 +282,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -295,8 +295,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -308,8 +308,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -321,8 +321,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -334,8 +334,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -347,8 +347,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -360,8 +360,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -373,8 +373,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -386,8 +386,8 @@ }, "params": { "Region": "cn-northwest-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -399,8 +399,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -412,8 +412,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -425,8 +425,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -438,8 +438,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -451,8 +451,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -464,8 +464,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -477,8 +477,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -490,8 +490,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -503,8 +503,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -516,8 +516,8 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -529,8 +529,19 @@ }, "params": { "Region": "us-iso-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { @@ -542,8 +553,19 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { @@ -555,8 +577,19 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { @@ -568,8 +601,19 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { @@ -581,8 +625,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -594,8 +638,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -606,8 +650,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -618,10 +662,16 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, "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/ssm-sap/2018-05-10/api-2.json b/models/apis/ssm-sap/2018-05-10/api-2.json index 5499faf8d58..097f14dc789 100644 --- a/models/apis/ssm-sap/2018-05-10/api-2.json +++ b/models/apis/ssm-sap/2018-05-10/api-2.json @@ -38,6 +38,7 @@ "input":{"shape":"DeregisterApplicationInput"}, "output":{"shape":"DeregisterApplicationOutput"}, "errors":[ + {"shape":"UnauthorizedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"} ] @@ -66,6 +67,7 @@ "input":{"shape":"GetComponentInput"}, "output":{"shape":"GetComponentOutput"}, "errors":[ + {"shape":"UnauthorizedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"} ] @@ -138,6 +140,7 @@ "input":{"shape":"ListComponentsInput"}, "output":{"shape":"ListComponentsOutput"}, "errors":[ + {"shape":"UnauthorizedException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"} @@ -212,6 +215,7 @@ "input":{"shape":"RegisterApplicationInput"}, "output":{"shape":"RegisterApplicationOutput"}, "errors":[ + {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"}, {"shape":"ConflictException"}, {"shape":"InternalServerException"} @@ -227,6 +231,7 @@ "input":{"shape":"StartApplicationRefreshInput"}, "output":{"shape":"StartApplicationRefreshOutput"}, "errors":[ + {"shape":"UnauthorizedException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"}, {"shape":"ConflictException"}, @@ -274,6 +279,7 @@ "input":{"shape":"UpdateApplicationSettingsInput"}, "output":{"shape":"UpdateApplicationSettingsOutput"}, "errors":[ + {"shape":"UnauthorizedException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"}, {"shape":"ConflictException"}, @@ -282,6 +288,15 @@ } }, "shapes":{ + "AllocationType":{ + "type":"string", + "enum":[ + "VPC_SUBNET", + "ELASTIC_IP", + "OVERLAY", + "UNKNOWN" + ] + }, "AppRegistryArn":{ "type":"string", "pattern":"arn:aws:servicecatalog:[a-z0-9:\\/-]+" @@ -317,7 +332,7 @@ "type":"list", "member":{"shape":"ApplicationCredential"}, "max":20, - "min":1 + "min":0 }, "ApplicationDiscoveryStatus":{ "type":"string", @@ -350,6 +365,7 @@ "type":"structure", "members":{ "Id":{"shape":"ApplicationId"}, + "DiscoveryStatus":{"shape":"ApplicationDiscoveryStatus"}, "Type":{"shape":"ApplicationType"}, "Arn":{"shape":"SsmSapArn"}, "Tags":{"shape":"TagMap"} @@ -361,7 +377,10 @@ }, "ApplicationType":{ "type":"string", - "enum":["HANA"] + "enum":[ + "HANA", + "SAP_ABAP" + ] }, "Arn":{ "type":"string", @@ -372,6 +391,7 @@ "members":{ "Hostname":{"shape":"String"}, "Ec2InstanceId":{"shape":"String"}, + "IpAddresses":{"shape":"IpAddressList"}, "OsVersion":{"shape":"String"} } }, @@ -408,12 +428,15 @@ "type":"structure", "members":{ "ComponentId":{"shape":"ComponentId"}, + "Sid":{"shape":"SID"}, + "SystemNumber":{"shape":"SAPInstanceNumber"}, "ParentComponent":{"shape":"ComponentId"}, "ChildComponents":{"shape":"ComponentIdList"}, "ApplicationId":{"shape":"ApplicationId"}, "ComponentType":{"shape":"ComponentType"}, "Status":{"shape":"ComponentStatus"}, "SapHostname":{"shape":"String"}, + "SapFeature":{"shape":"String"}, "SapKernelVersion":{"shape":"String"}, "HdbVersion":{"shape":"String"}, "Resilience":{"shape":"Resilience"}, @@ -429,6 +452,7 @@ "deprecated":true, "deprecatedMessage":"This shape is no longer used. Please use AssociatedHost." }, + "DatabaseConnection":{"shape":"DatabaseConnection"}, "LastUpdated":{"shape":"Timestamp"}, "Arn":{"shape":"SsmSapArn"} } @@ -471,7 +495,13 @@ "type":"string", "enum":[ "HANA", - "HANA_NODE" + "HANA_NODE", + "ABAP", + "ASCS", + "DIALOG", + "WEBDISP", + "WD", + "ERS" ] }, "ConflictException":{ @@ -505,6 +535,21 @@ "LastUpdated":{"shape":"Timestamp"} } }, + "DatabaseConnection":{ + "type":"structure", + "members":{ + "DatabaseConnectionMethod":{"shape":"DatabaseConnectionMethod"}, + "DatabaseArn":{"shape":"SsmSapArn"}, + "ConnectionIp":{"shape":"String"} + } + }, + "DatabaseConnectionMethod":{ + "type":"string", + "enum":[ + "DIRECT", + "OVERLAY" + ] + }, "DatabaseId":{ "type":"string", "pattern":".*[\\w\\d]+" @@ -738,6 +783,18 @@ "exception":true, "fault":true }, + "IpAddressList":{ + "type":"list", + "member":{"shape":"IpAddressMember"} + }, + "IpAddressMember":{ + "type":"structure", + "members":{ + "IpAddress":{"shape":"String"}, + "Primary":{"shape":"Boolean"}, + "AllocationType":{"shape":"AllocationType"} + } + }, "ListApplicationsInput":{ "type":"structure", "members":{ @@ -745,7 +802,8 @@ "MaxResults":{ "shape":"MaxResults", "box":true - } + }, + "Filters":{"shape":"FilterList"} } }, "ListApplicationsOutput":{ @@ -918,8 +976,7 @@ "required":[ "ApplicationId", "ApplicationType", - "Instances", - "Credentials" + "Instances" ], "members":{ "ApplicationId":{"shape":"ApplicationId"}, @@ -928,7 +985,8 @@ "SapInstanceNumber":{"shape":"SAPInstanceNumber"}, "Sid":{"shape":"SID"}, "Tags":{"shape":"TagMap"}, - "Credentials":{"shape":"ApplicationCredentialList"} + "Credentials":{"shape":"ApplicationCredentialList"}, + "DatabaseArn":{"shape":"SsmSapArn"} } }, "RegisterApplicationOutput":{ @@ -954,7 +1012,8 @@ "HsrTier":{"shape":"String"}, "HsrReplicationMode":{"shape":"ReplicationMode"}, "HsrOperationMode":{"shape":"OperationMode"}, - "ClusterStatus":{"shape":"ClusterStatus"} + "ClusterStatus":{"shape":"ClusterStatus"}, + "EnqueueReplication":{"shape":"Boolean"} } }, "ResourceId":{ @@ -1049,6 +1108,17 @@ "min":1 }, "Timestamp":{"type":"timestamp"}, + "UnauthorizedException":{ + "type":"structure", + "members":{ + "Message":{"shape":"String"} + }, + "error":{ + "httpStatusCode":401, + "senderFault":true + }, + "exception":true + }, "UntagResourceRequest":{ "type":"structure", "required":[ @@ -1080,7 +1150,8 @@ "ApplicationId":{"shape":"ApplicationId"}, "CredentialsToAddOrUpdate":{"shape":"ApplicationCredentialList"}, "CredentialsToRemove":{"shape":"ApplicationCredentialList"}, - "Backint":{"shape":"BackintConfig"} + "Backint":{"shape":"BackintConfig"}, + "DatabaseArn":{"shape":"SsmSapArn"} } }, "UpdateApplicationSettingsOutput":{ diff --git a/models/apis/ssm-sap/2018-05-10/docs-2.json b/models/apis/ssm-sap/2018-05-10/docs-2.json index 2d41fd718b8..7fcf3bc89aa 100644 --- a/models/apis/ssm-sap/2018-05-10/docs-2.json +++ b/models/apis/ssm-sap/2018-05-10/docs-2.json @@ -22,6 +22,12 @@ "UpdateApplicationSettings": "

Updates the settings of an application registered with AWS Systems Manager for SAP.

" }, "shapes": { + "AllocationType": { + "base": null, + "refs": { + "IpAddressMember$AllocationType": "

The type of allocation for the IP address.

" + } + }, "AppRegistryArn": { "base": null, "refs": { @@ -54,7 +60,8 @@ "ApplicationDiscoveryStatus": { "base": null, "refs": { - "Application$DiscoveryStatus": "

The latest discovery result for the application.

" + "Application$DiscoveryStatus": "

The latest discovery result for the application.

", + "ApplicationSummary$DiscoveryStatus": "

The status of the latest discovery.

" } }, "ApplicationId": { @@ -136,7 +143,9 @@ "Boolean": { "base": null, "refs": { - "BackintConfig$EnsureNoBackupInProcess": "

" + "BackintConfig$EnsureNoBackupInProcess": "

", + "IpAddressMember$Primary": "

The primary IP address.

", + "Resilience$EnqueueReplication": "

Indicates if or not enqueue replication is enabled for the ASCS component.

" } }, "ClusterStatus": { @@ -175,7 +184,7 @@ "ComponentStatus": { "base": null, "refs": { - "Component$Status": "

The status of the component.

" + "Component$Status": "

The status of the component.

" } }, "ComponentSummary": { @@ -214,6 +223,18 @@ "GetDatabaseOutput$Database": "

The SAP HANA database of an application registered with AWS Systems Manager for SAP.

" } }, + "DatabaseConnection": { + "base": "

The connection specifications for the database.

", + "refs": { + "Component$DatabaseConnection": "

The connection specifications for the database of the component.

" + } + }, + "DatabaseConnectionMethod": { + "base": null, + "refs": { + "DatabaseConnection$DatabaseConnectionMethod": "

The method of connection.

" + } + }, "DatabaseId": { "base": null, "refs": { @@ -289,6 +310,7 @@ "FilterList": { "base": null, "refs": { + "ListApplicationsInput$Filters": "

The filter of name, value, and operator.

", "ListOperationsInput$Filters": "

The filters of an operation.

" } }, @@ -401,6 +423,18 @@ "refs": { } }, + "IpAddressList": { + "base": null, + "refs": { + "AssociatedHost$IpAddresses": "

The IP addresses of the associated host.

" + } + }, + "IpAddressMember": { + "base": "

Provides information of the IP address.

", + "refs": { + "IpAddressList$member": null + } + }, "ListApplicationsInput": { "base": null, "refs": { @@ -586,12 +620,14 @@ "SAPInstanceNumber": { "base": null, "refs": { + "Component$SystemNumber": "

The SAP system number of the application component.

", "RegisterApplicationInput$SapInstanceNumber": "

The SAP instance number of the application.

" } }, "SID": { "base": null, "refs": { + "Component$Sid": "

The SAP System Identifier of the application component.

", "RegisterApplicationInput$Sid": "

The System ID of the application.

" } }, @@ -609,12 +645,15 @@ "Component$Arn": "

The Amazon Resource Name (ARN) of the component.

", "ComponentSummary$Arn": "

The Amazon Resource Name (ARN) of the component summary.

", "Database$Arn": "

The Amazon Resource Name (ARN) of the database.

", + "DatabaseConnection$DatabaseArn": "

The Amazon Resource Name of the connected SAP HANA database.

", "DatabaseSummary$Arn": "

The Amazon Resource Name (ARN) of the database.

", "GetApplicationInput$ApplicationArn": "

The Amazon Resource Name (ARN) of the application.

", "GetDatabaseInput$DatabaseArn": "

The Amazon Resource Name (ARN) of the database.

", "ListTagsForResourceRequest$resourceArn": "

The Amazon Resource Name (ARN) of the resource.

", + "RegisterApplicationInput$DatabaseArn": "

The Amazon Resource Name of the SAP HANA database.

", "TagResourceRequest$resourceArn": "

The Amazon Resource Name (ARN) of the resource.

", - "UntagResourceRequest$resourceArn": "

The Amazon Resource Name (ARN) of the resource.

" + "UntagResourceRequest$resourceArn": "

The Amazon Resource Name (ARN) of the resource.

", + "UpdateApplicationSettingsInput$DatabaseArn": "

The Amazon Resource Name of the SAP HANA database that replaces the current SAP HANA connection with the SAP_ABAP application.

" } }, "StartApplicationRefreshInput": { @@ -635,12 +674,14 @@ "AssociatedHost$Ec2InstanceId": "

The ID of the Amazon EC2 instance.

", "AssociatedHost$OsVersion": "

The version of the operating system.

", "Component$SapHostname": "

The hostname of the component.

", + "Component$SapFeature": "

The SAP feature of the component.

", "Component$SapKernelVersion": "

The kernel version of the component.

", "Component$HdbVersion": "

The SAP HANA version of the component.

", "Component$PrimaryHost": "

The primary host of the component.

", "ConflictException$Message": null, "Database$DatabaseName": "

The name of the database.

", "Database$PrimaryHost": "

The primary host of the database.

", + "DatabaseConnection$ConnectionIp": "

The IP address for connection.

", "DeleteResourcePermissionOutput$Policy": "

The policy that removes permissions on the target database.

", "GetResourcePermissionOutput$Policy": "

", "Host$HostName": "

The name of the Dedicated Host.

", @@ -649,12 +690,14 @@ "Host$InstanceId": "

The instance ID of the instance on the Dedicated Host.

", "Host$OsVersion": "

The version of the operating system.

", "InternalServerException$Message": null, + "IpAddressMember$IpAddress": "

The IP address.

", "Operation$StatusMessage": "

The status message of the operation.

", "OperationProperties$key": null, "OperationProperties$value": null, "PutResourcePermissionOutput$Policy": "

", "Resilience$HsrTier": "

The tier of the component.

", "ResourceNotFoundException$Message": null, + "UnauthorizedException$Message": null, "UpdateApplicationSettingsOutput$Message": "

The update message.

", "ValidationException$Message": null } @@ -713,6 +756,11 @@ "Operation$LastUpdatedTime": "

The time at which the operation was last updated.

" } }, + "UnauthorizedException": { + "base": "

The request is not authorized.

", + "refs": { + } + }, "UntagResourceRequest": { "base": null, "refs": { diff --git a/models/apis/ssm-sap/2018-05-10/endpoint-rule-set-1.json b/models/apis/ssm-sap/2018-05-10/endpoint-rule-set-1.json index d90aa896935..886227ea34c 100644 --- a/models/apis/ssm-sap/2018-05-10/endpoint-rule-set-1.json +++ b/models/apis/ssm-sap/2018-05-10/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -59,7 +58,6 @@ }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -87,13 +85,14 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -106,7 +105,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -120,7 +118,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -143,7 +140,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -178,11 +174,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -193,16 +187,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -216,14 +213,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -232,15 +227,14 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -251,16 +245,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -274,7 +271,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -294,11 +290,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -309,20 +303,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -333,18 +329,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } - ] + ], + "type": "tree" } ] } \ No newline at end of file diff --git a/models/apis/ssm-sap/2018-05-10/endpoint-tests-1.json b/models/apis/ssm-sap/2018-05-10/endpoint-tests-1.json index 232b023d42f..bada350570c 100644 --- a/models/apis/ssm-sap/2018-05-10/endpoint-tests-1.json +++ b/models/apis/ssm-sap/2018-05-10/endpoint-tests-1.json @@ -1,53 +1,53 @@ { "testCases": [ { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://ssm-sap-fips.us-gov-east-1.api.aws" + "url": "https://ssm-sap-fips.us-east-1.api.aws" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-east-1", "UseFIPS": true, "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm-sap-fips.us-gov-east-1.amazonaws.com" + "url": "https://ssm-sap-fips.us-east-1.amazonaws.com" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://ssm-sap.us-gov-east-1.api.aws" + "url": "https://ssm-sap.us-east-1.api.aws" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm-sap.us-gov-east-1.amazonaws.com" + "url": "https://ssm-sap.us-east-1.amazonaws.com" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false } @@ -105,101 +105,101 @@ } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + "endpoint": { + "url": "https://ssm-sap-fips.us-gov-east-1.api.aws" + } }, "params": { - "Region": "us-iso-east-1", + "Region": "us-gov-east-1", "UseFIPS": true, "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm-sap-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://ssm-sap-fips.us-gov-east-1.amazonaws.com" } }, "params": { - "Region": "us-iso-east-1", + "Region": "us-gov-east-1", "UseFIPS": true, "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" + "endpoint": { + "url": "https://ssm-sap.us-gov-east-1.api.aws" + } }, "params": { - "Region": "us-iso-east-1", + "Region": "us-gov-east-1", "UseFIPS": false, "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm-sap.us-iso-east-1.c2s.ic.gov" + "url": "https://ssm-sap.us-gov-east-1.amazonaws.com" } }, "params": { - "Region": "us-iso-east-1", + "Region": "us-gov-east-1", "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://ssm-sap-fips.us-east-1.api.aws" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "Region": "us-east-1", + "Region": "us-iso-east-1", "UseFIPS": true, "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm-sap-fips.us-east-1.amazonaws.com" + "url": "https://ssm-sap-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "Region": "us-east-1", + "Region": "us-iso-east-1", "UseFIPS": true, "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://ssm-sap.us-east-1.api.aws" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "Region": "us-east-1", + "Region": "us-iso-east-1", "UseFIPS": false, "UseDualStack": true } }, { - "documentation": "For region us-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://ssm-sap.us-east-1.amazonaws.com" + "url": "https://ssm-sap.us-iso-east-1.c2s.ic.gov" } }, "params": { - "Region": "us-east-1", + "Region": "us-iso-east-1", "UseFIPS": false, "UseDualStack": false } @@ -253,7 +253,7 @@ } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" @@ -266,6 +266,19 @@ "Endpoint": "https://example.com" } }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, { "documentation": "For custom endpoint with fips enabled and dualstack disabled", "expect": { @@ -289,6 +302,12 @@ "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" diff --git a/models/apis/transfer/2018-11-05/api-2.json b/models/apis/transfer/2018-11-05/api-2.json index 666fcd50f16..d804ae2cbc1 100644 --- a/models/apis/transfer/2018-11-05/api-2.json +++ b/models/apis/transfer/2018-11-05/api-2.json @@ -23,11 +23,11 @@ "input":{"shape":"CreateAccessRequest"}, "output":{"shape":"CreateAccessResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceExistsException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"ResourceExistsException"} ] }, "CreateAgreement":{ @@ -39,12 +39,12 @@ "input":{"shape":"CreateAgreementRequest"}, "output":{"shape":"CreateAgreementResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceExistsException"}, {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"InvalidRequestException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"ResourceExistsException"} ] }, "CreateConnector":{ @@ -56,12 +56,12 @@ "input":{"shape":"CreateConnectorRequest"}, "output":{"shape":"CreateConnectorResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceExistsException"}, {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"InvalidRequestException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"ResourceExistsException"} ] }, "CreateProfile":{ @@ -73,11 +73,11 @@ "input":{"shape":"CreateProfileRequest"}, "output":{"shape":"CreateProfileResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, - {"shape":"InvalidRequestException"}, {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"InvalidRequestException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] }, "CreateServer":{ @@ -89,13 +89,13 @@ "input":{"shape":"CreateServerRequest"}, "output":{"shape":"CreateServerResponse"}, "errors":[ - {"shape":"AccessDeniedException"}, - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"}, {"shape":"ResourceExistsException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"AccessDeniedException"} ] }, "CreateUser":{ @@ -107,11 +107,11 @@ "input":{"shape":"CreateUserRequest"}, "output":{"shape":"CreateUserResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceExistsException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"ResourceExistsException"} ] }, "CreateWorkflow":{ @@ -123,12 +123,12 @@ "input":{"shape":"CreateWorkflowRequest"}, "output":{"shape":"CreateWorkflowResponse"}, "errors":[ - {"shape":"AccessDeniedException"}, - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, {"shape":"InvalidRequestException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"}, {"shape":"ResourceExistsException"}, - {"shape":"ThrottlingException"} + {"shape":"AccessDeniedException"} ] }, "DeleteAccess":{ @@ -139,10 +139,10 @@ }, "input":{"shape":"DeleteAccessRequest"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] }, "DeleteAgreement":{ @@ -153,10 +153,10 @@ }, "input":{"shape":"DeleteAgreementRequest"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] }, "DeleteCertificate":{ @@ -167,10 +167,10 @@ }, "input":{"shape":"DeleteCertificateRequest"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] }, "DeleteConnector":{ @@ -181,10 +181,10 @@ }, "input":{"shape":"DeleteConnectorRequest"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] }, "DeleteHostKey":{ @@ -195,11 +195,11 @@ }, "input":{"shape":"DeleteHostKeyRequest"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, - {"shape":"InvalidRequestException"}, {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"InvalidRequestException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] }, "DeleteProfile":{ @@ -210,10 +210,10 @@ }, "input":{"shape":"DeleteProfileRequest"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] }, "DeleteServer":{ @@ -224,11 +224,11 @@ }, "input":{"shape":"DeleteServerRequest"}, "errors":[ - {"shape":"AccessDeniedException"}, - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"AccessDeniedException"} ] }, "DeleteSshPublicKey":{ @@ -239,11 +239,11 @@ }, "input":{"shape":"DeleteSshPublicKeyRequest"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, - {"shape":"InvalidRequestException"}, {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"InvalidRequestException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] }, "DeleteUser":{ @@ -254,10 +254,10 @@ }, "input":{"shape":"DeleteUserRequest"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] }, "DeleteWorkflow":{ @@ -268,11 +268,11 @@ }, "input":{"shape":"DeleteWorkflowRequest"}, "errors":[ - {"shape":"AccessDeniedException"}, - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"AccessDeniedException"} ] }, "DescribeAccess":{ @@ -284,10 +284,10 @@ "input":{"shape":"DescribeAccessRequest"}, "output":{"shape":"DescribeAccessResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] }, "DescribeAgreement":{ @@ -299,10 +299,10 @@ "input":{"shape":"DescribeAgreementRequest"}, "output":{"shape":"DescribeAgreementResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] }, "DescribeCertificate":{ @@ -314,10 +314,10 @@ "input":{"shape":"DescribeCertificateRequest"}, "output":{"shape":"DescribeCertificateResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] }, "DescribeConnector":{ @@ -329,10 +329,10 @@ "input":{"shape":"DescribeConnectorRequest"}, "output":{"shape":"DescribeConnectorResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] }, "DescribeExecution":{ @@ -344,10 +344,10 @@ "input":{"shape":"DescribeExecutionRequest"}, "output":{"shape":"DescribeExecutionResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] }, "DescribeHostKey":{ @@ -359,10 +359,10 @@ "input":{"shape":"DescribeHostKeyRequest"}, "output":{"shape":"DescribeHostKeyResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] }, "DescribeProfile":{ @@ -374,10 +374,10 @@ "input":{"shape":"DescribeProfileRequest"}, "output":{"shape":"DescribeProfileResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] }, "DescribeSecurityPolicy":{ @@ -389,10 +389,10 @@ "input":{"shape":"DescribeSecurityPolicyRequest"}, "output":{"shape":"DescribeSecurityPolicyResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] }, "DescribeServer":{ @@ -404,10 +404,10 @@ "input":{"shape":"DescribeServerRequest"}, "output":{"shape":"DescribeServerResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] }, "DescribeUser":{ @@ -419,10 +419,10 @@ "input":{"shape":"DescribeUserRequest"}, "output":{"shape":"DescribeUserResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] }, "DescribeWorkflow":{ @@ -434,10 +434,10 @@ "input":{"shape":"DescribeWorkflowRequest"}, "output":{"shape":"DescribeWorkflowResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] }, "ImportCertificate":{ @@ -449,10 +449,10 @@ "input":{"shape":"ImportCertificateRequest"}, "output":{"shape":"ImportCertificateResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] }, "ImportHostKey":{ @@ -464,12 +464,12 @@ "input":{"shape":"ImportHostKeyRequest"}, "output":{"shape":"ImportHostKeyResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceExistsException"}, {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"InvalidRequestException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"ResourceExistsException"} ] }, "ImportSshPublicKey":{ @@ -481,12 +481,12 @@ "input":{"shape":"ImportSshPublicKeyRequest"}, "output":{"shape":"ImportSshPublicKeyResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceExistsException"}, {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"InvalidRequestException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"ResourceExistsException"} ] }, "ListAccesses":{ @@ -498,11 +498,11 @@ "input":{"shape":"ListAccessesRequest"}, "output":{"shape":"ListAccessesResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, - {"shape":"InvalidNextTokenException"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"InvalidNextTokenException"} ] }, "ListAgreements":{ @@ -514,11 +514,11 @@ "input":{"shape":"ListAgreementsRequest"}, "output":{"shape":"ListAgreementsResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, - {"shape":"InvalidNextTokenException"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"InvalidNextTokenException"} ] }, "ListCertificates":{ @@ -530,11 +530,11 @@ "input":{"shape":"ListCertificatesRequest"}, "output":{"shape":"ListCertificatesResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, - {"shape":"InvalidNextTokenException"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"InvalidNextTokenException"} ] }, "ListConnectors":{ @@ -546,11 +546,11 @@ "input":{"shape":"ListConnectorsRequest"}, "output":{"shape":"ListConnectorsResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, - {"shape":"InvalidNextTokenException"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"InvalidNextTokenException"} ] }, "ListExecutions":{ @@ -562,11 +562,11 @@ "input":{"shape":"ListExecutionsRequest"}, "output":{"shape":"ListExecutionsResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, - {"shape":"InvalidNextTokenException"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"InvalidNextTokenException"} ] }, "ListHostKeys":{ @@ -578,11 +578,11 @@ "input":{"shape":"ListHostKeysRequest"}, "output":{"shape":"ListHostKeysResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, - {"shape":"InvalidNextTokenException"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"InvalidNextTokenException"} ] }, "ListProfiles":{ @@ -594,11 +594,11 @@ "input":{"shape":"ListProfilesRequest"}, "output":{"shape":"ListProfilesResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, - {"shape":"InvalidNextTokenException"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"InvalidNextTokenException"} ] }, "ListSecurityPolicies":{ @@ -610,10 +610,10 @@ "input":{"shape":"ListSecurityPoliciesRequest"}, "output":{"shape":"ListSecurityPoliciesResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, + {"shape":"InvalidRequestException"}, {"shape":"InternalServiceError"}, - {"shape":"InvalidNextTokenException"}, - {"shape":"InvalidRequestException"} + {"shape":"ServiceUnavailableException"}, + {"shape":"InvalidNextTokenException"} ] }, "ListServers":{ @@ -625,10 +625,10 @@ "input":{"shape":"ListServersRequest"}, "output":{"shape":"ListServersResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, + {"shape":"InvalidRequestException"}, {"shape":"InternalServiceError"}, - {"shape":"InvalidNextTokenException"}, - {"shape":"InvalidRequestException"} + {"shape":"ServiceUnavailableException"}, + {"shape":"InvalidNextTokenException"} ] }, "ListTagsForResource":{ @@ -640,10 +640,10 @@ "input":{"shape":"ListTagsForResourceRequest"}, "output":{"shape":"ListTagsForResourceResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, + {"shape":"InvalidRequestException"}, {"shape":"InternalServiceError"}, - {"shape":"InvalidNextTokenException"}, - {"shape":"InvalidRequestException"} + {"shape":"ServiceUnavailableException"}, + {"shape":"InvalidNextTokenException"} ] }, "ListUsers":{ @@ -655,11 +655,11 @@ "input":{"shape":"ListUsersRequest"}, "output":{"shape":"ListUsersResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, - {"shape":"InvalidNextTokenException"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"InvalidNextTokenException"} ] }, "ListWorkflows":{ @@ -671,10 +671,10 @@ "input":{"shape":"ListWorkflowsRequest"}, "output":{"shape":"ListWorkflowsResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, + {"shape":"InvalidRequestException"}, {"shape":"InternalServiceError"}, - {"shape":"InvalidNextTokenException"}, - {"shape":"InvalidRequestException"} + {"shape":"ServiceUnavailableException"}, + {"shape":"InvalidNextTokenException"} ] }, "SendWorkflowStepState":{ @@ -686,12 +686,12 @@ "input":{"shape":"SendWorkflowStepStateRequest"}, "output":{"shape":"SendWorkflowStepStateResponse"}, "errors":[ - {"shape":"AccessDeniedException"}, - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, - {"shape":"InvalidRequestException"}, {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"InvalidRequestException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"AccessDeniedException"} ] }, "StartFileTransfer":{ @@ -703,11 +703,11 @@ "input":{"shape":"StartFileTransferRequest"}, "output":{"shape":"StartFileTransferResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, - {"shape":"InvalidRequestException"}, {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"InvalidRequestException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] }, "StartServer":{ @@ -718,11 +718,11 @@ }, "input":{"shape":"StartServerRequest"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, - {"shape":"InvalidRequestException"}, {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"InvalidRequestException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] }, "StopServer":{ @@ -733,11 +733,11 @@ }, "input":{"shape":"StopServerRequest"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, - {"shape":"InvalidRequestException"}, {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"InvalidRequestException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] }, "TagResource":{ @@ -748,10 +748,10 @@ }, "input":{"shape":"TagResourceRequest"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] }, "TestConnection":{ @@ -763,10 +763,10 @@ "input":{"shape":"TestConnectionRequest"}, "output":{"shape":"TestConnectionResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] }, "TestIdentityProvider":{ @@ -778,10 +778,10 @@ "input":{"shape":"TestIdentityProviderRequest"}, "output":{"shape":"TestIdentityProviderResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] }, "UntagResource":{ @@ -792,10 +792,10 @@ }, "input":{"shape":"UntagResourceRequest"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] }, "UpdateAccess":{ @@ -807,12 +807,12 @@ "input":{"shape":"UpdateAccessRequest"}, "output":{"shape":"UpdateAccessResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceExistsException"}, {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"InvalidRequestException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"ResourceExistsException"} ] }, "UpdateAgreement":{ @@ -824,12 +824,12 @@ "input":{"shape":"UpdateAgreementRequest"}, "output":{"shape":"UpdateAgreementResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceExistsException"}, {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"InvalidRequestException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"ResourceExistsException"} ] }, "UpdateCertificate":{ @@ -841,11 +841,11 @@ "input":{"shape":"UpdateCertificateRequest"}, "output":{"shape":"UpdateCertificateResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, - {"shape":"InvalidRequestException"}, {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"InvalidRequestException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] }, "UpdateConnector":{ @@ -857,12 +857,12 @@ "input":{"shape":"UpdateConnectorRequest"}, "output":{"shape":"UpdateConnectorResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceExistsException"}, {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"InvalidRequestException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"ResourceExistsException"} ] }, "UpdateHostKey":{ @@ -874,11 +874,11 @@ "input":{"shape":"UpdateHostKeyRequest"}, "output":{"shape":"UpdateHostKeyResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, - {"shape":"InvalidRequestException"}, {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"InvalidRequestException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] }, "UpdateProfile":{ @@ -890,11 +890,11 @@ "input":{"shape":"UpdateProfileRequest"}, "output":{"shape":"UpdateProfileResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, - {"shape":"InvalidRequestException"}, {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"InvalidRequestException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] }, "UpdateServer":{ @@ -906,14 +906,14 @@ "input":{"shape":"UpdateServerRequest"}, "output":{"shape":"UpdateServerResponse"}, "errors":[ - {"shape":"AccessDeniedException"}, - {"shape":"ServiceUnavailableException"}, {"shape":"ConflictException"}, - {"shape":"InternalServiceError"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidRequestException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"}, {"shape":"ResourceExistsException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"AccessDeniedException"} ] }, "UpdateUser":{ @@ -925,11 +925,11 @@ "input":{"shape":"UpdateUserRequest"}, "output":{"shape":"UpdateUserResponse"}, "errors":[ - {"shape":"ServiceUnavailableException"}, - {"shape":"InternalServiceError"}, - {"shape":"InvalidRequestException"}, {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"InvalidRequestException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceError"}, + {"shape":"ServiceUnavailableException"} ] } }, @@ -939,8 +939,7 @@ "members":{ "Message":{"shape":"ServiceErrorMessage"} }, - "exception":true, - "synthetic":true + "exception":true }, "AddressAllocationId":{"type":"string"}, "AddressAllocationIds":{ @@ -951,7 +950,7 @@ "type":"string", "max":19, "min":19, - "pattern":"^a-([0-9a-f]{17})$" + "pattern":"a-([0-9a-f]{17})" }, "AgreementStatusType":{ "type":"string", @@ -989,7 +988,7 @@ "type":"string", "max":128, "min":1, - "pattern":"^[\\p{Print}\\s]*" + "pattern":"[\\p{Print}\\s]*" }, "As2Transport":{ "type":"string", @@ -1012,31 +1011,32 @@ "type":"string", "max":48, "min":0, - "pattern":"^[\\p{XDigit}{2}:?]*" + "pattern":"[\\p{XDigit}{2}:?]*" }, "Certificate":{ "type":"string", - "max":1600 + "max":1600, + "min":0 }, "CertificateBodyType":{ "type":"string", "max":16384, "min":1, - "pattern":"^[\\u0009\\u000A\\u000D\\u0020-\\u00FF]*", + "pattern":"[\\u0009\\u000A\\u000D\\u0020-\\u00FF]*", "sensitive":true }, "CertificateChainType":{ "type":"string", "max":2097152, "min":1, - "pattern":"^[\\u0009\\u000A\\u000D\\u0020-\\u00FF]*", + "pattern":"[\\u0009\\u000A\\u000D\\u0020-\\u00FF]*", "sensitive":true }, "CertificateId":{ "type":"string", "max":22, "min":22, - "pattern":"^cert-([0-9a-f]{17})$" + "pattern":"cert-([0-9a-f]{17})" }, "CertificateIds":{ "type":"list", @@ -1083,7 +1083,7 @@ "type":"string", "max":19, "min":19, - "pattern":"^c-([0-9a-f]{17})$" + "pattern":"c-([0-9a-f]{17})" }, "CopyStepDetails":{ "type":"structure", @@ -1202,7 +1202,7 @@ "HostKey":{"shape":"HostKey"}, "IdentityProviderDetails":{"shape":"IdentityProviderDetails"}, "IdentityProviderType":{"shape":"IdentityProviderType"}, - "LoggingRole":{"shape":"Role"}, + "LoggingRole":{"shape":"NullableRole"}, "PostAuthenticationLoginBanner":{"shape":"PostAuthenticationLoginBanner"}, "PreAuthenticationLoginBanner":{"shape":"PreAuthenticationLoginBanner"}, "Protocols":{"shape":"Protocols"}, @@ -1287,10 +1287,12 @@ "CustomStepTarget":{ "type":"string", "max":170, - "pattern":"arn:[a-z-]+:lambda:.*$" + "min":0, + "pattern":"arn:[a-z-]+:lambda:.*" }, "CustomStepTimeoutSeconds":{ "type":"integer", + "box":true, "max":1800, "min":1 }, @@ -1719,7 +1721,7 @@ "HostKeyFingerprint":{"shape":"HostKeyFingerprint"}, "IdentityProviderDetails":{"shape":"IdentityProviderDetails"}, "IdentityProviderType":{"shape":"IdentityProviderType"}, - "LoggingRole":{"shape":"Role"}, + "LoggingRole":{"shape":"NullableRole"}, "PostAuthenticationLoginBanner":{"shape":"PostAuthenticationLoginBanner"}, "PreAuthenticationLoginBanner":{"shape":"PreAuthenticationLoginBanner"}, "Protocols":{"shape":"Protocols"}, @@ -1764,13 +1766,13 @@ "type":"string", "max":200, "min":1, - "pattern":"^[\\p{Graph}]+" + "pattern":"[\\p{Graph}]+" }, "DirectoryId":{ "type":"string", "max":12, "min":12, - "pattern":"^d-[0-9a-f]{10}$" + "pattern":"d-[0-9a-f]{10}" }, "Domain":{ "type":"string", @@ -1789,13 +1791,14 @@ "EfsFileSystemId":{ "type":"string", "max":128, - "pattern":"^(arn:aws[-a-z]*:elasticfilesystem:[0-9a-z-:]+:(access-point/fsap|file-system/fs)-[0-9a-f]{8,40}|fs(ap)?-[0-9a-f]{8,40})$" + "min":0, + "pattern":"(arn:aws[-a-z]*:elasticfilesystem:[0-9a-z-:]+:(access-point/fsap|file-system/fs)-[0-9a-f]{8,40}|fs(ap)?-[0-9a-f]{8,40})" }, "EfsPath":{ "type":"string", "max":65536, "min":1, - "pattern":"^[^\\x00]+$" + "pattern":"[^\\x00]+" }, "EncryptionAlg":{ "type":"string", @@ -1857,7 +1860,7 @@ "type":"string", "max":36, "min":36, - "pattern":"^[0-9a-fA-F]{8}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{12}$" + "pattern":"[0-9a-fA-F]{8}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{12}" }, "ExecutionResults":{ "type":"structure", @@ -1893,7 +1896,7 @@ "type":"string", "max":256, "min":1, - "pattern":"^S-1-[\\d-]+$" + "pattern":"S-1-[\\d-]+" }, "FileLocation":{ "type":"structure", @@ -1906,7 +1909,7 @@ "type":"string", "max":1024, "min":1, - "pattern":"^(.)+" + "pattern":"(.)+" }, "FilePaths":{ "type":"list", @@ -1914,17 +1917,21 @@ "max":10, "min":1 }, - "Fips":{"type":"boolean"}, + "Fips":{ + "type":"boolean", + "box":true + }, "Function":{ "type":"string", "max":170, "min":1, - "pattern":"^arn:[a-z-]+:lambda:.*$" + "pattern":"arn:[a-z-]+:lambda:.*" }, "HomeDirectory":{ "type":"string", "max":1024, - "pattern":"^$|/.*" + "min":0, + "pattern":"$|/.*" }, "HomeDirectoryMapEntry":{ "type":"structure", @@ -1953,20 +1960,21 @@ "HostKey":{ "type":"string", "max":4096, + "min":0, "sensitive":true }, "HostKeyDescription":{ "type":"string", "max":200, "min":0, - "pattern":"^[\\p{Print}]*$" + "pattern":"[\\p{Print}]*" }, "HostKeyFingerprint":{"type":"string"}, "HostKeyId":{ "type":"string", "max":25, "min":25, - "pattern":"^hostkey-[0-9a-f]{17}$" + "pattern":"hostkey-[0-9a-f]{17}" }, "HostKeyType":{"type":"string"}, "IdentityProviderDetails":{ @@ -2465,15 +2473,18 @@ "MapEntry":{ "type":"string", "max":1024, - "pattern":"^/.*" + "min":0, + "pattern":"/.*" }, "MapTarget":{ "type":"string", "max":1024, - "pattern":"^/.*" + "min":0, + "pattern":"/.*" }, "MaxResults":{ "type":"integer", + "box":true, "max":1000, "min":1 }, @@ -2500,7 +2511,7 @@ "type":"string", "max":1024, "min":1, - "pattern":"^[\\p{Print}\\p{Blank}]+" + "pattern":"[\\p{Print}\\p{Blank}]+" }, "NextToken":{ "type":"string", @@ -2510,17 +2521,20 @@ "NullableRole":{ "type":"string", "max":2048, - "pattern":"^$|arn:.*role/.*" + "min":0, + "pattern":"$|arn:.*role/.*" }, "OnPartialUploadWorkflowDetails":{ "type":"list", "member":{"shape":"WorkflowDetail"}, - "max":1 + "max":1, + "min":0 }, "OnUploadWorkflowDetails":{ "type":"list", "member":{"shape":"WorkflowDetail"}, - "max":1 + "max":1, + "min":0 }, "OverwriteExisting":{ "type":"string", @@ -2531,14 +2545,17 @@ }, "PassiveIp":{ "type":"string", - "max":15 + "max":15, + "min":0 }, "Policy":{ "type":"string", - "max":2048 + "max":2048, + "min":0 }, "PosixId":{ "type":"long", + "box":true, "max":4294967295, "min":0 }, @@ -2557,25 +2574,27 @@ "PostAuthenticationLoginBanner":{ "type":"string", "max":4096, + "min":0, "pattern":"[\\x09-\\x0D\\x20-\\x7E]*" }, "PreAuthenticationLoginBanner":{ "type":"string", "max":4096, + "min":0, "pattern":"[\\x09-\\x0D\\x20-\\x7E]*" }, "PrivateKeyType":{ "type":"string", "max":16384, "min":1, - "pattern":"^[\\u0009\\u000A\\u000D\\u0020-\\u00FF]*", + "pattern":"[\\u0009\\u000A\\u000D\\u0020-\\u00FF]*", "sensitive":true }, "ProfileId":{ "type":"string", "max":19, "min":19, - "pattern":"^p-([0-9a-f]{17})$" + "pattern":"p-([0-9a-f]{17})" }, "ProfileType":{ "type":"string", @@ -2650,13 +2669,13 @@ "type":"string", "max":63, "min":3, - "pattern":"^[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9]$" + "pattern":"[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9]" }, "S3Etag":{ "type":"string", "max":65536, "min":1, - "pattern":"^.+$" + "pattern":".+" }, "S3FileLocation":{ "type":"structure", @@ -2677,6 +2696,7 @@ "S3Key":{ "type":"string", "max":1024, + "min":0, "pattern":"[\\P{M}\\p{M}]*" }, "S3Tag":{ @@ -2694,12 +2714,13 @@ "type":"string", "max":128, "min":1, - "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" + "pattern":"([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)" }, "S3TagValue":{ "type":"string", "max":256, - "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" + "min":0, + "pattern":"([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)" }, "S3Tags":{ "type":"list", @@ -2711,7 +2732,7 @@ "type":"string", "max":1024, "min":1, - "pattern":"^.+$" + "pattern":".+" }, "SecondaryGids":{ "type":"list", @@ -2728,7 +2749,7 @@ "type":"string", "max":20, "min":11, - "pattern":"^sg-[0-9a-f]{8,17}$" + "pattern":"sg-[0-9a-f]{8,17}" }, "SecurityGroupIds":{ "type":"list", @@ -2737,6 +2758,7 @@ "SecurityPolicyName":{ "type":"string", "max":100, + "min":0, "pattern":"TransferSecurityPolicy-.+" }, "SecurityPolicyNames":{ @@ -2745,7 +2767,8 @@ }, "SecurityPolicyOption":{ "type":"string", - "max":50 + "max":50, + "min":0 }, "SecurityPolicyOptions":{ "type":"list", @@ -2775,7 +2798,7 @@ "type":"string", "max":19, "min":19, - "pattern":"^s-([0-9a-f]{17})$" + "pattern":"s-([0-9a-f]{17})" }, "ServiceErrorMessage":{"type":"string"}, "ServiceMetadata":{ @@ -2791,14 +2814,13 @@ "Message":{"shape":"ServiceErrorMessage"} }, "exception":true, - "fault":true, - "synthetic":true + "fault":true }, "SessionId":{ "type":"string", "max":32, "min":3, - "pattern":"^[\\w-]*$" + "pattern":"[\\w-]*" }, "SetStatOption":{ "type":"string", @@ -2847,12 +2869,14 @@ "SourceFileLocation":{ "type":"string", "max":256, - "pattern":"^\\$\\{(\\w+.)+\\w+\\}$" + "min":0, + "pattern":"\\$\\{(\\w+.)+\\w+\\}" }, "SourceIp":{ "type":"string", "max":32, - "pattern":"^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}$" + "min":0, + "pattern":"\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}" }, "SshPublicKey":{ "type":"structure", @@ -2869,19 +2893,24 @@ }, "SshPublicKeyBody":{ "type":"string", - "max":2048 + "max":2048, + "min":0 + }, + "SshPublicKeyCount":{ + "type":"integer", + "box":true }, - "SshPublicKeyCount":{"type":"integer"}, "SshPublicKeyId":{ "type":"string", "max":21, "min":21, - "pattern":"^key-[0-9a-f]{17}$" + "pattern":"key-[0-9a-f]{17}" }, "SshPublicKeys":{ "type":"list", "member":{"shape":"SshPublicKey"}, - "max":5 + "max":5, + "min":0 }, "StartFileTransferRequest":{ "type":"structure", @@ -2923,7 +2952,8 @@ "StatusCode":{"type":"integer"}, "StepResultOutputsJson":{ "type":"string", - "max":65536 + "max":65536, + "min":0 }, "StopServerRequest":{ "type":"structure", @@ -2956,7 +2986,8 @@ }, "TagKey":{ "type":"string", - "max":128 + "max":128, + "min":0 }, "TagKeys":{ "type":"list", @@ -2985,7 +3016,8 @@ }, "TagValue":{ "type":"string", - "max":256 + "max":256, + "min":0 }, "Tags":{ "type":"list", @@ -3054,7 +3086,7 @@ "type":"string", "max":512, "min":1, - "pattern":"^[0-9a-zA-Z./-]+$" + "pattern":"[0-9a-zA-Z./-]+" }, "UntagResourceRequest":{ "type":"structure", @@ -3251,9 +3283,13 @@ }, "Url":{ "type":"string", - "max":255 + "max":255, + "min":0 + }, + "UserCount":{ + "type":"integer", + "box":true }, - "UserCount":{"type":"integer"}, "UserDetails":{ "type":"structure", "required":[ @@ -3270,24 +3306,26 @@ "type":"string", "max":100, "min":3, - "pattern":"^[\\w][\\w@.-]{2,99}$" + "pattern":"[\\w][\\w@.-]{2,99}" }, "UserPassword":{ "type":"string", "max":1024, + "min":0, "sensitive":true }, "VpcEndpointId":{ "type":"string", "max":22, "min":22, - "pattern":"^vpce-[0-9a-f]{17}$" + "pattern":"vpce-[0-9a-f]{17}" }, "VpcId":{"type":"string"}, "WorkflowDescription":{ "type":"string", "max":256, - "pattern":"^[\\w- ]*$" + "min":0, + "pattern":"[\\w- ]*" }, "WorkflowDetail":{ "type":"structure", @@ -3311,7 +3349,7 @@ "type":"string", "max":19, "min":19, - "pattern":"^w-([a-z0-9]{17})$" + "pattern":"w-([a-z0-9]{17})" }, "WorkflowStep":{ "type":"structure", @@ -3327,7 +3365,8 @@ "WorkflowStepName":{ "type":"string", "max":30, - "pattern":"^[\\w-]*$" + "min":0, + "pattern":"[\\w-]*" }, "WorkflowStepType":{ "type":"string", @@ -3342,7 +3381,8 @@ "WorkflowSteps":{ "type":"list", "member":{"shape":"WorkflowStep"}, - "max":8 + "max":8, + "min":0 } } } diff --git a/models/apis/transfer/2018-11-05/docs-2.json b/models/apis/transfer/2018-11-05/docs-2.json index 8f2c80addfd..55d775b3802 100644 --- a/models/apis/transfer/2018-11-05/docs-2.json +++ b/models/apis/transfer/2018-11-05/docs-2.json @@ -1302,6 +1302,8 @@ "NullableRole": { "base": null, "refs": { + "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.

", + "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.

", "UpdateServerRequest$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.

" } }, @@ -1480,14 +1482,12 @@ "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": "

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.

", "DescribedUser$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.

", "IdentityProviderDetails$InvocationRole": "

This parameter is only applicable if your IdentityProviderType is API_GATEWAY. Provides the type of InvocationRole used to authenticate the user account.

", "ListedAccess$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.

", @@ -1573,7 +1573,7 @@ "SecretId": { "base": null, "refs": { - "SftpConnectorConfig$UserSecretId": "

The identifier for the secret (in Amazon Web Services Secrets Manager) that contains the SFTP user's private key, password, or both. The identifier can be either the Amazon Resource Name (ARN) or the name of the secret.

" + "SftpConnectorConfig$UserSecretId": "

The identifier for the secret (in Amazon Web Services Secrets Manager) that contains the SFTP user's private key, password, or both. The identifier must be the Amazon Resource Name (ARN) of the secret.

" } }, "SecurityGroupId": { 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 2694e990a7d..116cb659384 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 @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,11 +212,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -231,14 +227,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -252,7 +250,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -272,7 +269,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -283,14 +279,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -301,9 +299,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/models/apis/transfer/2018-11-05/paginators-1.json b/models/apis/transfer/2018-11-05/paginators-1.json index 6b417fb3900..27e8219a68d 100644 --- a/models/apis/transfer/2018-11-05/paginators-1.json +++ b/models/apis/transfer/2018-11-05/paginators-1.json @@ -2,81 +2,69 @@ "pagination": { "ListAccesses": { "input_token": "NextToken", - "limit_key": "MaxResults", - "non_aggregate_keys": [ - "ServerId" - ], "output_token": "NextToken", + "limit_key": "MaxResults", "result_key": "Accesses" }, "ListAgreements": { "input_token": "NextToken", - "limit_key": "MaxResults", "output_token": "NextToken", + "limit_key": "MaxResults", "result_key": "Agreements" }, "ListCertificates": { "input_token": "NextToken", - "limit_key": "MaxResults", "output_token": "NextToken", + "limit_key": "MaxResults", "result_key": "Certificates" }, "ListConnectors": { "input_token": "NextToken", - "limit_key": "MaxResults", "output_token": "NextToken", + "limit_key": "MaxResults", "result_key": "Connectors" }, "ListExecutions": { "input_token": "NextToken", - "limit_key": "MaxResults", - "non_aggregate_keys": [ - "WorkflowId" - ], "output_token": "NextToken", + "limit_key": "MaxResults", "result_key": "Executions" }, "ListProfiles": { "input_token": "NextToken", - "limit_key": "MaxResults", "output_token": "NextToken", + "limit_key": "MaxResults", "result_key": "Profiles" }, "ListSecurityPolicies": { "input_token": "NextToken", - "limit_key": "MaxResults", "output_token": "NextToken", + "limit_key": "MaxResults", "result_key": "SecurityPolicyNames" }, "ListServers": { "input_token": "NextToken", - "limit_key": "MaxResults", "output_token": "NextToken", + "limit_key": "MaxResults", "result_key": "Servers" }, "ListTagsForResource": { "input_token": "NextToken", - "limit_key": "MaxResults", - "non_aggregate_keys": [ - "Arn" - ], "output_token": "NextToken", + "limit_key": "MaxResults", "result_key": "Tags" }, "ListUsers": { "input_token": "NextToken", - "limit_key": "MaxResults", - "non_aggregate_keys": [ - "ServerId" - ], "output_token": "NextToken", + "limit_key": "MaxResults", "result_key": "Users" }, "ListWorkflows": { "input_token": "NextToken", - "limit_key": "MaxResults", "output_token": "NextToken", + "limit_key": "MaxResults", "result_key": "Workflows" } } -} \ No newline at end of file +} diff --git a/models/apis/transfer/2018-11-05/waiters-2.json b/models/apis/transfer/2018-11-05/waiters-2.json index 871dc430819..ddcd604de05 100644 --- a/models/apis/transfer/2018-11-05/waiters-2.json +++ b/models/apis/transfer/2018-11-05/waiters-2.json @@ -1,45 +1,37 @@ { - "version": 2, - "waiters": { - "ServerOffline": { - "acceptors": [ - { - "argument": "Server.State", - "expected": "OFFLINE", - "matcher": "path", - "state": "success" - }, - { - "argument": "Server.State", - "expected": "STOP_FAILED", - "matcher": "path", - "state": "failure" - } - ], - "delay": 30, - "maxAttempts": 120, - "operation": "DescribeServer", - "type": "api" + "version" : 2, + "waiters" : { + "ServerOffline" : { + "delay" : 30, + "maxAttempts" : 120, + "operation" : "DescribeServer", + "acceptors" : [ { + "matcher" : "path", + "argument" : "Server.State", + "state" : "success", + "expected" : "OFFLINE" + }, { + "matcher" : "path", + "argument" : "Server.State", + "state" : "failure", + "expected" : "STOP_FAILED" + } ] }, - "ServerOnline": { - "acceptors": [ - { - "argument": "Server.State", - "expected": "ONLINE", - "matcher": "path", - "state": "success" - }, - { - "argument": "Server.State", - "expected": "START_FAILED", - "matcher": "path", - "state": "failure" - } - ], - "delay": 30, - "maxAttempts": 120, - "operation": "DescribeServer", - "type": "api" + "ServerOnline" : { + "delay" : 30, + "maxAttempts" : 120, + "operation" : "DescribeServer", + "acceptors" : [ { + "matcher" : "path", + "argument" : "Server.State", + "state" : "success", + "expected" : "ONLINE" + }, { + "matcher" : "path", + "argument" : "Server.State", + "state" : "failure", + "expected" : "START_FAILED" + } ] } } -} +} \ No newline at end of file diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 1e0b09f316b..9effb50f5a0 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -11147,6 +11147,7 @@ "endpoints" : { "ap-northeast-1" : { }, "ap-northeast-2" : { }, + "ap-northeast-3" : { }, "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, @@ -11167,6 +11168,7 @@ "endpoints" : { "ap-northeast-1" : { }, "ap-northeast-2" : { }, + "ap-northeast-3" : { }, "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, @@ -11187,6 +11189,7 @@ "endpoints" : { "ap-northeast-1" : { }, "ap-northeast-2" : { }, + "ap-northeast-3" : { }, "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, diff --git a/service/appstream/api.go b/service/appstream/api.go index d772a16d7ff..2e9cee2902e 100644 --- a/service/appstream/api.go +++ b/service/appstream/api.go @@ -8321,9 +8321,15 @@ type ComputeCapacity struct { _ struct{} `type:"structure"` // The desired number of streaming instances. + DesiredInstances *int64 `type:"integer"` + + // The desired number of user sessions for a multi-session fleet. This is not + // allowed for single-session fleets. // - // DesiredInstances is a required field - DesiredInstances *int64 `type:"integer" required:"true"` + // When you create a fleet, you must set either the DesiredSessions or DesiredInstances + // attribute, based on the type of fleet you create. You can’t define both + // attributes or leave both attributes blank. + DesiredSessions *int64 `type:"integer"` } // String returns the string representation. @@ -8344,37 +8350,58 @@ func (s ComputeCapacity) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ComputeCapacity) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ComputeCapacity"} - if s.DesiredInstances == nil { - invalidParams.Add(request.NewErrParamRequired("DesiredInstances")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - // SetDesiredInstances sets the DesiredInstances field's value. func (s *ComputeCapacity) SetDesiredInstances(v int64) *ComputeCapacity { s.DesiredInstances = &v return s } +// SetDesiredSessions sets the DesiredSessions field's value. +func (s *ComputeCapacity) SetDesiredSessions(v int64) *ComputeCapacity { + s.DesiredSessions = &v + return s +} + // Describes the capacity status for a fleet. type ComputeCapacityStatus struct { _ struct{} `type:"structure"` + // The number of user sessions currently being used for streaming sessions. + // This only applies to multi-session fleets. + ActiveUserSessions *int64 `type:"integer"` + + // The total number of session slots that are available for streaming or are + // currently streaming. + // + // ActualUserSessionCapacity = AvailableUserSessionCapacity + ActiveUserSessions + // + // This only applies to multi-session fleets. + ActualUserSessions *int64 `type:"integer"` + // The number of currently available instances that can be used to stream sessions. Available *int64 `type:"integer"` + // The number of idle session slots currently available for user sessions. + // + // AvailableUserSessionCapacity = ActualUserSessionCapacity - ActiveUserSessions + // + // This only applies to multi-session fleets. + AvailableUserSessions *int64 `type:"integer"` + // The desired number of streaming instances. // // Desired is a required field Desired *int64 `type:"integer" required:"true"` + // The total number of sessions slots that are either running or pending. This + // represents the total number of concurrent streaming sessions your fleet can + // support in a steady state. + // + // DesiredUserSessionCapacity = ActualUserSessionCapacity + PendingUserSessionCapacity + // + // This only applies to multi-session fleets. + DesiredUserSessions *int64 `type:"integer"` + // The number of instances in use for streaming. InUse *int64 `type:"integer"` @@ -8400,18 +8427,42 @@ func (s ComputeCapacityStatus) GoString() string { return s.String() } +// SetActiveUserSessions sets the ActiveUserSessions field's value. +func (s *ComputeCapacityStatus) SetActiveUserSessions(v int64) *ComputeCapacityStatus { + s.ActiveUserSessions = &v + return s +} + +// SetActualUserSessions sets the ActualUserSessions field's value. +func (s *ComputeCapacityStatus) SetActualUserSessions(v int64) *ComputeCapacityStatus { + s.ActualUserSessions = &v + return s +} + // SetAvailable sets the Available field's value. func (s *ComputeCapacityStatus) SetAvailable(v int64) *ComputeCapacityStatus { s.Available = &v return s } +// SetAvailableUserSessions sets the AvailableUserSessions field's value. +func (s *ComputeCapacityStatus) SetAvailableUserSessions(v int64) *ComputeCapacityStatus { + s.AvailableUserSessions = &v + return s +} + // SetDesired sets the Desired field's value. func (s *ComputeCapacityStatus) SetDesired(v int64) *ComputeCapacityStatus { s.Desired = &v return s } +// SetDesiredUserSessions sets the DesiredUserSessions field's value. +func (s *ComputeCapacityStatus) SetDesiredUserSessions(v int64) *ComputeCapacityStatus { + s.DesiredUserSessions = &v + return s +} + // SetInUse sets the InUse field's value. func (s *ComputeCapacityStatus) SetInUse(v int64) *ComputeCapacityStatus { s.InUse = &v @@ -9753,13 +9804,17 @@ type CreateFleetInput struct { // Elastic fleets, and not allowed for other fleet types. MaxConcurrentSessions *int64 `type:"integer"` + // The maximum number of user sessions on an instance. This only applies to + // multi-session fleets. + MaxSessionsPerInstance *int64 `type:"integer"` + // The maximum amount of time that a streaming session can remain active, in // seconds. If users are still connected to a streaming instance five minutes // before this limit is reached, they are prompted to save any open documents // before being disconnected. After this time elapses, the instance is terminated // and replaced by a new instance. // - // Specify a value between 600 and 360000. + // Specify a value between 600 and 432000. MaxUserDurationInSeconds *int64 `type:"integer"` // A unique name for the fleet. @@ -9842,11 +9897,6 @@ func (s *CreateFleetInput) Validate() error { if s.Tags != nil && len(s.Tags) < 1 { invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) } - if s.ComputeCapacity != nil { - if err := s.ComputeCapacity.Validate(); err != nil { - invalidParams.AddNested("ComputeCapacity", err.(request.ErrInvalidParams)) - } - } if s.SessionScriptS3Location != nil { if err := s.SessionScriptS3Location.Validate(); err != nil { invalidParams.AddNested("SessionScriptS3Location", err.(request.ErrInvalidParams)) @@ -9937,6 +9987,12 @@ func (s *CreateFleetInput) SetMaxConcurrentSessions(v int64) *CreateFleetInput { return s } +// SetMaxSessionsPerInstance sets the MaxSessionsPerInstance field's value. +func (s *CreateFleetInput) SetMaxSessionsPerInstance(v int64) *CreateFleetInput { + s.MaxSessionsPerInstance = &v + return s +} + // SetMaxUserDurationInSeconds sets the MaxUserDurationInSeconds field's value. func (s *CreateFleetInput) SetMaxUserDurationInSeconds(v int64) *CreateFleetInput { s.MaxUserDurationInSeconds = &v @@ -13267,7 +13323,10 @@ type DescribeSessionsInput struct { // The name of the fleet. This value is case-sensitive. // // FleetName is a required field - FleetName *string `min:"1" type:"string" required:"true"` + FleetName *string `type:"string" required:"true"` + + // The identifier for the instance hosting the session. + InstanceId *string `min:"1" type:"string"` // The size of each page of results. The default value is 20 and the maximum // value is 50. @@ -13280,7 +13339,7 @@ type DescribeSessionsInput struct { // The name of the stack. This value is case-sensitive. // // StackName is a required field - StackName *string `min:"1" type:"string" required:"true"` + StackName *string `type:"string" required:"true"` // The user identifier (ID). If you specify a user ID, you must also specify // the authentication type. @@ -13311,8 +13370,8 @@ func (s *DescribeSessionsInput) Validate() error { if s.FleetName == nil { invalidParams.Add(request.NewErrParamRequired("FleetName")) } - if s.FleetName != nil && len(*s.FleetName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("FleetName", 1)) + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) } if s.NextToken != nil && len(*s.NextToken) < 1 { invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) @@ -13320,9 +13379,6 @@ func (s *DescribeSessionsInput) Validate() error { if s.StackName == nil { invalidParams.Add(request.NewErrParamRequired("StackName")) } - if s.StackName != nil && len(*s.StackName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("StackName", 1)) - } if s.UserId != nil && len(*s.UserId) < 2 { invalidParams.Add(request.NewErrParamMinLen("UserId", 2)) } @@ -13345,6 +13401,12 @@ func (s *DescribeSessionsInput) SetFleetName(v string) *DescribeSessionsInput { return s } +// SetInstanceId sets the InstanceId field's value. +func (s *DescribeSessionsInput) SetInstanceId(v string) *DescribeSessionsInput { + s.InstanceId = &v + return s +} + // SetLimit sets the Limit field's value. func (s *DescribeSessionsInput) SetLimit(v int64) *DescribeSessionsInput { s.Limit = &v @@ -15139,6 +15201,10 @@ type Fleet struct { // The maximum number of concurrent sessions for the fleet. MaxConcurrentSessions *int64 `type:"integer"` + // The maximum number of user sessions on an instance. This only applies to + // multi-session fleets. + MaxSessionsPerInstance *int64 `type:"integer"` + // The maximum amount of time that a streaming session can remain active, in // seconds. If users are still connected to a streaming instance five minutes // before this limit is reached, they are prompted to save any open documents @@ -15294,6 +15360,12 @@ func (s *Fleet) SetMaxConcurrentSessions(v int64) *Fleet { return s } +// SetMaxSessionsPerInstance sets the MaxSessionsPerInstance field's value. +func (s *Fleet) SetMaxSessionsPerInstance(v int64) *Fleet { + s.MaxSessionsPerInstance = &v + return s +} + // SetMaxUserDurationInSeconds sets the MaxUserDurationInSeconds field's value. func (s *Fleet) SetMaxUserDurationInSeconds(v int64) *Fleet { s.MaxUserDurationInSeconds = &v @@ -17486,6 +17558,9 @@ type Session struct { // Id is a required field Id *string `min:"1" type:"string" required:"true"` + // The identifier for the instance hosting the session. + InstanceId *string `min:"1" type:"string"` + // The time when the streaming session is set to expire. This time is based // on the MaxUserDurationinSeconds value, which determines the maximum length // of time that a streaming session can run. A streaming session might end earlier @@ -17559,6 +17634,12 @@ func (s *Session) SetId(v string) *Session { return s } +// SetInstanceId sets the InstanceId field's value. +func (s *Session) SetInstanceId(v string) *Session { + s.InstanceId = &v + return s +} + // SetMaxExpirationTime sets the MaxExpirationTime field's value. func (s *Session) SetMaxExpirationTime(v time.Time) *Session { s.MaxExpirationTime = &v @@ -19368,6 +19449,10 @@ type UpdateFleetInput struct { // The maximum number of concurrent sessions for a fleet. MaxConcurrentSessions *int64 `type:"integer"` + // The maximum number of user sessions on an instance. This only applies to + // multi-session fleets. + MaxSessionsPerInstance *int64 `type:"integer"` + // The maximum amount of time that a streaming session can remain active, in // seconds. If users are still connected to a streaming instance five minutes // before this limit is reached, they are prompted to save any open documents @@ -19378,7 +19463,7 @@ type UpdateFleetInput struct { MaxUserDurationInSeconds *int64 `type:"integer"` // A unique name for the fleet. - Name *string `min:"1" type:"string"` + Name *string `type:"string"` // The platform of the fleet. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported // for Elastic fleets. @@ -19434,14 +19519,6 @@ func (s *UpdateFleetInput) Validate() error { if s.InstanceType != nil && len(*s.InstanceType) < 1 { invalidParams.Add(request.NewErrParamMinLen("InstanceType", 1)) } - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) - } - if s.ComputeCapacity != nil { - if err := s.ComputeCapacity.Validate(); err != nil { - invalidParams.AddNested("ComputeCapacity", err.(request.ErrInvalidParams)) - } - } if s.SessionScriptS3Location != nil { if err := s.SessionScriptS3Location.Validate(); err != nil { invalidParams.AddNested("SessionScriptS3Location", err.(request.ErrInvalidParams)) @@ -19538,6 +19615,12 @@ func (s *UpdateFleetInput) SetMaxConcurrentSessions(v int64) *UpdateFleetInput { return s } +// SetMaxSessionsPerInstance sets the MaxSessionsPerInstance field's value. +func (s *UpdateFleetInput) SetMaxSessionsPerInstance(v int64) *UpdateFleetInput { + s.MaxSessionsPerInstance = &v + return s +} + // SetMaxUserDurationInSeconds sets the MaxUserDurationInSeconds field's value. func (s *UpdateFleetInput) SetMaxUserDurationInSeconds(v int64) *UpdateFleetInput { s.MaxUserDurationInSeconds = &v @@ -20620,6 +20703,9 @@ const ( // FleetAttributeSessionScriptS3Location is a FleetAttribute enum value FleetAttributeSessionScriptS3Location = "SESSION_SCRIPT_S3_LOCATION" + + // FleetAttributeMaxSessionsPerInstance is a FleetAttribute enum value + FleetAttributeMaxSessionsPerInstance = "MAX_SESSIONS_PER_INSTANCE" ) // FleetAttribute_Values returns all elements of the FleetAttribute enum @@ -20631,6 +20717,7 @@ func FleetAttribute_Values() []string { FleetAttributeIamRoleArn, FleetAttributeUsbDeviceFilterStrings, FleetAttributeSessionScriptS3Location, + FleetAttributeMaxSessionsPerInstance, } } diff --git a/service/ec2/api.go b/service/ec2/api.go index 2fb826de373..74c8f8572bf 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -41863,6 +41863,137 @@ func (c *EC2) GetReservedInstancesExchangeQuoteWithContext(ctx aws.Context, inpu return out, req.Send() } +const opGetSecurityGroupsForVpc = "GetSecurityGroupsForVpc" + +// GetSecurityGroupsForVpcRequest generates a "aws/request.Request" representing the +// client's request for the GetSecurityGroupsForVpc 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 GetSecurityGroupsForVpc for more information on using the GetSecurityGroupsForVpc +// 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 GetSecurityGroupsForVpcRequest method. +// req, resp := client.GetSecurityGroupsForVpcRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetSecurityGroupsForVpc +func (c *EC2) GetSecurityGroupsForVpcRequest(input *GetSecurityGroupsForVpcInput) (req *request.Request, output *GetSecurityGroupsForVpcOutput) { + op := &request.Operation{ + Name: opGetSecurityGroupsForVpc, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &GetSecurityGroupsForVpcInput{} + } + + output = &GetSecurityGroupsForVpcOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetSecurityGroupsForVpc API operation for Amazon Elastic Compute Cloud. +// +// Gets security groups that can be associated by the Amazon Web Services account +// making the request with network interfaces in the specified VPC. +// +// 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 Elastic Compute Cloud's +// API operation GetSecurityGroupsForVpc for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetSecurityGroupsForVpc +func (c *EC2) GetSecurityGroupsForVpc(input *GetSecurityGroupsForVpcInput) (*GetSecurityGroupsForVpcOutput, error) { + req, out := c.GetSecurityGroupsForVpcRequest(input) + return out, req.Send() +} + +// GetSecurityGroupsForVpcWithContext is the same as GetSecurityGroupsForVpc with the addition of +// the ability to pass a context and additional request options. +// +// See GetSecurityGroupsForVpc 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 *EC2) GetSecurityGroupsForVpcWithContext(ctx aws.Context, input *GetSecurityGroupsForVpcInput, opts ...request.Option) (*GetSecurityGroupsForVpcOutput, error) { + req, out := c.GetSecurityGroupsForVpcRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// GetSecurityGroupsForVpcPages iterates over the pages of a GetSecurityGroupsForVpc operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See GetSecurityGroupsForVpc 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 GetSecurityGroupsForVpc operation. +// pageNum := 0 +// err := client.GetSecurityGroupsForVpcPages(params, +// func(page *ec2.GetSecurityGroupsForVpcOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *EC2) GetSecurityGroupsForVpcPages(input *GetSecurityGroupsForVpcInput, fn func(*GetSecurityGroupsForVpcOutput, bool) bool) error { + return c.GetSecurityGroupsForVpcPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// GetSecurityGroupsForVpcPagesWithContext same as GetSecurityGroupsForVpcPages 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 *EC2) GetSecurityGroupsForVpcPagesWithContext(ctx aws.Context, input *GetSecurityGroupsForVpcInput, fn func(*GetSecurityGroupsForVpcOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *GetSecurityGroupsForVpcInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetSecurityGroupsForVpcRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*GetSecurityGroupsForVpcOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opGetSerialConsoleAccessStatus = "GetSerialConsoleAccessStatus" // GetSerialConsoleAccessStatusRequest generates a "aws/request.Request" representing the @@ -124228,6 +124359,149 @@ func (s *GetReservedInstancesExchangeQuoteOutput) SetValidationFailureReason(v s return s } +type GetSecurityGroupsForVpcInput struct { + _ struct{} `type:"structure"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The filters. If using multiple filters, the results include security groups + // which match all filters. + // + // * group-id: The security group ID. + // + // * description: The security group's description. + // + // * group-name: The security group name. + // + // * owner-id: The security group owner ID. + // + // * primary-vpc-id: The VPC ID in which the security group was created. + Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` + + // The maximum number of items to return for this request. To get the next page + // of items, make another request with the token returned in the output. For + // more information, see Pagination (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + MaxResults *int64 `min:"5" type:"integer"` + + // The token returned from a previous paginated request. Pagination continues + // from the end of the items returned by the previous request. + NextToken *string `type:"string"` + + // The VPC ID where the security group can be used. + // + // VpcId is a required field + VpcId *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 GetSecurityGroupsForVpcInput) 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 GetSecurityGroupsForVpcInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetSecurityGroupsForVpcInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetSecurityGroupsForVpcInput"} + if s.MaxResults != nil && *s.MaxResults < 5 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 5)) + } + if s.VpcId == nil { + invalidParams.Add(request.NewErrParamRequired("VpcId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *GetSecurityGroupsForVpcInput) SetDryRun(v bool) *GetSecurityGroupsForVpcInput { + s.DryRun = &v + return s +} + +// SetFilters sets the Filters field's value. +func (s *GetSecurityGroupsForVpcInput) SetFilters(v []*Filter) *GetSecurityGroupsForVpcInput { + s.Filters = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *GetSecurityGroupsForVpcInput) SetMaxResults(v int64) *GetSecurityGroupsForVpcInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetSecurityGroupsForVpcInput) SetNextToken(v string) *GetSecurityGroupsForVpcInput { + s.NextToken = &v + return s +} + +// SetVpcId sets the VpcId field's value. +func (s *GetSecurityGroupsForVpcInput) SetVpcId(v string) *GetSecurityGroupsForVpcInput { + s.VpcId = &v + return s +} + +type GetSecurityGroupsForVpcOutput struct { + _ struct{} `type:"structure"` + + // The token to include in another request to get the next page of items. This + // value is null when there are no more items to return. + NextToken *string `locationName:"nextToken" type:"string"` + + // The security group that can be used by interfaces in the VPC. + SecurityGroupForVpcs []*SecurityGroupForVpc `locationName:"securityGroupForVpcSet" locationNameList:"item" 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 GetSecurityGroupsForVpcOutput) 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 GetSecurityGroupsForVpcOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *GetSecurityGroupsForVpcOutput) SetNextToken(v string) *GetSecurityGroupsForVpcOutput { + s.NextToken = &v + return s +} + +// SetSecurityGroupForVpcs sets the SecurityGroupForVpcs field's value. +func (s *GetSecurityGroupsForVpcOutput) SetSecurityGroupForVpcs(v []*SecurityGroupForVpc) *GetSecurityGroupsForVpcOutput { + s.SecurityGroupForVpcs = v + return s +} + type GetSerialConsoleAccessStatusInput struct { _ struct{} `type:"structure"` @@ -167815,6 +168089,83 @@ func (s *SecurityGroup) SetVpcId(v string) *SecurityGroup { return s } +// A security group that can be used by interfaces in the VPC. +type SecurityGroupForVpc struct { + _ struct{} `type:"structure"` + + // The security group's description. + Description *string `locationName:"description" type:"string"` + + // The security group ID. + GroupId *string `locationName:"groupId" type:"string"` + + // The security group name. + GroupName *string `locationName:"groupName" type:"string"` + + // The security group owner ID. + OwnerId *string `locationName:"ownerId" type:"string"` + + // The VPC ID in which the security group was created. + PrimaryVpcId *string `locationName:"primaryVpcId" type:"string"` + + // The security group tags. + Tags []*Tag `locationName:"tagSet" locationNameList:"item" 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 SecurityGroupForVpc) 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 SecurityGroupForVpc) GoString() string { + return s.String() +} + +// SetDescription sets the Description field's value. +func (s *SecurityGroupForVpc) SetDescription(v string) *SecurityGroupForVpc { + s.Description = &v + return s +} + +// SetGroupId sets the GroupId field's value. +func (s *SecurityGroupForVpc) SetGroupId(v string) *SecurityGroupForVpc { + s.GroupId = &v + return s +} + +// SetGroupName sets the GroupName field's value. +func (s *SecurityGroupForVpc) SetGroupName(v string) *SecurityGroupForVpc { + s.GroupName = &v + return s +} + +// SetOwnerId sets the OwnerId field's value. +func (s *SecurityGroupForVpc) SetOwnerId(v string) *SecurityGroupForVpc { + s.OwnerId = &v + return s +} + +// SetPrimaryVpcId sets the PrimaryVpcId field's value. +func (s *SecurityGroupForVpc) SetPrimaryVpcId(v string) *SecurityGroupForVpc { + s.PrimaryVpcId = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *SecurityGroupForVpc) SetTags(v []*Tag) *SecurityGroupForVpc { + s.Tags = v + return s +} + // Describes a security group. type SecurityGroupIdentifier struct { _ struct{} `type:"structure"` diff --git a/service/ec2/ec2iface/interface.go b/service/ec2/ec2iface/interface.go index b7b77c66c9f..43834c1dfdf 100644 --- a/service/ec2/ec2iface/interface.go +++ b/service/ec2/ec2iface/interface.go @@ -2212,6 +2212,13 @@ type EC2API interface { GetReservedInstancesExchangeQuoteWithContext(aws.Context, *ec2.GetReservedInstancesExchangeQuoteInput, ...request.Option) (*ec2.GetReservedInstancesExchangeQuoteOutput, error) GetReservedInstancesExchangeQuoteRequest(*ec2.GetReservedInstancesExchangeQuoteInput) (*request.Request, *ec2.GetReservedInstancesExchangeQuoteOutput) + GetSecurityGroupsForVpc(*ec2.GetSecurityGroupsForVpcInput) (*ec2.GetSecurityGroupsForVpcOutput, error) + GetSecurityGroupsForVpcWithContext(aws.Context, *ec2.GetSecurityGroupsForVpcInput, ...request.Option) (*ec2.GetSecurityGroupsForVpcOutput, error) + GetSecurityGroupsForVpcRequest(*ec2.GetSecurityGroupsForVpcInput) (*request.Request, *ec2.GetSecurityGroupsForVpcOutput) + + GetSecurityGroupsForVpcPages(*ec2.GetSecurityGroupsForVpcInput, func(*ec2.GetSecurityGroupsForVpcOutput, bool) bool) error + GetSecurityGroupsForVpcPagesWithContext(aws.Context, *ec2.GetSecurityGroupsForVpcInput, func(*ec2.GetSecurityGroupsForVpcOutput, bool) bool, ...request.Option) error + GetSerialConsoleAccessStatus(*ec2.GetSerialConsoleAccessStatusInput) (*ec2.GetSerialConsoleAccessStatusOutput, error) GetSerialConsoleAccessStatusWithContext(aws.Context, *ec2.GetSerialConsoleAccessStatusInput, ...request.Option) (*ec2.GetSerialConsoleAccessStatusOutput, error) GetSerialConsoleAccessStatusRequest(*ec2.GetSerialConsoleAccessStatusInput) (*request.Request, *ec2.GetSerialConsoleAccessStatusOutput) diff --git a/service/networkfirewall/api.go b/service/networkfirewall/api.go index 6b7bb7ae842..1844f6a8569 100644 --- a/service/networkfirewall/api.go +++ b/service/networkfirewall/api.go @@ -84,7 +84,7 @@ func (c *NetworkFirewall) AssociateFirewallPolicyRequest(input *AssociateFirewal // a resource that isn't valid in the context of the request. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // - ResourceNotFoundException @@ -194,7 +194,7 @@ func (c *NetworkFirewall) AssociateSubnetsRequest(input *AssociateSubnetsInput) // a resource that isn't valid in the context of the request. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // - ResourceNotFoundException @@ -323,7 +323,7 @@ func (c *NetworkFirewall) CreateFirewallRequest(input *CreateFirewallInput) (req // Unable to perform the operation because doing so would violate a limit setting. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // - ThrottlingException @@ -435,7 +435,7 @@ func (c *NetworkFirewall) CreateFirewallPolicyRequest(input *CreateFirewallPolic // Unable to process the request due to throttling limitations. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // - InsufficientCapacityException @@ -540,7 +540,7 @@ func (c *NetworkFirewall) CreateRuleGroupRequest(input *CreateRuleGroupInput) (r // Unable to process the request due to throttling limitations. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // - InsufficientCapacityException @@ -613,11 +613,12 @@ func (c *NetworkFirewall) CreateTLSInspectionConfigurationRequest(input *CreateT // CreateTLSInspectionConfiguration API operation for AWS Network Firewall. // // Creates an Network Firewall TLS inspection configuration. A TLS inspection -// configuration contains the Certificate Manager certificate references that -// Network Firewall uses to decrypt and re-encrypt inbound traffic. +// configuration contains the Certificate Manager certificate associations that +// Network Firewall uses to decrypt and re-encrypt traffic traveling through +// your firewall. // -// After you create a TLS inspection configuration, you associate it with a -// new firewall policy. +// After you create a TLS inspection configuration, you can associate it with +// a new firewall policy. // // To update the settings for a TLS inspection configuration, use UpdateTLSInspectionConfiguration. // @@ -628,7 +629,7 @@ func (c *NetworkFirewall) CreateTLSInspectionConfigurationRequest(input *CreateT // To retrieve information about TLS inspection configurations, use ListTLSInspectionConfigurations // and DescribeTLSInspectionConfiguration. // -// For more information about TLS inspection configurations, see Decrypting +// For more information about TLS inspection configurations, see Inspecting // SSL/TLS traffic with TLS inspection configurations (https://docs.aws.amazon.com/network-firewall/latest/developerguide/tls-inspection.html) // in the Network Firewall Developer Guide. // @@ -656,7 +657,7 @@ func (c *NetworkFirewall) CreateTLSInspectionConfigurationRequest(input *CreateT // Unable to process the request due to throttling limitations. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // - LimitExceededException @@ -765,7 +766,7 @@ func (c *NetworkFirewall) DeleteFirewallRequest(input *DeleteFirewallInput) (req // a resource that isn't valid in the context of the request. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // - ResourceNotFoundException @@ -875,7 +876,7 @@ func (c *NetworkFirewall) DeleteFirewallPolicyRequest(input *DeleteFirewallPolic // Unable to process the request due to throttling limitations. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // - UnsupportedOperationException @@ -974,7 +975,7 @@ func (c *NetworkFirewall) DeleteResourcePolicyRequest(input *DeleteResourcePolic // a resource that isn't valid in the context of the request. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // - ResourceNotFoundException @@ -1080,7 +1081,7 @@ func (c *NetworkFirewall) DeleteRuleGroupRequest(input *DeleteRuleGroupInput) (r // Unable to process the request due to throttling limitations. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // - UnsupportedOperationException @@ -1178,7 +1179,7 @@ func (c *NetworkFirewall) DeleteTLSInspectionConfigurationRequest(input *DeleteT // a resource that isn't valid in the context of the request. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // - ResourceNotFoundException @@ -1279,7 +1280,7 @@ func (c *NetworkFirewall) DescribeFirewallRequest(input *DescribeFirewallInput) // a resource that isn't valid in the context of the request. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // - ResourceNotFoundException @@ -1382,7 +1383,7 @@ func (c *NetworkFirewall) DescribeFirewallPolicyRequest(input *DescribeFirewallP // Unable to process the request due to throttling limitations. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DescribeFirewallPolicy @@ -1473,7 +1474,7 @@ func (c *NetworkFirewall) DescribeLoggingConfigurationRequest(input *DescribeLog // a resource that isn't valid in the context of the request. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // - ResourceNotFoundException @@ -1570,7 +1571,7 @@ func (c *NetworkFirewall) DescribeResourcePolicyRequest(input *DescribeResourceP // a resource that isn't valid in the context of the request. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // - ResourceNotFoundException @@ -1673,7 +1674,7 @@ func (c *NetworkFirewall) DescribeRuleGroupRequest(input *DescribeRuleGroupInput // Unable to process the request due to throttling limitations. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DescribeRuleGroup @@ -1773,7 +1774,7 @@ func (c *NetworkFirewall) DescribeRuleGroupMetadataRequest(input *DescribeRuleGr // Unable to process the request due to throttling limitations. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DescribeRuleGroupMetadata @@ -1864,7 +1865,7 @@ func (c *NetworkFirewall) DescribeTLSInspectionConfigurationRequest(input *Descr // a resource that isn't valid in the context of the request. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // - ResourceNotFoundException @@ -1963,7 +1964,7 @@ func (c *NetworkFirewall) DisassociateSubnetsRequest(input *DisassociateSubnetsI // a resource that isn't valid in the context of the request. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // - ResourceNotFoundException @@ -2078,7 +2079,7 @@ func (c *NetworkFirewall) ListFirewallPoliciesRequest(input *ListFirewallPolicie // Unable to process the request due to throttling limitations. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/ListFirewallPolicies @@ -2231,7 +2232,7 @@ func (c *NetworkFirewall) ListFirewallsRequest(input *ListFirewallsInput) (req * // a resource that isn't valid in the context of the request. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // - ThrottlingException @@ -2387,7 +2388,7 @@ func (c *NetworkFirewall) ListRuleGroupsRequest(input *ListRuleGroupsInput) (req // Unable to process the request due to throttling limitations. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/ListRuleGroups @@ -2537,7 +2538,7 @@ func (c *NetworkFirewall) ListTLSInspectionConfigurationsRequest(input *ListTLSI // a resource that isn't valid in the context of the request. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // - ThrottlingException @@ -2687,7 +2688,7 @@ func (c *NetworkFirewall) ListTagsForResourceRequest(input *ListTagsForResourceI // Unable to process the request due to throttling limitations. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // - ResourceNotFoundException @@ -2867,7 +2868,7 @@ func (c *NetworkFirewall) PutResourcePolicyRequest(input *PutResourcePolicyInput // a resource that isn't valid in the context of the request. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // - ResourceNotFoundException @@ -2967,7 +2968,7 @@ func (c *NetworkFirewall) TagResourceRequest(input *TagResourceInput) (req *requ // Unable to process the request due to throttling limitations. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // - ResourceNotFoundException @@ -3072,7 +3073,7 @@ func (c *NetworkFirewall) UntagResourceRequest(input *UntagResourceInput) (req * // Unable to process the request due to throttling limitations. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // - ResourceNotFoundException @@ -3180,7 +3181,7 @@ func (c *NetworkFirewall) UpdateFirewallDeleteProtectionRequest(input *UpdateFir // a resource that isn't valid in the context of the request. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // - ResourceNotFoundException @@ -3284,7 +3285,7 @@ func (c *NetworkFirewall) UpdateFirewallDescriptionRequest(input *UpdateFirewall // a resource that isn't valid in the context of the request. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // - ResourceNotFoundException @@ -3384,7 +3385,7 @@ func (c *NetworkFirewall) UpdateFirewallEncryptionConfigurationRequest(input *Up // a resource that isn't valid in the context of the request. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // - ResourceNotFoundException @@ -3493,7 +3494,7 @@ func (c *NetworkFirewall) UpdateFirewallPolicyRequest(input *UpdateFirewallPolic // Unable to process the request due to throttling limitations. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // - InvalidTokenException @@ -3590,7 +3591,7 @@ func (c *NetworkFirewall) UpdateFirewallPolicyChangeProtectionRequest(input *Upd // a resource that isn't valid in the context of the request. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // - ResourceNotFoundException @@ -3714,7 +3715,7 @@ func (c *NetworkFirewall) UpdateLoggingConfigurationRequest(input *UpdateLogging // a resource that isn't valid in the context of the request. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // - ResourceNotFoundException @@ -3829,7 +3830,7 @@ func (c *NetworkFirewall) UpdateRuleGroupRequest(input *UpdateRuleGroupInput) (r // Unable to process the request due to throttling limitations. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // - InvalidTokenException @@ -3921,7 +3922,7 @@ func (c *NetworkFirewall) UpdateSubnetChangeProtectionRequest(input *UpdateSubne // a resource that isn't valid in the context of the request. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // - ResourceNotFoundException @@ -4002,8 +4003,8 @@ func (c *NetworkFirewall) UpdateTLSInspectionConfigurationRequest(input *UpdateT // UpdateTLSInspectionConfiguration API operation for AWS Network Firewall. // // Updates the TLS inspection configuration settings for the specified TLS inspection -// configuration. You use a TLS inspection configuration by reference in one -// or more firewall policies. When you modify a TLS inspection configuration, +// configuration. You use a TLS inspection configuration by referencing it in +// one or more firewall policies. When you modify a TLS inspection configuration, // you modify all firewall policies that use the TLS inspection configuration. // // To update a TLS inspection configuration, first call DescribeTLSInspectionConfiguration @@ -4037,7 +4038,7 @@ func (c *NetworkFirewall) UpdateTLSInspectionConfigurationRequest(input *UpdateT // Unable to process the request due to throttling limitations. // // - InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. // // - InvalidTokenException @@ -4710,6 +4711,74 @@ func (s *CapacityUsageSummary) SetCIDRs(v *CIDRSummary) *CapacityUsageSummary { return s } +// Defines the actions to take on the SSL/TLS connection if the certificate +// presented by the server in the connection has a revoked or unknown status. +type CheckCertificateRevocationStatusActions struct { + _ struct{} `type:"structure"` + + // Configures how Network Firewall processes traffic when it determines that + // the certificate presented by the server in the SSL/TLS connection has a revoked + // status. + // + // * PASS - Allow the connection to continue, and pass subsequent packets + // to the stateful engine for inspection. + // + // * DROP - Network Firewall fails closed and drops all subsequent traffic. + // + // * REJECT - Network Firewall sends a TCP reject packet back to your client + // so that the client can immediately establish a new session. Network Firewall + // then fails closed and drops all subsequent traffic. REJECT is available + // only for TCP traffic. + RevokedStatusAction *string `type:"string" enum:"RevocationCheckAction"` + + // Configures how Network Firewall processes traffic when it determines that + // the certificate presented by the server in the SSL/TLS connection has an + // unknown status, or a status that cannot be determined for any other reason, + // including when the service is unable to connect to the OCSP and CRL endpoints + // for the certificate. + // + // * PASS - Allow the connection to continue, and pass subsequent packets + // to the stateful engine for inspection. + // + // * DROP - Network Firewall fails closed and drops all subsequent traffic. + // + // * REJECT - Network Firewall sends a TCP reject packet back to your client + // so that the client can immediately establish a new session. Network Firewall + // then fails closed and drops all subsequent traffic. REJECT is available + // only for TCP traffic. + UnknownStatusAction *string `type:"string" enum:"RevocationCheckAction"` +} + +// 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 CheckCertificateRevocationStatusActions) 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 CheckCertificateRevocationStatusActions) GoString() string { + return s.String() +} + +// SetRevokedStatusAction sets the RevokedStatusAction field's value. +func (s *CheckCertificateRevocationStatusActions) SetRevokedStatusAction(v string) *CheckCertificateRevocationStatusActions { + s.RevokedStatusAction = &v + return s +} + +// SetUnknownStatusAction sets the UnknownStatusAction field's value. +func (s *CheckCertificateRevocationStatusActions) SetUnknownStatusAction(v string) *CheckCertificateRevocationStatusActions { + s.UnknownStatusAction = &v + return s +} + type CreateFirewallInput struct { _ struct{} `type:"structure"` @@ -5453,11 +5522,11 @@ type CreateTLSInspectionConfigurationInput struct { // // To use a TLS inspection configuration, you add it to a new Network Firewall // firewall policy, then you apply the firewall policy to a firewall. Network - // Firewall acts as a proxy service to decrypt and inspect inbound traffic. - // You can reference a TLS inspection configuration from more than one firewall - // policy, and you can use a firewall policy in more than one firewall. For - // more information about using TLS inspection configurations, see Decrypting - // SSL/TLS traffic with TLS inspection configurations (https://docs.aws.amazon.com/network-firewall/latest/developerguide/tls-inspection.html) + // Firewall acts as a proxy service to decrypt and inspect the traffic traveling + // through your firewalls. You can reference a TLS inspection configuration + // from more than one firewall policy, and you can use a firewall policy in + // more than one firewall. For more information about using TLS inspection configurations, + // see Inspecting SSL/TLS traffic with TLS inspection configurations (https://docs.aws.amazon.com/network-firewall/latest/developerguide/tls-inspection.html) // in the Network Firewall Developer Guide. // // TLSInspectionConfiguration is a required field @@ -7028,11 +7097,11 @@ type DescribeTLSInspectionConfigurationOutput struct { // // To use a TLS inspection configuration, you add it to a new Network Firewall // firewall policy, then you apply the firewall policy to a firewall. Network - // Firewall acts as a proxy service to decrypt and inspect inbound traffic. - // You can reference a TLS inspection configuration from more than one firewall - // policy, and you can use a firewall policy in more than one firewall. For - // more information about using TLS inspection configurations, see Decrypting - // SSL/TLS traffic with TLS inspection configurations (https://docs.aws.amazon.com/network-firewall/latest/developerguide/tls-inspection.html) + // Firewall acts as a proxy service to decrypt and inspect the traffic traveling + // through your firewalls. You can reference a TLS inspection configuration + // from more than one firewall policy, and you can use a firewall policy in + // more than one firewall. For more information about using TLS inspection configurations, + // see Inspecting SSL/TLS traffic with TLS inspection configurations (https://docs.aws.amazon.com/network-firewall/latest/developerguide/tls-inspection.html) // in the Network Firewall Developer Guide. TLSInspectionConfiguration *TLSInspectionConfiguration `type:"structure"` @@ -8474,7 +8543,7 @@ func (s *InsufficientCapacityException) RequestID() string { return s.RespMetadata.RequestID } -// Your request is valid, but Network Firewall couldn’t perform the operation +// Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. type InternalServerError struct { _ struct{} `type:"structure"` @@ -11143,21 +11212,21 @@ func (s *RulesSourceList) SetTargets(v []*string) *RulesSourceList { return s } -// Any Certificate Manager Secure Sockets Layer/Transport Layer Security (SSL/TLS) -// server certificate that's associated with a ServerCertificateConfiguration -// used in a TLSInspectionConfiguration. You must request or import a SSL/TLS -// certificate into ACM for each domain Network Firewall needs to decrypt and -// inspect. Network Firewall uses the SSL/TLS certificates to decrypt specified -// inbound SSL/TLS traffic going to your firewall. For information about working -// with certificates in Certificate Manager, see Request a public certificate -// (https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-request-public.html) +// Any Certificate Manager (ACM) Secure Sockets Layer/Transport Layer Security +// (SSL/TLS) server certificate that's associated with a ServerCertificateConfiguration. +// Used in a TLSInspectionConfiguration for inspection of inbound traffic to +// your firewall. You must request or import a SSL/TLS certificate into ACM +// for each domain Network Firewall needs to decrypt and inspect. Network Firewall +// uses the SSL/TLS certificates to decrypt specified inbound SSL/TLS traffic +// going to your firewall. For information about working with certificates in +// Certificate Manager, see Request a public certificate (https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-request-public.html) // or Importing certificates (https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html) // in the Certificate Manager User Guide. type ServerCertificate struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the Certificate Manager SSL/TLS server - // certificate. + // certificate that's used for inbound SSL/TLS inspection. ResourceArn *string `min:"1" type:"string"` } @@ -11198,12 +11267,12 @@ func (s *ServerCertificate) SetResourceArn(v string) *ServerCertificate { return s } -// Configures the associated Certificate Manager Secure Sockets Layer/Transport -// Layer Security (SSL/TLS) server certificates and scope settings Network Firewall -// uses to decrypt traffic in a TLSInspectionConfiguration. For information -// about working with SSL/TLS certificates for TLS inspection, see Requirements -// for using SSL/TLS server certficiates with TLS inspection configurations -// (https://docs.aws.amazon.com/network-firewall/latest/developerguide/tls-inspection-certificate-requirements.html) +// Configures the Certificate Manager certificates and scope that Network Firewall +// uses to decrypt and re-encrypt traffic using a TLSInspectionConfiguration. +// You can configure ServerCertificates for inbound SSL/TLS inspection, a CertificateAuthorityArn +// for outbound SSL/TLS inspection, or both. For information about working with +// certificates for TLS inspection, see Requirements for using SSL/TLS server +// certficiates with TLS inspection configurations (https://docs.aws.amazon.com/network-firewall/latest/developerguide/tls-inspection-certificate-requirements.html) // in the Network Firewall Developer Guide. // // If a server certificate that's associated with your TLSInspectionConfiguration @@ -11211,11 +11280,39 @@ func (s *ServerCertificate) SetResourceArn(v string) *ServerCertificate { type ServerCertificateConfiguration struct { _ struct{} `type:"structure"` - // A list of a server certificate configuration's scopes. + // The Amazon Resource Name (ARN) of the imported certificate authority (CA) + // certificate configured in Certificate Manager (ACM) to use for outbound SSL/TLS + // inspection. + // + // The following limitations apply: + // + // * You can use CA certificates that you imported into ACM, but you can't + // generate CA certificates with ACM. + // + // * You can't use certificates issued by Private Certificate Authority. + // + // For more information about the certificate requirements for outbound inspection, + // see Requirements for using SSL/TLS certificates with TLS inspection configurations + // (https://docs.aws.amazon.com/network-firewall/latest/developerguide/tls-inspection-certificate-requirements.html) + // in the Network Firewall Developer Guide. + // + // For information about working with certificates in ACM, see Importing certificates + // (https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html) + // in the Certificate Manager User Guide. + CertificateAuthorityArn *string `min:"1" type:"string"` + + // When enabled, Network Firewall checks if the server certificate presented + // by the server in the SSL/TLS connection has a revoked or unkown status. If + // the certificate has an unknown or revoked status, you must specify the actions + // that Network Firewall takes on outbound traffic. To use this option, you + // must specify a CertificateAuthorityArn in ServerCertificateConfiguration. + CheckCertificateRevocationStatus *CheckCertificateRevocationStatusActions `type:"structure"` + + // A list of scopes. Scopes []*ServerCertificateScope `type:"list"` - // The list of a server certificate configuration's Certificate Manager SSL/TLS - // certificates. + // The list of a server certificate configuration's Certificate Manager certificates, + // used for inbound SSL/TLS inspection. ServerCertificates []*ServerCertificate `type:"list"` } @@ -11240,6 +11337,9 @@ func (s ServerCertificateConfiguration) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *ServerCertificateConfiguration) Validate() error { invalidParams := request.ErrInvalidParams{Context: "ServerCertificateConfiguration"} + if s.CertificateAuthorityArn != nil && len(*s.CertificateAuthorityArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("CertificateAuthorityArn", 1)) + } if s.Scopes != nil { for i, v := range s.Scopes { if v == nil { @@ -11267,6 +11367,18 @@ func (s *ServerCertificateConfiguration) Validate() error { return nil } +// SetCertificateAuthorityArn sets the CertificateAuthorityArn field's value. +func (s *ServerCertificateConfiguration) SetCertificateAuthorityArn(v string) *ServerCertificateConfiguration { + s.CertificateAuthorityArn = &v + return s +} + +// SetCheckCertificateRevocationStatus sets the CheckCertificateRevocationStatus field's value. +func (s *ServerCertificateConfiguration) SetCheckCertificateRevocationStatus(v *CheckCertificateRevocationStatusActions) *ServerCertificateConfiguration { + s.CheckCertificateRevocationStatus = v + return s +} + // SetScopes sets the Scopes field's value. func (s *ServerCertificateConfiguration) SetScopes(v []*ServerCertificateScope) *ServerCertificateConfiguration { s.Scopes = v @@ -12242,11 +12354,11 @@ func (s *TCPFlagField) SetMasks(v []*string) *TCPFlagField { // // To use a TLS inspection configuration, you add it to a new Network Firewall // firewall policy, then you apply the firewall policy to a firewall. Network -// Firewall acts as a proxy service to decrypt and inspect inbound traffic. -// You can reference a TLS inspection configuration from more than one firewall -// policy, and you can use a firewall policy in more than one firewall. For -// more information about using TLS inspection configurations, see Decrypting -// SSL/TLS traffic with TLS inspection configurations (https://docs.aws.amazon.com/network-firewall/latest/developerguide/tls-inspection.html) +// Firewall acts as a proxy service to decrypt and inspect the traffic traveling +// through your firewalls. You can reference a TLS inspection configuration +// from more than one firewall policy, and you can use a firewall policy in +// more than one firewall. For more information about using TLS inspection configurations, +// see Inspecting SSL/TLS traffic with TLS inspection configurations (https://docs.aws.amazon.com/network-firewall/latest/developerguide/tls-inspection.html) // in the Network Firewall Developer Guide. type TLSInspectionConfiguration struct { _ struct{} `type:"structure"` @@ -12351,6 +12463,9 @@ func (s *TLSInspectionConfigurationMetadata) SetName(v string) *TLSInspectionCon type TLSInspectionConfigurationResponse struct { _ struct{} `type:"structure"` + // Contains metadata about an Certificate Manager certificate. + CertificateAuthority *TlsCertificateData `type:"structure"` + // A list of the certificates associated with the TLS inspection configuration. Certificates []*TlsCertificateData `type:"list"` @@ -12412,6 +12527,12 @@ func (s TLSInspectionConfigurationResponse) GoString() string { return s.String() } +// SetCertificateAuthority sets the CertificateAuthority field's value. +func (s *TLSInspectionConfigurationResponse) SetCertificateAuthority(v *TlsCertificateData) *TLSInspectionConfigurationResponse { + s.CertificateAuthority = v + return s +} + // SetCertificates sets the Certificates field's value. func (s *TLSInspectionConfigurationResponse) SetCertificates(v []*TlsCertificateData) *TLSInspectionConfigurationResponse { s.Certificates = v @@ -14398,11 +14519,11 @@ type UpdateTLSInspectionConfigurationInput struct { // // To use a TLS inspection configuration, you add it to a new Network Firewall // firewall policy, then you apply the firewall policy to a firewall. Network - // Firewall acts as a proxy service to decrypt and inspect inbound traffic. - // You can reference a TLS inspection configuration from more than one firewall - // policy, and you can use a firewall policy in more than one firewall. For - // more information about using TLS inspection configurations, see Decrypting - // SSL/TLS traffic with TLS inspection configurations (https://docs.aws.amazon.com/network-firewall/latest/developerguide/tls-inspection.html) + // Firewall acts as a proxy service to decrypt and inspect the traffic traveling + // through your firewalls. You can reference a TLS inspection configuration + // from more than one firewall policy, and you can use a firewall policy in + // more than one firewall. For more information about using TLS inspection configurations, + // see Inspecting SSL/TLS traffic with TLS inspection configurations (https://docs.aws.amazon.com/network-firewall/latest/developerguide/tls-inspection.html) // in the Network Firewall Developer Guide. // // TLSInspectionConfiguration is a required field @@ -14809,6 +14930,9 @@ const ( // ResourceStatusDeleting is a ResourceStatus enum value ResourceStatusDeleting = "DELETING" + + // ResourceStatusError is a ResourceStatus enum value + ResourceStatusError = "ERROR" ) // ResourceStatus_Values returns all elements of the ResourceStatus enum @@ -14816,6 +14940,27 @@ func ResourceStatus_Values() []string { return []string{ ResourceStatusActive, ResourceStatusDeleting, + ResourceStatusError, + } +} + +const ( + // RevocationCheckActionPass is a RevocationCheckAction enum value + RevocationCheckActionPass = "PASS" + + // RevocationCheckActionDrop is a RevocationCheckAction enum value + RevocationCheckActionDrop = "DROP" + + // RevocationCheckActionReject is a RevocationCheckAction enum value + RevocationCheckActionReject = "REJECT" +) + +// RevocationCheckAction_Values returns all elements of the RevocationCheckAction enum +func RevocationCheckAction_Values() []string { + return []string{ + RevocationCheckActionPass, + RevocationCheckActionDrop, + RevocationCheckActionReject, } } diff --git a/service/networkfirewall/errors.go b/service/networkfirewall/errors.go index 2afaac0ef89..d1a7aa5ca75 100644 --- a/service/networkfirewall/errors.go +++ b/service/networkfirewall/errors.go @@ -18,7 +18,7 @@ const ( // ErrCodeInternalServerError for service response error code // "InternalServerError". // - // Your request is valid, but Network Firewall couldn’t perform the operation + // Your request is valid, but Network Firewall couldn't perform the operation // because of a system problem. Retry your request. ErrCodeInternalServerError = "InternalServerError" diff --git a/service/opensearchservice/api.go b/service/opensearchservice/api.go index 64f79624789..a229b9e8338 100644 --- a/service/opensearchservice/api.go +++ b/service/opensearchservice/api.go @@ -3256,7 +3256,7 @@ func (c *OpenSearchService) GetDomainMaintenanceStatusRequest(input *GetDomainMa // GetDomainMaintenanceStatus API operation for Amazon OpenSearch Service. // -// Get the status of the maintenance action. +// The status of the maintenance action. // // 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 @@ -3749,7 +3749,7 @@ func (c *OpenSearchService) ListDomainMaintenancesRequest(input *ListDomainMaint // ListDomainMaintenances API operation for Amazon OpenSearch Service. // -// Get the list of the maintenance action. +// A list of maintenance actions for the domain. // // 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 @@ -5439,8 +5439,9 @@ func (c *OpenSearchService) StartDomainMaintenanceRequest(input *StartDomainMain // StartDomainMaintenance API operation for Amazon OpenSearch Service. // -// Starts the node maintenance (Node restart, Node reboot, Opensearch/Elasticsearch -// process restart, Dashboard/kibana restart) on the data node. +// Starts the node maintenance process on the data node. These processes can +// include a node reboot, an Opensearch or Elasticsearch process restart, or +// a Dashboard or Kibana restart. // // 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 @@ -8510,6 +8511,9 @@ type CreateDomainInput struct { // OpenSearch Service domains (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html#createdomains). EngineVersion *string `min:"14" type:"string"` + // The type of IP addresses supported by the endpoint for the domain. + IPAddressType *string `type:"string" enum:"IPAddressType"` + // Key-value pairs to configure log publishing. LogPublishingOptions map[string]*LogPublishingOption `type:"map"` @@ -8698,6 +8702,12 @@ func (s *CreateDomainInput) SetEngineVersion(v string) *CreateDomainInput { return s } +// SetIPAddressType sets the IPAddressType field's value. +func (s *CreateDomainInput) SetIPAddressType(v string) *CreateDomainInput { + s.IPAddressType = &v + return s +} + // SetLogPublishingOptions sets the LogPublishingOptions field's value. func (s *CreateDomainInput) SetLogPublishingOptions(v map[string]*LogPublishingOption) *CreateDomainInput { s.LogPublishingOptions = v @@ -11633,6 +11643,9 @@ type DomainConfig struct { // The OpenSearch or Elasticsearch version that the domain is running. EngineVersion *VersionStatus `type:"structure"` + // The type of IP addresses supported by the endpoint for the domain. + IPAddressType *IPAddressTypeStatus `type:"structure"` + // Key-value pairs to configure log publishing. LogPublishingOptions *LogPublishingOptionsStatus `type:"structure"` @@ -11738,6 +11751,12 @@ func (s *DomainConfig) SetEngineVersion(v *VersionStatus) *DomainConfig { return s } +// SetIPAddressType sets the IPAddressType field's value. +func (s *DomainConfig) SetIPAddressType(v *IPAddressTypeStatus) *DomainConfig { + s.IPAddressType = v + return s +} + // SetLogPublishingOptions sets the LogPublishingOptions field's value. func (s *DomainConfig) SetLogPublishingOptions(v *LogPublishingOptionsStatus) *DomainConfig { s.LogPublishingOptions = v @@ -12008,25 +12027,25 @@ type DomainMaintenanceDetails struct { // The name of the action. Action *string `type:"string" enum:"MaintenanceType"` - // Contains time at which action created. + // The time at which the action was created. CreatedAt *time.Time `type:"timestamp"` // The name of the domain. DomainName *string `min:"3" type:"string"` - // Id of the requested action. + // The ID of the requested action. MaintenanceId *string `min:"1" type:"string"` - // Id of the data node. + // The ID of the data node. NodeId *string `min:"10" type:"string"` // The status of the action. Status *string `type:"string" enum:"MaintenanceStatus"` - // The status message of the action. + // The status message for the action. StatusMessage *string `type:"string"` - // Contains time at which action updated. + // The time at which the action was updated. UpdatedAt *time.Time `type:"timestamp"` } @@ -12368,6 +12387,10 @@ type DomainStatus struct { // to the domain. Endpoint *string `type:"string"` + // The domain endpoint to which index and search requests are submitted. For + // example, search-imdb-movies-oopcnjfn6ugo.eu-west-1.es.amazonaws.com or doc-imdb-movies-oopcnjfn6u.eu-west-1.es.amazonaws.com. + EndpointV2 *string `type:"string"` + // The key-value pair that exists if the OpenSearch Service domain uses VPC // endpoints.. Example key, value: 'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'. Endpoints map[string]*string `type:"map"` @@ -12376,6 +12399,9 @@ type DomainStatus struct { // format Elasticsearch_X.Y or OpenSearch_X.Y. EngineVersion *string `min:"14" type:"string"` + // The type of IP addresses supported by the endpoint for the domain. + IPAddressType *string `type:"string" enum:"IPAddressType"` + // Log publishing options for the domain. LogPublishingOptions map[string]*LogPublishingOption `type:"map"` @@ -12523,6 +12549,12 @@ func (s *DomainStatus) SetEndpoint(v string) *DomainStatus { return s } +// SetEndpointV2 sets the EndpointV2 field's value. +func (s *DomainStatus) SetEndpointV2(v string) *DomainStatus { + s.EndpointV2 = &v + return s +} + // SetEndpoints sets the Endpoints field's value. func (s *DomainStatus) SetEndpoints(v map[string]*string) *DomainStatus { s.Endpoints = v @@ -12535,6 +12567,12 @@ func (s *DomainStatus) SetEngineVersion(v string) *DomainStatus { return s } +// SetIPAddressType sets the IPAddressType field's value. +func (s *DomainStatus) SetIPAddressType(v string) *DomainStatus { + s.IPAddressType = &v + return s +} + // SetLogPublishingOptions sets the LogPublishingOptions field's value. func (s *DomainStatus) SetLogPublishingOptions(v map[string]*LogPublishingOption) *DomainStatus { s.LogPublishingOptions = v @@ -13212,7 +13250,7 @@ type GetDomainMaintenanceStatusInput struct { // DomainName is a required field DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` - // The request id of the maintenance action. + // The request ID of the maintenance action. // // MaintenanceId is a required field MaintenanceId *string `location:"querystring" locationName:"maintenanceId" min:"1" type:"string" required:"true"` @@ -13270,27 +13308,27 @@ func (s *GetDomainMaintenanceStatusInput) SetMaintenanceId(v string) *GetDomainM return s } -// The result of a GetDomainMaintenanceStatus request. Contains information -// about the requested action. +// The result of a GetDomainMaintenanceStatus request that information about +// the requested action. type GetDomainMaintenanceStatusOutput struct { _ struct{} `type:"structure"` - // Contains action name. + // The action name. Action *string `type:"string" enum:"MaintenanceType"` - // Contains time at which action created. + // The time at which the action was created. CreatedAt *time.Time `type:"timestamp"` - // Contains node id of maintenance action. + // The node ID of the maintenance action. NodeId *string `min:"10" type:"string"` - // Contains status of the maintenance action. + // The status of the maintenance action. Status *string `type:"string" enum:"MaintenanceStatus"` - // Contains status message of the maintenance action. + // The status message of the maintenance action. StatusMessage *string `type:"string"` - // Contains time at which action updated. + // The time at which the action was updated. UpdatedAt *time.Time `type:"timestamp"` } @@ -13686,6 +13724,51 @@ func (s *GetUpgradeStatusOutput) SetUpgradeStep(v string) *GetUpgradeStatusOutpu return s } +// The IP address type status for the domain. +type IPAddressTypeStatus struct { + _ struct{} `type:"structure"` + + // The IP address options for the domain. + // + // Options is a required field + Options *string `type:"string" required:"true" enum:"IPAddressType"` + + // Provides the current status of an entity. + // + // Status is a required field + Status *OptionStatus `type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s IPAddressTypeStatus) 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 IPAddressTypeStatus) GoString() string { + return s.String() +} + +// SetOptions sets the Options field's value. +func (s *IPAddressTypeStatus) SetOptions(v string) *IPAddressTypeStatus { + s.Options = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *IPAddressTypeStatus) SetStatus(v *OptionStatus) *IPAddressTypeStatus { + s.Status = v + return s +} + // Describes an inbound cross-cluster connection for Amazon OpenSearch Service. // For more information, see Cross-cluster search for Amazon OpenSearch Service // (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/cross-cluster-search.html). @@ -14314,9 +14397,9 @@ type ListDomainMaintenancesInput struct { // You can use nextToken to get the next page of results. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` - // If your initial ListDomainMaintenances operation returns a nextToken, you - // can include the returned nextToken in subsequent ListDomainMaintenances operations, - // which returns results in the next page. + // If your initial ListDomainMaintenances operation returns a nextToken, include + // the returned nextToken in subsequent ListDomainMaintenances operations, which + // returns results in the next page. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The status of the action. @@ -14387,12 +14470,12 @@ func (s *ListDomainMaintenancesInput) SetStatus(v string) *ListDomainMaintenance return s } -// The result of a ListDomainMaintenances request. Contains information about -// the requested actions. +// The result of a ListDomainMaintenances request that contains information +// about the requested actions. type ListDomainMaintenancesOutput struct { _ struct{} `type:"structure"` - // List of the submitted maintenance actions. + // A list of the submitted maintenance actions. DomainMaintenances []*DomainMaintenanceDetails `type:"list"` // When nextToken is returned, there are more results available. The value of @@ -17964,7 +18047,7 @@ type StartDomainMaintenanceInput struct { // DomainName is a required field DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` - // Id of the data node. + // The ID of the data node. NodeId *string `min:"10" type:"string"` } @@ -18026,12 +18109,12 @@ func (s *StartDomainMaintenanceInput) SetNodeId(v string) *StartDomainMaintenanc return s } -// The result of a StartDomainMaintenance request. Contains information about -// the requested action. +// The result of a StartDomainMaintenance request that information about the +// requested action. type StartDomainMaintenanceOutput struct { _ struct{} `type:"structure"` - // Contains request id of requested action. + // The request ID of requested action. MaintenanceId *string `min:"1" type:"string"` } @@ -18424,6 +18507,9 @@ type UpdateDomainConfigInput struct { // Encryption at rest options for the domain. EncryptionAtRestOptions *EncryptionAtRestOptions `type:"structure"` + // The type of IP addresses supported by the endpoint for the domain. + IPAddressType *string `type:"string" enum:"IPAddressType"` + // Options to publish OpenSearch logs to Amazon CloudWatch Logs. LogPublishingOptions map[string]*LogPublishingOption `type:"map"` @@ -18597,6 +18683,12 @@ func (s *UpdateDomainConfigInput) SetEncryptionAtRestOptions(v *EncryptionAtRest return s } +// SetIPAddressType sets the IPAddressType field's value. +func (s *UpdateDomainConfigInput) SetIPAddressType(v string) *UpdateDomainConfigInput { + s.IPAddressType = &v + return s +} + // SetLogPublishingOptions sets the LogPublishingOptions field's value. func (s *UpdateDomainConfigInput) SetLogPublishingOptions(v map[string]*LogPublishingOption) *UpdateDomainConfigInput { s.LogPublishingOptions = v @@ -20282,6 +20374,22 @@ func EngineType_Values() []string { } } +const ( + // IPAddressTypeIpv4 is a IPAddressType enum value + IPAddressTypeIpv4 = "ipv4" + + // IPAddressTypeDualstack is a IPAddressType enum value + IPAddressTypeDualstack = "dualstack" +) + +// IPAddressType_Values returns all elements of the IPAddressType enum +func IPAddressType_Values() []string { + return []string{ + IPAddressTypeIpv4, + IPAddressTypeDualstack, + } +} + const ( // InboundConnectionStatusCodePendingAcceptance is a InboundConnectionStatusCode enum value InboundConnectionStatusCodePendingAcceptance = "PENDING_ACCEPTANCE" diff --git a/service/redshift/api.go b/service/redshift/api.go index 9a0d812f1db..db9f7038791 100644 --- a/service/redshift/api.go +++ b/service/redshift/api.go @@ -3868,6 +3868,89 @@ func (c *Redshift) DeletePartnerWithContext(ctx aws.Context, input *DeletePartne return out, req.Send() } +const opDeleteResourcePolicy = "DeleteResourcePolicy" + +// DeleteResourcePolicyRequest generates a "aws/request.Request" representing the +// client's request for the DeleteResourcePolicy 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 DeleteResourcePolicy for more information on using the DeleteResourcePolicy +// 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 DeleteResourcePolicyRequest method. +// req, resp := client.DeleteResourcePolicyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteResourcePolicy +func (c *Redshift) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) (req *request.Request, output *DeleteResourcePolicyOutput) { + op := &request.Operation{ + Name: opDeleteResourcePolicy, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteResourcePolicyInput{} + } + + output = &DeleteResourcePolicyOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(query.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteResourcePolicy API operation for Amazon Redshift. +// +// Deletes the resource policy for a specified resource. +// +// 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 Redshift's +// API operation DeleteResourcePolicy for usage and error information. +// +// Returned Error Codes: +// +// - ErrCodeResourceNotFoundFault "ResourceNotFoundFault" +// The resource could not be found. +// +// - ErrCodeUnsupportedOperationFault "UnsupportedOperation" +// The requested operation isn't supported. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteResourcePolicy +func (c *Redshift) DeleteResourcePolicy(input *DeleteResourcePolicyInput) (*DeleteResourcePolicyOutput, error) { + req, out := c.DeleteResourcePolicyRequest(input) + return out, req.Send() +} + +// DeleteResourcePolicyWithContext is the same as DeleteResourcePolicy with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteResourcePolicy 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 *Redshift) DeleteResourcePolicyWithContext(ctx aws.Context, input *DeleteResourcePolicyInput, opts ...request.Option) (*DeleteResourcePolicyOutput, error) { + req, out := c.DeleteResourcePolicyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteScheduledAction = "DeleteScheduledAction" // DeleteScheduledActionRequest generates a "aws/request.Request" representing the @@ -7404,6 +7487,149 @@ func (c *Redshift) DescribeHsmConfigurationsPagesWithContext(ctx aws.Context, in return p.Err() } +const opDescribeInboundIntegrations = "DescribeInboundIntegrations" + +// DescribeInboundIntegrationsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeInboundIntegrations 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 DescribeInboundIntegrations for more information on using the DescribeInboundIntegrations +// 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 DescribeInboundIntegrationsRequest method. +// req, resp := client.DescribeInboundIntegrationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeInboundIntegrations +func (c *Redshift) DescribeInboundIntegrationsRequest(input *DescribeInboundIntegrationsInput) (req *request.Request, output *DescribeInboundIntegrationsOutput) { + op := &request.Operation{ + Name: opDescribeInboundIntegrations, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"Marker"}, + OutputTokens: []string{"Marker"}, + LimitToken: "MaxRecords", + TruncationToken: "", + }, + } + + if input == nil { + input = &DescribeInboundIntegrationsInput{} + } + + output = &DescribeInboundIntegrationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeInboundIntegrations API operation for Amazon Redshift. +// +// Returns a list of inbound integrations. +// +// 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 Redshift's +// API operation DescribeInboundIntegrations for usage and error information. +// +// Returned Error Codes: +// +// - ErrCodeIntegrationNotFoundFault "IntegrationNotFoundFault" +// The integration can't be found. +// +// - ErrCodeInvalidNamespaceFault "InvalidNamespaceFault" +// The namespace isn't valid because the namespace doesn't exist. Provide a +// valid namespace. +// +// - ErrCodeUnsupportedOperationFault "UnsupportedOperation" +// The requested operation isn't supported. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeInboundIntegrations +func (c *Redshift) DescribeInboundIntegrations(input *DescribeInboundIntegrationsInput) (*DescribeInboundIntegrationsOutput, error) { + req, out := c.DescribeInboundIntegrationsRequest(input) + return out, req.Send() +} + +// DescribeInboundIntegrationsWithContext is the same as DescribeInboundIntegrations with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeInboundIntegrations 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 *Redshift) DescribeInboundIntegrationsWithContext(ctx aws.Context, input *DescribeInboundIntegrationsInput, opts ...request.Option) (*DescribeInboundIntegrationsOutput, error) { + req, out := c.DescribeInboundIntegrationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// DescribeInboundIntegrationsPages iterates over the pages of a DescribeInboundIntegrations operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeInboundIntegrations 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 DescribeInboundIntegrations operation. +// pageNum := 0 +// err := client.DescribeInboundIntegrationsPages(params, +// func(page *redshift.DescribeInboundIntegrationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Redshift) DescribeInboundIntegrationsPages(input *DescribeInboundIntegrationsInput, fn func(*DescribeInboundIntegrationsOutput, bool) bool) error { + return c.DescribeInboundIntegrationsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeInboundIntegrationsPagesWithContext same as DescribeInboundIntegrationsPages 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 *Redshift) DescribeInboundIntegrationsPagesWithContext(ctx aws.Context, input *DescribeInboundIntegrationsInput, fn func(*DescribeInboundIntegrationsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeInboundIntegrationsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeInboundIntegrationsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*DescribeInboundIntegrationsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opDescribeLoggingStatus = "DescribeLoggingStatus" // DescribeLoggingStatusRequest generates a "aws/request.Request" representing the @@ -10306,6 +10532,91 @@ func (c *Redshift) GetReservedNodeExchangeOfferingsPagesWithContext(ctx aws.Cont return p.Err() } +const opGetResourcePolicy = "GetResourcePolicy" + +// GetResourcePolicyRequest generates a "aws/request.Request" representing the +// client's request for the GetResourcePolicy 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 GetResourcePolicy for more information on using the GetResourcePolicy +// 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 GetResourcePolicyRequest method. +// req, resp := client.GetResourcePolicyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/GetResourcePolicy +func (c *Redshift) GetResourcePolicyRequest(input *GetResourcePolicyInput) (req *request.Request, output *GetResourcePolicyOutput) { + op := &request.Operation{ + Name: opGetResourcePolicy, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetResourcePolicyInput{} + } + + output = &GetResourcePolicyOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetResourcePolicy API operation for Amazon Redshift. +// +// Get the resource policy for a specified resource. +// +// 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 Redshift's +// API operation GetResourcePolicy for usage and error information. +// +// Returned Error Codes: +// +// - ErrCodeResourceNotFoundFault "ResourceNotFoundFault" +// The resource could not be found. +// +// - ErrCodeInvalidPolicyFault "InvalidPolicyFault" +// The resource policy isn't valid. +// +// - ErrCodeUnsupportedOperationFault "UnsupportedOperation" +// The requested operation isn't supported. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/GetResourcePolicy +func (c *Redshift) GetResourcePolicy(input *GetResourcePolicyInput) (*GetResourcePolicyOutput, error) { + req, out := c.GetResourcePolicyRequest(input) + return out, req.Send() +} + +// GetResourcePolicyWithContext is the same as GetResourcePolicy with the addition of +// the ability to pass a context and additional request options. +// +// See GetResourcePolicy 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 *Redshift) GetResourcePolicyWithContext(ctx aws.Context, input *GetResourcePolicyInput, opts ...request.Option) (*GetResourcePolicyOutput, error) { + req, out := c.GetResourcePolicyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opModifyAquaConfiguration = "ModifyAquaConfiguration" // ModifyAquaConfigurationRequest generates a "aws/request.Request" representing the @@ -12096,6 +12407,94 @@ func (c *Redshift) PurchaseReservedNodeOfferingWithContext(ctx aws.Context, inpu return out, req.Send() } +const opPutResourcePolicy = "PutResourcePolicy" + +// PutResourcePolicyRequest generates a "aws/request.Request" representing the +// client's request for the PutResourcePolicy 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 PutResourcePolicy for more information on using the PutResourcePolicy +// 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 PutResourcePolicyRequest method. +// req, resp := client.PutResourcePolicyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PutResourcePolicy +func (c *Redshift) PutResourcePolicyRequest(input *PutResourcePolicyInput) (req *request.Request, output *PutResourcePolicyOutput) { + op := &request.Operation{ + Name: opPutResourcePolicy, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &PutResourcePolicyInput{} + } + + output = &PutResourcePolicyOutput{} + req = c.newRequest(op, input, output) + return +} + +// PutResourcePolicy API operation for Amazon Redshift. +// +// Updates the resource policy for a specified resource. +// +// 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 Redshift's +// API operation PutResourcePolicy for usage and error information. +// +// Returned Error Codes: +// +// - ErrCodeResourceNotFoundFault "ResourceNotFoundFault" +// The resource could not be found. +// +// - ErrCodeInvalidPolicyFault "InvalidPolicyFault" +// The resource policy isn't valid. +// +// - ErrCodeConflictPolicyUpdateFault "ConflictPolicyUpdateFault" +// There is a conflict while updating the resource policy. +// +// - ErrCodeUnsupportedOperationFault "UnsupportedOperation" +// The requested operation isn't supported. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PutResourcePolicy +func (c *Redshift) PutResourcePolicy(input *PutResourcePolicyInput) (*PutResourcePolicyOutput, error) { + req, out := c.PutResourcePolicyRequest(input) + return out, req.Send() +} + +// PutResourcePolicyWithContext is the same as PutResourcePolicy with the addition of +// the ability to pass a context and additional request options. +// +// See PutResourcePolicy 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 *Redshift) PutResourcePolicyWithContext(ctx aws.Context, input *PutResourcePolicyInput, opts ...request.Option) (*PutResourcePolicyOutput, error) { + req, out := c.PutResourcePolicyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opRebootCluster = "RebootCluster" // RebootClusterRequest generates a "aws/request.Request" representing the @@ -20980,6 +21379,75 @@ func (s *DeletePartnerOutput) SetPartnerName(v string) *DeletePartnerOutput { return s } +type DeleteResourcePolicyInput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the resource of which its resource policy + // is deleted. + // + // ResourceArn is a required field + ResourceArn *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 DeleteResourcePolicyInput) 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 DeleteResourcePolicyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteResourcePolicyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteResourcePolicyInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *DeleteResourcePolicyInput) SetResourceArn(v string) *DeleteResourcePolicyInput { + s.ResourceArn = &v + return s +} + +type DeleteResourcePolicyOutput 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 DeleteResourcePolicyOutput) 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 DeleteResourcePolicyOutput) GoString() string { + return s.String() +} + type DeleteScheduledActionInput struct { _ struct{} `type:"structure"` @@ -24105,41 +24573,155 @@ func (s DescribeHsmConfigurationsInput) GoString() string { return s.String() } -// SetHsmConfigurationIdentifier sets the HsmConfigurationIdentifier field's value. -func (s *DescribeHsmConfigurationsInput) SetHsmConfigurationIdentifier(v string) *DescribeHsmConfigurationsInput { - s.HsmConfigurationIdentifier = &v +// SetHsmConfigurationIdentifier sets the HsmConfigurationIdentifier field's value. +func (s *DescribeHsmConfigurationsInput) SetHsmConfigurationIdentifier(v string) *DescribeHsmConfigurationsInput { + s.HsmConfigurationIdentifier = &v + return s +} + +// SetMarker sets the Marker field's value. +func (s *DescribeHsmConfigurationsInput) SetMarker(v string) *DescribeHsmConfigurationsInput { + s.Marker = &v + return s +} + +// SetMaxRecords sets the MaxRecords field's value. +func (s *DescribeHsmConfigurationsInput) SetMaxRecords(v int64) *DescribeHsmConfigurationsInput { + s.MaxRecords = &v + return s +} + +// SetTagKeys sets the TagKeys field's value. +func (s *DescribeHsmConfigurationsInput) SetTagKeys(v []*string) *DescribeHsmConfigurationsInput { + s.TagKeys = v + return s +} + +// SetTagValues sets the TagValues field's value. +func (s *DescribeHsmConfigurationsInput) SetTagValues(v []*string) *DescribeHsmConfigurationsInput { + s.TagValues = v + return s +} + +type DescribeHsmConfigurationsOutput struct { + _ struct{} `type:"structure"` + + // A list of HsmConfiguration objects. + HsmConfigurations []*HsmConfiguration `locationNameList:"HsmConfiguration" type:"list"` + + // A value that indicates the starting point for the next set of response records + // in a subsequent request. If a value is returned in a response, you can retrieve + // the next set of records by providing this returned marker value in the Marker + // parameter and retrying the command. If the Marker field is empty, all response + // records have been retrieved for the request. + Marker *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 DescribeHsmConfigurationsOutput) 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 DescribeHsmConfigurationsOutput) GoString() string { + return s.String() +} + +// SetHsmConfigurations sets the HsmConfigurations field's value. +func (s *DescribeHsmConfigurationsOutput) SetHsmConfigurations(v []*HsmConfiguration) *DescribeHsmConfigurationsOutput { + s.HsmConfigurations = v + return s +} + +// SetMarker sets the Marker field's value. +func (s *DescribeHsmConfigurationsOutput) SetMarker(v string) *DescribeHsmConfigurationsOutput { + s.Marker = &v + return s +} + +type DescribeInboundIntegrationsInput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the inbound integration. + IntegrationArn *string `type:"string"` + + // An optional parameter that specifies the starting point to return a set of + // response records. When the results of a DescribeInboundIntegrations request + // exceed the value specified in MaxRecords, Amazon Web Services returns a value + // in the Marker field of the response. You can retrieve the next set of response + // records by providing the returned marker value in the Marker parameter and + // retrying the request. + Marker *string `type:"string"` + + // The maximum number of response records to return in each call. If the number + // of remaining response records exceeds the specified MaxRecords value, a value + // is returned in a marker field of the response. You can retrieve the next + // set of records by retrying the command with the returned marker value. + // + // Default: 100 + // + // Constraints: minimum 20, maximum 100. + MaxRecords *int64 `type:"integer"` + + // The Amazon Resource Name (ARN) of the target of an inbound integration. + TargetArn *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 DescribeInboundIntegrationsInput) 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 DescribeInboundIntegrationsInput) GoString() string { + return s.String() +} + +// SetIntegrationArn sets the IntegrationArn field's value. +func (s *DescribeInboundIntegrationsInput) SetIntegrationArn(v string) *DescribeInboundIntegrationsInput { + s.IntegrationArn = &v return s } // SetMarker sets the Marker field's value. -func (s *DescribeHsmConfigurationsInput) SetMarker(v string) *DescribeHsmConfigurationsInput { +func (s *DescribeInboundIntegrationsInput) SetMarker(v string) *DescribeInboundIntegrationsInput { s.Marker = &v return s } // SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeHsmConfigurationsInput) SetMaxRecords(v int64) *DescribeHsmConfigurationsInput { +func (s *DescribeInboundIntegrationsInput) SetMaxRecords(v int64) *DescribeInboundIntegrationsInput { s.MaxRecords = &v return s } -// SetTagKeys sets the TagKeys field's value. -func (s *DescribeHsmConfigurationsInput) SetTagKeys(v []*string) *DescribeHsmConfigurationsInput { - s.TagKeys = v - return s -} - -// SetTagValues sets the TagValues field's value. -func (s *DescribeHsmConfigurationsInput) SetTagValues(v []*string) *DescribeHsmConfigurationsInput { - s.TagValues = v +// SetTargetArn sets the TargetArn field's value. +func (s *DescribeInboundIntegrationsInput) SetTargetArn(v string) *DescribeInboundIntegrationsInput { + s.TargetArn = &v return s } -type DescribeHsmConfigurationsOutput struct { +type DescribeInboundIntegrationsOutput struct { _ struct{} `type:"structure"` - // A list of HsmConfiguration objects. - HsmConfigurations []*HsmConfiguration `locationNameList:"HsmConfiguration" type:"list"` + // A list of InboundIntegration instances. + InboundIntegrations []*InboundIntegration `locationNameList:"InboundIntegration" type:"list"` // A value that indicates the starting point for the next set of response records // in a subsequent request. If a value is returned in a response, you can retrieve @@ -24154,7 +24736,7 @@ type DescribeHsmConfigurationsOutput struct { // 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 DescribeHsmConfigurationsOutput) String() string { +func (s DescribeInboundIntegrationsOutput) String() string { return awsutil.Prettify(s) } @@ -24163,18 +24745,18 @@ func (s DescribeHsmConfigurationsOutput) String() string { // 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 DescribeHsmConfigurationsOutput) GoString() string { +func (s DescribeInboundIntegrationsOutput) GoString() string { return s.String() } -// SetHsmConfigurations sets the HsmConfigurations field's value. -func (s *DescribeHsmConfigurationsOutput) SetHsmConfigurations(v []*HsmConfiguration) *DescribeHsmConfigurationsOutput { - s.HsmConfigurations = v +// SetInboundIntegrations sets the InboundIntegrations field's value. +func (s *DescribeInboundIntegrationsOutput) SetInboundIntegrations(v []*InboundIntegration) *DescribeInboundIntegrationsOutput { + s.InboundIntegrations = v return s } // SetMarker sets the Marker field's value. -func (s *DescribeHsmConfigurationsOutput) SetMarker(v string) *DescribeHsmConfigurationsOutput { +func (s *DescribeInboundIntegrationsOutput) SetMarker(v string) *DescribeInboundIntegrationsOutput { s.Marker = &v return s } @@ -27937,6 +28519,84 @@ func (s *GetReservedNodeExchangeOfferingsOutput) SetReservedNodeOfferings(v []*R return s } +type GetResourcePolicyInput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the resource of which its resource policy + // is fetched. + // + // ResourceArn is a required field + ResourceArn *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 GetResourcePolicyInput) 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 GetResourcePolicyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetResourcePolicyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetResourcePolicyInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *GetResourcePolicyInput) SetResourceArn(v string) *GetResourcePolicyInput { + s.ResourceArn = &v + return s +} + +type GetResourcePolicyOutput struct { + _ struct{} `type:"structure"` + + // The content of the resource policy. + ResourcePolicy *ResourcePolicy `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 GetResourcePolicyOutput) 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 GetResourcePolicyOutput) GoString() string { + return s.String() +} + +// SetResourcePolicy sets the ResourcePolicy field's value. +func (s *GetResourcePolicyOutput) SetResourcePolicy(v *ResourcePolicy) *GetResourcePolicyOutput { + s.ResourcePolicy = v + return s +} + // Returns information about an HSM client certificate. The certificate is stored // in a secure Hardware Storage Module (HSM), and used by the Amazon Redshift // cluster to encrypt data files. @@ -28166,6 +28826,127 @@ func (s *IPRange) SetTags(v []*Tag) *IPRange { return s } +// The content of an inbound integration. +type InboundIntegration struct { + _ struct{} `type:"structure"` + + // The creation time of an inbound integration. + CreateTime *time.Time `type:"timestamp"` + + // The outstanding errors of an inbound integration. Each item is an "IntegrationError". + // This is null if there is no error. + Errors []*IntegrationError `locationNameList:"IntegrationError" type:"list"` + + // The Amazon Resource Name (ARN) of an inbound integration. + IntegrationArn *string `type:"string"` + + // The Amazon Resource Name (ARN) of the source of an inbound integration. + SourceArn *string `type:"string"` + + // The status of an inbound integration. + Status *string `type:"string" enum:"ZeroETLIntegrationStatus"` + + // The Amazon Resource Name (ARN) of the target of an inbound integration. + TargetArn *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 InboundIntegration) 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 InboundIntegration) GoString() string { + return s.String() +} + +// SetCreateTime sets the CreateTime field's value. +func (s *InboundIntegration) SetCreateTime(v time.Time) *InboundIntegration { + s.CreateTime = &v + return s +} + +// SetErrors sets the Errors field's value. +func (s *InboundIntegration) SetErrors(v []*IntegrationError) *InboundIntegration { + s.Errors = v + return s +} + +// SetIntegrationArn sets the IntegrationArn field's value. +func (s *InboundIntegration) SetIntegrationArn(v string) *InboundIntegration { + s.IntegrationArn = &v + return s +} + +// SetSourceArn sets the SourceArn field's value. +func (s *InboundIntegration) SetSourceArn(v string) *InboundIntegration { + s.SourceArn = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *InboundIntegration) SetStatus(v string) *InboundIntegration { + s.Status = &v + return s +} + +// SetTargetArn sets the TargetArn field's value. +func (s *InboundIntegration) SetTargetArn(v string) *InboundIntegration { + s.TargetArn = &v + return s +} + +// The error of an inbound integration. +type IntegrationError struct { + _ struct{} `type:"structure"` + + // The error code of an inbound integration error. + // + // ErrorCode is a required field + ErrorCode *string `type:"string" required:"true"` + + // The error message of an inbound integration error. + ErrorMessage *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 IntegrationError) 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 IntegrationError) GoString() string { + return s.String() +} + +// SetErrorCode sets the ErrorCode field's value. +func (s *IntegrationError) SetErrorCode(v string) *IntegrationError { + s.ErrorCode = &v + return s +} + +// SetErrorMessage sets the ErrorMessage field's value. +func (s *IntegrationError) SetErrorMessage(v string) *IntegrationError { + s.ErrorMessage = &v + return s +} + // Describes the status of logging for a cluster. type LoggingStatus struct { _ struct{} `type:"structure"` @@ -31587,6 +32368,98 @@ func (s *PurchaseReservedNodeOfferingOutput) SetReservedNode(v *ReservedNode) *P return s } +type PutResourcePolicyInput struct { + _ struct{} `type:"structure"` + + // The content of the resource policy being updated. + // + // Policy is a required field + Policy *string `type:"string" required:"true"` + + // The Amazon Resource Name (ARN) of the resource of which its resource policy + // is updated. + // + // ResourceArn is a required field + ResourceArn *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 PutResourcePolicyInput) 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 PutResourcePolicyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PutResourcePolicyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PutResourcePolicyInput"} + if s.Policy == nil { + invalidParams.Add(request.NewErrParamRequired("Policy")) + } + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPolicy sets the Policy field's value. +func (s *PutResourcePolicyInput) SetPolicy(v string) *PutResourcePolicyInput { + s.Policy = &v + return s +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *PutResourcePolicyInput) SetResourceArn(v string) *PutResourcePolicyInput { + s.ResourceArn = &v + return s +} + +type PutResourcePolicyOutput struct { + _ struct{} `type:"structure"` + + // The content of the updated resource policy. + ResourcePolicy *ResourcePolicy `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 PutResourcePolicyOutput) 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 PutResourcePolicyOutput) GoString() string { + return s.String() +} + +// SetResourcePolicy sets the ResourcePolicy field's value. +func (s *PutResourcePolicyOutput) SetResourcePolicy(v *ResourcePolicy) *PutResourcePolicyOutput { + s.ResourcePolicy = v + return s +} + type RebootClusterInput struct { _ struct{} `type:"structure"` @@ -32602,6 +33475,47 @@ func (s *ResizeInfo) SetResizeType(v string) *ResizeInfo { return s } +// The policy that is attached to a resource. +type ResourcePolicy struct { + _ struct{} `type:"structure"` + + // The content of a resource policy. + Policy *string `type:"string"` + + // The resources that a policy is attached to. + ResourceArn *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 ResourcePolicy) 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 ResourcePolicy) GoString() string { + return s.String() +} + +// SetPolicy sets the Policy field's value. +func (s *ResourcePolicy) SetPolicy(v string) *ResourcePolicy { + s.Policy = &v + return s +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *ResourcePolicy) SetResourceArn(v string) *ResourcePolicy { + s.ResourceArn = &v + return s +} + type RestoreFromClusterSnapshotInput struct { _ struct{} `type:"structure"` @@ -36300,3 +37214,39 @@ func UsageLimitPeriod_Values() []string { UsageLimitPeriodMonthly, } } + +const ( + // ZeroETLIntegrationStatusCreating is a ZeroETLIntegrationStatus enum value + ZeroETLIntegrationStatusCreating = "creating" + + // ZeroETLIntegrationStatusActive is a ZeroETLIntegrationStatus enum value + ZeroETLIntegrationStatusActive = "active" + + // ZeroETLIntegrationStatusModifying is a ZeroETLIntegrationStatus enum value + ZeroETLIntegrationStatusModifying = "modifying" + + // ZeroETLIntegrationStatusFailed is a ZeroETLIntegrationStatus enum value + ZeroETLIntegrationStatusFailed = "failed" + + // ZeroETLIntegrationStatusDeleting is a ZeroETLIntegrationStatus enum value + ZeroETLIntegrationStatusDeleting = "deleting" + + // ZeroETLIntegrationStatusSyncing is a ZeroETLIntegrationStatus enum value + ZeroETLIntegrationStatusSyncing = "syncing" + + // ZeroETLIntegrationStatusNeedsAttention is a ZeroETLIntegrationStatus enum value + ZeroETLIntegrationStatusNeedsAttention = "needs_attention" +) + +// ZeroETLIntegrationStatus_Values returns all elements of the ZeroETLIntegrationStatus enum +func ZeroETLIntegrationStatus_Values() []string { + return []string{ + ZeroETLIntegrationStatusCreating, + ZeroETLIntegrationStatusActive, + ZeroETLIntegrationStatusModifying, + ZeroETLIntegrationStatusFailed, + ZeroETLIntegrationStatusDeleting, + ZeroETLIntegrationStatusSyncing, + ZeroETLIntegrationStatusNeedsAttention, + } +} diff --git a/service/redshift/errors.go b/service/redshift/errors.go index beffc2d4386..3d76646b3bc 100644 --- a/service/redshift/errors.go +++ b/service/redshift/errors.go @@ -198,6 +198,12 @@ const ( // in the Amazon Redshift Cluster Management Guide. ErrCodeClusterSubnetQuotaExceededFault = "ClusterSubnetQuotaExceededFault" + // ErrCodeConflictPolicyUpdateFault for service response error code + // "ConflictPolicyUpdateFault". + // + // There is a conflict while updating the resource policy. + ErrCodeConflictPolicyUpdateFault = "ConflictPolicyUpdateFault" + // ErrCodeCopyToRegionDisabledFault for service response error code // "CopyToRegionDisabledFault". // @@ -351,6 +357,12 @@ const ( // bucket specified when enabling logging. ErrCodeInsufficientS3BucketPolicyFault = "InsufficientS3BucketPolicyFault" + // ErrCodeIntegrationNotFoundFault for service response error code + // "IntegrationNotFoundFault". + // + // The integration can't be found. + ErrCodeIntegrationNotFoundFault = "IntegrationNotFoundFault" + // ErrCodeInvalidAuthenticationProfileRequestFault for service response error code // "InvalidAuthenticationProfileRequestFault". // @@ -455,6 +467,12 @@ const ( // valid namespace. ErrCodeInvalidNamespaceFault = "InvalidNamespaceFault" + // ErrCodeInvalidPolicyFault for service response error code + // "InvalidPolicyFault". + // + // The resource policy isn't valid. + ErrCodeInvalidPolicyFault = "InvalidPolicyFault" + // ErrCodeInvalidReservedNodeStateFault for service response error code // "InvalidReservedNodeState". // diff --git a/service/redshift/redshiftiface/interface.go b/service/redshift/redshiftiface/interface.go index 0f2c1d6ddf0..5538287433f 100644 --- a/service/redshift/redshiftiface/interface.go +++ b/service/redshift/redshiftiface/interface.go @@ -220,6 +220,10 @@ type RedshiftAPI interface { DeletePartnerWithContext(aws.Context, *redshift.DeletePartnerInput, ...request.Option) (*redshift.DeletePartnerOutput, error) DeletePartnerRequest(*redshift.DeletePartnerInput) (*request.Request, *redshift.DeletePartnerOutput) + DeleteResourcePolicy(*redshift.DeleteResourcePolicyInput) (*redshift.DeleteResourcePolicyOutput, error) + DeleteResourcePolicyWithContext(aws.Context, *redshift.DeleteResourcePolicyInput, ...request.Option) (*redshift.DeleteResourcePolicyOutput, error) + DeleteResourcePolicyRequest(*redshift.DeleteResourcePolicyInput) (*request.Request, *redshift.DeleteResourcePolicyOutput) + DeleteScheduledAction(*redshift.DeleteScheduledActionInput) (*redshift.DeleteScheduledActionOutput, error) DeleteScheduledActionWithContext(aws.Context, *redshift.DeleteScheduledActionInput, ...request.Option) (*redshift.DeleteScheduledActionOutput, error) DeleteScheduledActionRequest(*redshift.DeleteScheduledActionInput) (*request.Request, *redshift.DeleteScheduledActionOutput) @@ -392,6 +396,13 @@ type RedshiftAPI interface { DescribeHsmConfigurationsPages(*redshift.DescribeHsmConfigurationsInput, func(*redshift.DescribeHsmConfigurationsOutput, bool) bool) error DescribeHsmConfigurationsPagesWithContext(aws.Context, *redshift.DescribeHsmConfigurationsInput, func(*redshift.DescribeHsmConfigurationsOutput, bool) bool, ...request.Option) error + DescribeInboundIntegrations(*redshift.DescribeInboundIntegrationsInput) (*redshift.DescribeInboundIntegrationsOutput, error) + DescribeInboundIntegrationsWithContext(aws.Context, *redshift.DescribeInboundIntegrationsInput, ...request.Option) (*redshift.DescribeInboundIntegrationsOutput, error) + DescribeInboundIntegrationsRequest(*redshift.DescribeInboundIntegrationsInput) (*request.Request, *redshift.DescribeInboundIntegrationsOutput) + + DescribeInboundIntegrationsPages(*redshift.DescribeInboundIntegrationsInput, func(*redshift.DescribeInboundIntegrationsOutput, bool) bool) error + DescribeInboundIntegrationsPagesWithContext(aws.Context, *redshift.DescribeInboundIntegrationsInput, func(*redshift.DescribeInboundIntegrationsOutput, bool) bool, ...request.Option) error + DescribeLoggingStatus(*redshift.DescribeLoggingStatusInput) (*redshift.LoggingStatus, error) DescribeLoggingStatusWithContext(aws.Context, *redshift.DescribeLoggingStatusInput, ...request.Option) (*redshift.LoggingStatus, error) DescribeLoggingStatusRequest(*redshift.DescribeLoggingStatusInput) (*request.Request, *redshift.LoggingStatus) @@ -527,6 +538,10 @@ type RedshiftAPI interface { GetReservedNodeExchangeOfferingsPages(*redshift.GetReservedNodeExchangeOfferingsInput, func(*redshift.GetReservedNodeExchangeOfferingsOutput, bool) bool) error GetReservedNodeExchangeOfferingsPagesWithContext(aws.Context, *redshift.GetReservedNodeExchangeOfferingsInput, func(*redshift.GetReservedNodeExchangeOfferingsOutput, bool) bool, ...request.Option) error + GetResourcePolicy(*redshift.GetResourcePolicyInput) (*redshift.GetResourcePolicyOutput, error) + GetResourcePolicyWithContext(aws.Context, *redshift.GetResourcePolicyInput, ...request.Option) (*redshift.GetResourcePolicyOutput, error) + GetResourcePolicyRequest(*redshift.GetResourcePolicyInput) (*request.Request, *redshift.GetResourcePolicyOutput) + ModifyAquaConfiguration(*redshift.ModifyAquaConfigurationInput) (*redshift.ModifyAquaConfigurationOutput, error) ModifyAquaConfigurationWithContext(aws.Context, *redshift.ModifyAquaConfigurationInput, ...request.Option) (*redshift.ModifyAquaConfigurationOutput, error) ModifyAquaConfigurationRequest(*redshift.ModifyAquaConfigurationInput) (*request.Request, *redshift.ModifyAquaConfigurationOutput) @@ -603,6 +618,10 @@ type RedshiftAPI interface { PurchaseReservedNodeOfferingWithContext(aws.Context, *redshift.PurchaseReservedNodeOfferingInput, ...request.Option) (*redshift.PurchaseReservedNodeOfferingOutput, error) PurchaseReservedNodeOfferingRequest(*redshift.PurchaseReservedNodeOfferingInput) (*request.Request, *redshift.PurchaseReservedNodeOfferingOutput) + PutResourcePolicy(*redshift.PutResourcePolicyInput) (*redshift.PutResourcePolicyOutput, error) + PutResourcePolicyWithContext(aws.Context, *redshift.PutResourcePolicyInput, ...request.Option) (*redshift.PutResourcePolicyOutput, error) + PutResourcePolicyRequest(*redshift.PutResourcePolicyInput) (*request.Request, *redshift.PutResourcePolicyOutput) + RebootCluster(*redshift.RebootClusterInput) (*redshift.RebootClusterOutput, error) RebootClusterWithContext(aws.Context, *redshift.RebootClusterInput, ...request.Option) (*redshift.RebootClusterOutput, error) RebootClusterRequest(*redshift.RebootClusterInput) (*request.Request, *redshift.RebootClusterOutput) diff --git a/service/sagemaker/api.go b/service/sagemaker/api.go index 93dbc054ebb..81f44265636 100644 --- a/service/sagemaker/api.go +++ b/service/sagemaker/api.go @@ -812,7 +812,8 @@ func (c *SageMaker) CreateAutoMLJobRequest(input *CreateAutoMLJobInput) (req *re // // CreateAutoMLJobV2 can manage tabular problem types identical to those of // its previous version CreateAutoMLJob, as well as time-series forecasting, -// and non-tabular problem types such as image or text classification. +// non-tabular problem types such as image or text classification, and text +// generation (LLMs fine-tuning). // // Find guidelines about how to migrate a CreateAutoMLJob to CreateAutoMLJobV2 // in Migrate a CreateAutoMLJob to CreateAutoMLJobV2 (https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development-create-experiment-api.html#autopilot-create-experiment-api-migrate-v1-v2). @@ -913,7 +914,8 @@ func (c *SageMaker) CreateAutoMLJobV2Request(input *CreateAutoMLJobV2Input) (req // // CreateAutoMLJobV2 can manage tabular problem types identical to those of // its previous version CreateAutoMLJob, as well as time-series forecasting, -// and non-tabular problem types such as image or text classification. +// non-tabular problem types such as image or text classification, and text +// generation (LLMs fine-tuning). // // Find guidelines about how to migrate a CreateAutoMLJob to CreateAutoMLJobV2 // in Migrate a CreateAutoMLJob to CreateAutoMLJobV2 (https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development-create-experiment-api.html#autopilot-create-experiment-api-migrate-v1-v2). @@ -32447,6 +32449,9 @@ type AutoMLJobChannel struct { // // * For time-series forecasting: text/csv;header=present or x-application/vnd.amazon+parquet. // The default value is text/csv;header=present. + // + // * For text generation (LLMs fine-tuning): text/csv;header=present or x-application/vnd.amazon+parquet. + // The default value is text/csv;header=present. ContentType *string `type:"string"` // The data source for an AutoML channel (Required). @@ -32526,9 +32531,9 @@ type AutoMLJobCompletionCriteria struct { // The maximum number of times a training job is allowed to run. // - // For text and image classification, as well as time-series forecasting problem - // types, the supported value is 1. For tabular problem types, the maximum value - // is 750. + // For text and image classification, time-series forecasting, as well as text + // generation (LLMs fine-tuning) problem types, the supported value is 1. For + // tabular problem types, the maximum value is 750. MaxCandidates *int64 `min:"1" type:"integer"` // The maximum time, in seconds, that each training job executed inside hyperparameter @@ -32711,7 +32716,8 @@ func (s *AutoMLJobConfig) SetSecurityConfig(v *AutoMLSecurityConfig) *AutoMLJobC return s } -// Specifies a metric to minimize or maximize as the objective of a job. +// Specifies a metric to minimize or maximize as the objective of an AutoML +// job. type AutoMLJobObjective struct { _ struct{} `type:"structure"` @@ -32720,18 +32726,38 @@ type AutoMLJobObjective struct { // iteratively to optimize its performance based on the feedback provided by // the objective metric when evaluating the model on the validation dataset. // - // For the list of all available metrics supported by Autopilot, see Autopilot - // metrics (https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-metrics-validation.html#autopilot-metrics). - // - // If you do not specify a metric explicitly, the default behavior is to automatically - // use: + // The list of available metrics supported by Autopilot and the default metric + // applied when you do not specify a metric name explicitly depend on the problem + // type. // - // * For tabular problem types: Regression: MSE. Binary classification: F1. + // * For tabular problem types: List of available metrics: Regression: InferenceLatency, + // MAE, MSE, R2, RMSE Binary classification: Accuracy, AUC, BalancedAccuracy, + // F1, InferenceLatency, LogLoss, Precision, Recall Multiclass classification: + // Accuracy, BalancedAccuracy, F1macro, InferenceLatency, LogLoss, PrecisionMacro, + // RecallMacro For a description of each metric, see Autopilot metrics for + // classification and regression (https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-metrics-validation.html#autopilot-metrics). + // Default objective metrics: Regression: MSE. Binary classification: F1. // Multiclass classification: Accuracy. // - // * For image or text classification problem types: Accuracy - // - // * For time-series forecasting problem types: AverageWeightedQuantileLoss + // * For image or text classification problem types: List of available metrics: + // Accuracy For a description of each metric, see Autopilot metrics for text + // and image classification (https://docs.aws.amazon.com/sagemaker/latest/dg/text-classification-data-format-and-metric.html). + // Default objective metrics: Accuracy + // + // * For time-series forecasting problem types: List of available metrics: + // RMSE, wQL, Average wQL, MASE, MAPE, WAPE For a description of each metric, + // see Autopilot metrics for time-series forecasting (https://docs.aws.amazon.com/sagemaker/latest/dg/timeseries-objective-metric.html). + // Default objective metrics: AverageWeightedQuantileLoss + // + // * For text generation problem types (LLMs fine-tuning): Fine-tuning language + // models in Autopilot does not require setting the AutoMLJobObjective field. + // Autopilot fine-tunes LLMs without requiring multiple candidates to be + // trained and evaluated. Instead, using your dataset, Autopilot directly + // fine-tunes your target model to enhance a default objective metric, the + // cross-entropy loss. After fine-tuning a language model, you can evaluate + // the quality of its generated text using different metrics. For a list + // of the available metrics, see Metrics for fine-tuning LLMs in Autopilot + // (https://docs.aws.amazon.com/sagemaker/latest/dg/llms-finetuning-models.html). // // MetricName is a required field MetricName *string `type:"string" required:"true" enum:"AutoMLMetricEnum"` @@ -33019,15 +33045,23 @@ type AutoMLProblemTypeConfig struct { // problem type. ImageClassificationJobConfig *ImageClassificationJobConfig `type:"structure"` - // Settings used to configure an AutoML job V2 for a tabular problem type (regression, - // classification). + // Settings used to configure an AutoML job V2 for the tabular problem type + // (regression, classification). TabularJobConfig *TabularJobConfig `type:"structure"` // Settings used to configure an AutoML job V2 for the text classification problem // type. TextClassificationJobConfig *TextClassificationJobConfig `type:"structure"` - // Settings used to configure an AutoML job V2 for a time-series forecasting + // Settings used to configure an AutoML job V2 for the text generation (LLMs + // fine-tuning) problem type. + // + // The text generation models that support fine-tuning in Autopilot are currently + // accessible exclusively in regions supported by Canvas. Refer to the documentation + // of Canvas for the full list of its supported Regions (https://docs.aws.amazon.com/sagemaker/latest/dg/canvas.html). + TextGenerationJobConfig *TextGenerationJobConfig `type:"structure"` + + // Settings used to configure an AutoML job V2 for the time-series forecasting // problem type. TimeSeriesForecastingJobConfig *TimeSeriesForecastingJobConfig `type:"structure"` } @@ -33068,6 +33102,11 @@ func (s *AutoMLProblemTypeConfig) Validate() error { invalidParams.AddNested("TextClassificationJobConfig", err.(request.ErrInvalidParams)) } } + if s.TextGenerationJobConfig != nil { + if err := s.TextGenerationJobConfig.Validate(); err != nil { + invalidParams.AddNested("TextGenerationJobConfig", err.(request.ErrInvalidParams)) + } + } if s.TimeSeriesForecastingJobConfig != nil { if err := s.TimeSeriesForecastingJobConfig.Validate(); err != nil { invalidParams.AddNested("TimeSeriesForecastingJobConfig", err.(request.ErrInvalidParams)) @@ -33098,18 +33137,28 @@ func (s *AutoMLProblemTypeConfig) SetTextClassificationJobConfig(v *TextClassifi return s } +// SetTextGenerationJobConfig sets the TextGenerationJobConfig field's value. +func (s *AutoMLProblemTypeConfig) SetTextGenerationJobConfig(v *TextGenerationJobConfig) *AutoMLProblemTypeConfig { + s.TextGenerationJobConfig = v + return s +} + // SetTimeSeriesForecastingJobConfig sets the TimeSeriesForecastingJobConfig field's value. func (s *AutoMLProblemTypeConfig) SetTimeSeriesForecastingJobConfig(v *TimeSeriesForecastingJobConfig) *AutoMLProblemTypeConfig { s.TimeSeriesForecastingJobConfig = v return s } -// The resolved attributes specific to the problem type of an AutoML job V2. +// Stores resolved attributes specific to the problem type of an AutoML job +// V2. type AutoMLProblemTypeResolvedAttributes struct { _ struct{} `type:"structure"` - // Defines the resolved attributes for the TABULAR problem type. + // The resolved attributes for the tabular problem type. TabularResolvedAttributes *TabularResolvedAttributes `type:"structure"` + + // The resolved attributes for the text generation problem type. + TextGenerationResolvedAttributes *TextGenerationResolvedAttributes `type:"structure"` } // String returns the string representation. @@ -33136,11 +33185,18 @@ func (s *AutoMLProblemTypeResolvedAttributes) SetTabularResolvedAttributes(v *Ta return s } +// SetTextGenerationResolvedAttributes sets the TextGenerationResolvedAttributes field's value. +func (s *AutoMLProblemTypeResolvedAttributes) SetTextGenerationResolvedAttributes(v *TextGenerationResolvedAttributes) *AutoMLProblemTypeResolvedAttributes { + s.TextGenerationResolvedAttributes = v + return s +} + // The resolved attributes used to configure an AutoML job V2. type AutoMLResolvedAttributes struct { _ struct{} `type:"structure"` - // Specifies a metric to minimize or maximize as the objective of a job. + // Specifies a metric to minimize or maximize as the objective of an AutoML + // job. AutoMLJobObjective *AutoMLJobObjective `type:"structure"` // Defines the resolved attributes specific to a problem type. @@ -38134,6 +38190,8 @@ type CreateAutoMLJobV2Input struct { // // * For time-series forecasting: S3Prefix. // + // * For text generation (LLMs fine-tuning): S3Prefix. + // // AutoMLJobInputDataConfig is a required field AutoMLJobInputDataConfig []*AutoMLJobChannel `min:"1" type:"list" required:"true"` @@ -38147,9 +38205,19 @@ type CreateAutoMLJobV2Input struct { // not specified, the default objective metric depends on the problem type. // For the list of default values per problem type, see AutoMLJobObjective (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AutoMLJobObjective.html). // - // For tabular problem types, you must either provide both the AutoMLJobObjective - // and indicate the type of supervised learning problem in AutoMLProblemTypeConfig - // (TabularJobConfig.ProblemType), or none at all. + // * For tabular problem types: You must either provide both the AutoMLJobObjective + // and indicate the type of supervised learning problem in AutoMLProblemTypeConfig + // (TabularJobConfig.ProblemType), or none at all. + // + // * For text generation problem types (LLMs fine-tuning): Fine-tuning language + // models in Autopilot does not require setting the AutoMLJobObjective field. + // Autopilot fine-tunes LLMs without requiring multiple candidates to be + // trained and evaluated. Instead, using your dataset, Autopilot directly + // fine-tunes your target model to enhance a default objective metric, the + // cross-entropy loss. After fine-tuning a language model, you can evaluate + // the quality of its generated text using different metrics. For a list + // of the available metrics, see Metrics for fine-tuning LLMs in Autopilot + // (https://docs.aws.amazon.com/sagemaker/latest/dg/llms-finetuning-models.html). AutoMLJobObjective *AutoMLJobObjective `type:"structure"` // Defines the configuration settings of one of the supported problem types. @@ -72374,6 +72442,8 @@ type HyperParameterTrainingJobDefinition struct { // tuning uses the value of this metric to evaluate the training jobs it launches, // and returns the training job that results in either the highest or lowest // value for this metric, depending on the value you specify for the Type parameter. + // If you want to define a custom objective metric, see Define metrics and environment + // variables (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-define-metrics-variables.html). TuningObjective *HyperParameterTuningJobObjective `type:"structure"` // The VpcConfig (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_VpcConfig.html) @@ -73099,6 +73169,8 @@ func (s *HyperParameterTuningJobConsumedResources) SetRuntimeInSeconds(v int64) // tuning uses the value of this metric to evaluate the training jobs it launches, // and returns the training job that results in either the highest or lowest // value for this metric, depending on the value you specify for the Type parameter. +// If you want to define a custom objective metric, see Define metrics and environment +// variables (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-define-metrics-variables.html). type HyperParameterTuningJobObjective struct { _ struct{} `type:"structure"` @@ -74140,8 +74212,8 @@ func (s *Image) SetLastModifiedTime(v time.Time) *Image { return s } -// Stores the configuration information for the image classification problem -// of an AutoML job V2. +// The collection of settings used by an AutoML job V2 for the image classification +// problem type. type ImageClassificationJobConfig struct { _ struct{} `type:"structure"` @@ -102871,7 +102943,8 @@ func (s *RepositoryAuthConfig) SetRepositoryCredentialsProviderArn(v string) *Re type ResolvedAttributes struct { _ struct{} `type:"structure"` - // Specifies a metric to minimize or maximize as the objective of a job. + // Specifies a metric to minimize or maximize as the objective of an AutoML + // job. AutoMLJobObjective *AutoMLJobObjective `type:"structure"` // How long a job is allowed to run, or how many candidates a job is allowed @@ -108136,7 +108209,7 @@ func (s *SuggestionQuery) SetPropertyNameQuery(v *PropertyNameQuery) *Suggestion return s } -// The collection of settings used by an AutoML job V2 for the TABULAR problem +// The collection of settings used by an AutoML job V2 for the tabular problem // type. type TabularJobConfig struct { _ struct{} `type:"structure"` @@ -108328,7 +108401,7 @@ func (s *TabularJobConfig) SetTargetAttributeName(v string) *TabularJobConfig { return s } -// The resolved attributes specific to the TABULAR problem type. +// The resolved attributes specific to the tabular problem type. type TabularResolvedAttributes struct { _ struct{} `type:"structure"` @@ -108670,8 +108743,8 @@ func (s *TensorBoardOutputConfig) SetS3OutputPath(v string) *TensorBoardOutputCo return s } -// Stores the configuration information for the text classification problem -// of an AutoML job V2. +// The collection of settings used by an AutoML job V2 for the text classification +// problem type. type TextClassificationJobConfig struct { _ struct{} `type:"structure"` @@ -108755,6 +108828,106 @@ func (s *TextClassificationJobConfig) SetTargetLabelColumn(v string) *TextClassi return s } +// The collection of settings used by an AutoML job V2 for the text generation +// problem type. +// +// The text generation models that support fine-tuning in Autopilot are currently +// accessible exclusively in regions supported by Canvas. Refer to the documentation +// of Canvas for the full list of its supported Regions (https://docs.aws.amazon.com/sagemaker/latest/dg/canvas.html). +type TextGenerationJobConfig struct { + _ struct{} `type:"structure"` + + // The name of the base model to fine-tune. Autopilot supports fine-tuning a + // variety of large language models. For information on the list of supported + // models, see Text generation models supporting fine-tuning in Autopilot (https://docs.aws.amazon.com/sagemaker/src/AWSIronmanApiDoc/build/server-root/sagemaker/latest/dg/llms-finetuning-models.html#llms-finetuning-supported-llms). + // If no BaseModelName is provided, the default model used is Falcon-7B-Instruct. + BaseModelName *string `min:"1" type:"string"` + + // How long a job is allowed to run, or how many candidates a job is allowed + // to generate. + CompletionCriteria *AutoMLJobCompletionCriteria `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 TextGenerationJobConfig) 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 TextGenerationJobConfig) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TextGenerationJobConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TextGenerationJobConfig"} + if s.BaseModelName != nil && len(*s.BaseModelName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("BaseModelName", 1)) + } + if s.CompletionCriteria != nil { + if err := s.CompletionCriteria.Validate(); err != nil { + invalidParams.AddNested("CompletionCriteria", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBaseModelName sets the BaseModelName field's value. +func (s *TextGenerationJobConfig) SetBaseModelName(v string) *TextGenerationJobConfig { + s.BaseModelName = &v + return s +} + +// SetCompletionCriteria sets the CompletionCriteria field's value. +func (s *TextGenerationJobConfig) SetCompletionCriteria(v *AutoMLJobCompletionCriteria) *TextGenerationJobConfig { + s.CompletionCriteria = v + return s +} + +// The resolved attributes specific to the text generation problem type. +type TextGenerationResolvedAttributes struct { + _ struct{} `type:"structure"` + + // The name of the base model to fine-tune. + BaseModelName *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TextGenerationResolvedAttributes) 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 TextGenerationResolvedAttributes) GoString() string { + return s.String() +} + +// SetBaseModelName sets the BaseModelName field's value. +func (s *TextGenerationResolvedAttributes) SetBaseModelName(v string) *TextGenerationResolvedAttributes { + s.BaseModelName = &v + return s +} + // The collection of components that defines the time-series. type TimeSeriesConfig struct { _ struct{} `type:"structure"` @@ -119244,6 +119417,27 @@ const ( // AutoMLMetricExtendedEnumAverageWeightedQuantileLoss is a AutoMLMetricExtendedEnum enum value AutoMLMetricExtendedEnumAverageWeightedQuantileLoss = "AverageWeightedQuantileLoss" + + // AutoMLMetricExtendedEnumRouge1 is a AutoMLMetricExtendedEnum enum value + AutoMLMetricExtendedEnumRouge1 = "Rouge1" + + // AutoMLMetricExtendedEnumRouge2 is a AutoMLMetricExtendedEnum enum value + AutoMLMetricExtendedEnumRouge2 = "Rouge2" + + // AutoMLMetricExtendedEnumRougeL is a AutoMLMetricExtendedEnum enum value + AutoMLMetricExtendedEnumRougeL = "RougeL" + + // AutoMLMetricExtendedEnumRougeLsum is a AutoMLMetricExtendedEnum enum value + AutoMLMetricExtendedEnumRougeLsum = "RougeLSum" + + // AutoMLMetricExtendedEnumPerplexity is a AutoMLMetricExtendedEnum enum value + AutoMLMetricExtendedEnumPerplexity = "Perplexity" + + // AutoMLMetricExtendedEnumValidationLoss is a AutoMLMetricExtendedEnum enum value + AutoMLMetricExtendedEnumValidationLoss = "ValidationLoss" + + // AutoMLMetricExtendedEnumTrainingLoss is a AutoMLMetricExtendedEnum enum value + AutoMLMetricExtendedEnumTrainingLoss = "TrainingLoss" ) // AutoMLMetricExtendedEnum_Values returns all elements of the AutoMLMetricExtendedEnum enum @@ -119268,6 +119462,13 @@ func AutoMLMetricExtendedEnum_Values() []string { AutoMLMetricExtendedEnumMase, AutoMLMetricExtendedEnumWape, AutoMLMetricExtendedEnumAverageWeightedQuantileLoss, + AutoMLMetricExtendedEnumRouge1, + AutoMLMetricExtendedEnumRouge2, + AutoMLMetricExtendedEnumRougeL, + AutoMLMetricExtendedEnumRougeLsum, + AutoMLMetricExtendedEnumPerplexity, + AutoMLMetricExtendedEnumValidationLoss, + AutoMLMetricExtendedEnumTrainingLoss, } } @@ -119303,6 +119504,9 @@ const ( // AutoMLProblemTypeConfigNameTimeSeriesForecasting is a AutoMLProblemTypeConfigName enum value AutoMLProblemTypeConfigNameTimeSeriesForecasting = "TimeSeriesForecasting" + + // AutoMLProblemTypeConfigNameTextGeneration is a AutoMLProblemTypeConfigName enum value + AutoMLProblemTypeConfigNameTextGeneration = "TextGeneration" ) // AutoMLProblemTypeConfigName_Values returns all elements of the AutoMLProblemTypeConfigName enum @@ -119312,6 +119516,7 @@ func AutoMLProblemTypeConfigName_Values() []string { AutoMLProblemTypeConfigNameTextClassification, AutoMLProblemTypeConfigNameTabular, AutoMLProblemTypeConfigNameTimeSeriesForecasting, + AutoMLProblemTypeConfigNameTextGeneration, } } diff --git a/service/sns/api.go b/service/sns/api.go index 3f6e837bad7..2ff147ccf4f 100644 --- a/service/sns/api.go +++ b/service/sns/api.go @@ -279,6 +279,10 @@ func (c *SNS) ConfirmSubscriptionRequest(input *ConfirmSubscriptionInput) (req * // exceeds the limit. To add more filter polices, submit an Amazon SNS Limit // Increase case in the Amazon Web Services Support Center. // +// - ErrCodeReplayLimitExceededException "ReplayLimitExceeded" +// Indicates that the request parameter has exceeded the maximum number of concurrent +// message replays. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ConfirmSubscription func (c *SNS) ConfirmSubscription(input *ConfirmSubscriptionInput) (*ConfirmSubscriptionOutput, error) { req, out := c.ConfirmSubscriptionRequest(input) @@ -1085,6 +1089,9 @@ func (c *SNS) DeleteTopicRequest(input *DeleteTopicInput) (req *request.Request, // - ErrCodeInvalidParameterException "InvalidParameter" // Indicates that a request parameter does not comply with the associated constraints. // +// - ErrCodeInvalidStateException "InvalidState" +// Indicates that the specified state is not a valid state for an event source. +// // - ErrCodeInternalErrorException "InternalError" // Indicates an internal service error. // @@ -3272,13 +3279,13 @@ func (c *SNS) PublishRequest(input *PublishInput) (req *request.Request, output // Indicates that the user has been denied access to the requested resource. // // - ErrCodeKMSDisabledException "KMSDisabled" -// The request was rejected because the specified customer master key (CMK) +// The request was rejected because the specified Amazon Web Services KMS key // isn't enabled. // // - ErrCodeKMSInvalidStateException "KMSInvalidState" // The request was rejected because the state of the specified resource isn't -// valid for this request. For more information, see How Key State Affects Use -// of a Customer Master Key (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// valid for this request. For more information, see Key states of Amazon Web +// Services KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) // in the Key Management Service Developer Guide. // // - ErrCodeKMSNotFoundException "KMSNotFound" @@ -3444,13 +3451,13 @@ func (c *SNS) PublishBatchRequest(input *PublishBatchInput) (req *request.Reques // The batch request contains more entries than permissible. // // - ErrCodeKMSDisabledException "KMSDisabled" -// The request was rejected because the specified customer master key (CMK) +// The request was rejected because the specified Amazon Web Services KMS key // isn't enabled. // // - ErrCodeKMSInvalidStateException "KMSInvalidState" // The request was rejected because the state of the specified resource isn't -// valid for this request. For more information, see How Key State Affects Use -// of a Customer Master Key (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// valid for this request. For more information, see Key states of Amazon Web +// Services KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) // in the Key Management Service Developer Guide. // // - ErrCodeKMSNotFoundException "KMSNotFound" @@ -4032,6 +4039,10 @@ func (c *SNS) SetSubscriptionAttributesRequest(input *SetSubscriptionAttributesI // exceeds the limit. To add more filter polices, submit an Amazon SNS Limit // Increase case in the Amazon Web Services Support Center. // +// - ErrCodeReplayLimitExceededException "ReplayLimitExceeded" +// Indicates that the request parameter has exceeded the maximum number of concurrent +// message replays. +// // - ErrCodeInternalErrorException "InternalError" // Indicates an internal service error. // @@ -4209,7 +4220,7 @@ func (c *SNS) SubscribeRequest(input *SubscribeInput) (req *request.Request, out // to confirm the subscription. // // You call the ConfirmSubscription action with the token from the subscription -// response. Confirmation tokens are valid for three days. +// response. Confirmation tokens are valid for two days. // // This action is throttled at 100 transactions per second (TPS). // @@ -4230,6 +4241,10 @@ func (c *SNS) SubscribeRequest(input *SubscribeInput) (req *request.Request, out // exceeds the limit. To add more filter polices, submit an Amazon SNS Limit // Increase case in the Amazon Web Services Support Center. // +// - ErrCodeReplayLimitExceededException "ReplayLimitExceeded" +// Indicates that the request parameter has exceeded the maximum number of concurrent +// message replays. +// // - ErrCodeInvalidParameterException "InvalidParameter" // Indicates that a request parameter does not comply with the associated constraints. // @@ -5423,7 +5438,13 @@ type CreateTopicInput struct { // // The following attributes apply only to FIFO topics (https://docs.aws.amazon.com/sns/latest/dg/sns-fifo-topics.html): // - // * FifoTopic – When this is set to true, a FIFO topic is created. + // * ArchivePolicy – Adds or updates an inline policy document to archive + // messages stored in the specified Amazon SNS topic. + // + // * BeginningArchiveTime – The earliest starting point at which a message + // in the topic’s archive can be replayed from. This point in time is based + // on the configured message retention period set by the topic’s message + // archiving policy. // // * ContentBasedDeduplication – Enables content-based deduplication for // FIFO topics. By default, ContentBasedDeduplication is set to false. If @@ -9154,6 +9175,19 @@ type SubscribeInput struct { // more information, see Fanout to Kinesis Data Firehose delivery streams // (https://docs.aws.amazon.com/sns/latest/dg/sns-firehose-as-subscriber.html) // in the Amazon SNS Developer Guide. + // + // The following attributes apply only to FIFO topics (https://docs.aws.amazon.com/sns/latest/dg/sns-fifo-topics.html): + // + // * ReplayPolicy – Adds or updates an inline policy document for a subscription + // to replay messages stored in the specified Amazon SNS topic. + // + // * ReplayStatus – Retrieves the status of the subscription message replay, + // which can be one of the following: Completed – The replay has successfully + // redelivered all messages, and is now delivering newly published messages. + // If an ending point was specified in the ReplayPolicy then the subscription + // will no longer receive newly published messages. In progress – The replay + // is currently replaying the selected messages. Failed – The replay was + // unable to complete. Pending – The default state while the replay initiates. Attributes map[string]*string `type:"map"` // The endpoint that you want to receive notifications. Endpoints vary by protocol: diff --git a/service/sns/errors.go b/service/sns/errors.go index 979eee05e14..da042a2219f 100644 --- a/service/sns/errors.go +++ b/service/sns/errors.go @@ -80,6 +80,12 @@ const ( // sign your request using Signature Version 4. ErrCodeInvalidSecurityException = "InvalidSecurity" + // ErrCodeInvalidStateException for service response error code + // "InvalidState". + // + // Indicates that the specified state is not a valid state for an event source. + ErrCodeInvalidStateException = "InvalidState" + // ErrCodeKMSAccessDeniedException for service response error code // "KMSAccessDenied". // @@ -90,7 +96,7 @@ const ( // ErrCodeKMSDisabledException for service response error code // "KMSDisabled". // - // The request was rejected because the specified customer master key (CMK) + // The request was rejected because the specified Amazon Web Services KMS key // isn't enabled. ErrCodeKMSDisabledException = "KMSDisabled" @@ -98,8 +104,8 @@ const ( // "KMSInvalidState". // // The request was rejected because the state of the specified resource isn't - // valid for this request. For more information, see How Key State Affects Use - // of a Customer Master Key (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) + // valid for this request. For more information, see Key states of Amazon Web + // Services KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) // in the Key Management Service Developer Guide. ErrCodeKMSInvalidStateException = "KMSInvalidState" @@ -144,6 +150,13 @@ const ( // Exception error indicating platform application disabled. ErrCodePlatformApplicationDisabledException = "PlatformApplicationDisabled" + // ErrCodeReplayLimitExceededException for service response error code + // "ReplayLimitExceeded". + // + // Indicates that the request parameter has exceeded the maximum number of concurrent + // message replays. + ErrCodeReplayLimitExceededException = "ReplayLimitExceeded" + // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFound". // diff --git a/service/ssmsap/api.go b/service/ssmsap/api.go index 994fa591330..a48b072d70e 100644 --- a/service/ssmsap/api.go +++ b/service/ssmsap/api.go @@ -154,6 +154,9 @@ func (c *SsmSap) DeregisterApplicationRequest(input *DeregisterApplicationInput) // // Returned Error Types: // +// - UnauthorizedException +// The request is not authorized. +// // - ValidationException // The input fails to satisfy the constraints specified by an AWS service. // @@ -320,6 +323,9 @@ func (c *SsmSap) GetComponentRequest(input *GetComponentInput) (req *request.Req // // Returned Error Types: // +// - UnauthorizedException +// The request is not authorized. +// // - ValidationException // The input fails to satisfy the constraints specified by an AWS service. // @@ -800,6 +806,9 @@ func (c *SsmSap) ListComponentsRequest(input *ListComponentsInput) (req *request // // Returned Error Types: // +// - UnauthorizedException +// The request is not authorized. +// // - ResourceNotFoundException // The resource is not available. // @@ -1399,6 +1408,9 @@ func (c *SsmSap) RegisterApplicationRequest(input *RegisterApplicationInput) (re // // Returned Error Types: // +// - ResourceNotFoundException +// The resource is not available. +// // - ValidationException // The input fails to satisfy the constraints specified by an AWS service. // @@ -1484,6 +1496,9 @@ func (c *SsmSap) StartApplicationRefreshRequest(input *StartApplicationRefreshIn // // Returned Error Types: // +// - UnauthorizedException +// The request is not authorized. +// // - ResourceNotFoundException // The resource is not available. // @@ -1745,6 +1760,9 @@ func (c *SsmSap) UpdateApplicationSettingsRequest(input *UpdateApplicationSettin // // Returned Error Types: // +// - UnauthorizedException +// The request is not authorized. +// // - ResourceNotFoundException // The resource is not available. // @@ -1977,6 +1995,9 @@ type ApplicationSummary struct { // The Amazon Resource Name (ARN) of the application. Arn *string `type:"string"` + // The status of the latest discovery. + DiscoveryStatus *string `type:"string" enum:"ApplicationDiscoveryStatus"` + // The ID of the application. Id *string `type:"string"` @@ -2011,6 +2032,12 @@ func (s *ApplicationSummary) SetArn(v string) *ApplicationSummary { return s } +// SetDiscoveryStatus sets the DiscoveryStatus field's value. +func (s *ApplicationSummary) SetDiscoveryStatus(v string) *ApplicationSummary { + s.DiscoveryStatus = &v + return s +} + // SetId sets the Id field's value. func (s *ApplicationSummary) SetId(v string) *ApplicationSummary { s.Id = &v @@ -2039,6 +2066,9 @@ type AssociatedHost struct { // The name of the host. Hostname *string `type:"string"` + // The IP addresses of the associated host. + IpAddresses []*IpAddressMember `type:"list"` + // The version of the operating system. OsVersion *string `type:"string"` } @@ -2073,6 +2103,12 @@ func (s *AssociatedHost) SetHostname(v string) *AssociatedHost { return s } +// SetIpAddresses sets the IpAddresses field's value. +func (s *AssociatedHost) SetIpAddresses(v []*IpAddressMember) *AssociatedHost { + s.IpAddresses = v + return s +} + // SetOsVersion sets the OsVersion field's value. func (s *AssociatedHost) SetOsVersion(v string) *AssociatedHost { s.OsVersion = &v @@ -2163,6 +2199,9 @@ type Component struct { // The type of the component. ComponentType *string `type:"string" enum:"ComponentType"` + // The connection specifications for the database of the component. + DatabaseConnection *DatabaseConnection `type:"structure"` + // The SAP HANA databases of the component. Databases []*string `type:"list"` @@ -2190,14 +2229,40 @@ type Component struct { // Details of the SAP HANA system replication for the component. Resilience *Resilience `type:"structure"` + // The SAP feature of the component. + SapFeature *string `type:"string"` + // The hostname of the component. SapHostname *string `type:"string"` // The kernel version of the component. SapKernelVersion *string `type:"string"` + // The SAP System Identifier of the application component. + Sid *string `type:"string"` + // The status of the component. + // + // * ACTIVATED - this status has been deprecated. + // + // * STARTING - the component is in the process of being started. + // + // * STOPPED - the component is not running. + // + // * STOPPING - the component is in the process of being stopped. + // + // * RUNNING - the component is running. + // + // * RUNNING_WITH_ERROR - one or more child component(s) of the parent component + // is not running. Call GetComponent (https://docs.aws.amazon.com/ssmsap/latest/APIReference/API_GetComponent.html) + // to review the status of each child component. + // + // * UNDEFINED - AWS Systems Manager for SAP cannot provide the component + // status based on the discovered information. Verify your SAP application. Status *string `type:"string" enum:"ComponentStatus"` + + // The SAP system number of the application component. + SystemNumber *string `type:"string"` } // String returns the string representation. @@ -2254,6 +2319,12 @@ func (s *Component) SetComponentType(v string) *Component { return s } +// SetDatabaseConnection sets the DatabaseConnection field's value. +func (s *Component) SetDatabaseConnection(v *DatabaseConnection) *Component { + s.DatabaseConnection = v + return s +} + // SetDatabases sets the Databases field's value. func (s *Component) SetDatabases(v []*string) *Component { s.Databases = v @@ -2296,6 +2367,12 @@ func (s *Component) SetResilience(v *Resilience) *Component { return s } +// SetSapFeature sets the SapFeature field's value. +func (s *Component) SetSapFeature(v string) *Component { + s.SapFeature = &v + return s +} + // SetSapHostname sets the SapHostname field's value. func (s *Component) SetSapHostname(v string) *Component { s.SapHostname = &v @@ -2308,12 +2385,24 @@ func (s *Component) SetSapKernelVersion(v string) *Component { return s } +// SetSid sets the Sid field's value. +func (s *Component) SetSid(v string) *Component { + s.Sid = &v + return s +} + // SetStatus sets the Status field's value. func (s *Component) SetStatus(v string) *Component { s.Status = &v return s } +// SetSystemNumber sets the SystemNumber field's value. +func (s *Component) SetSystemNumber(v string) *Component { + s.SystemNumber = &v + return s +} + // The summary of the component. type ComponentSummary struct { _ struct{} `type:"structure"` @@ -2461,7 +2550,7 @@ type Database struct { ComponentId *string `type:"string"` // The credentials of the database. - Credentials []*ApplicationCredential `min:"1" type:"list"` + Credentials []*ApplicationCredential `type:"list"` // The ID of the SAP HANA database. DatabaseId *string `type:"string"` @@ -2569,6 +2658,56 @@ func (s *Database) SetStatus(v string) *Database { return s } +// The connection specifications for the database. +type DatabaseConnection struct { + _ struct{} `type:"structure"` + + // The IP address for connection. + ConnectionIp *string `type:"string"` + + // The Amazon Resource Name of the connected SAP HANA database. + DatabaseArn *string `type:"string"` + + // The method of connection. + DatabaseConnectionMethod *string `type:"string" enum:"DatabaseConnectionMethod"` +} + +// 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 DatabaseConnection) 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 DatabaseConnection) GoString() string { + return s.String() +} + +// SetConnectionIp sets the ConnectionIp field's value. +func (s *DatabaseConnection) SetConnectionIp(v string) *DatabaseConnection { + s.ConnectionIp = &v + return s +} + +// SetDatabaseArn sets the DatabaseArn field's value. +func (s *DatabaseConnection) SetDatabaseArn(v string) *DatabaseConnection { + s.DatabaseArn = &v + return s +} + +// SetDatabaseConnectionMethod sets the DatabaseConnectionMethod field's value. +func (s *DatabaseConnection) SetDatabaseConnectionMethod(v string) *DatabaseConnection { + s.DatabaseConnectionMethod = &v + return s +} + // The summary of the database. type DatabaseSummary struct { _ struct{} `type:"structure"` @@ -3483,9 +3622,62 @@ func (s *InternalServerException) RequestID() string { return s.RespMetadata.RequestID } +// Provides information of the IP address. +type IpAddressMember struct { + _ struct{} `type:"structure"` + + // The type of allocation for the IP address. + AllocationType *string `type:"string" enum:"AllocationType"` + + // The IP address. + IpAddress *string `type:"string"` + + // The primary IP address. + Primary *bool `type:"boolean"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s IpAddressMember) 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 IpAddressMember) GoString() string { + return s.String() +} + +// SetAllocationType sets the AllocationType field's value. +func (s *IpAddressMember) SetAllocationType(v string) *IpAddressMember { + s.AllocationType = &v + return s +} + +// SetIpAddress sets the IpAddress field's value. +func (s *IpAddressMember) SetIpAddress(v string) *IpAddressMember { + s.IpAddress = &v + return s +} + +// SetPrimary sets the Primary field's value. +func (s *IpAddressMember) SetPrimary(v bool) *IpAddressMember { + s.Primary = &v + return s +} + type ListApplicationsInput struct { _ struct{} `type:"structure"` + // The filter of name, value, and operator. + Filters []*Filter `min:"1" type:"list"` + // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int64 `min:"1" type:"integer"` @@ -3515,9 +3707,22 @@ func (s ListApplicationsInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *ListApplicationsInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "ListApplicationsInput"} + if s.Filters != nil && len(s.Filters) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Filters", 1)) + } if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } + if s.Filters != nil { + for i, v := range s.Filters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -3525,6 +3730,12 @@ func (s *ListApplicationsInput) Validate() error { return nil } +// SetFilters sets the Filters field's value. +func (s *ListApplicationsInput) SetFilters(v []*Filter) *ListApplicationsInput { + s.Filters = v + return s +} + // SetMaxResults sets the MaxResults field's value. func (s *ListApplicationsInput) SetMaxResults(v int64) *ListApplicationsInput { s.MaxResults = &v @@ -4246,9 +4457,10 @@ type RegisterApplicationInput struct { ApplicationType *string `type:"string" required:"true" enum:"ApplicationType"` // The credentials of the SAP application. - // - // Credentials is a required field - Credentials []*ApplicationCredential `min:"1" type:"list" required:"true"` + Credentials []*ApplicationCredential `type:"list"` + + // The Amazon Resource Name of the SAP HANA database. + DatabaseArn *string `type:"string"` // The Amazon EC2 instances on which your SAP application is running. // @@ -4292,12 +4504,6 @@ func (s *RegisterApplicationInput) Validate() error { if s.ApplicationType == nil { invalidParams.Add(request.NewErrParamRequired("ApplicationType")) } - if s.Credentials == nil { - invalidParams.Add(request.NewErrParamRequired("Credentials")) - } - if s.Credentials != nil && len(s.Credentials) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Credentials", 1)) - } if s.Instances == nil { invalidParams.Add(request.NewErrParamRequired("Instances")) } @@ -4339,6 +4545,12 @@ func (s *RegisterApplicationInput) SetCredentials(v []*ApplicationCredential) *R return s } +// SetDatabaseArn sets the DatabaseArn field's value. +func (s *RegisterApplicationInput) SetDatabaseArn(v string) *RegisterApplicationInput { + s.DatabaseArn = &v + return s +} + // SetInstances sets the Instances field's value. func (s *RegisterApplicationInput) SetInstances(v []*string) *RegisterApplicationInput { s.Instances = v @@ -4410,6 +4622,9 @@ type Resilience struct { // The cluster status of the component. ClusterStatus *string `type:"string" enum:"ClusterStatus"` + // Indicates if or not enqueue replication is enabled for the ASCS component. + EnqueueReplication *bool `type:"boolean"` + // The operation mode of the component. HsrOperationMode *string `type:"string" enum:"OperationMode"` @@ -4444,6 +4659,12 @@ func (s *Resilience) SetClusterStatus(v string) *Resilience { return s } +// SetEnqueueReplication sets the EnqueueReplication field's value. +func (s *Resilience) SetEnqueueReplication(v bool) *Resilience { + s.EnqueueReplication = &v + return s +} + // SetHsrOperationMode sets the HsrOperationMode field's value. func (s *Resilience) SetHsrOperationMode(v string) *Resilience { s.HsrOperationMode = &v @@ -4688,6 +4909,70 @@ func (s TagResourceOutput) GoString() string { return s.String() } +// The request is not authorized. +type UnauthorizedException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" 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 UnauthorizedException) 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 UnauthorizedException) GoString() string { + return s.String() +} + +func newErrorUnauthorizedException(v protocol.ResponseMetadata) error { + return &UnauthorizedException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *UnauthorizedException) Code() string { + return "UnauthorizedException" +} + +// Message returns the exception's message. +func (s *UnauthorizedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *UnauthorizedException) OrigErr() error { + return nil +} + +func (s *UnauthorizedException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *UnauthorizedException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *UnauthorizedException) RequestID() string { + return s.RespMetadata.RequestID +} + type UntagResourceInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -4786,10 +5071,14 @@ type UpdateApplicationSettingsInput struct { Backint *BackintConfig `type:"structure"` // The credentials to be added or updated. - CredentialsToAddOrUpdate []*ApplicationCredential `min:"1" type:"list"` + CredentialsToAddOrUpdate []*ApplicationCredential `type:"list"` // The credentials to be removed. - CredentialsToRemove []*ApplicationCredential `min:"1" type:"list"` + CredentialsToRemove []*ApplicationCredential `type:"list"` + + // The Amazon Resource Name of the SAP HANA database that replaces the current + // SAP HANA connection with the SAP_ABAP application. + DatabaseArn *string `type:"string"` } // String returns the string representation. @@ -4816,12 +5105,6 @@ func (s *UpdateApplicationSettingsInput) Validate() error { if s.ApplicationId == nil { invalidParams.Add(request.NewErrParamRequired("ApplicationId")) } - if s.CredentialsToAddOrUpdate != nil && len(s.CredentialsToAddOrUpdate) < 1 { - invalidParams.Add(request.NewErrParamMinLen("CredentialsToAddOrUpdate", 1)) - } - if s.CredentialsToRemove != nil && len(s.CredentialsToRemove) < 1 { - invalidParams.Add(request.NewErrParamMinLen("CredentialsToRemove", 1)) - } if s.Backint != nil { if err := s.Backint.Validate(); err != nil { invalidParams.AddNested("Backint", err.(request.ErrInvalidParams)) @@ -4878,6 +5161,12 @@ func (s *UpdateApplicationSettingsInput) SetCredentialsToRemove(v []*Application return s } +// SetDatabaseArn sets the DatabaseArn field's value. +func (s *UpdateApplicationSettingsInput) SetDatabaseArn(v string) *UpdateApplicationSettingsInput { + s.DatabaseArn = &v + return s +} + type UpdateApplicationSettingsOutput struct { _ struct{} `type:"structure"` @@ -4982,6 +5271,30 @@ func (s *ValidationException) RequestID() string { return s.RespMetadata.RequestID } +const ( + // AllocationTypeVpcSubnet is a AllocationType enum value + AllocationTypeVpcSubnet = "VPC_SUBNET" + + // AllocationTypeElasticIp is a AllocationType enum value + AllocationTypeElasticIp = "ELASTIC_IP" + + // AllocationTypeOverlay is a AllocationType enum value + AllocationTypeOverlay = "OVERLAY" + + // AllocationTypeUnknown is a AllocationType enum value + AllocationTypeUnknown = "UNKNOWN" +) + +// AllocationType_Values returns all elements of the AllocationType enum +func AllocationType_Values() []string { + return []string{ + AllocationTypeVpcSubnet, + AllocationTypeElasticIp, + AllocationTypeOverlay, + AllocationTypeUnknown, + } +} + const ( // ApplicationDiscoveryStatusSuccess is a ApplicationDiscoveryStatus enum value ApplicationDiscoveryStatusSuccess = "SUCCESS" @@ -5053,12 +5366,16 @@ func ApplicationStatus_Values() []string { const ( // ApplicationTypeHana is a ApplicationType enum value ApplicationTypeHana = "HANA" + + // ApplicationTypeSapAbap is a ApplicationType enum value + ApplicationTypeSapAbap = "SAP_ABAP" ) // ApplicationType_Values returns all elements of the ApplicationType enum func ApplicationType_Values() []string { return []string{ ApplicationTypeHana, + ApplicationTypeSapAbap, } } @@ -5144,6 +5461,24 @@ const ( // ComponentTypeHanaNode is a ComponentType enum value ComponentTypeHanaNode = "HANA_NODE" + + // ComponentTypeAbap is a ComponentType enum value + ComponentTypeAbap = "ABAP" + + // ComponentTypeAscs is a ComponentType enum value + ComponentTypeAscs = "ASCS" + + // ComponentTypeDialog is a ComponentType enum value + ComponentTypeDialog = "DIALOG" + + // ComponentTypeWebdisp is a ComponentType enum value + ComponentTypeWebdisp = "WEBDISP" + + // ComponentTypeWd is a ComponentType enum value + ComponentTypeWd = "WD" + + // ComponentTypeErs is a ComponentType enum value + ComponentTypeErs = "ERS" ) // ComponentType_Values returns all elements of the ComponentType enum @@ -5151,6 +5486,12 @@ func ComponentType_Values() []string { return []string{ ComponentTypeHana, ComponentTypeHanaNode, + ComponentTypeAbap, + ComponentTypeAscs, + ComponentTypeDialog, + ComponentTypeWebdisp, + ComponentTypeWd, + ComponentTypeErs, } } @@ -5166,6 +5507,22 @@ func CredentialType_Values() []string { } } +const ( + // DatabaseConnectionMethodDirect is a DatabaseConnectionMethod enum value + DatabaseConnectionMethodDirect = "DIRECT" + + // DatabaseConnectionMethodOverlay is a DatabaseConnectionMethod enum value + DatabaseConnectionMethodOverlay = "OVERLAY" +) + +// DatabaseConnectionMethod_Values returns all elements of the DatabaseConnectionMethod enum +func DatabaseConnectionMethod_Values() []string { + return []string{ + DatabaseConnectionMethodDirect, + DatabaseConnectionMethodOverlay, + } +} + const ( // DatabaseStatusRunning is a DatabaseStatus enum value DatabaseStatusRunning = "RUNNING" diff --git a/service/ssmsap/errors.go b/service/ssmsap/errors.go index c3c9b8be24e..3b40dd3f708 100644 --- a/service/ssmsap/errors.go +++ b/service/ssmsap/errors.go @@ -26,6 +26,12 @@ const ( // The resource is not available. ErrCodeResourceNotFoundException = "ResourceNotFoundException" + // ErrCodeUnauthorizedException for service response error code + // "UnauthorizedException". + // + // The request is not authorized. + ErrCodeUnauthorizedException = "UnauthorizedException" + // ErrCodeValidationException for service response error code // "ValidationException". // @@ -37,5 +43,6 @@ var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ "ConflictException": newErrorConflictException, "InternalServerException": newErrorInternalServerException, "ResourceNotFoundException": newErrorResourceNotFoundException, + "UnauthorizedException": newErrorUnauthorizedException, "ValidationException": newErrorValidationException, } diff --git a/service/transfer/api.go b/service/transfer/api.go index fec15af72a2..947feb948e1 100644 --- a/service/transfer/api.go +++ b/service/transfer/api.go @@ -72,24 +72,24 @@ func (c *Transfer) CreateAccessRequest(input *CreateAccessInput) (req *request.R // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. +// +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // // - InternalServiceError // This exception is thrown when an error occurs in the Transfer Family service. // -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // // - ResourceExistsException // The requested resource does not exist, or exists in a region other than the // one specified for the command. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateAccess func (c *Transfer) CreateAccess(input *CreateAccessInput) (*CreateAccessOutput, error) { req, out := c.CreateAccessRequest(input) @@ -173,27 +173,27 @@ func (c *Transfer) CreateAgreementRequest(input *CreateAgreementInput) (req *req // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. +// +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - ThrottlingException +// The request was denied due to request throttling. // // - InternalServiceError // This exception is thrown when an error occurs in the Transfer Family service. // -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // // - ResourceExistsException // The requested resource does not exist, or exists in a region other than the // one specified for the command. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. -// -// - ThrottlingException -// The request was denied due to request throttling. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateAgreement func (c *Transfer) CreateAgreement(input *CreateAgreementInput) (*CreateAgreementOutput, error) { req, out := c.CreateAgreementRequest(input) @@ -278,27 +278,27 @@ func (c *Transfer) CreateConnectorRequest(input *CreateConnectorInput) (req *req // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. +// +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - ThrottlingException +// The request was denied due to request throttling. // // - InternalServiceError // This exception is thrown when an error occurs in the Transfer Family service. // -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // // - ResourceExistsException // The requested resource does not exist, or exists in a region other than the // one specified for the command. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. -// -// - ThrottlingException -// The request was denied due to request throttling. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateConnector func (c *Transfer) CreateConnector(input *CreateConnectorInput) (*CreateConnectorOutput, error) { req, out := c.CreateConnectorRequest(input) @@ -375,23 +375,23 @@ func (c *Transfer) CreateProfileRequest(input *CreateProfileInput) (req *request // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. -// -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. -// // - ResourceNotFoundException // This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer // Family service. // +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// // - ThrottlingException // The request was denied due to request throttling. // +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateProfile func (c *Transfer) CreateProfile(input *CreateProfileInput) (*CreateProfileOutput, error) { req, out := c.CreateProfileRequest(input) @@ -471,29 +471,29 @@ func (c *Transfer) CreateServerRequest(input *CreateServerInput) (req *request.R // // Returned Error Types: // -// - AccessDeniedException -// You do not have sufficient access to perform this action. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - ThrottlingException +// The request was denied due to request throttling. // // - InternalServiceError // This exception is thrown when an error occurs in the Transfer Family service. // -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // // - ResourceExistsException // The requested resource does not exist, or exists in a region other than the // one specified for the command. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. -// -// - ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateServer func (c *Transfer) CreateServer(input *CreateServerInput) (*CreateServerOutput, error) { @@ -577,24 +577,24 @@ func (c *Transfer) CreateUserRequest(input *CreateUserInput) (req *request.Reque // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. +// +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // // - InternalServiceError // This exception is thrown when an error occurs in the Transfer Family service. // -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // // - ResourceExistsException // The requested resource does not exist, or exists in a region other than the // one specified for the command. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateUser func (c *Transfer) CreateUser(input *CreateUserInput) (*CreateUserOutput, error) { req, out := c.CreateUserRequest(input) @@ -674,25 +674,25 @@ func (c *Transfer) CreateWorkflowRequest(input *CreateWorkflowInput) (req *reque // // Returned Error Types: // -// - AccessDeniedException -// You do not have sufficient access to perform this action. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. +// - ThrottlingException +// The request was denied due to request throttling. // // - InternalServiceError // This exception is thrown when an error occurs in the Transfer Family service. // -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // // - ResourceExistsException // The requested resource does not exist, or exists in a region other than the // one specified for the command. // -// - ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateWorkflow func (c *Transfer) CreateWorkflow(input *CreateWorkflowInput) (*CreateWorkflowOutput, error) { @@ -772,19 +772,19 @@ func (c *Transfer) DeleteAccessRequest(input *DeleteAccessInput) (req *request.R // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // - InvalidRequestException // This exception is thrown when the client submits a malformed request. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteAccess func (c *Transfer) DeleteAccess(input *DeleteAccessInput) (*DeleteAccessOutput, error) { @@ -863,19 +863,19 @@ func (c *Transfer) DeleteAgreementRequest(input *DeleteAgreementInput) (req *req // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // - InvalidRequestException // This exception is thrown when the client submits a malformed request. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteAgreement func (c *Transfer) DeleteAgreement(input *DeleteAgreementInput) (*DeleteAgreementOutput, error) { @@ -954,19 +954,19 @@ func (c *Transfer) DeleteCertificateRequest(input *DeleteCertificateInput) (req // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // - InvalidRequestException // This exception is thrown when the client submits a malformed request. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteCertificate func (c *Transfer) DeleteCertificate(input *DeleteCertificateInput) (*DeleteCertificateOutput, error) { @@ -1045,19 +1045,19 @@ func (c *Transfer) DeleteConnectorRequest(input *DeleteConnectorInput) (req *req // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // - InvalidRequestException // This exception is thrown when the client submits a malformed request. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteConnector func (c *Transfer) DeleteConnector(input *DeleteConnectorInput) (*DeleteConnectorOutput, error) { @@ -1136,23 +1136,23 @@ func (c *Transfer) DeleteHostKeyRequest(input *DeleteHostKeyInput) (req *request // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. -// -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. -// // - ResourceNotFoundException // This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer // Family service. // +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// // - ThrottlingException // The request was denied due to request throttling. // +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteHostKey func (c *Transfer) DeleteHostKey(input *DeleteHostKeyInput) (*DeleteHostKeyOutput, error) { req, out := c.DeleteHostKeyRequest(input) @@ -1230,19 +1230,19 @@ func (c *Transfer) DeleteProfileRequest(input *DeleteProfileInput) (req *request // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // - InvalidRequestException // This exception is thrown when the client submits a malformed request. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteProfile func (c *Transfer) DeleteProfile(input *DeleteProfileInput) (*DeleteProfileOutput, error) { @@ -1323,22 +1323,22 @@ func (c *Transfer) DeleteServerRequest(input *DeleteServerInput) (req *request.R // // Returned Error Types: // -// - AccessDeniedException -// You do not have sufficient access to perform this action. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // // - InternalServiceError // This exception is thrown when an error occurs in the Transfer Family service. // -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteServer func (c *Transfer) DeleteServer(input *DeleteServerInput) (*DeleteServerOutput, error) { @@ -1417,23 +1417,23 @@ func (c *Transfer) DeleteSshPublicKeyRequest(input *DeleteSshPublicKeyInput) (re // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. -// -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. -// // - ResourceNotFoundException // This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer // Family service. // +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// // - ThrottlingException // The request was denied due to request throttling. // +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteSshPublicKey func (c *Transfer) DeleteSshPublicKey(input *DeleteSshPublicKeyInput) (*DeleteSshPublicKeyOutput, error) { req, out := c.DeleteSshPublicKeyRequest(input) @@ -1516,19 +1516,19 @@ func (c *Transfer) DeleteUserRequest(input *DeleteUserInput) (req *request.Reque // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // - InvalidRequestException // This exception is thrown when the client submits a malformed request. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteUser func (c *Transfer) DeleteUser(input *DeleteUserInput) (*DeleteUserOutput, error) { @@ -1607,22 +1607,22 @@ func (c *Transfer) DeleteWorkflowRequest(input *DeleteWorkflowInput) (req *reque // // Returned Error Types: // -// - AccessDeniedException -// You do not have sufficient access to perform this action. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // // - InternalServiceError // This exception is thrown when an error occurs in the Transfer Family service. // -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteWorkflow func (c *Transfer) DeleteWorkflow(input *DeleteWorkflowInput) (*DeleteWorkflowOutput, error) { @@ -1704,19 +1704,19 @@ func (c *Transfer) DescribeAccessRequest(input *DescribeAccessInput) (req *reque // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // - InvalidRequestException // This exception is thrown when the client submits a malformed request. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeAccess func (c *Transfer) DescribeAccess(input *DescribeAccessInput) (*DescribeAccessOutput, error) { @@ -1794,19 +1794,19 @@ func (c *Transfer) DescribeAgreementRequest(input *DescribeAgreementInput) (req // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // - InvalidRequestException // This exception is thrown when the client submits a malformed request. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeAgreement func (c *Transfer) DescribeAgreement(input *DescribeAgreementInput) (*DescribeAgreementOutput, error) { @@ -1884,19 +1884,19 @@ func (c *Transfer) DescribeCertificateRequest(input *DescribeCertificateInput) ( // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // - InvalidRequestException // This exception is thrown when the client submits a malformed request. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeCertificate func (c *Transfer) DescribeCertificate(input *DescribeCertificateInput) (*DescribeCertificateOutput, error) { @@ -1969,25 +1969,25 @@ func (c *Transfer) DescribeConnectorRequest(input *DescribeConnectorInput) (req // with awserr.Error's Code and Message methods to get detailed information about // the error. // -// See the AWS API reference guide for AWS Transfer Family's -// API operation DescribeConnector for usage and error information. -// -// Returned Error Types: -// -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. +// See the AWS API reference guide for AWS Transfer Family's +// API operation DescribeConnector for usage and error information. // -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// Returned Error Types: // // - ResourceNotFoundException // This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer // Family service. // +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeConnector func (c *Transfer) DescribeConnector(input *DescribeConnectorInput) (*DescribeConnectorOutput, error) { req, out := c.DescribeConnectorRequest(input) @@ -2071,19 +2071,19 @@ func (c *Transfer) DescribeExecutionRequest(input *DescribeExecutionInput) (req // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // - InvalidRequestException // This exception is thrown when the client submits a malformed request. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeExecution func (c *Transfer) DescribeExecution(input *DescribeExecutionInput) (*DescribeExecutionOutput, error) { @@ -2162,19 +2162,19 @@ func (c *Transfer) DescribeHostKeyRequest(input *DescribeHostKeyInput) (req *req // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // - InvalidRequestException // This exception is thrown when the client submits a malformed request. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeHostKey func (c *Transfer) DescribeHostKey(input *DescribeHostKeyInput) (*DescribeHostKeyOutput, error) { @@ -2252,19 +2252,19 @@ func (c *Transfer) DescribeProfileRequest(input *DescribeProfileInput) (req *req // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // - InvalidRequestException // This exception is thrown when the client submits a malformed request. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeProfile func (c *Transfer) DescribeProfile(input *DescribeProfileInput) (*DescribeProfileOutput, error) { @@ -2345,19 +2345,19 @@ func (c *Transfer) DescribeSecurityPolicyRequest(input *DescribeSecurityPolicyIn // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // - InvalidRequestException // This exception is thrown when the client submits a malformed request. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeSecurityPolicy func (c *Transfer) DescribeSecurityPolicy(input *DescribeSecurityPolicyInput) (*DescribeSecurityPolicyOutput, error) { @@ -2439,19 +2439,19 @@ func (c *Transfer) DescribeServerRequest(input *DescribeServerInput) (req *reque // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // - InvalidRequestException // This exception is thrown when the client submits a malformed request. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeServer func (c *Transfer) DescribeServer(input *DescribeServerInput) (*DescribeServerOutput, error) { @@ -2533,19 +2533,19 @@ func (c *Transfer) DescribeUserRequest(input *DescribeUserInput) (req *request.R // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // - InvalidRequestException // This exception is thrown when the client submits a malformed request. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeUser func (c *Transfer) DescribeUser(input *DescribeUserInput) (*DescribeUserOutput, error) { @@ -2623,19 +2623,19 @@ func (c *Transfer) DescribeWorkflowRequest(input *DescribeWorkflowInput) (req *r // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // - InvalidRequestException // This exception is thrown when the client submits a malformed request. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeWorkflow func (c *Transfer) DescribeWorkflow(input *DescribeWorkflowInput) (*DescribeWorkflowOutput, error) { @@ -2714,19 +2714,19 @@ func (c *Transfer) ImportCertificateRequest(input *ImportCertificateInput) (req // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // - InvalidRequestException // This exception is thrown when the client submits a malformed request. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ImportCertificate func (c *Transfer) ImportCertificate(input *ImportCertificateInput) (*ImportCertificateOutput, error) { @@ -2804,27 +2804,27 @@ func (c *Transfer) ImportHostKeyRequest(input *ImportHostKeyInput) (req *request // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. +// +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - ThrottlingException +// The request was denied due to request throttling. // // - InternalServiceError // This exception is thrown when an error occurs in the Transfer Family service. // -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // // - ResourceExistsException // The requested resource does not exist, or exists in a region other than the // one specified for the command. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. -// -// - ThrottlingException -// The request was denied due to request throttling. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ImportHostKey func (c *Transfer) ImportHostKey(input *ImportHostKeyInput) (*ImportHostKeyOutput, error) { req, out := c.ImportHostKeyRequest(input) @@ -2906,27 +2906,27 @@ func (c *Transfer) ImportSshPublicKeyRequest(input *ImportSshPublicKeyInput) (re // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. +// +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - ThrottlingException +// The request was denied due to request throttling. // // - InternalServiceError // This exception is thrown when an error occurs in the Transfer Family service. // -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // // - ResourceExistsException // The requested resource does not exist, or exists in a region other than the // one specified for the command. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. -// -// - ThrottlingException -// The request was denied due to request throttling. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ImportSshPublicKey func (c *Transfer) ImportSshPublicKey(input *ImportSshPublicKeyInput) (*ImportSshPublicKeyOutput, error) { req, out := c.ImportSshPublicKeyRequest(input) @@ -3009,23 +3009,23 @@ func (c *Transfer) ListAccessesRequest(input *ListAccessesInput) (req *request.R // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. +// +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // // - InternalServiceError // This exception is thrown when an error occurs in the Transfer Family service. // +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// // - InvalidNextTokenException // The NextToken parameter that was passed is invalid. // -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. -// -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListAccesses func (c *Transfer) ListAccesses(input *ListAccessesInput) (*ListAccessesOutput, error) { req, out := c.ListAccessesRequest(input) @@ -3163,23 +3163,23 @@ func (c *Transfer) ListAgreementsRequest(input *ListAgreementsInput) (req *reque // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. +// +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // // - InternalServiceError // This exception is thrown when an error occurs in the Transfer Family service. // +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// // - InvalidNextTokenException // The NextToken parameter that was passed is invalid. // -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. -// -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListAgreements func (c *Transfer) ListAgreements(input *ListAgreementsInput) (*ListAgreementsOutput, error) { req, out := c.ListAgreementsRequest(input) @@ -3315,25 +3315,25 @@ func (c *Transfer) ListCertificatesRequest(input *ListCertificatesInput) (req *r // See the AWS API reference guide for AWS Transfer Family's // API operation ListCertificates for usage and error information. // -// Returned Error Types: +// Returned Error Types: +// +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. +// +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. // // - ServiceUnavailableException // The request has failed because the Amazon Web ServicesTransfer Family service // is not available. // -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. -// // - InvalidNextTokenException // The NextToken parameter that was passed is invalid. // -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. -// -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListCertificates func (c *Transfer) ListCertificates(input *ListCertificatesInput) (*ListCertificatesOutput, error) { req, out := c.ListCertificatesRequest(input) @@ -3467,23 +3467,23 @@ func (c *Transfer) ListConnectorsRequest(input *ListConnectorsInput) (req *reque // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. +// +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // // - InternalServiceError // This exception is thrown when an error occurs in the Transfer Family service. // +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// // - InvalidNextTokenException // The NextToken parameter that was passed is invalid. // -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. -// -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListConnectors func (c *Transfer) ListConnectors(input *ListConnectorsInput) (*ListConnectorsOutput, error) { req, out := c.ListConnectorsRequest(input) @@ -3620,23 +3620,23 @@ func (c *Transfer) ListExecutionsRequest(input *ListExecutionsInput) (req *reque // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. +// +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // // - InternalServiceError // This exception is thrown when an error occurs in the Transfer Family service. // +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// // - InvalidNextTokenException // The NextToken parameter that was passed is invalid. // -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. -// -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListExecutions func (c *Transfer) ListExecutions(input *ListExecutionsInput) (*ListExecutionsOutput, error) { req, out := c.ListExecutionsRequest(input) @@ -3765,23 +3765,23 @@ func (c *Transfer) ListHostKeysRequest(input *ListHostKeysInput) (req *request.R // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. +// +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // // - InternalServiceError // This exception is thrown when an error occurs in the Transfer Family service. // +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// // - InvalidNextTokenException // The NextToken parameter that was passed is invalid. // -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. -// -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListHostKeys func (c *Transfer) ListHostKeys(input *ListHostKeysInput) (*ListHostKeysOutput, error) { req, out := c.ListHostKeysRequest(input) @@ -3867,23 +3867,23 @@ func (c *Transfer) ListProfilesRequest(input *ListProfilesInput) (req *request.R // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. +// +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // // - InternalServiceError // This exception is thrown when an error occurs in the Transfer Family service. // +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// // - InvalidNextTokenException // The NextToken parameter that was passed is invalid. // -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. -// -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListProfiles func (c *Transfer) ListProfiles(input *ListProfilesInput) (*ListProfilesOutput, error) { req, out := c.ListProfilesRequest(input) @@ -4018,19 +4018,19 @@ func (c *Transfer) ListSecurityPoliciesRequest(input *ListSecurityPoliciesInput) // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // // - InternalServiceError // This exception is thrown when an error occurs in the Transfer Family service. // +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// // - InvalidNextTokenException // The NextToken parameter that was passed is invalid. // -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListSecurityPolicies func (c *Transfer) ListSecurityPolicies(input *ListSecurityPoliciesInput) (*ListSecurityPoliciesOutput, error) { req, out := c.ListSecurityPoliciesRequest(input) @@ -4165,19 +4165,19 @@ func (c *Transfer) ListServersRequest(input *ListServersInput) (req *request.Req // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // // - InternalServiceError // This exception is thrown when an error occurs in the Transfer Family service. // +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// // - InvalidNextTokenException // The NextToken parameter that was passed is invalid. // -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListServers func (c *Transfer) ListServers(input *ListServersInput) (*ListServersOutput, error) { req, out := c.ListServersRequest(input) @@ -4312,19 +4312,19 @@ func (c *Transfer) ListTagsForResourceRequest(input *ListTagsForResourceInput) ( // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // // - InternalServiceError // This exception is thrown when an error occurs in the Transfer Family service. // +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// // - InvalidNextTokenException // The NextToken parameter that was passed is invalid. // -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListTagsForResource func (c *Transfer) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { req, out := c.ListTagsForResourceRequest(input) @@ -4459,23 +4459,23 @@ func (c *Transfer) ListUsersRequest(input *ListUsersInput) (req *request.Request // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. +// +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // // - InternalServiceError // This exception is thrown when an error occurs in the Transfer Family service. // +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// // - InvalidNextTokenException // The NextToken parameter that was passed is invalid. // -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. -// -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListUsers func (c *Transfer) ListUsers(input *ListUsersInput) (*ListUsersOutput, error) { req, out := c.ListUsersRequest(input) @@ -4610,19 +4610,19 @@ func (c *Transfer) ListWorkflowsRequest(input *ListWorkflowsInput) (req *request // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // // - InternalServiceError // This exception is thrown when an error occurs in the Transfer Family service. // +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// // - InvalidNextTokenException // The NextToken parameter that was passed is invalid. // -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListWorkflows func (c *Transfer) ListWorkflows(input *ListWorkflowsInput) (*ListWorkflowsOutput, error) { req, out := c.ListWorkflowsRequest(input) @@ -4755,26 +4755,26 @@ func (c *Transfer) SendWorkflowStepStateRequest(input *SendWorkflowStepStateInpu // // Returned Error Types: // -// - AccessDeniedException -// You do not have sufficient access to perform this action. -// -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. -// -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. -// // - ResourceNotFoundException // This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer // Family service. // +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// // - ThrottlingException // The request was denied due to request throttling. // +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/SendWorkflowStepState func (c *Transfer) SendWorkflowStepState(input *SendWorkflowStepStateInput) (*SendWorkflowStepStateOutput, error) { req, out := c.SendWorkflowStepStateRequest(input) @@ -4866,23 +4866,23 @@ func (c *Transfer) StartFileTransferRequest(input *StartFileTransferInput) (req // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. -// -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. -// // - ResourceNotFoundException // This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer // Family service. // +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// // - ThrottlingException // The request was denied due to request throttling. // +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/StartFileTransfer func (c *Transfer) StartFileTransfer(input *StartFileTransferInput) (*StartFileTransferOutput, error) { req, out := c.StartFileTransferRequest(input) @@ -4968,23 +4968,23 @@ func (c *Transfer) StartServerRequest(input *StartServerInput) (req *request.Req // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. -// -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. -// // - ResourceNotFoundException // This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer // Family service. // +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// // - ThrottlingException // The request was denied due to request throttling. // +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/StartServer func (c *Transfer) StartServer(input *StartServerInput) (*StartServerOutput, error) { req, out := c.StartServerRequest(input) @@ -5074,23 +5074,23 @@ func (c *Transfer) StopServerRequest(input *StopServerInput) (req *request.Reque // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. -// -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. -// // - ResourceNotFoundException // This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer // Family service. // +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// // - ThrottlingException // The request was denied due to request throttling. // +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/StopServer func (c *Transfer) StopServer(input *StopServerInput) (*StopServerOutput, error) { req, out := c.StopServerRequest(input) @@ -5169,22 +5169,22 @@ func (c *Transfer) TagResourceRequest(input *TagResourceInput) (req *request.Req // See the AWS API reference guide for AWS Transfer Family's // API operation TagResource for usage and error information. // -// Returned Error Types: -// -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. -// -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// Returned Error Types: // // - ResourceNotFoundException // This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer // Family service. // +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/TagResource func (c *Transfer) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { req, out := c.TagResourceRequest(input) @@ -5263,19 +5263,19 @@ func (c *Transfer) TestConnectionRequest(input *TestConnectionInput) (req *reque // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // - InvalidRequestException // This exception is thrown when the client submits a malformed request. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/TestConnection func (c *Transfer) TestConnection(input *TestConnectionInput) (*TestConnectionOutput, error) { @@ -5386,19 +5386,19 @@ func (c *Transfer) TestIdentityProviderRequest(input *TestIdentityProviderInput) // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // - InvalidRequestException // This exception is thrown when the client submits a malformed request. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/TestIdentityProvider func (c *Transfer) TestIdentityProvider(input *TestIdentityProviderInput) (*TestIdentityProviderOutput, error) { @@ -5480,19 +5480,19 @@ func (c *Transfer) UntagResourceRequest(input *UntagResourceInput) (req *request // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // - InvalidRequestException // This exception is thrown when the client submits a malformed request. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UntagResource func (c *Transfer) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -5571,27 +5571,27 @@ func (c *Transfer) UpdateAccessRequest(input *UpdateAccessInput) (req *request.R // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. +// +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - ThrottlingException +// The request was denied due to request throttling. // // - InternalServiceError // This exception is thrown when an error occurs in the Transfer Family service. // -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // // - ResourceExistsException // The requested resource does not exist, or exists in a region other than the // one specified for the command. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. -// -// - ThrottlingException -// The request was denied due to request throttling. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateAccess func (c *Transfer) UpdateAccess(input *UpdateAccessInput) (*UpdateAccessOutput, error) { req, out := c.UpdateAccessRequest(input) @@ -5670,27 +5670,27 @@ func (c *Transfer) UpdateAgreementRequest(input *UpdateAgreementInput) (req *req // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. +// +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - ThrottlingException +// The request was denied due to request throttling. // // - InternalServiceError // This exception is thrown when an error occurs in the Transfer Family service. // -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // // - ResourceExistsException // The requested resource does not exist, or exists in a region other than the // one specified for the command. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. -// -// - ThrottlingException -// The request was denied due to request throttling. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateAgreement func (c *Transfer) UpdateAgreement(input *UpdateAgreementInput) (*UpdateAgreementOutput, error) { req, out := c.UpdateAgreementRequest(input) @@ -5767,23 +5767,23 @@ func (c *Transfer) UpdateCertificateRequest(input *UpdateCertificateInput) (req // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. -// -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. -// // - ResourceNotFoundException // This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer // Family service. // +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// // - ThrottlingException // The request was denied due to request throttling. // +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateCertificate func (c *Transfer) UpdateCertificate(input *UpdateCertificateInput) (*UpdateCertificateOutput, error) { req, out := c.UpdateCertificateRequest(input) @@ -5862,27 +5862,27 @@ func (c *Transfer) UpdateConnectorRequest(input *UpdateConnectorInput) (req *req // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. +// +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - ThrottlingException +// The request was denied due to request throttling. // // - InternalServiceError // This exception is thrown when an error occurs in the Transfer Family service. // -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // // - ResourceExistsException // The requested resource does not exist, or exists in a region other than the // one specified for the command. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. -// -// - ThrottlingException -// The request was denied due to request throttling. -// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateConnector func (c *Transfer) UpdateConnector(input *UpdateConnectorInput) (*UpdateConnectorOutput, error) { req, out := c.UpdateConnectorRequest(input) @@ -5960,23 +5960,23 @@ func (c *Transfer) UpdateHostKeyRequest(input *UpdateHostKeyInput) (req *request // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. -// -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. -// // - ResourceNotFoundException // This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer // Family service. // +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// // - ThrottlingException // The request was denied due to request throttling. // +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateHostKey func (c *Transfer) UpdateHostKey(input *UpdateHostKeyInput) (*UpdateHostKeyOutput, error) { req, out := c.UpdateHostKeyRequest(input) @@ -6055,23 +6055,23 @@ func (c *Transfer) UpdateProfileRequest(input *UpdateProfileInput) (req *request // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. -// -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. -// // - ResourceNotFoundException // This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer // Family service. // +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// // - ThrottlingException // The request was denied due to request throttling. // +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateProfile func (c *Transfer) UpdateProfile(input *UpdateProfileInput) (*UpdateProfileOutput, error) { req, out := c.UpdateProfileRequest(input) @@ -6151,34 +6151,34 @@ func (c *Transfer) UpdateServerRequest(input *UpdateServerInput) (req *request.R // // Returned Error Types: // -// - AccessDeniedException -// You do not have sufficient access to perform this action. -// -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// // - ConflictException // This exception is thrown when the UpdateServer is called for a file transfer // protocol-enabled server that has VPC as the endpoint type and the server's // VpcEndpointID is not in the available state. // -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // - InvalidRequestException // This exception is thrown when the client submits a malformed request. // +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// // - ResourceExistsException // The requested resource does not exist, or exists in a region other than the // one specified for the command. // -// - ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. -// -// - ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateServer func (c *Transfer) UpdateServer(input *UpdateServerInput) (*UpdateServerOutput, error) { @@ -6260,23 +6260,23 @@ func (c *Transfer) UpdateUserRequest(input *UpdateUserInput) (req *request.Reque // // Returned Error Types: // -// - ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. -// -// - InternalServiceError -// This exception is thrown when an error occurs in the Transfer Family service. -// -// - InvalidRequestException -// This exception is thrown when the client submits a malformed request. -// // - ResourceNotFoundException // This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer // Family service. // +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// // - ThrottlingException // The request was denied due to request throttling. // +// - InternalServiceError +// This exception is thrown when an error occurs in the Transfer Family service. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateUser func (c *Transfer) UpdateUser(input *UpdateUserInput) (*UpdateUserOutput, error) { req, out := c.UpdateUserRequest(input) @@ -7652,7 +7652,7 @@ type CreateServerInput struct { // 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. - LoggingRole *string `min:"20" type:"string"` + LoggingRole *string `type:"string"` // Specifies a string to display when users connect to a server. This string // is displayed after the user authenticates. @@ -7778,9 +7778,6 @@ func (s CreateServerInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *CreateServerInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "CreateServerInput"} - if s.LoggingRole != nil && len(*s.LoggingRole) < 20 { - invalidParams.Add(request.NewErrParamMinLen("LoggingRole", 20)) - } if s.Protocols != nil && len(s.Protocols) < 1 { invalidParams.Add(request.NewErrParamMinLen("Protocols", 1)) } @@ -11547,7 +11544,7 @@ type DescribedServer struct { // 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. - LoggingRole *string `min:"20" type:"string"` + LoggingRole *string `type:"string"` // Specifies a string to display when users connect to a server. This string // is displayed after the user authenticates. @@ -16430,8 +16427,8 @@ type SftpConnectorConfig struct { TrustedHostKeys []*string `min:"1" type:"list"` // The identifier for the secret (in Amazon Web Services Secrets Manager) that - // contains the SFTP user's private key, password, or both. The identifier can - // be either the Amazon Resource Name (ARN) or the name of the secret. + // contains the SFTP user's private key, password, or both. The identifier must + // be the Amazon Resource Name (ARN) of the secret. UserSecretId *string `min:"1" type:"string"` }