From 82efe322a471858a27bb2a52399c916f89b0e036 Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Wed, 4 May 2022 18:04:17 +0000 Subject: [PATCH] Update API model --- codegen/sdk-codegen/aws-models/backup.json | 109 +++++++++++- .../aws-models/iotsecuretunneling.json | 168 ++++++++++++++---- codegen/sdk-codegen/aws-models/lightsail.json | 14 +- codegen/sdk-codegen/aws-models/ssm.json | 61 +++++++ 4 files changed, 309 insertions(+), 43 deletions(-) diff --git a/codegen/sdk-codegen/aws-models/backup.json b/codegen/sdk-codegen/aws-models/backup.json index 78472ee8ec4..0c98c38a3c6 100644 --- a/codegen/sdk-codegen/aws-models/backup.json +++ b/codegen/sdk-codegen/aws-models/backup.json @@ -2014,6 +2014,9 @@ "input": { "target": "com.amazonaws.backup#DeleteBackupSelectionInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.backup#InvalidParameterValueException" @@ -2063,6 +2066,9 @@ "input": { "target": "com.amazonaws.backup#DeleteBackupVaultInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.backup#InvalidParameterValueException" @@ -2094,6 +2100,9 @@ "input": { "target": "com.amazonaws.backup#DeleteBackupVaultAccessPolicyInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.backup#InvalidParameterValueException" @@ -2149,6 +2158,9 @@ "input": { "target": "com.amazonaws.backup#DeleteBackupVaultLockConfigurationInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.backup#InvalidParameterValueException" @@ -2194,6 +2206,9 @@ "input": { "target": "com.amazonaws.backup#DeleteBackupVaultNotificationsInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.backup#InvalidParameterValueException" @@ -2236,6 +2251,9 @@ "input": { "target": "com.amazonaws.backup#DeleteFrameworkInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.backup#ConflictException" @@ -2280,6 +2298,9 @@ "input": { "target": "com.amazonaws.backup#DeleteRecoveryPointInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.backup#InvalidParameterValueException" @@ -2336,6 +2357,9 @@ "input": { "target": "com.amazonaws.backup#DeleteReportPlanInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.backup#ConflictException" @@ -3411,6 +3435,9 @@ "input": { "target": "com.amazonaws.backup#DisassociateRecoveryPointInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.backup#InvalidParameterValueException" @@ -3585,7 +3612,7 @@ "ControlScope": { "target": "com.amazonaws.backup#ControlScope", "traits": { - "smithy.api#documentation": "

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

" + "smithy.api#documentation": "

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

" } } }, @@ -4156,6 +4183,9 @@ }, "com.amazonaws.backup#GetSupportedResourceTypes": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.backup#GetSupportedResourceTypesOutput" }, @@ -4363,6 +4393,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "BackupJobs", "pageSize": "MaxResults" } } @@ -4432,6 +4463,20 @@ "smithy.api#documentation": "

The account ID to list the jobs from. Returns only backup jobs associated with the\n specified account ID.

\n

If used from an Organizations management account, passing * returns\n all jobs across the organization.

", "smithy.api#httpQuery": "accountId" } + }, + "ByCompleteAfter": { + "target": "com.amazonaws.backup#timestamp", + "traits": { + "smithy.api#documentation": "

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

", + "smithy.api#httpQuery": "completeAfter" + } + }, + "ByCompleteBefore": { + "target": "com.amazonaws.backup#timestamp", + "traits": { + "smithy.api#documentation": "

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

", + "smithy.api#httpQuery": "completeBefore" + } } } }, @@ -4484,6 +4529,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "BackupPlanTemplatesList", "pageSize": "MaxResults" } } @@ -4557,6 +4603,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "BackupPlanVersionsList", "pageSize": "MaxResults" } } @@ -4638,6 +4685,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "BackupPlansList", "pageSize": "MaxResults" } } @@ -4718,6 +4766,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "BackupSelectionsList", "pageSize": "MaxResults" } } @@ -4799,6 +4848,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "BackupVaultList", "pageSize": "MaxResults" } } @@ -4865,6 +4915,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "CopyJobs", "pageSize": "MaxResults" } } @@ -4934,6 +4985,20 @@ "smithy.api#documentation": "

The account ID to list the jobs from. Returns only copy jobs associated with the\n specified account ID.

", "smithy.api#httpQuery": "accountId" } + }, + "ByCompleteBefore": { + "target": "com.amazonaws.backup#timestamp", + "traits": { + "smithy.api#documentation": "

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

", + "smithy.api#httpQuery": "completeBefore" + } + }, + "ByCompleteAfter": { + "target": "com.amazonaws.backup#timestamp", + "traits": { + "smithy.api#documentation": "

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

", + "smithy.api#httpQuery": "completeAfter" + } } } }, @@ -5053,6 +5118,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "Results", "pageSize": "MaxResults" } } @@ -5126,6 +5192,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "RecoveryPoints", "pageSize": "MaxResults" } } @@ -5242,6 +5309,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "RecoveryPoints", "pageSize": "MaxResults" } } @@ -5483,6 +5551,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "RestoreJobs", "pageSize": "MaxResults" } } @@ -5531,6 +5600,20 @@ "smithy.api#documentation": "

Returns only restore jobs associated with the specified job status.

", "smithy.api#httpQuery": "status" } + }, + "ByCompleteBefore": { + "target": "com.amazonaws.backup#timestamp", + "traits": { + "smithy.api#documentation": "

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

", + "smithy.api#httpQuery": "completeBefore" + } + }, + "ByCompleteAfter": { + "target": "com.amazonaws.backup#timestamp", + "traits": { + "smithy.api#documentation": "

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

", + "smithy.api#httpQuery": "completeAfter" + } } } }, @@ -5749,6 +5832,9 @@ "input": { "target": "com.amazonaws.backup#PutBackupVaultAccessPolicyInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.backup#InvalidParameterValueException" @@ -5797,6 +5883,9 @@ "input": { "target": "com.amazonaws.backup#PutBackupVaultLockConfigurationInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.backup#InvalidParameterValueException" @@ -5860,6 +5949,9 @@ "input": { "target": "com.amazonaws.backup#PutBackupVaultNotificationsInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.backup#InvalidParameterValueException" @@ -6958,6 +7050,9 @@ "input": { "target": "com.amazonaws.backup#StopBackupJobInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.backup#InvalidParameterValueException" @@ -7033,6 +7128,9 @@ "input": { "target": "com.amazonaws.backup#TagResourceInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.backup#InvalidParameterValueException" @@ -7100,6 +7198,9 @@ "input": { "target": "com.amazonaws.backup#UntagResourceInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.backup#InvalidParameterValueException" @@ -7332,6 +7433,9 @@ "input": { "target": "com.amazonaws.backup#UpdateGlobalSettingsInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.backup#InvalidParameterValueException" @@ -7462,6 +7566,9 @@ "input": { "target": "com.amazonaws.backup#UpdateRegionSettingsInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.backup#InvalidParameterValueException" diff --git a/codegen/sdk-codegen/aws-models/iotsecuretunneling.json b/codegen/sdk-codegen/aws-models/iotsecuretunneling.json index 84e99d1d860..26d2606846a 100644 --- a/codegen/sdk-codegen/aws-models/iotsecuretunneling.json +++ b/codegen/sdk-codegen/aws-models/iotsecuretunneling.json @@ -44,6 +44,25 @@ "smithy.api#sensitive": {} } }, + "com.amazonaws.iotsecuretunneling#ClientMode": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "SOURCE", + "name": "SOURCE" + }, + { + "value": "DESTINATION", + "name": "DESTINATION" + }, + { + "value": "ALL", + "name": "ALL" + } + ] + } + }, "com.amazonaws.iotsecuretunneling#CloseTunnel": { "type": "operation", "input": { @@ -58,7 +77,7 @@ } ], "traits": { - "smithy.api#documentation": "

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

", + "smithy.api#documentation": "

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

\n\t\t

Requires permission to access the CloseTunnel action.

", "smithy.api#http": { "method": "DELETE", "uri": "/tunnels/{tunnelId}", @@ -81,7 +100,7 @@ "target": "com.amazonaws.iotsecuretunneling#DeleteFlag", "traits": { "smithy.api#box": {}, - "smithy.api#documentation": "

When set to true, AWS IoT Secure Tunneling deletes the tunnel data\n\t\t\timmediately.

", + "smithy.api#documentation": "

When set to true, IoT Secure Tunneling deletes the tunnel data\n\t\t\timmediately.

", "smithy.api#httpQuery": "delete" } } @@ -146,7 +165,7 @@ } ], "traits": { - "smithy.api#documentation": "

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

", + "smithy.api#documentation": "

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

\n\t\t

Requires permission to access the DescribeTunnel action.

", "smithy.api#http": { "method": "GET", "uri": "/tunnels/{tunnelId}", @@ -181,7 +200,7 @@ "com.amazonaws.iotsecuretunneling#Description": { "type": "string", "traits": { - "smithy.api#pattern": "[^\\p{C}]{1,2048}" + "smithy.api#pattern": "^[^\\p{C}]{1,2048}$" } }, "com.amazonaws.iotsecuretunneling#DestinationConfig": { @@ -196,7 +215,7 @@ "services": { "target": "com.amazonaws.iotsecuretunneling#ServiceList", "traits": { - "smithy.api#documentation": "

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

", + "smithy.api#documentation": "

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

", "smithy.api#required": {} } } @@ -210,6 +229,21 @@ }, "com.amazonaws.iotsecuretunneling#IoTSecuredTunneling": { "type": "service", + "traits": { + "aws.api#service": { + "sdkId": "IoTSecureTunneling", + "arnNamespace": "iotsecuredtunneling", + "cloudFormationName": "IoTSecureTunneling", + "cloudTrailEventSource": "iotsecuretunneling.amazonaws.com", + "endpointPrefix": "api.tunneling.iot" + }, + "aws.auth#sigv4": { + "name": "iotsecuredtunneling" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "IoT Secure Tunneling\n\t\t

IoT Secure Tunneling creates remote connections to devices deployed in the\n\t\t\tfield.

\n\t\t

For more information about how IoT Secure Tunneling works, see IoT\n\t\t\t\tSecure Tunneling.

", + "smithy.api#title": "AWS IoT Secure Tunneling" + }, "version": "2018-10-05", "operations": [ { @@ -227,28 +261,16 @@ { "target": "com.amazonaws.iotsecuretunneling#OpenTunnel" }, + { + "target": "com.amazonaws.iotsecuretunneling#RotateTunnelAccessToken" + }, { "target": "com.amazonaws.iotsecuretunneling#TagResource" }, { "target": "com.amazonaws.iotsecuretunneling#UntagResource" } - ], - "traits": { - "aws.api#service": { - "sdkId": "IoTSecureTunneling", - "arnNamespace": "iotsecuredtunneling", - "cloudFormationName": "IoTSecureTunneling", - "cloudTrailEventSource": "iotsecuretunneling.amazonaws.com", - "endpointPrefix": "api.tunneling.iot" - }, - "aws.auth#sigv4": { - "name": "iotsecuredtunneling" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "AWS IoT Secure Tunneling\n\t\t

AWS IoT Secure Tunnling enables you to create remote connections to devices\n\t\t\tdeployed in the field.

\n\t\t\n\t\t

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

", - "smithy.api#title": "AWS IoT Secure Tunneling" - } + ] }, "com.amazonaws.iotsecuretunneling#LimitExceededException": { "type": "structure", @@ -258,6 +280,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "LimitExceededException", + "httpResponseCode": 403 + }, "smithy.api#documentation": "

Thrown when a tunnel limit is exceeded.

", "smithy.api#error": "client", "smithy.api#httpError": 403 @@ -318,7 +344,7 @@ "target": "com.amazonaws.iotsecuretunneling#ListTunnelsResponse" }, "traits": { - "smithy.api#documentation": "

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

", + "smithy.api#documentation": "

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

\n\t\t

Requires permission to access the ListTunnels action.

", "smithy.api#http": { "method": "GET", "uri": "/tunnels", @@ -352,7 +378,7 @@ "nextToken": { "target": "com.amazonaws.iotsecuretunneling#NextToken", "traits": { - "smithy.api#documentation": "

A token to retrieve the next set of results.

", + "smithy.api#documentation": "

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

", "smithy.api#httpQuery": "nextToken" } } @@ -364,13 +390,13 @@ "tunnelSummaries": { "target": "com.amazonaws.iotsecuretunneling#TunnelSummaryList", "traits": { - "smithy.api#documentation": "

A short description of the tunnels in an AWS account.

" + "smithy.api#documentation": "

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

" } }, "nextToken": { "target": "com.amazonaws.iotsecuretunneling#NextToken", "traits": { - "smithy.api#documentation": "

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

" + "smithy.api#documentation": "

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

" } } } @@ -387,7 +413,7 @@ "com.amazonaws.iotsecuretunneling#NextToken": { "type": "string", "traits": { - "smithy.api#pattern": "[a-zA-Z0-9_=-]{1,4096}" + "smithy.api#pattern": "^[a-zA-Z0-9_=-]{1,4096}$" } }, "com.amazonaws.iotsecuretunneling#OpenTunnel": { @@ -404,7 +430,7 @@ } ], "traits": { - "smithy.api#documentation": "

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

", + "smithy.api#documentation": "

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

\n\t\t

Requires permission to access the OpenTunnel action.

", "smithy.api#http": { "method": "POST", "uri": "/tunnels", @@ -453,19 +479,19 @@ "tunnelArn": { "target": "com.amazonaws.iotsecuretunneling#TunnelArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name for the tunnel. The tunnel ARN format is\n\t\t\t\tarn:aws:tunnel:::tunnel/\n

" + "smithy.api#documentation": "

The Amazon Resource Name for the tunnel.

" } }, "sourceAccessToken": { "target": "com.amazonaws.iotsecuretunneling#ClientAccessToken", "traits": { - "smithy.api#documentation": "

The access token the source local proxy uses to connect to AWS IoT Secure\n\t\t\tTunneling.

" + "smithy.api#documentation": "

The access token the source local proxy uses to connect to IoT Secure\n\t\t\tTunneling.

" } }, "destinationAccessToken": { "target": "com.amazonaws.iotsecuretunneling#ClientAccessToken", "traits": { - "smithy.api#documentation": "

The access token the destination local proxy uses to connect to AWS IoT Secure\n\t\t\tTunneling.

" + "smithy.api#documentation": "

The access token the destination local proxy uses to connect to IoT Secure\n\t\t\tTunneling.

" } } } @@ -478,11 +504,83 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "ResourceNotFoundException", + "httpResponseCode": 404 + }, "smithy.api#documentation": "

Thrown when an operation is attempted on a resource that does not exist.

", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, + "com.amazonaws.iotsecuretunneling#RotateTunnelAccessToken": { + "type": "operation", + "input": { + "target": "com.amazonaws.iotsecuretunneling#RotateTunnelAccessTokenRequest" + }, + "output": { + "target": "com.amazonaws.iotsecuretunneling#RotateTunnelAccessTokenResponse" + }, + "errors": [ + { + "target": "com.amazonaws.iotsecuretunneling#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "

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

\n\t\t

Requires permission to access the RotateTunnelAccessToken action.

\n\t\t \n\t\t\t

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

\n\t\t
", + "smithy.api#http": { + "method": "POST", + "uri": "/tunnel/{tunnelId}/rotate", + "code": 200 + } + } + }, + "com.amazonaws.iotsecuretunneling#RotateTunnelAccessTokenRequest": { + "type": "structure", + "members": { + "tunnelId": { + "target": "com.amazonaws.iotsecuretunneling#TunnelId", + "traits": { + "smithy.api#documentation": "

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

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "clientMode": { + "target": "com.amazonaws.iotsecuretunneling#ClientMode", + "traits": { + "smithy.api#documentation": "

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

", + "smithy.api#required": {} + } + }, + "destinationConfig": { + "target": "com.amazonaws.iotsecuretunneling#DestinationConfig" + } + } + }, + "com.amazonaws.iotsecuretunneling#RotateTunnelAccessTokenResponse": { + "type": "structure", + "members": { + "tunnelArn": { + "target": "com.amazonaws.iotsecuretunneling#TunnelArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name for the tunnel.

" + } + }, + "sourceAccessToken": { + "target": "com.amazonaws.iotsecuretunneling#ClientAccessToken", + "traits": { + "smithy.api#documentation": "

The client access token that the source local proxy uses to connect to IoT Secure\n\t\t\tTunneling.

" + } + }, + "destinationAccessToken": { + "target": "com.amazonaws.iotsecuretunneling#ClientAccessToken", + "traits": { + "smithy.api#documentation": "

The client access token that the destination local proxy uses to connect to IoT\n\t\t\tSecure Tunneling.

" + } + } + } + }, "com.amazonaws.iotsecuretunneling#Service": { "type": "string", "traits": { @@ -490,7 +588,7 @@ "min": 1, "max": 128 }, - "smithy.api#pattern": "[a-zA-Z0-9:_-]+" + "smithy.api#pattern": "^[a-zA-Z0-9:_-]+$" } }, "com.amazonaws.iotsecuretunneling#ServiceList": { @@ -622,7 +720,7 @@ "min": 1, "max": 128 }, - "smithy.api#pattern": "[a-zA-Z0-9:_-]+" + "smithy.api#pattern": "^[a-zA-Z0-9:_-]+$" } }, "com.amazonaws.iotsecuretunneling#TimeoutConfig": { @@ -661,7 +759,7 @@ "tunnelArn": { "target": "com.amazonaws.iotsecuretunneling#TunnelArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a tunnel. The tunnel ARN format is\n\t\t\t\tarn:aws:tunnel:::tunnel/\n

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a tunnel.

" } }, "status": { @@ -735,7 +833,7 @@ "com.amazonaws.iotsecuretunneling#TunnelId": { "type": "string", "traits": { - "smithy.api#pattern": "[a-zA-Z0-9_\\-+=:]{1,128}" + "smithy.api#pattern": "^[a-zA-Z0-9_\\-+=:]{1,128}$" } }, "com.amazonaws.iotsecuretunneling#TunnelStatus": { @@ -765,7 +863,7 @@ "tunnelArn": { "target": "com.amazonaws.iotsecuretunneling#TunnelArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name of the tunnel. The tunnel ARN format is\n\t\t\t\tarn:aws:tunnel:::tunnel/\n

" + "smithy.api#documentation": "

The Amazon Resource Name of the tunnel.

" } }, "status": { diff --git a/codegen/sdk-codegen/aws-models/lightsail.json b/codegen/sdk-codegen/aws-models/lightsail.json index 3e888844b1f..595901aa36e 100644 --- a/codegen/sdk-codegen/aws-models/lightsail.json +++ b/codegen/sdk-codegen/aws-models/lightsail.json @@ -4575,7 +4575,7 @@ "tlsPolicyName": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#documentation": "

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

\n\n

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

\n\n

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

" + "smithy.api#documentation": "

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

\n\n

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

\n\n

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

" } } } @@ -10704,7 +10704,7 @@ } ], "traits": { - "smithy.api#documentation": "

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

\n\n

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

", + "smithy.api#documentation": "

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

\n\n

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

", "smithy.api#http": { "method": "POST", "uri": "/ls/api/2016-11-28/GetLoadBalancerTlsPolicies", @@ -14093,7 +14093,7 @@ "tlsPolicyName": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

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

\n\n

The following TLS security policy names are possible:

\n " + "smithy.api#documentation": "

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

" } } }, @@ -14681,7 +14681,7 @@ "name": { "target": "com.amazonaws.lightsail#ResourceName", "traits": { - "smithy.api#documentation": "

The name of the TLS security policy.

\n\n

The following TLS security policy names are possible:

\n\n \n\n

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

" + "smithy.api#documentation": "

The name of the TLS security policy.

" } }, "isDefault": { @@ -14699,7 +14699,7 @@ "protocols": { "target": "com.amazonaws.lightsail#StringList", "traits": { - "smithy.api#documentation": "

The protocols used in a given TLS security policy.

\n\n

The following protocols are possible:

\n " + "smithy.api#documentation": "

The protocols used in a given TLS security policy.

" } }, "ciphers": { @@ -14710,7 +14710,7 @@ } }, "traits": { - "smithy.api#documentation": "

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

\n\n

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

" + "smithy.api#documentation": "

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

\n\n

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

" } }, "com.amazonaws.lightsail#LoadBalancerTlsPolicyList": { @@ -19029,7 +19029,7 @@ "attributeValue": { "target": "com.amazonaws.lightsail#StringMax256", "traits": { - "smithy.api#documentation": "

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

\n

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

\n ", + "smithy.api#documentation": "

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

\n

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

\n ", "smithy.api#required": {} } } diff --git a/codegen/sdk-codegen/aws-models/ssm.json b/codegen/sdk-codegen/aws-models/ssm.json index 9f419c800c5..a5958e48793 100644 --- a/codegen/sdk-codegen/aws-models/ssm.json +++ b/codegen/sdk-codegen/aws-models/ssm.json @@ -886,6 +886,12 @@ "smithy.api#box": {}, "smithy.api#documentation": "

Number of days to wait after the scheduled day to run an association.

" } + }, + "TargetMaps": { + "target": "com.amazonaws.ssm#TargetMaps", + "traits": { + "smithy.api#documentation": "

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

" + } } }, "traits": { @@ -1084,6 +1090,12 @@ "smithy.api#box": {}, "smithy.api#documentation": "

Number of days to wait after the scheduled day to run an association.

" } + }, + "TargetMaps": { + "target": "com.amazonaws.ssm#TargetMaps", + "traits": { + "smithy.api#documentation": "

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

" + } } }, "traits": { @@ -1792,6 +1804,12 @@ "smithy.api#box": {}, "smithy.api#documentation": "

Number of days to wait after the scheduled day to run an association.

" } + }, + "TargetMaps": { + "target": "com.amazonaws.ssm#TargetMaps", + "traits": { + "smithy.api#documentation": "

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

" + } } }, "traits": { @@ -4286,6 +4304,9 @@ { "target": "com.amazonaws.ssm#InvalidTarget" }, + { + "target": "com.amazonaws.ssm#InvalidTargetMaps" + }, { "target": "com.amazonaws.ssm#UnsupportedPlatformType" } @@ -4333,6 +4354,9 @@ { "target": "com.amazonaws.ssm#InvalidTarget" }, + { + "target": "com.amazonaws.ssm#InvalidTargetMaps" + }, { "target": "com.amazonaws.ssm#UnsupportedPlatformType" } @@ -4473,6 +4497,12 @@ "smithy.api#box": {}, "smithy.api#documentation": "

Number of days to wait after the scheduled day to run an association.

" } + }, + "TargetMaps": { + "target": "com.amazonaws.ssm#TargetMaps", + "traits": { + "smithy.api#documentation": "

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

" + } } }, "traits": { @@ -4602,6 +4632,12 @@ "smithy.api#box": {}, "smithy.api#documentation": "

Number of days to wait after the scheduled day to run an association. For example, if you\n specified a cron schedule of cron(0 0 ? * THU#2 *), you could specify an offset of 3\n to run the association each Sunday after the second Thursday of the month. For more information\n about cron schedules for associations, see Reference: Cron\n and rate expressions for Systems Manager in the Amazon Web Services Systems Manager User Guide.

\n \n

To use offsets, you must specify the ApplyOnlyAtCronInterval parameter. This\n option tells the system not to run an association immediately after you create it.

\n
" } + }, + "TargetMaps": { + "target": "com.amazonaws.ssm#TargetMaps", + "traits": { + "smithy.api#documentation": "

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

" + } } } }, @@ -13547,6 +13583,22 @@ "smithy.api#error": "client" } }, + "com.amazonaws.ssm#InvalidTargetMaps": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.ssm#String" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "InvalidTargetMaps", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

TargetMap parameter isn't valid.

", + "smithy.api#error": "client" + } + }, "com.amazonaws.ssm#InvalidTypeNameException": { "type": "structure", "members": { @@ -24740,6 +24792,9 @@ { "target": "com.amazonaws.ssm#InvalidTarget" }, + { + "target": "com.amazonaws.ssm#InvalidTargetMaps" + }, { "target": "com.amazonaws.ssm#InvalidUpdate" }, @@ -24863,6 +24918,12 @@ "smithy.api#box": {}, "smithy.api#documentation": "

Number of days to wait after the scheduled day to run an association. For example, if you\n specified a cron schedule of cron(0 0 ? * THU#2 *), you could specify an offset of 3\n to run the association each Sunday after the second Thursday of the month. For more information\n about cron schedules for associations, see Reference: Cron\n and rate expressions for Systems Manager in the Amazon Web Services Systems Manager User Guide.

\n \n

To use offsets, you must specify the ApplyOnlyAtCronInterval parameter. This\n option tells the system not to run an association immediately after you create it.

\n
" } + }, + "TargetMaps": { + "target": "com.amazonaws.ssm#TargetMaps", + "traits": { + "smithy.api#documentation": "

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

" + } } } },