diff --git a/apis/backup/2018-11-15/api-2.json b/apis/backup/2018-11-15/api-2.json index 4de02ae1b6e..92e7dbeb0ad 100644 --- a/apis/backup/2018-11-15/api-2.json +++ b/apis/backup/2018-11-15/api-2.json @@ -2286,6 +2286,16 @@ "shape":"AccountId", "location":"querystring", "locationName":"accountId" + }, + "ByCompleteAfter":{ + "shape":"timestamp", + "location":"querystring", + "locationName":"completeAfter" + }, + "ByCompleteBefore":{ + "shape":"timestamp", + "location":"querystring", + "locationName":"completeBefore" } } }, @@ -2470,6 +2480,16 @@ "shape":"AccountId", "location":"querystring", "locationName":"accountId" + }, + "ByCompleteBefore":{ + "shape":"timestamp", + "location":"querystring", + "locationName":"completeBefore" + }, + "ByCompleteAfter":{ + "shape":"timestamp", + "location":"querystring", + "locationName":"completeAfter" } } }, @@ -2705,6 +2725,16 @@ "shape":"RestoreJobStatus", "location":"querystring", "locationName":"status" + }, + "ByCompleteBefore":{ + "shape":"timestamp", + "location":"querystring", + "locationName":"completeBefore" + }, + "ByCompleteAfter":{ + "shape":"timestamp", + "location":"querystring", + "locationName":"completeAfter" } } }, diff --git a/apis/backup/2018-11-15/docs-2.json b/apis/backup/2018-11-15/docs-2.json index 0c7e3d41270..487fc72a23a 100644 --- a/apis/backup/2018-11-15/docs-2.json +++ b/apis/backup/2018-11-15/docs-2.json @@ -496,7 +496,7 @@ "ControlScope": { "base": "

A framework consists of one or more controls. Each control has its own control scope. The control scope can include one or more resource types, a combination of a tag key and value, or a combination of one resource type and one resource ID. If no scope is specified, evaluations for the rule are triggered when any resource in your recording group changes in configuration.

To set a control scope that includes all of a particular resource, leave the ControlScope empty or do not pass it when calling CreateFramework.

", "refs": { - "FrameworkControl$ControlScope": "

The scope of a control. The control scope defines what the control will evaluate. Three examples of control scopes are: a specific backup plan, all backup plans with a specific tag, or all backup plans. For more information, see ControlScope.

" + "FrameworkControl$ControlScope": "

The scope of a control. The control scope defines what the control will evaluate. Three examples of control scopes are: a specific backup plan, all backup plans with a specific tag, or all backup plans. For more information, see ControlScope.

" } }, "CopyAction": { @@ -1874,14 +1874,20 @@ "GetBackupSelectionOutput$CreationDate": "

The date and time a backup selection is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

", "ListBackupJobsInput$ByCreatedBefore": "

Returns only backup jobs that were created before the specified date.

", "ListBackupJobsInput$ByCreatedAfter": "

Returns only backup jobs that were created after the specified date.

", + "ListBackupJobsInput$ByCompleteAfter": "

Returns only backup jobs completed after a date expressed in Unix format and Coordinated Universal Time (UTC).

", + "ListBackupJobsInput$ByCompleteBefore": "

Returns only backup jobs completed before a date expressed in Unix format and Coordinated Universal Time (UTC).

", "ListCopyJobsInput$ByCreatedBefore": "

Returns only copy jobs that were created before the specified date.

", "ListCopyJobsInput$ByCreatedAfter": "

Returns only copy jobs that were created after the specified date.

", + "ListCopyJobsInput$ByCompleteBefore": "

Returns only copy jobs completed before a date expressed in Unix format and Coordinated Universal Time (UTC).

", + "ListCopyJobsInput$ByCompleteAfter": "

Returns only copy jobs completed after a date expressed in Unix format and Coordinated Universal Time (UTC).

", "ListRecoveryPointsByBackupVaultInput$ByCreatedBefore": "

Returns only recovery points that were created before the specified timestamp.

", "ListRecoveryPointsByBackupVaultInput$ByCreatedAfter": "

Returns only recovery points that were created after the specified timestamp.

", "ListReportJobsInput$ByCreationBefore": "

Returns only report jobs that were created before the date and time specified in Unix format and Coordinated Universal Time (UTC). For example, the value 1516925490 represents Friday, January 26, 2018 12:11:30 AM.

", "ListReportJobsInput$ByCreationAfter": "

Returns only report jobs that were created after the date and time specified in Unix format and Coordinated Universal Time (UTC). For example, the value 1516925490 represents Friday, January 26, 2018 12:11:30 AM.

", "ListRestoreJobsInput$ByCreatedBefore": "

Returns only restore jobs that were created before the specified date.

", "ListRestoreJobsInput$ByCreatedAfter": "

Returns only restore jobs that were created after the specified date.

", + "ListRestoreJobsInput$ByCompleteBefore": "

Returns only copy jobs completed before a date expressed in Unix format and Coordinated Universal Time (UTC).

", + "ListRestoreJobsInput$ByCompleteAfter": "

Returns only copy jobs completed after a date expressed in Unix format and Coordinated Universal Time (UTC).

", "ProtectedResource$LastBackupTime": "

The date and time a resource was last backed up, in Unix format and Coordinated Universal Time (UTC). The value of LastBackupTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

", "RecoveryPointByBackupVault$CreationDate": "

The date and time a recovery point is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

", "RecoveryPointByBackupVault$CompletionDate": "

The date and time a job to restore a recovery point is completed, in Unix format and Coordinated Universal Time (UTC). The value of CompletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

", diff --git a/apis/backup/2018-11-15/paginators-1.json b/apis/backup/2018-11-15/paginators-1.json index e53b9bcea72..26cf4532714 100644 --- a/apis/backup/2018-11-15/paginators-1.json +++ b/apis/backup/2018-11-15/paginators-1.json @@ -3,37 +3,44 @@ "ListBackupJobs": { "input_token": "NextToken", "output_token": "NextToken", - "limit_key": "MaxResults" + "limit_key": "MaxResults", + "result_key": "BackupJobs" }, "ListBackupPlanTemplates": { "input_token": "NextToken", "output_token": "NextToken", - "limit_key": "MaxResults" + "limit_key": "MaxResults", + "result_key": "BackupPlanTemplatesList" }, "ListBackupPlanVersions": { "input_token": "NextToken", "output_token": "NextToken", - "limit_key": "MaxResults" + "limit_key": "MaxResults", + "result_key": "BackupPlanVersionsList" }, "ListBackupPlans": { "input_token": "NextToken", "output_token": "NextToken", - "limit_key": "MaxResults" + "limit_key": "MaxResults", + "result_key": "BackupPlansList" }, "ListBackupSelections": { "input_token": "NextToken", "output_token": "NextToken", - "limit_key": "MaxResults" + "limit_key": "MaxResults", + "result_key": "BackupSelectionsList" }, "ListBackupVaults": { "input_token": "NextToken", "output_token": "NextToken", - "limit_key": "MaxResults" + "limit_key": "MaxResults", + "result_key": "BackupVaultList" }, "ListCopyJobs": { "input_token": "NextToken", "output_token": "NextToken", - "limit_key": "MaxResults" + "limit_key": "MaxResults", + "result_key": "CopyJobs" }, "ListFrameworks": { "input_token": "NextToken", @@ -43,17 +50,20 @@ "ListProtectedResources": { "input_token": "NextToken", "output_token": "NextToken", - "limit_key": "MaxResults" + "limit_key": "MaxResults", + "result_key": "Results" }, "ListRecoveryPointsByBackupVault": { "input_token": "NextToken", "output_token": "NextToken", - "limit_key": "MaxResults" + "limit_key": "MaxResults", + "result_key": "RecoveryPoints" }, "ListRecoveryPointsByResource": { "input_token": "NextToken", "output_token": "NextToken", - "limit_key": "MaxResults" + "limit_key": "MaxResults", + "result_key": "RecoveryPoints" }, "ListReportJobs": { "input_token": "NextToken", @@ -68,7 +78,8 @@ "ListRestoreJobs": { "input_token": "NextToken", "output_token": "NextToken", - "limit_key": "MaxResults" + "limit_key": "MaxResults", + "result_key": "RestoreJobs" }, "ListTags": { "input_token": "NextToken", diff --git a/apis/iotsecuretunneling/2018-10-05/api-2.json b/apis/iotsecuretunneling/2018-10-05/api-2.json index a385ff1c0ce..771c0df5c29 100644 --- a/apis/iotsecuretunneling/2018-10-05/api-2.json +++ b/apis/iotsecuretunneling/2018-10-05/api-2.json @@ -70,6 +70,18 @@ {"shape":"LimitExceededException"} ] }, + "RotateTunnelAccessToken":{ + "name":"RotateTunnelAccessToken", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"RotateTunnelAccessTokenRequest"}, + "output":{"shape":"RotateTunnelAccessTokenResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"} + ] + }, "TagResource":{ "name":"TagResource", "http":{ @@ -105,6 +117,14 @@ "type":"string", "sensitive":true }, + "ClientMode":{ + "type":"string", + "enum":[ + "SOURCE", + "DESTINATION", + "ALL" + ] + }, "CloseTunnelRequest":{ "type":"structure", "required":["tunnelId"], @@ -235,6 +255,26 @@ }, "exception":true }, + "RotateTunnelAccessTokenRequest":{ + "type":"structure", + "required":[ + "tunnelId", + "clientMode" + ], + "members":{ + "tunnelId":{"shape":"TunnelId"}, + "clientMode":{"shape":"ClientMode"}, + "destinationConfig":{"shape":"DestinationConfig"} + } + }, + "RotateTunnelAccessTokenResponse":{ + "type":"structure", + "members":{ + "tunnelArn":{"shape":"TunnelArn"}, + "sourceAccessToken":{"shape":"ClientAccessToken"}, + "destinationAccessToken":{"shape":"ClientAccessToken"} + } + }, "Service":{ "type":"string", "max":128, diff --git a/apis/iotsecuretunneling/2018-10-05/docs-2.json b/apis/iotsecuretunneling/2018-10-05/docs-2.json index f89905bf778..eb1a76c87a2 100644 --- a/apis/iotsecuretunneling/2018-10-05/docs-2.json +++ b/apis/iotsecuretunneling/2018-10-05/docs-2.json @@ -1,12 +1,13 @@ { "version": "2.0", - "service": "AWS IoT Secure Tunneling

AWS IoT Secure Tunnling enables you to create remote connections to devices deployed in the field.

For more information about how AWS IoT Secure Tunneling works, see AWS IoT Secure Tunneling.

", + "service": "IoT Secure Tunneling

IoT Secure Tunneling creates remote connections to devices deployed in the field.

For more information about how IoT Secure Tunneling works, see IoT Secure Tunneling.

", "operations": { - "CloseTunnel": "

Closes a tunnel identified by the unique tunnel id. When a CloseTunnel request is received, we close the WebSocket connections between the client and proxy server so no data can be transmitted.

", - "DescribeTunnel": "

Gets information about a tunnel identified by the unique tunnel id.

", + "CloseTunnel": "

Closes a tunnel identified by the unique tunnel id. When a CloseTunnel request is received, we close the WebSocket connections between the client and proxy server so no data can be transmitted.

Requires permission to access the CloseTunnel action.

", + "DescribeTunnel": "

Gets information about a tunnel identified by the unique tunnel id.

Requires permission to access the DescribeTunnel action.

", "ListTagsForResource": "

Lists the tags for the specified resource.

", - "ListTunnels": "

List all tunnels for an AWS account. Tunnels are listed by creation time in descending order, newer tunnels will be listed before older tunnels.

", - "OpenTunnel": "

Creates a new tunnel, and returns two client access tokens for clients to use to connect to the AWS IoT Secure Tunneling proxy server.

", + "ListTunnels": "

List all tunnels for an Amazon Web Services account. Tunnels are listed by creation time in descending order, newer tunnels will be listed before older tunnels.

Requires permission to access the ListTunnels action.

", + "OpenTunnel": "

Creates a new tunnel, and returns two client access tokens for clients to use to connect to the IoT Secure Tunneling proxy server.

Requires permission to access the OpenTunnel action.

", + "RotateTunnelAccessToken": "

Revokes the current client access token (CAT) and returns new CAT for clients to use when reconnecting to secure tunneling to access the same tunnel.

Requires permission to access the RotateTunnelAccessToken action.

Rotating the CAT doesn't extend the tunnel duration. For example, say the tunnel duration is 12 hours and the tunnel has already been open for 4 hours. When you rotate the access tokens, the new tokens that are generated can only be used for the remaining 8 hours.

", "TagResource": "

A resource tag.

", "UntagResource": "

Removes a tag from a resource.

" }, @@ -22,8 +23,16 @@ "ClientAccessToken": { "base": null, "refs": { - "OpenTunnelResponse$sourceAccessToken": "

The access token the source local proxy uses to connect to AWS IoT Secure Tunneling.

", - "OpenTunnelResponse$destinationAccessToken": "

The access token the destination local proxy uses to connect to AWS IoT Secure Tunneling.

" + "OpenTunnelResponse$sourceAccessToken": "

The access token the source local proxy uses to connect to IoT Secure Tunneling.

", + "OpenTunnelResponse$destinationAccessToken": "

The access token the destination local proxy uses to connect to IoT Secure Tunneling.

", + "RotateTunnelAccessTokenResponse$sourceAccessToken": "

The client access token that the source local proxy uses to connect to IoT Secure Tunneling.

", + "RotateTunnelAccessTokenResponse$destinationAccessToken": "

The client access token that the destination local proxy uses to connect to IoT Secure Tunneling.

" + } + }, + "ClientMode": { + "base": null, + "refs": { + "RotateTunnelAccessTokenRequest$clientMode": "

The mode of the client that will use the client token, which can be either the source or destination, or both source and destination.

" } }, "CloseTunnelRequest": { @@ -62,7 +71,7 @@ "DeleteFlag": { "base": null, "refs": { - "CloseTunnelRequest$delete": "

When set to true, AWS IoT Secure Tunneling deletes the tunnel data immediately.

" + "CloseTunnelRequest$delete": "

When set to true, IoT Secure Tunneling deletes the tunnel data immediately.

" } }, "DescribeTunnelRequest": { @@ -87,6 +96,7 @@ "base": "

The destination configuration.

", "refs": { "OpenTunnelRequest$destinationConfig": "

The destination configuration for the OpenTunnel request.

", + "RotateTunnelAccessTokenRequest$destinationConfig": null, "Tunnel$destinationConfig": "

The destination configuration that specifies the thing name of the destination device and a service name that the local proxy uses to connect to the destination application.

" } }, @@ -131,8 +141,8 @@ "NextToken": { "base": null, "refs": { - "ListTunnelsRequest$nextToken": "

A token to retrieve the next set of results.

", - "ListTunnelsResponse$nextToken": "

A token to used to retrieve the next set of results.

" + "ListTunnelsRequest$nextToken": "

To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.

", + "ListTunnelsResponse$nextToken": "

The token to use to get the next set of results, or null if there are no additional results.

" } }, "OpenTunnelRequest": { @@ -150,6 +160,16 @@ "refs": { } }, + "RotateTunnelAccessTokenRequest": { + "base": null, + "refs": { + } + }, + "RotateTunnelAccessTokenResponse": { + "base": null, + "refs": { + } + }, "Service": { "base": null, "refs": { @@ -159,7 +179,7 @@ "ServiceList": { "base": null, "refs": { - "DestinationConfig$services": "

A list of service names that identity the target application. The AWS IoT client running on the destination device reads this value and uses it to look up a port or an IP address and a port. The AWS IoT client instantiates the local proxy which uses this information to connect to the destination application.

" + "DestinationConfig$services": "

A list of service names that identify the target application. The IoT client running on the destination device reads this value and uses it to look up a port or an IP address and a port. The IoT client instantiates the local proxy, which uses this information to connect to the destination application.

" } }, "Tag": { @@ -235,9 +255,10 @@ "TunnelArn": { "base": null, "refs": { - "OpenTunnelResponse$tunnelArn": "

The Amazon Resource Name for the tunnel. The tunnel ARN format is arn:aws:tunnel:<region>:<account-id>:tunnel/<tunnel-id>

", - "Tunnel$tunnelArn": "

The Amazon Resource Name (ARN) of a tunnel. The tunnel ARN format is arn:aws:tunnel:<region>:<account-id>:tunnel/<tunnel-id>

", - "TunnelSummary$tunnelArn": "

The Amazon Resource Name of the tunnel. The tunnel ARN format is arn:aws:tunnel:<region>:<account-id>:tunnel/<tunnel-id>

" + "OpenTunnelResponse$tunnelArn": "

The Amazon Resource Name for the tunnel.

", + "RotateTunnelAccessTokenResponse$tunnelArn": "

The Amazon Resource Name for the tunnel.

", + "Tunnel$tunnelArn": "

The Amazon Resource Name (ARN) of a tunnel.

", + "TunnelSummary$tunnelArn": "

The Amazon Resource Name of the tunnel.

" } }, "TunnelId": { @@ -246,6 +267,7 @@ "CloseTunnelRequest$tunnelId": "

The ID of the tunnel to close.

", "DescribeTunnelRequest$tunnelId": "

The tunnel to describe.

", "OpenTunnelResponse$tunnelId": "

A unique alpha-numeric tunnel ID.

", + "RotateTunnelAccessTokenRequest$tunnelId": "

The tunnel for which you want to rotate the access tokens.

", "Tunnel$tunnelId": "

A unique alpha-numeric ID that identifies a tunnel.

", "TunnelSummary$tunnelId": "

The unique alpha-numeric identifier for the tunnel.

" } @@ -266,7 +288,7 @@ "TunnelSummaryList": { "base": null, "refs": { - "ListTunnelsResponse$tunnelSummaries": "

A short description of the tunnels in an AWS account.

" + "ListTunnelsResponse$tunnelSummaries": "

A short description of the tunnels in an Amazon Web Services account.

" } }, "UntagResourceRequest": { diff --git a/apis/lightsail/2016-11-28/docs-2.json b/apis/lightsail/2016-11-28/docs-2.json index d1a5bb7d7df..c263134e074 100644 --- a/apis/lightsail/2016-11-28/docs-2.json +++ b/apis/lightsail/2016-11-28/docs-2.json @@ -105,7 +105,7 @@ "GetLoadBalancer": "

Returns information about the specified Lightsail load balancer.

", "GetLoadBalancerMetricData": "

Returns information about health metrics for your Lightsail load balancer.

Metrics report the utilization of your resources, and the error counts generated by them. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.

", "GetLoadBalancerTlsCertificates": "

Returns information about the TLS certificates that are associated with the specified Lightsail load balancer.

TLS is just an updated, more secure version of Secure Socket Layer (SSL).

You can have a maximum of 2 certificates associated with a Lightsail load balancer. One is active and the other is inactive.

", - "GetLoadBalancerTlsPolicies": "

Returns a list of TLS security policies that you can apply to Lightsail load balancers.

For more information about load balancer TLS security policies, see Load balancer TLS security policies in the Amazon Lightsail Developer Guide.

", + "GetLoadBalancerTlsPolicies": "

Returns a list of TLS security policies that you can apply to Lightsail load balancers.

For more information about load balancer TLS security policies, see Configuring TLS security policies on your Amazon Lightsail load balancers in the Amazon Lightsail Developer Guide.

", "GetLoadBalancers": "

Returns information about all load balancers in an account.

", "GetOperation": "

Returns information about a specific operation. Operations include events such as when you create an instance, allocate a static IP, attach a static IP, and so on.

", "GetOperations": "

Returns information about all operations.

Results are returned from oldest to newest, up to a maximum of 200. Results can be paged by making each subsequent call to GetOperations use the maximum (last) statusChangedAt value from the previous request.

", @@ -2799,7 +2799,7 @@ } }, "LoadBalancerTlsPolicy": { - "base": "

Describes the TLS security policies that are available for Lightsail load balancers.

For more information about load balancer TLS security policies, see Load balancer TLS security policies in the Amazon Lightsail Developer Guide.

", + "base": "

Describes the TLS security policies that are available for Lightsail load balancers.

For more information about load balancer TLS security policies, see Configuring TLS security policies on your Amazon Lightsail load balancers in the Amazon Lightsail Developer Guide.

", "refs": { "LoadBalancerTlsPolicyList$member": null } @@ -3649,11 +3649,11 @@ "LightsailDistribution$name": "

The name of the distribution.

", "LightsailDistribution$certificateName": "

The name of the SSL/TLS certificate attached to the distribution, if any.

", "LoadBalancer$name": "

The name of the load balancer (e.g., my-load-balancer).

", - "LoadBalancer$tlsPolicyName": "

The name of the TLS security policy for the load balancer.

The following TLS security policy names are possible:

", + "LoadBalancer$tlsPolicyName": "

The name of the TLS security policy for the load balancer.

", "LoadBalancerTlsCertificate$name": "

The name of the SSL/TLS certificate (e.g., my-certificate).

", "LoadBalancerTlsCertificate$loadBalancerName": "

The load balancer name where your SSL/TLS certificate is attached.

", "LoadBalancerTlsCertificateSummary$name": "

The name of the SSL/TLS certificate.

", - "LoadBalancerTlsPolicy$name": "

The name of the TLS security policy.

The following TLS security policy names are possible:

You can specify either of these values for the tlsSecurityPolicyName request parameter in the CreateLoadBalancer action, and the attributeValue request parameter in the UpdateLoadBalancerAttribute action.

", + "LoadBalancerTlsPolicy$name": "

The name of the TLS security policy.

", "MonitoredResourceInfo$name": "

The name of the Lightsail resource being monitored.

", "OpenInstancePublicPortsRequest$instanceName": "

The name of the instance for which to open ports.

", "Operation$resourceName": "

The resource name.

", @@ -3866,7 +3866,7 @@ "InstancePortState$cidrListAliases": "

An alias that defines access for a preconfigured range of IP addresses.

The only alias currently supported is lightsail-connect, which allows IP addresses of the browser-based RDP/SSH client in the Lightsail console to connect to your instance.

", "LightsailDistribution$alternativeDomainNames": "

The alternate domain names of the distribution.

", "LoadBalancerTlsCertificate$subjectAlternativeNames": "

An array of strings that specify the alternate domains (e.g., example2.com) and subdomains (e.g., blog.example.com) for the certificate.

", - "LoadBalancerTlsPolicy$protocols": "

The protocols used in a given TLS security policy.

The following protocols are possible:

", + "LoadBalancerTlsPolicy$protocols": "

The protocols used in a given TLS security policy.

", "LoadBalancerTlsPolicy$ciphers": "

The ciphers used by the TLS security policy.

The ciphers are listed in order of preference.

", "PortInfo$cidrs": "

The IPv4 address, or range of IPv4 addresses (in CIDR notation) that are allowed to connect to an instance through the ports, and the protocol.

The ipv6Cidrs parameter lists the IPv6 addresses that are allowed to connect to an instance.

Examples:

For more information about CIDR block notation, see Classless Inter-Domain Routing on Wikipedia.

", "PortInfo$ipv6Cidrs": "

The IPv6 address, or range of IPv6 addresses (in CIDR notation) that are allowed to connect to an instance through the ports, and the protocol. Only devices with an IPv6 address can connect to an instance through IPv6; otherwise, IPv4 should be used.

The cidrs parameter lists the IPv4 addresses that are allowed to connect to an instance.

For more information about CIDR block notation, see Classless Inter-Domain Routing on Wikipedia.

", @@ -3879,7 +3879,7 @@ "base": null, "refs": { "CreateContactMethodRequest$contactEndpoint": "

The destination of the contact method, such as an email address or a mobile phone number.

Use the E.164 format when specifying a mobile phone number. E.164 is a standard for the phone number structure used for international telecommunication. Phone numbers that follow this format can have a maximum of 15 digits, and they are prefixed with the plus character (+) and the country code. For example, a U.S. phone number in E.164 format would be specified as +1XXX5550100. For more information, see E.164 on Wikipedia.

", - "UpdateLoadBalancerAttributeRequest$attributeValue": "

The value that you want to specify for the attribute name.

The following values are supported depending on what you specify for the attributeName request parameter:

" + "UpdateLoadBalancerAttributeRequest$attributeValue": "

The value that you want to specify for the attribute name.

The following values are supported depending on what you specify for the attributeName request parameter:

" } }, "SubjectAlternativeNameList": { @@ -4315,7 +4315,7 @@ "CreateInstancesRequest$availabilityZone": "

The Availability Zone in which to create your instance. Use the following format: us-east-2a (case sensitive). You can get a list of Availability Zones by using the get regions operation. Be sure to add the include Availability Zones parameter to your request.

", "CreateInstancesRequest$userData": "

A launch script you can create that configures a server with additional user data. For example, you might want to run apt-get -y update.

Depending on the machine image you choose, the command to get software on your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use apt-get, and FreeBSD uses pkg. For a complete list, see the Amazon Lightsail Developer Guide.

", "CreateLoadBalancerRequest$healthCheckPath": "

The path you provided to perform the load balancer health check. If you didn't specify a health check path, Lightsail uses the root path of your website (e.g., \"/\").

You may want to specify a custom health check path other than the root of your application if your home page loads slowly or has a lot of media or scripting on it.

", - "CreateLoadBalancerRequest$tlsPolicyName": "

The name of the TLS policy to apply to the load balancer.

Use the GetLoadBalancerTlsPolicies action to get a list of TLS policy names that you can specify.

For more information about load balancer TLS policies, see Load balancer TLS security policies in the Amazon Lightsail Developer Guide.

", + "CreateLoadBalancerRequest$tlsPolicyName": "

The name of the TLS policy to apply to the load balancer.

Use the GetLoadBalancerTlsPolicies action to get a list of TLS policy names that you can specify.

For more information about load balancer TLS policies, see Configuring TLS security policies on your Amazon Lightsail load balancers in the Amazon Lightsail Developer Guide.

", "CreateRelationalDatabaseFromSnapshotRequest$availabilityZone": "

The Availability Zone in which to create your new database. Use the us-east-2a case-sensitive format.

You can get a list of Availability Zones by using the get regions operation. Be sure to add the include relational database Availability Zones parameter to your request.

", "CreateRelationalDatabaseFromSnapshotRequest$relationalDatabaseBundleId": "

The bundle ID for your new database. A bundle describes the performance specifications for your database.

You can get a list of database bundle IDs by using the get relational database bundles operation.

When creating a new database from a snapshot, you cannot choose a bundle that is smaller than the bundle of the source database.

", "CreateRelationalDatabaseRequest$availabilityZone": "

The Availability Zone in which to create your new database. Use the us-east-2a case-sensitive format.

You can get a list of Availability Zones by using the get regions operation. Be sure to add the include relational database Availability Zones parameter to your request.

", diff --git a/apis/ssm/2014-11-06/api-2.json b/apis/ssm/2014-11-06/api-2.json index 779c1960229..6c9de47c0ff 100644 --- a/apis/ssm/2014-11-06/api-2.json +++ b/apis/ssm/2014-11-06/api-2.json @@ -105,7 +105,8 @@ {"shape":"InvalidOutputLocation"}, {"shape":"InvalidParameters"}, {"shape":"InvalidTarget"}, - {"shape":"InvalidSchedule"} + {"shape":"InvalidSchedule"}, + {"shape":"InvalidTargetMaps"} ] }, "CreateAssociationBatch":{ @@ -127,7 +128,8 @@ {"shape":"UnsupportedPlatformType"}, {"shape":"InvalidOutputLocation"}, {"shape":"InvalidTarget"}, - {"shape":"InvalidSchedule"} + {"shape":"InvalidSchedule"}, + {"shape":"InvalidTargetMaps"} ] }, "CreateDocument":{ @@ -1798,7 +1800,8 @@ {"shape":"InvalidDocument"}, {"shape":"InvalidTarget"}, {"shape":"InvalidAssociationVersion"}, - {"shape":"AssociationVersionLimitExceeded"} + {"shape":"AssociationVersionLimitExceeded"}, + {"shape":"InvalidTargetMaps"} ] }, "UpdateAssociationStatus":{ @@ -2141,6 +2144,10 @@ "ScheduleOffset":{ "shape":"ScheduleOffset", "box":true + }, + "TargetMaps":{ + "shape":"TargetMaps", + "box":true } } }, @@ -2190,6 +2197,10 @@ "ScheduleOffset":{ "shape":"ScheduleOffset", "box":true + }, + "TargetMaps":{ + "shape":"TargetMaps", + "box":true } } }, @@ -2452,6 +2463,10 @@ "ScheduleOffset":{ "shape":"ScheduleOffset", "box":true + }, + "TargetMaps":{ + "shape":"TargetMaps", + "box":true } } }, @@ -3322,6 +3337,10 @@ "ScheduleOffset":{ "shape":"ScheduleOffset", "box":true + }, + "TargetMaps":{ + "shape":"TargetMaps", + "box":true } } }, @@ -3355,6 +3374,10 @@ "ScheduleOffset":{ "shape":"ScheduleOffset", "box":true + }, + "TargetMaps":{ + "shape":"TargetMaps", + "box":true } } }, @@ -6071,6 +6094,13 @@ }, "exception":true }, + "InvalidTargetMaps":{ + "type":"structure", + "members":{ + "Message":{"shape":"String"} + }, + "exception":true + }, "InvalidTypeNameException":{ "type":"structure", "members":{ @@ -10155,6 +10185,10 @@ "ScheduleOffset":{ "shape":"ScheduleOffset", "box":true + }, + "TargetMaps":{ + "shape":"TargetMaps", + "box":true } } }, diff --git a/apis/ssm/2014-11-06/docs-2.json b/apis/ssm/2014-11-06/docs-2.json index 1a53e62202a..354e08dab1d 100644 --- a/apis/ssm/2014-11-06/docs-2.json +++ b/apis/ssm/2014-11-06/docs-2.json @@ -3457,6 +3457,11 @@ "refs": { } }, + "InvalidTargetMaps": { + "base": "

TargetMap parameter isn't valid.

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

The parameter type name isn't valid.

", "refs": { @@ -7499,6 +7504,7 @@ "InvalidRole$Message": null, "InvalidSchedule$Message": null, "InvalidTarget$Message": null, + "InvalidTargetMaps$Message": null, "InvalidTypeNameException$Message": null, "InvalidUpdate$Message": null, "ItemContentMismatchException$Message": null, @@ -7714,10 +7720,16 @@ "TargetMaps": { "base": null, "refs": { + "Association$TargetMaps": "

A key-value mapping of document parameters to target resources. Both Targets and TargetMaps can't be specified together.

", + "AssociationDescription$TargetMaps": "

A key-value mapping of document parameters to target resources. Both Targets and TargetMaps can't be specified together.

", + "AssociationVersionInfo$TargetMaps": "

A key-value mapping of document parameters to target resources. Both Targets and TargetMaps can't be specified together.

", "AutomationExecution$TargetMaps": "

The specified key-value mapping of document parameters to target resources.

", "AutomationExecutionMetadata$TargetMaps": "

The specified key-value mapping of document parameters to target resources.

", + "CreateAssociationBatchRequestEntry$TargetMaps": "

A key-value mapping of document parameters to target resources. Both Targets and TargetMaps can't be specified together.

", + "CreateAssociationRequest$TargetMaps": "

A key-value mapping of document parameters to target resources. Both Targets and TargetMaps can't be specified together.

", "Runbook$TargetMaps": "

A key-value mapping of runbook parameters to target resources. Both Targets and TargetMaps can't be specified together.

", - "StartAutomationExecutionRequest$TargetMaps": "

A key-value mapping of document parameters to target resources. Both Targets and TargetMaps can't be specified together.

" + "StartAutomationExecutionRequest$TargetMaps": "

A key-value mapping of document parameters to target resources. Both Targets and TargetMaps can't be specified together.

", + "UpdateAssociationRequest$TargetMaps": "

A key-value mapping of document parameters to target resources. Both Targets and TargetMaps can't be specified together.

" } }, "TargetNotConnected": { diff --git a/gems/aws-partitions/CHANGELOG.md b/gems/aws-partitions/CHANGELOG.md index 47a3897ed92..8b47dd81694 100644 --- a/gems/aws-partitions/CHANGELOG.md +++ b/gems/aws-partitions/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.584.0 (2022-05-04) +------------------ + +* Feature - Updated the partitions source data the determines the AWS service regions and endpoints. + 1.583.0 (2022-05-03) ------------------ diff --git a/gems/aws-partitions/VERSION b/gems/aws-partitions/VERSION index a7996fe6c9d..a224cb38e3f 100644 --- a/gems/aws-partitions/VERSION +++ b/gems/aws-partitions/VERSION @@ -1 +1 @@ -1.583.0 +1.584.0 diff --git a/gems/aws-partitions/partitions.json b/gems/aws-partitions/partitions.json index 4c4ab691241..a2628f52cca 100644 --- a/gems/aws-partitions/partitions.json +++ b/gems/aws-partitions/partitions.json @@ -1224,26 +1224,126 @@ }, "appmesh" : { "endpoints" : { - "af-south-1" : { }, - "ap-east-1" : { }, - "ap-northeast-1" : { }, - "ap-northeast-2" : { }, - "ap-south-1" : { }, - "ap-southeast-1" : { }, - "ap-southeast-2" : { }, - "ca-central-1" : { }, - "eu-central-1" : { }, - "eu-north-1" : { }, - "eu-south-1" : { }, - "eu-west-1" : { }, - "eu-west-2" : { }, - "eu-west-3" : { }, - "me-south-1" : { }, - "sa-east-1" : { }, - "us-east-1" : { }, - "us-east-2" : { }, - "us-west-1" : { }, - "us-west-2" : { } + "af-south-1" : { + "variants" : [ { + "hostname" : "appmesh.af-south-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ap-east-1" : { + "variants" : [ { + "hostname" : "appmesh.ap-east-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ap-northeast-1" : { + "variants" : [ { + "hostname" : "appmesh.ap-northeast-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ap-northeast-2" : { + "variants" : [ { + "hostname" : "appmesh.ap-northeast-2.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ap-south-1" : { + "variants" : [ { + "hostname" : "appmesh.ap-south-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ap-southeast-1" : { + "variants" : [ { + "hostname" : "appmesh.ap-southeast-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ap-southeast-2" : { + "variants" : [ { + "hostname" : "appmesh.ap-southeast-2.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ca-central-1" : { + "variants" : [ { + "hostname" : "appmesh.ca-central-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "eu-central-1" : { + "variants" : [ { + "hostname" : "appmesh.eu-central-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "eu-north-1" : { + "variants" : [ { + "hostname" : "appmesh.eu-north-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "eu-south-1" : { + "variants" : [ { + "hostname" : "appmesh.eu-south-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "eu-west-1" : { + "variants" : [ { + "hostname" : "appmesh.eu-west-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "eu-west-2" : { + "variants" : [ { + "hostname" : "appmesh.eu-west-2.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "eu-west-3" : { + "variants" : [ { + "hostname" : "appmesh.eu-west-3.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "me-south-1" : { + "variants" : [ { + "hostname" : "appmesh.me-south-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "sa-east-1" : { + "variants" : [ { + "hostname" : "appmesh.sa-east-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "us-east-1" : { + "variants" : [ { + "hostname" : "appmesh.us-east-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "us-east-2" : { + "variants" : [ { + "hostname" : "appmesh.us-east-2.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "us-west-1" : { + "variants" : [ { + "hostname" : "appmesh.us-west-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "us-west-2" : { + "variants" : [ { + "hostname" : "appmesh.us-west-2.api.aws", + "tags" : [ "dualstack" ] + } ] + } } }, "apprunner" : { @@ -12129,12 +12229,60 @@ "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "fips-us-east-1" : { + "credentialScope" : { + "region" : "us-east-1" + }, + "deprecated" : true, + "hostname" : "synthetics-fips.us-east-1.amazonaws.com" + }, + "fips-us-east-2" : { + "credentialScope" : { + "region" : "us-east-2" + }, + "deprecated" : true, + "hostname" : "synthetics-fips.us-east-2.amazonaws.com" + }, + "fips-us-west-1" : { + "credentialScope" : { + "region" : "us-west-1" + }, + "deprecated" : true, + "hostname" : "synthetics-fips.us-west-1.amazonaws.com" + }, + "fips-us-west-2" : { + "credentialScope" : { + "region" : "us-west-2" + }, + "deprecated" : true, + "hostname" : "synthetics-fips.us-west-2.amazonaws.com" + }, "me-south-1" : { }, "sa-east-1" : { }, - "us-east-1" : { }, - "us-east-2" : { }, - "us-west-1" : { }, - "us-west-2" : { } + "us-east-1" : { + "variants" : [ { + "hostname" : "synthetics-fips.us-east-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-east-2" : { + "variants" : [ { + "hostname" : "synthetics-fips.us-east-2.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-west-1" : { + "variants" : [ { + "hostname" : "synthetics-fips.us-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-west-2" : { + "variants" : [ { + "hostname" : "synthetics-fips.us-west-2.amazonaws.com", + "tags" : [ "fips" ] + } ] + } } }, "tagging" : { @@ -13258,8 +13406,18 @@ }, "appmesh" : { "endpoints" : { - "cn-north-1" : { }, - "cn-northwest-1" : { } + "cn-north-1" : { + "variants" : [ { + "hostname" : "appmesh.cn-north-1.api.amazonwebservices.com.cn", + "tags" : [ "dualstack" ] + } ] + }, + "cn-northwest-1" : { + "variants" : [ { + "hostname" : "appmesh.cn-northwest-1.api.amazonwebservices.com.cn", + "tags" : [ "dualstack" ] + } ] + } } }, "appsync" : { @@ -17539,8 +17697,32 @@ }, "synthetics" : { "endpoints" : { - "us-gov-east-1" : { }, - "us-gov-west-1" : { } + "fips-us-gov-east-1" : { + "credentialScope" : { + "region" : "us-gov-east-1" + }, + "deprecated" : true, + "hostname" : "synthetics-fips.us-gov-east-1.amazonaws.com" + }, + "fips-us-gov-west-1" : { + "credentialScope" : { + "region" : "us-gov-west-1" + }, + "deprecated" : true, + "hostname" : "synthetics-fips.us-gov-west-1.amazonaws.com" + }, + "us-gov-east-1" : { + "variants" : [ { + "hostname" : "synthetics-fips.us-gov-east-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-gov-west-1" : { + "variants" : [ { + "hostname" : "synthetics-fips.us-gov-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + } } }, "tagging" : { diff --git a/gems/aws-sdk-backup/CHANGELOG.md b/gems/aws-sdk-backup/CHANGELOG.md index 726c6f894f7..ccbb67d367d 100644 --- a/gems/aws-sdk-backup/CHANGELOG.md +++ b/gems/aws-sdk-backup/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.44.0 (2022-05-04) +------------------ + +* Feature - Adds support to 2 new filters about job complete time for 3 list jobs APIs in AWS Backup + 1.43.0 (2022-02-24) ------------------ diff --git a/gems/aws-sdk-backup/VERSION b/gems/aws-sdk-backup/VERSION index b978278f05f..372cf402c73 100644 --- a/gems/aws-sdk-backup/VERSION +++ b/gems/aws-sdk-backup/VERSION @@ -1 +1 @@ -1.43.0 +1.44.0 diff --git a/gems/aws-sdk-backup/lib/aws-sdk-backup.rb b/gems/aws-sdk-backup/lib/aws-sdk-backup.rb index 3b08b9ee370..62cdbde2a5a 100644 --- a/gems/aws-sdk-backup/lib/aws-sdk-backup.rb +++ b/gems/aws-sdk-backup/lib/aws-sdk-backup.rb @@ -48,6 +48,6 @@ # @!group service module Aws::Backup - GEM_VERSION = '1.43.0' + GEM_VERSION = '1.44.0' end diff --git a/gems/aws-sdk-backup/lib/aws-sdk-backup/client.rb b/gems/aws-sdk-backup/lib/aws-sdk-backup/client.rb index 8d26e29a57f..a9c42d79e1c 100644 --- a/gems/aws-sdk-backup/lib/aws-sdk-backup/client.rb +++ b/gems/aws-sdk-backup/lib/aws-sdk-backup/client.rb @@ -2046,6 +2046,14 @@ def get_supported_resource_types(params = {}, options = {}) # If used from an Organizations management account, passing `*` returns # all jobs across the organization. # + # @option params [Time,DateTime,Date,Integer,String] :by_complete_after + # Returns only backup jobs completed after a date expressed in Unix + # format and Coordinated Universal Time (UTC). + # + # @option params [Time,DateTime,Date,Integer,String] :by_complete_before + # Returns only backup jobs completed before a date expressed in Unix + # format and Coordinated Universal Time (UTC). + # # @return [Types::ListBackupJobsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ListBackupJobsOutput#backup_jobs #backup_jobs} => Array<Types::BackupJob> @@ -2065,6 +2073,8 @@ def get_supported_resource_types(params = {}, options = {}) # by_created_after: Time.now, # by_resource_type: "ResourceType", # by_account_id: "AccountId", + # by_complete_after: Time.now, + # by_complete_before: Time.now, # }) # # @example Response structure @@ -2423,6 +2433,14 @@ def list_backup_vaults(params = {}, options = {}) # The account ID to list the jobs from. Returns only copy jobs # associated with the specified account ID. # + # @option params [Time,DateTime,Date,Integer,String] :by_complete_before + # Returns only copy jobs completed before a date expressed in Unix + # format and Coordinated Universal Time (UTC). + # + # @option params [Time,DateTime,Date,Integer,String] :by_complete_after + # Returns only copy jobs completed after a date expressed in Unix format + # and Coordinated Universal Time (UTC). + # # @return [Types::ListCopyJobsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ListCopyJobsOutput#copy_jobs #copy_jobs} => Array<Types::CopyJob> @@ -2442,6 +2460,8 @@ def list_backup_vaults(params = {}, options = {}) # by_resource_type: "ResourceType", # by_destination_vault_arn: "string", # by_account_id: "AccountId", + # by_complete_before: Time.now, + # by_complete_after: Time.now, # }) # # @example Response structure @@ -2879,6 +2899,14 @@ def list_report_plans(params = {}, options = {}) # @option params [String] :by_status # Returns only restore jobs associated with the specified job status. # + # @option params [Time,DateTime,Date,Integer,String] :by_complete_before + # Returns only copy jobs completed before a date expressed in Unix + # format and Coordinated Universal Time (UTC). + # + # @option params [Time,DateTime,Date,Integer,String] :by_complete_after + # Returns only copy jobs completed after a date expressed in Unix format + # and Coordinated Universal Time (UTC). + # # @return [Types::ListRestoreJobsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ListRestoreJobsOutput#restore_jobs #restore_jobs} => Array<Types::RestoreJobsListMember> @@ -2895,6 +2923,8 @@ def list_report_plans(params = {}, options = {}) # by_created_before: Time.now, # by_created_after: Time.now, # by_status: "PENDING", # accepts PENDING, RUNNING, COMPLETED, ABORTED, FAILED + # by_complete_before: Time.now, + # by_complete_after: Time.now, # }) # # @example Response structure @@ -4000,7 +4030,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-backup' - context[:gem_version] = '1.43.0' + context[:gem_version] = '1.44.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-backup/lib/aws-sdk-backup/client_api.rb b/gems/aws-sdk-backup/lib/aws-sdk-backup/client_api.rb index 72b8ba2b695..78d81c4eb22 100644 --- a/gems/aws-sdk-backup/lib/aws-sdk-backup/client_api.rb +++ b/gems/aws-sdk-backup/lib/aws-sdk-backup/client_api.rb @@ -820,6 +820,8 @@ module ClientApi ListBackupJobsInput.add_member(:by_created_after, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "createdAfter")) ListBackupJobsInput.add_member(:by_resource_type, Shapes::ShapeRef.new(shape: ResourceType, location: "querystring", location_name: "resourceType")) ListBackupJobsInput.add_member(:by_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "accountId")) + ListBackupJobsInput.add_member(:by_complete_after, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "completeAfter")) + ListBackupJobsInput.add_member(:by_complete_before, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "completeBefore")) ListBackupJobsInput.struct_class = Types::ListBackupJobsInput ListBackupJobsOutput.add_member(:backup_jobs, Shapes::ShapeRef.new(shape: BackupJobsList, location_name: "BackupJobs")) @@ -878,6 +880,8 @@ module ClientApi ListCopyJobsInput.add_member(:by_resource_type, Shapes::ShapeRef.new(shape: ResourceType, location: "querystring", location_name: "resourceType")) ListCopyJobsInput.add_member(:by_destination_vault_arn, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "destinationVaultArn")) ListCopyJobsInput.add_member(:by_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "accountId")) + ListCopyJobsInput.add_member(:by_complete_before, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "completeBefore")) + ListCopyJobsInput.add_member(:by_complete_after, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "completeAfter")) ListCopyJobsInput.struct_class = Types::ListCopyJobsInput ListCopyJobsOutput.add_member(:copy_jobs, Shapes::ShapeRef.new(shape: CopyJobsList, location_name: "CopyJobs")) @@ -951,6 +955,8 @@ module ClientApi ListRestoreJobsInput.add_member(:by_created_before, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "createdBefore")) ListRestoreJobsInput.add_member(:by_created_after, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "createdAfter")) ListRestoreJobsInput.add_member(:by_status, Shapes::ShapeRef.new(shape: RestoreJobStatus, location: "querystring", location_name: "status")) + ListRestoreJobsInput.add_member(:by_complete_before, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "completeBefore")) + ListRestoreJobsInput.add_member(:by_complete_after, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "completeAfter")) ListRestoreJobsInput.struct_class = Types::ListRestoreJobsInput ListRestoreJobsOutput.add_member(:restore_jobs, Shapes::ShapeRef.new(shape: RestoreJobsList, location_name: "RestoreJobs")) diff --git a/gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb b/gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb index 98602bb9987..6aad7a59ec7 100644 --- a/gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb +++ b/gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb @@ -3205,7 +3205,8 @@ class Framework < Struct.new( # The scope of a control. The control scope defines what the control # will evaluate. Three examples of control scopes are: a specific # backup plan, all backup plans with a specific tag, or all backup - # plans. For more information, see `ControlScope`. + # plans. For more information, see [ + # `ControlScope`.](aws-backup/latest/devguide/API_ControlScope.html) # @return [Types::ControlScope] # # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/FrameworkControl AWS API Documentation @@ -3802,6 +3803,8 @@ class LimitExceededException < Struct.new( # by_created_after: Time.now, # by_resource_type: "ResourceType", # by_account_id: "AccountId", + # by_complete_after: Time.now, + # by_complete_before: Time.now, # } # # @!attribute [rw] next_token @@ -3877,6 +3880,16 @@ class LimitExceededException < Struct.new( # returns all jobs across the organization. # @return [String] # + # @!attribute [rw] by_complete_after + # Returns only backup jobs completed after a date expressed in Unix + # format and Coordinated Universal Time (UTC). + # @return [Time] + # + # @!attribute [rw] by_complete_before + # Returns only backup jobs completed before a date expressed in Unix + # format and Coordinated Universal Time (UTC). + # @return [Time] + # # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListBackupJobsInput AWS API Documentation # class ListBackupJobsInput < Struct.new( @@ -3888,7 +3901,9 @@ class ListBackupJobsInput < Struct.new( :by_created_before, :by_created_after, :by_resource_type, - :by_account_id) + :by_account_id, + :by_complete_after, + :by_complete_before) SENSITIVE = [] include Aws::Structure end @@ -4193,6 +4208,8 @@ class ListBackupVaultsOutput < Struct.new( # by_resource_type: "ResourceType", # by_destination_vault_arn: "string", # by_account_id: "AccountId", + # by_complete_before: Time.now, + # by_complete_after: Time.now, # } # # @!attribute [rw] next_token @@ -4262,6 +4279,16 @@ class ListBackupVaultsOutput < Struct.new( # associated with the specified account ID. # @return [String] # + # @!attribute [rw] by_complete_before + # Returns only copy jobs completed before a date expressed in Unix + # format and Coordinated Universal Time (UTC). + # @return [Time] + # + # @!attribute [rw] by_complete_after + # Returns only copy jobs completed after a date expressed in Unix + # format and Coordinated Universal Time (UTC). + # @return [Time] + # # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListCopyJobsInput AWS API Documentation # class ListCopyJobsInput < Struct.new( @@ -4273,7 +4300,9 @@ class ListCopyJobsInput < Struct.new( :by_created_after, :by_resource_type, :by_destination_vault_arn, - :by_account_id) + :by_account_id, + :by_complete_before, + :by_complete_after) SENSITIVE = [] include Aws::Structure end @@ -4701,6 +4730,8 @@ class ListReportPlansOutput < Struct.new( # by_created_before: Time.now, # by_created_after: Time.now, # by_status: "PENDING", # accepts PENDING, RUNNING, COMPLETED, ABORTED, FAILED + # by_complete_before: Time.now, + # by_complete_after: Time.now, # } # # @!attribute [rw] next_token @@ -4733,6 +4764,16 @@ class ListReportPlansOutput < Struct.new( # Returns only restore jobs associated with the specified job status. # @return [String] # + # @!attribute [rw] by_complete_before + # Returns only copy jobs completed before a date expressed in Unix + # format and Coordinated Universal Time (UTC). + # @return [Time] + # + # @!attribute [rw] by_complete_after + # Returns only copy jobs completed after a date expressed in Unix + # format and Coordinated Universal Time (UTC). + # @return [Time] + # # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRestoreJobsInput AWS API Documentation # class ListRestoreJobsInput < Struct.new( @@ -4741,7 +4782,9 @@ class ListRestoreJobsInput < Struct.new( :by_account_id, :by_created_before, :by_created_after, - :by_status) + :by_status, + :by_complete_before, + :by_complete_after) SENSITIVE = [] include Aws::Structure end diff --git a/gems/aws-sdk-iotsecuretunneling/CHANGELOG.md b/gems/aws-sdk-iotsecuretunneling/CHANGELOG.md index 43e79dfc808..0311f84b062 100644 --- a/gems/aws-sdk-iotsecuretunneling/CHANGELOG.md +++ b/gems/aws-sdk-iotsecuretunneling/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.21.0 (2022-05-04) +------------------ + +* Feature - This release introduces a new API RotateTunnelAccessToken that allow revoking the existing tokens and generate new tokens + 1.20.0 (2022-02-24) ------------------ diff --git a/gems/aws-sdk-iotsecuretunneling/VERSION b/gems/aws-sdk-iotsecuretunneling/VERSION index 39893559155..3500250a4b0 100644 --- a/gems/aws-sdk-iotsecuretunneling/VERSION +++ b/gems/aws-sdk-iotsecuretunneling/VERSION @@ -1 +1 @@ -1.20.0 +1.21.0 diff --git a/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling.rb b/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling.rb index 860a8515b63..42091f987c3 100644 --- a/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling.rb +++ b/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling.rb @@ -48,6 +48,6 @@ # @!group service module Aws::IoTSecureTunneling - GEM_VERSION = '1.20.0' + GEM_VERSION = '1.21.0' end diff --git a/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling/client.rb b/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling/client.rb index 3b12b7bde97..197a16e1d18 100644 --- a/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling/client.rb +++ b/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling/client.rb @@ -365,11 +365,17 @@ def initialize(*args) # `CloseTunnel` request is received, we close the WebSocket connections # between the client and proxy server so no data can be transmitted. # + # Requires permission to access the [CloseTunnel][1] action. + # + # + # + # [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions + # # @option params [required, String] :tunnel_id # The ID of the tunnel to close. # # @option params [Boolean] :delete - # When set to true, AWS IoT Secure Tunneling deletes the tunnel data + # When set to true, IoT Secure Tunneling deletes the tunnel data # immediately. # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. @@ -390,6 +396,12 @@ def close_tunnel(params = {}, options = {}) # Gets information about a tunnel identified by the unique tunnel id. # + # Requires permission to access the [DescribeTunnel][1] action. + # + # + # + # [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions + # # @option params [required, String] :tunnel_id # The tunnel to describe. # @@ -458,9 +470,15 @@ def list_tags_for_resource(params = {}, options = {}) req.send_request(options) end - # List all tunnels for an AWS account. Tunnels are listed by creation - # time in descending order, newer tunnels will be listed before older - # tunnels. + # List all tunnels for an Amazon Web Services account. Tunnels are + # listed by creation time in descending order, newer tunnels will be + # listed before older tunnels. + # + # Requires permission to access the [ListTunnels][1] action. + # + # + # + # [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions # # @option params [String] :thing_name # The name of the IoT thing associated with the destination device. @@ -469,7 +487,8 @@ def list_tags_for_resource(params = {}, options = {}) # The maximum number of results to return at once. # # @option params [String] :next_token - # A token to retrieve the next set of results. + # To retrieve the next set of results, the nextToken value from a + # previous response; otherwise null to receive the first set of results. # # @return [Types::ListTunnelsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # @@ -505,7 +524,13 @@ def list_tunnels(params = {}, options = {}) end # Creates a new tunnel, and returns two client access tokens for clients - # to use to connect to the AWS IoT Secure Tunneling proxy server. + # to use to connect to the IoT Secure Tunneling proxy server. + # + # Requires permission to access the [OpenTunnel][1] action. + # + # + # + # [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions # # @option params [String] :description # A short text description of the tunnel. @@ -559,6 +584,63 @@ def open_tunnel(params = {}, options = {}) req.send_request(options) end + # Revokes the current client access token (CAT) and returns new CAT for + # clients to use when reconnecting to secure tunneling to access the + # same tunnel. + # + # Requires permission to access the [RotateTunnelAccessToken][1] action. + # + # Rotating the CAT doesn't extend the tunnel duration. For example, say + # the tunnel duration is 12 hours and the tunnel has already been open + # for 4 hours. When you rotate the access tokens, the new tokens that + # are generated can only be used for the remaining 8 hours. + # + # + # + # + # + # [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions + # + # @option params [required, String] :tunnel_id + # The tunnel for which you want to rotate the access tokens. + # + # @option params [required, String] :client_mode + # The mode of the client that will use the client token, which can be + # either the source or destination, or both source and destination. + # + # @option params [Types::DestinationConfig] :destination_config + # The destination configuration. + # + # @return [Types::RotateTunnelAccessTokenResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::RotateTunnelAccessTokenResponse#tunnel_arn #tunnel_arn} => String + # * {Types::RotateTunnelAccessTokenResponse#source_access_token #source_access_token} => String + # * {Types::RotateTunnelAccessTokenResponse#destination_access_token #destination_access_token} => String + # + # @example Request syntax with placeholder values + # + # resp = client.rotate_tunnel_access_token({ + # tunnel_id: "TunnelId", # required + # client_mode: "SOURCE", # required, accepts SOURCE, DESTINATION, ALL + # destination_config: { + # thing_name: "ThingName", + # services: ["Service"], # required + # }, + # }) + # + # @example Response structure + # + # resp.tunnel_arn #=> String + # resp.source_access_token #=> String + # resp.destination_access_token #=> String + # + # @overload rotate_tunnel_access_token(params = {}) + # @param [Hash] params ({}) + def rotate_tunnel_access_token(params = {}, options = {}) + req = build_request(:rotate_tunnel_access_token, params) + req.send_request(options) + end + # A resource tag. # # @option params [required, String] :resource_arn @@ -625,7 +707,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-iotsecuretunneling' - context[:gem_version] = '1.20.0' + context[:gem_version] = '1.21.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling/client_api.rb b/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling/client_api.rb index 5914f13df04..0c024f6c09a 100644 --- a/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling/client_api.rb +++ b/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling/client_api.rb @@ -15,6 +15,7 @@ module ClientApi AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName') ClientAccessToken = Shapes::StringShape.new(name: 'ClientAccessToken') + ClientMode = Shapes::StringShape.new(name: 'ClientMode') CloseTunnelRequest = Shapes::StructureShape.new(name: 'CloseTunnelRequest') CloseTunnelResponse = Shapes::StructureShape.new(name: 'CloseTunnelResponse') ConnectionState = Shapes::StructureShape.new(name: 'ConnectionState') @@ -36,6 +37,8 @@ module ClientApi OpenTunnelRequest = Shapes::StructureShape.new(name: 'OpenTunnelRequest') OpenTunnelResponse = Shapes::StructureShape.new(name: 'OpenTunnelResponse') ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException') + RotateTunnelAccessTokenRequest = Shapes::StructureShape.new(name: 'RotateTunnelAccessTokenRequest') + RotateTunnelAccessTokenResponse = Shapes::StructureShape.new(name: 'RotateTunnelAccessTokenResponse') Service = Shapes::StringShape.new(name: 'Service') ServiceList = Shapes::ListShape.new(name: 'ServiceList') Tag = Shapes::StructureShape.new(name: 'Tag') @@ -110,6 +113,16 @@ module ClientApi ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message")) ResourceNotFoundException.struct_class = Types::ResourceNotFoundException + RotateTunnelAccessTokenRequest.add_member(:tunnel_id, Shapes::ShapeRef.new(shape: TunnelId, required: true, location_name: "tunnelId")) + RotateTunnelAccessTokenRequest.add_member(:client_mode, Shapes::ShapeRef.new(shape: ClientMode, required: true, location_name: "clientMode")) + RotateTunnelAccessTokenRequest.add_member(:destination_config, Shapes::ShapeRef.new(shape: DestinationConfig, location_name: "destinationConfig")) + RotateTunnelAccessTokenRequest.struct_class = Types::RotateTunnelAccessTokenRequest + + RotateTunnelAccessTokenResponse.add_member(:tunnel_arn, Shapes::ShapeRef.new(shape: TunnelArn, location_name: "tunnelArn")) + RotateTunnelAccessTokenResponse.add_member(:source_access_token, Shapes::ShapeRef.new(shape: ClientAccessToken, location_name: "sourceAccessToken")) + RotateTunnelAccessTokenResponse.add_member(:destination_access_token, Shapes::ShapeRef.new(shape: ClientAccessToken, location_name: "destinationAccessToken")) + RotateTunnelAccessTokenResponse.struct_class = Types::RotateTunnelAccessTokenResponse + ServiceList.member = Shapes::ShapeRef.new(shape: Service) Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key")) @@ -227,6 +240,15 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) end) + api.add_operation(:rotate_tunnel_access_token, Seahorse::Model::Operation.new.tap do |o| + o.name = "RotateTunnelAccessToken" + o.http_method = "POST" + o.http_request_uri = "/" + o.input = Shapes::ShapeRef.new(shape: RotateTunnelAccessTokenRequest) + o.output = Shapes::ShapeRef.new(shape: RotateTunnelAccessTokenResponse) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + end) + api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o| o.name = "TagResource" o.http_method = "POST" diff --git a/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling/types.rb b/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling/types.rb index 090be15916b..4aa25cbc1be 100644 --- a/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling/types.rb +++ b/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling/types.rb @@ -23,7 +23,7 @@ module Types # @return [String] # # @!attribute [rw] delete - # When set to true, AWS IoT Secure Tunneling deletes the tunnel data + # When set to true, IoT Secure Tunneling deletes the tunnel data # immediately. # @return [Boolean] # @@ -96,11 +96,11 @@ class DescribeTunnelResponse < Struct.new( # @return [String] # # @!attribute [rw] services - # A list of service names that identity the target application. The - # AWS IoT client running on the destination device reads this value - # and uses it to look up a port or an IP address and a port. The AWS - # IoT client instantiates the local proxy which uses this information - # to connect to the destination application. + # A list of service names that identify the target application. The + # IoT client running on the destination device reads this value and + # uses it to look up a port or an IP address and a port. The IoT + # client instantiates the local proxy, which uses this information to + # connect to the destination application. # @return [Array] # class DestinationConfig < Struct.new( @@ -166,7 +166,9 @@ class ListTagsForResourceResponse < Struct.new( # @return [Integer] # # @!attribute [rw] next_token - # A token to retrieve the next set of results. + # To retrieve the next set of results, the nextToken value from a + # previous response; otherwise null to receive the first set of + # results. # @return [String] # class ListTunnelsRequest < Struct.new( @@ -178,11 +180,13 @@ class ListTunnelsRequest < Struct.new( end # @!attribute [rw] tunnel_summaries - # A short description of the tunnels in an AWS account. + # A short description of the tunnels in an Amazon Web Services + # account. # @return [Array] # # @!attribute [rw] next_token - # A token to used to retrieve the next set of results. + # The token to use to get the next set of results, or null if there + # are no additional results. # @return [String] # class ListTunnelsResponse < Struct.new( @@ -242,18 +246,17 @@ class OpenTunnelRequest < Struct.new( # @return [String] # # @!attribute [rw] tunnel_arn - # The Amazon Resource Name for the tunnel. The tunnel ARN format is - # `arn:aws:tunnel:::tunnel/` + # The Amazon Resource Name for the tunnel. # @return [String] # # @!attribute [rw] source_access_token - # The access token the source local proxy uses to connect to AWS IoT + # The access token the source local proxy uses to connect to IoT # Secure Tunneling. # @return [String] # # @!attribute [rw] destination_access_token - # The access token the destination local proxy uses to connect to AWS - # IoT Secure Tunneling. + # The access token the destination local proxy uses to connect to IoT + # Secure Tunneling. # @return [String] # class OpenTunnelResponse < Struct.new( @@ -277,6 +280,61 @@ class ResourceNotFoundException < Struct.new( include Aws::Structure end + # @note When making an API call, you may pass RotateTunnelAccessTokenRequest + # data as a hash: + # + # { + # tunnel_id: "TunnelId", # required + # client_mode: "SOURCE", # required, accepts SOURCE, DESTINATION, ALL + # destination_config: { + # thing_name: "ThingName", + # services: ["Service"], # required + # }, + # } + # + # @!attribute [rw] tunnel_id + # The tunnel for which you want to rotate the access tokens. + # @return [String] + # + # @!attribute [rw] client_mode + # The mode of the client that will use the client token, which can be + # either the source or destination, or both source and destination. + # @return [String] + # + # @!attribute [rw] destination_config + # The destination configuration. + # @return [Types::DestinationConfig] + # + class RotateTunnelAccessTokenRequest < Struct.new( + :tunnel_id, + :client_mode, + :destination_config) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] tunnel_arn + # The Amazon Resource Name for the tunnel. + # @return [String] + # + # @!attribute [rw] source_access_token + # The client access token that the source local proxy uses to connect + # to IoT Secure Tunneling. + # @return [String] + # + # @!attribute [rw] destination_access_token + # The client access token that the destination local proxy uses to + # connect to IoT Secure Tunneling. + # @return [String] + # + class RotateTunnelAccessTokenResponse < Struct.new( + :tunnel_arn, + :source_access_token, + :destination_access_token) + SENSITIVE = [:source_access_token, :destination_access_token] + include Aws::Structure + end + # An arbitary key/value pair used to add searchable metadata to secure # tunnel resources. # @@ -361,8 +419,7 @@ class TimeoutConfig < Struct.new( # @return [String] # # @!attribute [rw] tunnel_arn - # The Amazon Resource Name (ARN) of a tunnel. The tunnel ARN format is - # `arn:aws:tunnel:::tunnel/` + # The Amazon Resource Name (ARN) of a tunnel. # @return [String] # # @!attribute [rw] status @@ -426,8 +483,7 @@ class Tunnel < Struct.new( # @return [String] # # @!attribute [rw] tunnel_arn - # The Amazon Resource Name of the tunnel. The tunnel ARN format is - # `arn:aws:tunnel:::tunnel/` + # The Amazon Resource Name of the tunnel. # @return [String] # # @!attribute [rw] status diff --git a/gems/aws-sdk-lightsail/CHANGELOG.md b/gems/aws-sdk-lightsail/CHANGELOG.md index d798b6f0f67..af2d779ad85 100644 --- a/gems/aws-sdk-lightsail/CHANGELOG.md +++ b/gems/aws-sdk-lightsail/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.66.0 (2022-05-04) +------------------ + +* Feature - Documentation updates for Lightsail + 1.65.0 (2022-04-26) ------------------ diff --git a/gems/aws-sdk-lightsail/VERSION b/gems/aws-sdk-lightsail/VERSION index 902c74186fb..b6148bc0a75 100644 --- a/gems/aws-sdk-lightsail/VERSION +++ b/gems/aws-sdk-lightsail/VERSION @@ -1 +1 @@ -1.65.0 +1.66.0 diff --git a/gems/aws-sdk-lightsail/lib/aws-sdk-lightsail.rb b/gems/aws-sdk-lightsail/lib/aws-sdk-lightsail.rb index 1713e4e6060..45185c621d9 100644 --- a/gems/aws-sdk-lightsail/lib/aws-sdk-lightsail.rb +++ b/gems/aws-sdk-lightsail/lib/aws-sdk-lightsail.rb @@ -48,6 +48,6 @@ # @!group service module Aws::Lightsail - GEM_VERSION = '1.65.0' + GEM_VERSION = '1.66.0' end diff --git a/gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/client.rb b/gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/client.rb index 4ef9e493fb4..00b2509f121 100644 --- a/gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/client.rb +++ b/gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/client.rb @@ -3019,9 +3019,9 @@ def create_key_pair(params = {}, options = {}) # Use the [GetLoadBalancerTlsPolicies][1] action to get a list of TLS # policy names that you can specify. # - # For more information about load balancer TLS policies, see [Load - # balancer TLS security policies][2] in the *Amazon Lightsail Developer - # Guide*. + # For more information about load balancer TLS policies, see + # [Configuring TLS security policies on your Amazon Lightsail load + # balancers][2] in the *Amazon Lightsail Developer Guide*. # # # @@ -8279,8 +8279,8 @@ def get_load_balancer_tls_certificates(params = {}, options = {}) # Lightsail load balancers. # # For more information about load balancer TLS security policies, see - # [Load balancer TLS security policies][1] in the *Amazon Lightsail - # Developer Guide*. + # [Configuring TLS security policies on your Amazon Lightsail load + # balancers][1] in the *Amazon Lightsail Developer Guide*. # # # @@ -11369,7 +11369,8 @@ def update_domain_entry(params = {}, options = {}) # # * If you specify `SessionStickinessEnabled` for the `attributeName` # request parameter, then the `attributeValue` request parameter must - # be `true` or `false`. + # be `true` to activate session stickiness or `false` to deactivate + # session stickiness. # # * If you specify `SessionStickiness_LB_CookieDurationSeconds` for the # `attributeName` request parameter, then the `attributeValue` request @@ -11378,11 +11379,19 @@ def update_domain_entry(params = {}, options = {}) # # * If you specify `HttpsRedirectionEnabled` for the `attributeName` # request parameter, then the `attributeValue` request parameter must - # be `true` or `false`. + # be `true` to activate HTTP to HTTPS redirection or `false` to + # deactivate HTTP to HTTPS redirection. # # * If you specify `TlsPolicyName` for the `attributeName` request - # parameter, then the `attributeValue` request parameter must be `TLS - # version 1.0, 1.1, and 1.2` or `TLS version 1.2`. + # parameter, then the `attributeValue` request parameter must be the + # name of the TLS policy. + # + # Use the [GetLoadBalancerTlsPolicies][1] action to get a list of TLS + # policy names that you can specify. + # + # + # + # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetLoadBalancerTlsPolicies.html # # @return [Types::UpdateLoadBalancerAttributeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # @@ -11662,7 +11671,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-lightsail' - context[:gem_version] = '1.65.0' + context[:gem_version] = '1.66.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb b/gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb index 4037adab4d0..b27d36a7237 100644 --- a/gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb +++ b/gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb @@ -4592,9 +4592,9 @@ class CreateKeyPairResult < Struct.new( # Use the [GetLoadBalancerTlsPolicies][1] action to get a list of TLS # policy names that you can specify. # - # For more information about load balancer TLS policies, see [Load - # balancer TLS security policies][2] in the *Amazon Lightsail - # Developer Guide*. + # For more information about load balancer TLS policies, see + # [Configuring TLS security policies on your Amazon Lightsail load + # balancers][2] in the *Amazon Lightsail Developer Guide*. # # # @@ -12046,12 +12046,6 @@ class LightsailDistribution < Struct.new( # # @!attribute [rw] tls_policy_name # The name of the TLS security policy for the load balancer. - # - # The following TLS security policy names are possible: - # - # * `TLS-2016-08` - # - # * `TLS-FS-Res-1-2-2019-08` # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancer AWS API Documentation @@ -12471,8 +12465,8 @@ class LoadBalancerTlsCertificateSummary < Struct.new( # load balancers. # # For more information about load balancer TLS security policies, see - # [Load balancer TLS security policies][1] in the *Amazon Lightsail - # Developer Guide*. + # [Configuring TLS security policies on your Amazon Lightsail load + # balancers][1] in the *Amazon Lightsail Developer Guide*. # # # @@ -12480,22 +12474,6 @@ class LoadBalancerTlsCertificateSummary < Struct.new( # # @!attribute [rw] name # The name of the TLS security policy. - # - # The following TLS security policy names are possible: - # - # * `TLS-2016-08` - # - # * `TLS-FS-Res-1-2-2019-08` - # - # You can specify either of these values for the - # `tlsSecurityPolicyName` request parameter in the - # [CreateLoadBalancer][1] action, and the `attributeValue` request - # parameter in the [UpdateLoadBalancerAttribute][2] action. - # - # - # - # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_CreateLoadBalancer.html - # [2]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_UpdateLoadBalancerAttribute.html # @return [String] # # @!attribute [rw] is_default @@ -12509,14 +12487,6 @@ class LoadBalancerTlsCertificateSummary < Struct.new( # # @!attribute [rw] protocols # The protocols used in a given TLS security policy. - # - # The following protocols are possible: - # - # * `Protocol-TLSv1` - # - # * `Protocol-TLSv1.1` - # - # * `Protocol-TLSv1.2` # @return [Array] # # @!attribute [rw] ciphers @@ -15358,7 +15328,8 @@ class UpdateDomainEntryResult < Struct.new( # # * If you specify `SessionStickinessEnabled` for the `attributeName` # request parameter, then the `attributeValue` request parameter - # must be `true` or `false`. + # must be `true` to activate session stickiness or `false` to + # deactivate session stickiness. # # * If you specify `SessionStickiness_LB_CookieDurationSeconds` for # the `attributeName` request parameter, then the `attributeValue` @@ -15367,11 +15338,19 @@ class UpdateDomainEntryResult < Struct.new( # # * If you specify `HttpsRedirectionEnabled` for the `attributeName` # request parameter, then the `attributeValue` request parameter - # must be `true` or `false`. + # must be `true` to activate HTTP to HTTPS redirection or `false` to + # deactivate HTTP to HTTPS redirection. # # * If you specify `TlsPolicyName` for the `attributeName` request - # parameter, then the `attributeValue` request parameter must be - # `TLS version 1.0, 1.1, and 1.2` or `TLS version 1.2`. + # parameter, then the `attributeValue` request parameter must be the + # name of the TLS policy. + # + # Use the [GetLoadBalancerTlsPolicies][1] action to get a list of + # TLS policy names that you can specify. + # + # + # + # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetLoadBalancerTlsPolicies.html # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateLoadBalancerAttributeRequest AWS API Documentation diff --git a/gems/aws-sdk-ssm/CHANGELOG.md b/gems/aws-sdk-ssm/CHANGELOG.md index 934a36384e2..c0ed1d2ad7d 100644 --- a/gems/aws-sdk-ssm/CHANGELOG.md +++ b/gems/aws-sdk-ssm/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.137.0 (2022-05-04) +------------------ + +* Feature - This release adds the TargetMaps parameter in SSM State Manager API. + 1.136.0 (2022-04-29) ------------------ diff --git a/gems/aws-sdk-ssm/VERSION b/gems/aws-sdk-ssm/VERSION index f69bce49e85..b4efaaa6cfc 100644 --- a/gems/aws-sdk-ssm/VERSION +++ b/gems/aws-sdk-ssm/VERSION @@ -1 +1 @@ -1.136.0 +1.137.0 diff --git a/gems/aws-sdk-ssm/lib/aws-sdk-ssm.rb b/gems/aws-sdk-ssm/lib/aws-sdk-ssm.rb index db78475b53b..ab3d37e1671 100644 --- a/gems/aws-sdk-ssm/lib/aws-sdk-ssm.rb +++ b/gems/aws-sdk-ssm/lib/aws-sdk-ssm.rb @@ -49,6 +49,6 @@ # @!group service module Aws::SSM - GEM_VERSION = '1.136.0' + GEM_VERSION = '1.137.0' end diff --git a/gems/aws-sdk-ssm/lib/aws-sdk-ssm/client.rb b/gems/aws-sdk-ssm/lib/aws-sdk-ssm/client.rb index 994f59b5156..70acf739fc8 100644 --- a/gems/aws-sdk-ssm/lib/aws-sdk-ssm/client.rb +++ b/gems/aws-sdk-ssm/lib/aws-sdk-ssm/client.rb @@ -894,6 +894,10 @@ def create_activation(params = {}, options = {}) # # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html # + # @option params [Array] :target_maps + # A key-value mapping of document parameters to target resources. Both + # Targets and TargetMaps can't be specified together. + # # @return [Types::CreateAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::CreateAssociationResult#association_description #association_description} => Types::AssociationDescription @@ -939,6 +943,11 @@ def create_activation(params = {}, options = {}) # }, # ], # schedule_offset: 1, + # target_maps: [ + # { + # "TargetMapKey" => ["TargetMapValue"], + # }, + # ], # }) # # @example Response structure @@ -989,6 +998,10 @@ def create_activation(params = {}, options = {}) # resp.association_description.target_locations[0].target_location_max_errors #=> String # resp.association_description.target_locations[0].execution_role_name #=> String # resp.association_description.schedule_offset #=> Integer + # resp.association_description.target_maps #=> Array + # resp.association_description.target_maps[0] #=> Hash + # resp.association_description.target_maps[0]["TargetMapKey"] #=> Array + # resp.association_description.target_maps[0]["TargetMapKey"][0] #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociation AWS API Documentation # @@ -1062,6 +1075,11 @@ def create_association(params = {}, options = {}) # }, # ], # schedule_offset: 1, + # target_maps: [ + # { + # "TargetMapKey" => ["TargetMapValue"], + # }, + # ], # }, # ], # }) @@ -1115,6 +1133,10 @@ def create_association(params = {}, options = {}) # resp.successful[0].target_locations[0].target_location_max_errors #=> String # resp.successful[0].target_locations[0].execution_role_name #=> String # resp.successful[0].schedule_offset #=> Integer + # resp.successful[0].target_maps #=> Array + # resp.successful[0].target_maps[0] #=> Hash + # resp.successful[0].target_maps[0]["TargetMapKey"] #=> Array + # resp.successful[0].target_maps[0]["TargetMapKey"][0] #=> String # resp.failed #=> Array # resp.failed[0].entry.name #=> String # resp.failed[0].entry.instance_id #=> String @@ -1148,6 +1170,10 @@ def create_association(params = {}, options = {}) # resp.failed[0].entry.target_locations[0].target_location_max_errors #=> String # resp.failed[0].entry.target_locations[0].execution_role_name #=> String # resp.failed[0].entry.schedule_offset #=> Integer + # resp.failed[0].entry.target_maps #=> Array + # resp.failed[0].entry.target_maps[0] #=> Hash + # resp.failed[0].entry.target_maps[0]["TargetMapKey"] #=> Array + # resp.failed[0].entry.target_maps[0]["TargetMapKey"][0] #=> String # resp.failed[0].message #=> String # resp.failed[0].fault #=> String, one of "Client", "Server", "Unknown" # @@ -2641,6 +2667,10 @@ def describe_activations(params = {}, options = {}) # resp.association_description.target_locations[0].target_location_max_errors #=> String # resp.association_description.target_locations[0].execution_role_name #=> String # resp.association_description.schedule_offset #=> Integer + # resp.association_description.target_maps #=> Array + # resp.association_description.target_maps[0] #=> Hash + # resp.association_description.target_maps[0]["TargetMapKey"] #=> Array + # resp.association_description.target_maps[0]["TargetMapKey"][0] #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociation AWS API Documentation # @@ -6849,6 +6879,10 @@ def label_parameter_version(params = {}, options = {}) # resp.association_versions[0].target_locations[0].target_location_max_errors #=> String # resp.association_versions[0].target_locations[0].execution_role_name #=> String # resp.association_versions[0].schedule_offset #=> Integer + # resp.association_versions[0].target_maps #=> Array + # resp.association_versions[0].target_maps[0] #=> Hash + # resp.association_versions[0].target_maps[0]["TargetMapKey"] #=> Array + # resp.association_versions[0].target_maps[0]["TargetMapKey"][0] #=> String # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationVersions AWS API Documentation @@ -6926,6 +6960,10 @@ def list_association_versions(params = {}, options = {}) # resp.associations[0].schedule_expression #=> String # resp.associations[0].association_name #=> String # resp.associations[0].schedule_offset #=> Integer + # resp.associations[0].target_maps #=> Array + # resp.associations[0].target_maps[0] #=> Hash + # resp.associations[0].target_maps[0]["TargetMapKey"] #=> Array + # resp.associations[0].target_maps[0]["TargetMapKey"][0] #=> String # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociations AWS API Documentation @@ -10020,6 +10058,10 @@ def unlabel_parameter_version(params = {}, options = {}) # # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html # + # @option params [Array] :target_maps + # A key-value mapping of document parameters to target resources. Both + # Targets and TargetMaps can't be specified together. + # # @return [Types::UpdateAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::UpdateAssociationResult#association_description #association_description} => Types::AssociationDescription @@ -10066,6 +10108,11 @@ def unlabel_parameter_version(params = {}, options = {}) # }, # ], # schedule_offset: 1, + # target_maps: [ + # { + # "TargetMapKey" => ["TargetMapValue"], + # }, + # ], # }) # # @example Response structure @@ -10116,6 +10163,10 @@ def unlabel_parameter_version(params = {}, options = {}) # resp.association_description.target_locations[0].target_location_max_errors #=> String # resp.association_description.target_locations[0].execution_role_name #=> String # resp.association_description.schedule_offset #=> Integer + # resp.association_description.target_maps #=> Array + # resp.association_description.target_maps[0] #=> Hash + # resp.association_description.target_maps[0]["TargetMapKey"] #=> Array + # resp.association_description.target_maps[0]["TargetMapKey"][0] #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociation AWS API Documentation # @@ -10208,6 +10259,10 @@ def update_association(params = {}, options = {}) # resp.association_description.target_locations[0].target_location_max_errors #=> String # resp.association_description.target_locations[0].execution_role_name #=> String # resp.association_description.schedule_offset #=> Integer + # resp.association_description.target_maps #=> Array + # resp.association_description.target_maps[0] #=> Hash + # resp.association_description.target_maps[0]["TargetMapKey"] #=> Array + # resp.association_description.target_maps[0]["TargetMapKey"][0] #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationStatus AWS API Documentation # @@ -11572,7 +11627,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-ssm' - context[:gem_version] = '1.136.0' + context[:gem_version] = '1.137.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-ssm/lib/aws-sdk-ssm/client_api.rb b/gems/aws-sdk-ssm/lib/aws-sdk-ssm/client_api.rb index 78db4210543..e5fc8c6dacf 100644 --- a/gems/aws-sdk-ssm/lib/aws-sdk-ssm/client_api.rb +++ b/gems/aws-sdk-ssm/lib/aws-sdk-ssm/client_api.rb @@ -527,6 +527,7 @@ module ClientApi InvalidRole = Shapes::StructureShape.new(name: 'InvalidRole') InvalidSchedule = Shapes::StructureShape.new(name: 'InvalidSchedule') InvalidTarget = Shapes::StructureShape.new(name: 'InvalidTarget') + InvalidTargetMaps = Shapes::StructureShape.new(name: 'InvalidTargetMaps') InvalidTypeNameException = Shapes::StructureShape.new(name: 'InvalidTypeNameException') InvalidUpdate = Shapes::StructureShape.new(name: 'InvalidUpdate') InventoryAggregator = Shapes::StructureShape.new(name: 'InventoryAggregator') @@ -1227,6 +1228,7 @@ module ClientApi Association.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, location_name: "ScheduleExpression")) Association.add_member(:association_name, Shapes::ShapeRef.new(shape: AssociationName, location_name: "AssociationName")) Association.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true})) + Association.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true})) Association.struct_class = Types::Association AssociationAlreadyExists.struct_class = Types::AssociationAlreadyExists @@ -1256,6 +1258,7 @@ module ClientApi AssociationDescription.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames")) AssociationDescription.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations")) AssociationDescription.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true})) + AssociationDescription.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true})) AssociationDescription.struct_class = Types::AssociationDescription AssociationDescriptionList.member = Shapes::ShapeRef.new(shape: AssociationDescription) @@ -1348,6 +1351,7 @@ module ClientApi AssociationVersionInfo.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames")) AssociationVersionInfo.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations")) AssociationVersionInfo.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true})) + AssociationVersionInfo.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true})) AssociationVersionInfo.struct_class = Types::AssociationVersionInfo AssociationVersionLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message")) @@ -1669,6 +1673,7 @@ module ClientApi CreateAssociationBatchRequestEntry.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames")) CreateAssociationBatchRequestEntry.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations")) CreateAssociationBatchRequestEntry.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true})) + CreateAssociationBatchRequestEntry.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true})) CreateAssociationBatchRequestEntry.struct_class = Types::CreateAssociationBatchRequestEntry CreateAssociationBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: AssociationDescriptionList, location_name: "Successful")) @@ -1692,6 +1697,7 @@ module ClientApi CreateAssociationRequest.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames")) CreateAssociationRequest.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations")) CreateAssociationRequest.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true})) + CreateAssociationRequest.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true})) CreateAssociationRequest.struct_class = Types::CreateAssociationRequest CreateAssociationResult.add_member(:association_description, Shapes::ShapeRef.new(shape: AssociationDescription, location_name: "AssociationDescription")) @@ -2933,6 +2939,9 @@ module ClientApi InvalidTarget.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message")) InvalidTarget.struct_class = Types::InvalidTarget + InvalidTargetMaps.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message")) + InvalidTargetMaps.struct_class = Types::InvalidTargetMaps + InvalidTypeNameException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message")) InvalidTypeNameException.struct_class = Types::InvalidTypeNameException @@ -4362,6 +4371,7 @@ module ClientApi UpdateAssociationRequest.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames")) UpdateAssociationRequest.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations")) UpdateAssociationRequest.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "ScheduleOffset", metadata: {"box"=>true})) + UpdateAssociationRequest.add_member(:target_maps, Shapes::ShapeRef.new(shape: TargetMaps, location_name: "TargetMaps", metadata: {"box"=>true})) UpdateAssociationRequest.struct_class = Types::UpdateAssociationRequest UpdateAssociationResult.add_member(:association_description, Shapes::ShapeRef.new(shape: AssociationDescription, location_name: "AssociationDescription")) @@ -4653,6 +4663,7 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: InvalidParameters) o.errors << Shapes::ShapeRef.new(shape: InvalidTarget) o.errors << Shapes::ShapeRef.new(shape: InvalidSchedule) + o.errors << Shapes::ShapeRef.new(shape: InvalidTargetMaps) end) api.add_operation(:create_association_batch, Seahorse::Model::Operation.new.tap do |o| @@ -4672,6 +4683,7 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: InvalidOutputLocation) o.errors << Shapes::ShapeRef.new(shape: InvalidTarget) o.errors << Shapes::ShapeRef.new(shape: InvalidSchedule) + o.errors << Shapes::ShapeRef.new(shape: InvalidTargetMaps) end) api.add_operation(:create_document, Seahorse::Model::Operation.new.tap do |o| @@ -6274,6 +6286,7 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: InvalidTarget) o.errors << Shapes::ShapeRef.new(shape: InvalidAssociationVersion) o.errors << Shapes::ShapeRef.new(shape: AssociationVersionLimitExceeded) + o.errors << Shapes::ShapeRef.new(shape: InvalidTargetMaps) end) api.add_operation(:update_association_status, Seahorse::Model::Operation.new.tap do |o| diff --git a/gems/aws-sdk-ssm/lib/aws-sdk-ssm/errors.rb b/gems/aws-sdk-ssm/lib/aws-sdk-ssm/errors.rb index 275ed132305..d26dcb63ec0 100644 --- a/gems/aws-sdk-ssm/lib/aws-sdk-ssm/errors.rb +++ b/gems/aws-sdk-ssm/lib/aws-sdk-ssm/errors.rb @@ -101,6 +101,7 @@ module Aws::SSM # * {InvalidRole} # * {InvalidSchedule} # * {InvalidTarget} + # * {InvalidTargetMaps} # * {InvalidTypeNameException} # * {InvalidUpdate} # * {InvocationDoesNotExist} @@ -1216,6 +1217,21 @@ def message end end + class InvalidTargetMaps < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::SSM::Types::InvalidTargetMaps] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + class InvalidTypeNameException < ServiceError # @param [Seahorse::Client::RequestContext] context diff --git a/gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb b/gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb index dde9ff8b365..261c3f71975 100644 --- a/gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb +++ b/gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb @@ -318,6 +318,11 @@ class AssociatedInstances < Aws::EmptyStructure; end # association. # @return [Integer] # + # @!attribute [rw] target_maps + # A key-value mapping of document parameters to target resources. Both + # Targets and TargetMaps can't be specified together. + # @return [Array>>] + # # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Association AWS API Documentation # class Association < Struct.new( @@ -331,7 +336,8 @@ class Association < Struct.new( :overview, :schedule_expression, :association_name, - :schedule_offset) + :schedule_offset, + :target_maps) SENSITIVE = [] include Aws::Structure end @@ -498,6 +504,11 @@ class AssociationAlreadyExists < Aws::EmptyStructure; end # association. # @return [Integer] # + # @!attribute [rw] target_maps + # A key-value mapping of document parameters to target resources. Both + # Targets and TargetMaps can't be specified together. + # @return [Array>>] + # # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationDescription AWS API Documentation # class AssociationDescription < Struct.new( @@ -525,7 +536,8 @@ class AssociationDescription < Struct.new( :apply_only_at_cron_interval, :calendar_names, :target_locations, - :schedule_offset) + :schedule_offset, + :target_maps) SENSITIVE = [:parameters] include Aws::Structure end @@ -956,6 +968,11 @@ class AssociationStatus < Struct.new( # association. # @return [Integer] # + # @!attribute [rw] target_maps + # A key-value mapping of document parameters to target resources. Both + # Targets and TargetMaps can't be specified together. + # @return [Array>>] + # # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationVersionInfo AWS API Documentation # class AssociationVersionInfo < Struct.new( @@ -976,7 +993,8 @@ class AssociationVersionInfo < Struct.new( :apply_only_at_cron_interval, :calendar_names, :target_locations, - :schedule_offset) + :schedule_offset, + :target_maps) SENSITIVE = [:parameters] include Aws::Structure end @@ -2872,6 +2890,11 @@ class CreateActivationResult < Struct.new( # }, # ], # schedule_offset: 1, + # target_maps: [ + # { + # "TargetMapKey" => ["TargetMapValue"], + # }, + # ], # }, # ], # } @@ -2933,6 +2956,11 @@ class CreateAssociationBatchRequest < Struct.new( # }, # ], # schedule_offset: 1, + # target_maps: [ + # { + # "TargetMapKey" => ["TargetMapValue"], + # }, + # ], # } # # @!attribute [rw] name @@ -3087,6 +3115,11 @@ class CreateAssociationBatchRequest < Struct.new( # association. # @return [Integer] # + # @!attribute [rw] target_maps + # A key-value mapping of document parameters to target resources. Both + # Targets and TargetMaps can't be specified together. + # @return [Array>>] + # # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatchRequestEntry AWS API Documentation # class CreateAssociationBatchRequestEntry < Struct.new( @@ -3106,7 +3139,8 @@ class CreateAssociationBatchRequestEntry < Struct.new( :apply_only_at_cron_interval, :calendar_names, :target_locations, - :schedule_offset) + :schedule_offset, + :target_maps) SENSITIVE = [:parameters] include Aws::Structure end @@ -3170,6 +3204,11 @@ class CreateAssociationBatchResult < Struct.new( # }, # ], # schedule_offset: 1, + # target_maps: [ + # { + # "TargetMapKey" => ["TargetMapValue"], + # }, + # ], # } # # @!attribute [rw] name @@ -3361,6 +3400,11 @@ class CreateAssociationBatchResult < Struct.new( # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html # @return [Integer] # + # @!attribute [rw] target_maps + # A key-value mapping of document parameters to target resources. Both + # Targets and TargetMaps can't be specified together. + # @return [Array>>] + # # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationRequest AWS API Documentation # class CreateAssociationRequest < Struct.new( @@ -3380,7 +3424,8 @@ class CreateAssociationRequest < Struct.new( :apply_only_at_cron_interval, :calendar_names, :target_locations, - :schedule_offset) + :schedule_offset, + :target_maps) SENSITIVE = [:parameters] include Aws::Structure end @@ -11377,6 +11422,19 @@ class InvalidTarget < Struct.new( include Aws::Structure end + # TargetMap parameter isn't valid. + # + # @!attribute [rw] message + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InvalidTargetMaps AWS API Documentation + # + class InvalidTargetMaps < Struct.new( + :message) + SENSITIVE = [] + include Aws::Structure + end + # The parameter type name isn't valid. # # @!attribute [rw] message @@ -19889,6 +19947,11 @@ class UnsupportedPlatformType < Struct.new( # }, # ], # schedule_offset: 1, + # target_maps: [ + # { + # "TargetMapKey" => ["TargetMapValue"], + # }, + # ], # } # # @!attribute [rw] association_id @@ -20085,6 +20148,11 @@ class UnsupportedPlatformType < Struct.new( # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html # @return [Integer] # + # @!attribute [rw] target_maps + # A key-value mapping of document parameters to target resources. Both + # Targets and TargetMaps can't be specified together. + # @return [Array>>] + # # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationRequest AWS API Documentation # class UpdateAssociationRequest < Struct.new( @@ -20105,7 +20173,8 @@ class UpdateAssociationRequest < Struct.new( :apply_only_at_cron_interval, :calendar_names, :target_locations, - :schedule_offset) + :schedule_offset, + :target_maps) SENSITIVE = [:parameters] include Aws::Structure end