From f5a08768ef820ff5efd62a49ba50c61c9ca5dbcb Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Wed, 8 Nov 2023 19:09:00 +0000 Subject: [PATCH] Update API model --- codegen/sdk-codegen/aws-models/connect.json | 14 +- .../sdk-codegen/aws-models/connectcases.json | 37 +- codegen/sdk-codegen/aws-models/datasync.json | 4 +- codegen/sdk-codegen/aws-models/guardduty.json | 409 ++++++- codegen/sdk-codegen/aws-models/lambda.json | 18 +- .../sdk-codegen/aws-models/lex-models-v2.json | 12 + codegen/sdk-codegen/aws-models/omics.json | 34 + codegen/sdk-codegen/aws-models/rds.json | 15 +- .../aws-models/redshift-serverless.json | 18 + .../sdk-codegen/aws-models/resiliencehub.json | 127 +- codegen/sdk-codegen/aws-models/sqs.json | 1039 ++++++++++++++--- 11 files changed, 1503 insertions(+), 224 deletions(-) diff --git a/codegen/sdk-codegen/aws-models/connect.json b/codegen/sdk-codegen/aws-models/connect.json index b495949f60e..1a0e02c625a 100644 --- a/codegen/sdk-codegen/aws-models/connect.json +++ b/codegen/sdk-codegen/aws-models/connect.json @@ -2072,17 +2072,6 @@ "expect": { "error": "Invalid Configuration: Missing Region" } - }, - { - "documentation": "Partition doesn't support DualStack", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": true - } } ], "version": "1.0" @@ -25226,7 +25215,8 @@ "InstanceId": { "target": "com.amazonaws.connect#InstanceId", "traits": { - "smithy.api#documentation": "

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

\n \n

InstanceID is a required field. The \"Required: No\" below is incorrect.

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

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

\n \n

InstanceID is a required field. The \"Required: No\" below is incorrect.

\n
", + "smithy.api#required": {} } }, "NextToken": { diff --git a/codegen/sdk-codegen/aws-models/connectcases.json b/codegen/sdk-codegen/aws-models/connectcases.json index f90d2d43fe4..07c68c56e35 100644 --- a/codegen/sdk-codegen/aws-models/connectcases.json +++ b/codegen/sdk-codegen/aws-models/connectcases.json @@ -1644,7 +1644,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a related item (comments, tasks, and contacts) and associates it with a\n case.

\n \n

A Related Item is a resource that is associated with a case. It may or may not have an\n external identifier linking it to an external resource (for example, a\n contactArn). All Related Items have their own internal identifier, the\n relatedItemArn. Examples of related items include comments and\n contacts.

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

Creates a related item (comments, tasks, and contacts) and associates it with a\n case.

\n \n \n \n ", "smithy.api#http": { "uri": "/domains/{domainId}/cases/{caseId}/related-items/", "method": "POST" @@ -1684,6 +1684,12 @@ "smithy.api#documentation": "

The content of a related item to be created.

", "smithy.api#required": {} } + }, + "performedBy": { + "target": "com.amazonaws.connectcases#UserUnion", + "traits": { + "smithy.api#documentation": "

Represents the creator of the related item.

" + } } } }, @@ -4372,6 +4378,12 @@ "traits": { "smithy.api#documentation": "

A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.

" } + }, + "performedBy": { + "target": "com.amazonaws.connectcases#UserUnion", + "traits": { + "smithy.api#documentation": "

Represents the creator of the related item.

" + } } }, "traits": { @@ -5062,6 +5074,29 @@ "type": "structure", "members": {} }, + "com.amazonaws.connectcases#UserArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.connectcases#UserUnion": { + "type": "union", + "members": { + "userArn": { + "target": "com.amazonaws.connectcases#UserArn", + "traits": { + "smithy.api#documentation": "

Represents the Amazon Connect ARN of the user.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Represents the identity of the person who performed the action.

" + } + }, "com.amazonaws.connectcases#ValidationException": { "type": "structure", "members": { diff --git a/codegen/sdk-codegen/aws-models/datasync.json b/codegen/sdk-codegen/aws-models/datasync.json index 20462fc5c7a..b208bc4d152 100644 --- a/codegen/sdk-codegen/aws-models/datasync.json +++ b/codegen/sdk-codegen/aws-models/datasync.json @@ -6728,10 +6728,10 @@ "type": "string", "traits": { "smithy.api#length": { - "min": 1, + "min": 0, "max": 200 }, - "smithy.api#pattern": "^.+$" + "smithy.api#pattern": "^.*$" } }, "com.amazonaws.datasync#ObjectStorageBucketName": { diff --git a/codegen/sdk-codegen/aws-models/guardduty.json b/codegen/sdk-codegen/aws-models/guardduty.json index bf857dfc210..1b7e9bc29f1 100644 --- a/codegen/sdk-codegen/aws-models/guardduty.json +++ b/codegen/sdk-codegen/aws-models/guardduty.json @@ -417,6 +417,27 @@ "smithy.api#documentation": "

Information about RDS_LOGIN_ATTEMPT action described in this finding.

", "smithy.api#jsonName": "rdsLoginAttemptAction" } + }, + "KubernetesPermissionCheckedDetails": { + "target": "com.amazonaws.guardduty#KubernetesPermissionCheckedDetails", + "traits": { + "smithy.api#documentation": "

Information whether the user has the permission to use a specific Kubernetes API.

", + "smithy.api#jsonName": "kubernetesPermissionCheckedDetails" + } + }, + "KubernetesRoleBindingDetails": { + "target": "com.amazonaws.guardduty#KubernetesRoleBindingDetails", + "traits": { + "smithy.api#documentation": "

Information about the role binding that grants the permission defined in a Kubernetes role.

", + "smithy.api#jsonName": "kubernetesRoleBindingDetails" + } + }, + "KubernetesRoleDetails": { + "target": "com.amazonaws.guardduty#KubernetesRoleDetails", + "traits": { + "smithy.api#documentation": "

Information about the Kubernetes role name and role type.

", + "smithy.api#jsonName": "kubernetesRoleDetails" + } } }, "traits": { @@ -547,6 +568,105 @@ "target": "com.amazonaws.guardduty#String" } }, + "com.amazonaws.guardduty#Anomaly": { + "type": "structure", + "members": { + "Profiles": { + "target": "com.amazonaws.guardduty#AnomalyProfiles", + "traits": { + "smithy.api#documentation": "

Information about the types of profiles.

", + "smithy.api#jsonName": "profiles" + } + }, + "Unusual": { + "target": "com.amazonaws.guardduty#AnomalyUnusual", + "traits": { + "smithy.api#documentation": "

Information about the behavior of the anomalies.

", + "smithy.api#jsonName": "unusual" + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains information about the anomalies.

" + } + }, + "com.amazonaws.guardduty#AnomalyObject": { + "type": "structure", + "members": { + "ProfileType": { + "target": "com.amazonaws.guardduty#ProfileType", + "traits": { + "smithy.api#documentation": "

The type of behavior of the profile.

", + "smithy.api#jsonName": "profileType" + } + }, + "ProfileSubtype": { + "target": "com.amazonaws.guardduty#ProfileSubtype", + "traits": { + "smithy.api#documentation": "

The frequency of the anomaly.

", + "smithy.api#jsonName": "profileSubtype" + } + }, + "Observations": { + "target": "com.amazonaws.guardduty#Observations", + "traits": { + "smithy.api#documentation": "

The recorded value.

", + "smithy.api#jsonName": "observations" + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains information about the unusual anomalies.

" + } + }, + "com.amazonaws.guardduty#AnomalyProfileFeatureObjects": { + "type": "list", + "member": { + "target": "com.amazonaws.guardduty#AnomalyObject" + } + }, + "com.amazonaws.guardduty#AnomalyProfileFeatures": { + "type": "map", + "key": { + "target": "com.amazonaws.guardduty#String" + }, + "value": { + "target": "com.amazonaws.guardduty#AnomalyProfileFeatureObjects" + } + }, + "com.amazonaws.guardduty#AnomalyProfiles": { + "type": "map", + "key": { + "target": "com.amazonaws.guardduty#String" + }, + "value": { + "target": "com.amazonaws.guardduty#AnomalyProfileFeatures" + } + }, + "com.amazonaws.guardduty#AnomalyUnusual": { + "type": "structure", + "members": { + "Behavior": { + "target": "com.amazonaws.guardduty#Behavior", + "traits": { + "smithy.api#documentation": "

The behavior of the anomalous activity that caused GuardDuty to \n generate the finding.

", + "smithy.api#jsonName": "behavior" + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains information about the behavior of the anomaly that is new to GuardDuty.

" + } + }, + "com.amazonaws.guardduty#AnomalyUnusualBehaviorFeature": { + "type": "map", + "key": { + "target": "com.amazonaws.guardduty#String" + }, + "value": { + "target": "com.amazonaws.guardduty#AnomalyObject" + } + }, "com.amazonaws.guardduty#ArchiveFindings": { "type": "operation", "input": { @@ -723,6 +843,15 @@ "smithy.api#httpError": 400 } }, + "com.amazonaws.guardduty#Behavior": { + "type": "map", + "key": { + "target": "com.amazonaws.guardduty#String" + }, + "value": { + "target": "com.amazonaws.guardduty#AnomalyUnusualBehaviorFeature" + } + }, "com.amazonaws.guardduty#BlockPublicAccess": { "type": "structure", "members": { @@ -1639,7 +1768,7 @@ "target": "com.amazonaws.guardduty#FindingCriteria", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

Represents the criteria to be used in the filter for querying findings.

\n

You can only use the following attributes to query findings:

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

Represents the criteria to be used in the filter for querying findings.

\n

You can only use the following attributes to query findings:

\n ", "smithy.api#jsonName": "findingCriteria", "smithy.api#required": {} } @@ -3299,6 +3428,21 @@ "target": "com.amazonaws.guardduty#Destination" } }, + "com.amazonaws.guardduty#Detection": { + "type": "structure", + "members": { + "Anomaly": { + "target": "com.amazonaws.guardduty#Anomaly", + "traits": { + "smithy.api#documentation": "

The details about the anomalous activity that caused GuardDuty to \n generate the finding.

", + "smithy.api#jsonName": "anomaly" + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains information about the detected behavior.

" + } + }, "com.amazonaws.guardduty#DetectorAdditionalConfiguration": { "type": "structure", "members": { @@ -7365,6 +7509,28 @@ "smithy.api#documentation": "

Contains information about the EC2 instance profile.

" } }, + "com.amazonaws.guardduty#ImpersonatedUser": { + "type": "structure", + "members": { + "Username": { + "target": "com.amazonaws.guardduty#String", + "traits": { + "smithy.api#documentation": "

Information about the username that was being impersonated.

", + "smithy.api#jsonName": "username" + } + }, + "Groups": { + "target": "com.amazonaws.guardduty#Groups", + "traits": { + "smithy.api#documentation": "

The group to which the user name belongs.

", + "smithy.api#jsonName": "groups" + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains information about the impersonated user.

" + } + }, "com.amazonaws.guardduty#InstanceArn": { "type": "string", "traits": { @@ -7804,6 +7970,34 @@ "smithy.api#documentation": "

Parameters related to the Kubernetes API call action.

", "smithy.api#jsonName": "parameters" } + }, + "Resource": { + "target": "com.amazonaws.guardduty#String", + "traits": { + "smithy.api#documentation": "

The resource component in the Kubernetes API call action.

", + "smithy.api#jsonName": "resource" + } + }, + "Subresource": { + "target": "com.amazonaws.guardduty#String", + "traits": { + "smithy.api#documentation": "

The name of the sub-resource in the Kubernetes API call action.

", + "smithy.api#jsonName": "subresource" + } + }, + "Namespace": { + "target": "com.amazonaws.guardduty#String", + "traits": { + "smithy.api#documentation": "

The name of the namespace where the Kubernetes API call action takes place.

", + "smithy.api#jsonName": "namespace" + } + }, + "ResourceName": { + "target": "com.amazonaws.guardduty#String", + "traits": { + "smithy.api#documentation": "

The name of the resource in the Kubernetes API call action.

", + "smithy.api#jsonName": "resourceName" + } } }, "traits": { @@ -7915,6 +8109,114 @@ "smithy.api#documentation": "

Details about Kubernetes resources such as a Kubernetes user or workload resource involved\n in a Kubernetes finding.

" } }, + "com.amazonaws.guardduty#KubernetesPermissionCheckedDetails": { + "type": "structure", + "members": { + "Verb": { + "target": "com.amazonaws.guardduty#String", + "traits": { + "smithy.api#documentation": "

The verb component of the Kubernetes API call. For example, when you check whether or not you have the permission\n to call the CreatePod API, the verb component will be Create.

", + "smithy.api#jsonName": "verb" + } + }, + "Resource": { + "target": "com.amazonaws.guardduty#String", + "traits": { + "smithy.api#documentation": "

The Kubernetes resource with which your Kubernetes API call will interact.

", + "smithy.api#jsonName": "resource" + } + }, + "Namespace": { + "target": "com.amazonaws.guardduty#String", + "traits": { + "smithy.api#documentation": "

The namespace where the Kubernetes API action will take place.

", + "smithy.api#jsonName": "namespace" + } + }, + "Allowed": { + "target": "com.amazonaws.guardduty#Boolean", + "traits": { + "smithy.api#documentation": "

Information whether the user has the permission to call the Kubernetes API.

", + "smithy.api#jsonName": "allowed" + } + } + }, + "traits": { + "smithy.api#documentation": "

Information about the Kubernetes API for which you check if you have permission to call.

" + } + }, + "com.amazonaws.guardduty#KubernetesRoleBindingDetails": { + "type": "structure", + "members": { + "Kind": { + "target": "com.amazonaws.guardduty#String", + "traits": { + "smithy.api#documentation": "

The kind of the role. For role binding, this value will be RoleBinding.

", + "smithy.api#jsonName": "kind" + } + }, + "Name": { + "target": "com.amazonaws.guardduty#String", + "traits": { + "smithy.api#documentation": "

The name of the RoleBinding.

", + "smithy.api#jsonName": "name" + } + }, + "Uid": { + "target": "com.amazonaws.guardduty#String", + "traits": { + "smithy.api#documentation": "

The unique identifier of the role binding.

", + "smithy.api#jsonName": "uid" + } + }, + "RoleRefName": { + "target": "com.amazonaws.guardduty#String", + "traits": { + "smithy.api#documentation": "

The name of the role being referenced. This must match the name of the Role\n or ClusterRole that you want to bind to.

", + "smithy.api#jsonName": "roleRefName" + } + }, + "RoleRefKind": { + "target": "com.amazonaws.guardduty#String", + "traits": { + "smithy.api#documentation": "

The type of the role being referenced. This could be either Role or \n ClusterRole.

", + "smithy.api#jsonName": "roleRefKind" + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains information about the role binding that grants the permission defined in a Kubernetes role.

" + } + }, + "com.amazonaws.guardduty#KubernetesRoleDetails": { + "type": "structure", + "members": { + "Kind": { + "target": "com.amazonaws.guardduty#String", + "traits": { + "smithy.api#documentation": "

The kind of role. For this API, the value of kind will be Role.

", + "smithy.api#jsonName": "kind" + } + }, + "Name": { + "target": "com.amazonaws.guardduty#String", + "traits": { + "smithy.api#documentation": "

The name of the Kubernetes role.

", + "smithy.api#jsonName": "name" + } + }, + "Uid": { + "target": "com.amazonaws.guardduty#String", + "traits": { + "smithy.api#documentation": "

The unique identifier of the Kubernetes role name.

", + "smithy.api#jsonName": "uid" + } + } + }, + "traits": { + "smithy.api#documentation": "

Information about the Kubernetes role name and role type.

" + } + }, "com.amazonaws.guardduty#KubernetesUserDetails": { "type": "structure", "members": { @@ -7945,6 +8247,13 @@ "smithy.api#documentation": "

Entity that assumes the IAM role \n when Kubernetes RBAC permissions are assigned to that role.

", "smithy.api#jsonName": "sessionName" } + }, + "ImpersonatedUser": { + "target": "com.amazonaws.guardduty#ImpersonatedUser", + "traits": { + "smithy.api#documentation": "

Information about the impersonated user.

", + "smithy.api#jsonName": "impersonatedUser" + } } }, "traits": { @@ -8002,6 +8311,27 @@ "smithy.api#documentation": "

Volumes used by the Kubernetes workload.

", "smithy.api#jsonName": "volumes" } + }, + "ServiceAccountName": { + "target": "com.amazonaws.guardduty#String", + "traits": { + "smithy.api#documentation": "

The service account name that is associated with a Kubernetes workload.

", + "smithy.api#jsonName": "serviceAccountName" + } + }, + "HostIPC": { + "target": "com.amazonaws.guardduty#Boolean", + "traits": { + "smithy.api#documentation": "

Whether the host IPC flag is enabled for the pods in the workload.

", + "smithy.api#jsonName": "hostIPC" + } + }, + "HostPID": { + "target": "com.amazonaws.guardduty#Boolean", + "traits": { + "smithy.api#documentation": "

Whether the host PID flag is enabled for the pods in the workload.

", + "smithy.api#jsonName": "hostPID" + } } }, "traits": { @@ -8766,7 +9096,7 @@ "Members": { "target": "com.amazonaws.guardduty#Members", "traits": { - "smithy.api#documentation": "

A list of members.

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

A list of members.

\n \n

The values for email and invitedAt are available\n only if the member accounts are added by invitation.

\n
", "smithy.api#jsonName": "members" } }, @@ -9757,6 +10087,27 @@ "target": "com.amazonaws.guardduty#String" } }, + "com.amazonaws.guardduty#ObservationTexts": { + "type": "list", + "member": { + "target": "com.amazonaws.guardduty#String" + } + }, + "com.amazonaws.guardduty#Observations": { + "type": "structure", + "members": { + "Text": { + "target": "com.amazonaws.guardduty#ObservationTexts", + "traits": { + "smithy.api#documentation": "

The text that was unusual.

", + "smithy.api#jsonName": "text" + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains information about the observed behavior.

" + } + }, "com.amazonaws.guardduty#OrderBy": { "type": "enum", "members": { @@ -10520,6 +10871,46 @@ "target": "com.amazonaws.guardduty#ProductCode" } }, + "com.amazonaws.guardduty#ProfileSubtype": { + "type": "enum", + "members": { + "FREQUENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FREQUENT" + } + }, + "INFREQUENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INFREQUENT" + } + }, + "UNSEEN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNSEEN" + } + }, + "RARE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RARE" + } + } + } + }, + "com.amazonaws.guardduty#ProfileType": { + "type": "enum", + "members": { + "FREQUENCY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FREQUENCY" + } + } + } + }, "com.amazonaws.guardduty#PublicAccess": { "type": "structure", "members": { @@ -11648,6 +12039,13 @@ "smithy.api#documentation": "

Whether the container is privileged.

", "smithy.api#jsonName": "privileged" } + }, + "AllowPrivilegeEscalation": { + "target": "com.amazonaws.guardduty#Boolean", + "traits": { + "smithy.api#documentation": "

Whether or not a container or a Kubernetes pod is allowed to gain more privileges than its parent process.

", + "smithy.api#jsonName": "allowPrivilegeEscalation" + } } }, "traits": { @@ -11782,6 +12180,13 @@ "smithy.api#documentation": "

Information about the process and any required context values for a specific\n finding

", "smithy.api#jsonName": "runtimeDetails" } + }, + "Detection": { + "target": "com.amazonaws.guardduty#Detection", + "traits": { + "smithy.api#documentation": "

Contains information about the detected unusual behavior.

", + "smithy.api#jsonName": "detection" + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/lambda.json b/codegen/sdk-codegen/aws-models/lambda.json index 794f4079a77..57f7d88b2f9 100644 --- a/codegen/sdk-codegen/aws-models/lambda.json +++ b/codegen/sdk-codegen/aws-models/lambda.json @@ -2811,7 +2811,7 @@ "EphemeralStorage": { "target": "com.amazonaws.lambda#EphemeralStorage", "traits": { - "smithy.api#documentation": "

The size of the function's /tmp directory in MB. The default value is 512, but can be any whole\n number between 512 and 10,240 MB.

" + "smithy.api#documentation": "

The size of the function's /tmp directory in MB. The default value is 512, but can be any whole\n number between 512 and 10,240 MB. For more information, see Configuring ephemeral storage (console).

" } }, "SnapStart": { @@ -3855,7 +3855,7 @@ } }, "traits": { - "smithy.api#documentation": "

The size of the function's /tmp directory in MB. The default value is 512, but it can be any\n whole number between 512 and 10,240 MB.

" + "smithy.api#documentation": "

The size of the function's /tmp directory in MB. The default value is 512, but can be any whole\n number between 512 and 10,240 MB. For more information, see Configuring ephemeral storage (console).

" } }, "com.amazonaws.lambda#EphemeralStorageSize": { @@ -4452,7 +4452,7 @@ "EphemeralStorage": { "target": "com.amazonaws.lambda#EphemeralStorage", "traits": { - "smithy.api#documentation": "

The size of the function’s /tmp directory in MB. The default value is 512, but it can be any\n whole number between 512 and 10,240 MB.

" + "smithy.api#documentation": "

The size of the function's /tmp directory in MB. The default value is 512, but can be any whole\n number between 512 and 10,240 MB. For more information, see Configuring ephemeral storage (console).

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

Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or\n asynchronously. To invoke a function asynchronously, set InvocationType to Event.

\n

For synchronous invocation,\n details about the function response, including errors, are included in the response body and headers. For either\n invocation type, you can find more information in the execution log and trace.

\n

When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type,\n client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an\n error, Lambda executes the function up to two more times. For more information, see Error handling and automatic retries in\n Lambda.

\n

For asynchronous invocation,\n Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity\n to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple\n times, even if no error occurs. To retain events that were not processed, configure your function with a dead-letter queue.

\n

The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that\n prevent your function from executing, such as permissions errors, quota errors, or issues with your function's code and\n configuration. For example, Lambda returns TooManyRequestsException if running the\n function would cause you to exceed a concurrency limit at either the account level\n (ConcurrentInvocationLimitExceeded) or function level\n (ReservedFunctionConcurrentInvocationLimitExceeded).

\n

For functions with a long timeout, your client might disconnect during synchronous invocation while it waits\n for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long\n connections with timeout or keep-alive settings.

\n

This operation requires permission for the lambda:InvokeFunction action. For details on how to set up\n permissions for cross-account invocations, see Granting function\n access to other accounts.

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

Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or\n asynchronously. By default, Lambda invokes your function synchronously (i.e. theInvocationType\n is RequestResponse). To invoke a function asynchronously, set InvocationType to\n Event. Lambda passes the ClientContext object to your function for\n synchronous invocations only.

\n

For synchronous invocation,\n details about the function response, including errors, are included in the response body and headers. For either\n invocation type, you can find more information in the execution log and trace.

\n

When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type,\n client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an\n error, Lambda executes the function up to two more times. For more information, see Error handling and automatic retries in\n Lambda.

\n

For asynchronous invocation,\n Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity\n to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple\n times, even if no error occurs. To retain events that were not processed, configure your function with a dead-letter queue.

\n

The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that\n prevent your function from executing, such as permissions errors, quota errors, or issues with your function's code and\n configuration. For example, Lambda returns TooManyRequestsException if running the\n function would cause you to exceed a concurrency limit at either the account level\n (ConcurrentInvocationLimitExceeded) or function level\n (ReservedFunctionConcurrentInvocationLimitExceeded).

\n

For functions with a long timeout, your client might disconnect during synchronous invocation while it waits\n for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long\n connections with timeout or keep-alive settings.

\n

This operation requires permission for the lambda:InvokeFunction action. For details on how to set up\n permissions for cross-account invocations, see Granting function\n access to other accounts.

", "smithy.api#http": { "method": "POST", "uri": "/2015-03-31/functions/{FunctionName}/invocations", @@ -6490,7 +6490,7 @@ ], "traits": { "smithy.api#deprecated": {}, - "smithy.api#documentation": "\n

For asynchronous function invocation, use Invoke.

\n
\n

Invokes a function asynchronously.

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

For asynchronous function invocation, use Invoke.

\n
\n

Invokes a function asynchronously.

\n \n

If you do use the InvokeAsync action, note that it doesn't support the use of X-Ray active tracing. Trace ID is not \n propagated to the function, even if X-Ray active tracing is turned on.

\n
", "smithy.api#http": { "method": "POST", "uri": "/2014-11-13/functions/{FunctionName}/invoke-async", @@ -9952,6 +9952,12 @@ "traits": { "smithy.api#enumValue": "python3.11" } + }, + "nodejs20x": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "nodejs20.x" + } } } }, @@ -11472,7 +11478,7 @@ "EphemeralStorage": { "target": "com.amazonaws.lambda#EphemeralStorage", "traits": { - "smithy.api#documentation": "

The size of the function's /tmp directory in MB. The default value is 512, but can be any whole\n number between 512 and 10,240 MB.

" + "smithy.api#documentation": "

The size of the function's /tmp directory in MB. The default value is 512, but can be any whole\n number between 512 and 10,240 MB. For more information, see Configuring ephemeral storage (console).

" } }, "SnapStart": { diff --git a/codegen/sdk-codegen/aws-models/lex-models-v2.json b/codegen/sdk-codegen/aws-models/lex-models-v2.json index 634d6771f9a..243d81c568d 100644 --- a/codegen/sdk-codegen/aws-models/lex-models-v2.json +++ b/codegen/sdk-codegen/aws-models/lex-models-v2.json @@ -2236,6 +2236,12 @@ "traits": { "smithy.api#required": {} } + }, + "selectiveLoggingEnabled": { + "target": "com.amazonaws.lexmodelsv2#BoxedBoolean", + "traits": { + "smithy.api#documentation": "

The option to enable selective conversation log capture for audio.

" + } } }, "traits": { @@ -20476,6 +20482,12 @@ "traits": { "smithy.api#required": {} } + }, + "selectiveLoggingEnabled": { + "target": "com.amazonaws.lexmodelsv2#BoxedBoolean", + "traits": { + "smithy.api#documentation": "

The option to enable selective conversation log capture for text.

" + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/omics.json b/codegen/sdk-codegen/aws-models/omics.json index 3f40c2e5c94..83bad9f88f3 100644 --- a/codegen/sdk-codegen/aws-models/omics.json +++ b/codegen/sdk-codegen/aws-models/omics.json @@ -6340,6 +6340,18 @@ "traits": { "smithy.api#documentation": "

\n The location of the run log. \n

" } + }, + "uuid": { + "target": "com.amazonaws.omics#RunUuid", + "traits": { + "smithy.api#documentation": "

\n The universally unique identifier for a run. \n

" + } + }, + "runOutputUri": { + "target": "com.amazonaws.omics#RunOutputUri", + "traits": { + "smithy.api#documentation": "

\n The destination for workflow outputs.\n

" + } } }, "traits": { @@ -13038,6 +13050,16 @@ "smithy.api#timestampFormat": "date-time" } }, + "com.amazonaws.omics#RunUuid": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "^[\\p{L}||\\p{M}||\\p{Z}||\\p{S}||\\p{N}||\\p{P}]+$" + } + }, "com.amazonaws.omics#S3Destination": { "type": "string", "traits": { @@ -14498,6 +14520,18 @@ "traits": { "smithy.api#documentation": "

The run's tags.

" } + }, + "uuid": { + "target": "com.amazonaws.omics#RunUuid", + "traits": { + "smithy.api#documentation": "

\n The universally unique identifier for a run. \n

" + } + }, + "runOutputUri": { + "target": "com.amazonaws.omics#RunOutputUri", + "traits": { + "smithy.api#documentation": "

\n The destination for workflow outputs.\n

" + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/rds.json b/codegen/sdk-codegen/aws-models/rds.json index 2fe356d4c84..90dda782202 100644 --- a/codegen/sdk-codegen/aws-models/rds.json +++ b/codegen/sdk-codegen/aws-models/rds.json @@ -1966,17 +1966,6 @@ "expect": { "error": "Invalid Configuration: Missing Region" } - }, - { - "documentation": "Partition doesn't support DualStack", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": true - } } ], "version": "1.0" @@ -3803,13 +3792,13 @@ "SourceCustomDbEngineVersionIdentifier": { "target": "com.amazonaws.rds#String255", "traits": { - "smithy.api#documentation": "

Reserved for future use.

" + "smithy.api#documentation": "

The ARN of a CEV to use as a source for creating a new CEV. You can specify a different\n Amazon Machine Imagine (AMI) by using either Source or\n UseAwsProvidedLatestImage. You can't specify a different JSON manifest\n when you specify SourceCustomDbEngineVersionIdentifier.

" } }, "UseAwsProvidedLatestImage": { "target": "com.amazonaws.rds#BooleanOptional", "traits": { - "smithy.api#documentation": "

Reserved for future use.

" + "smithy.api#documentation": "

Specifies whether to use the latest service-provided Amazon Machine Image (AMI) for\n the CEV. If you specify UseAwsProvidedLatestImage, you can't also specify\n ImageId.

" } } }, diff --git a/codegen/sdk-codegen/aws-models/redshift-serverless.json b/codegen/sdk-codegen/aws-models/redshift-serverless.json index 99249b9c165..1d118ccc863 100644 --- a/codegen/sdk-codegen/aws-models/redshift-serverless.json +++ b/codegen/sdk-codegen/aws-models/redshift-serverless.json @@ -748,6 +748,12 @@ "traits": { "smithy.api#documentation": "

The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.

" } + }, + "maxCapacity": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is specified in RPUs.

" + } } }, "traits": { @@ -5361,6 +5367,12 @@ "traits": { "smithy.api#documentation": "

The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.

" } + }, + "maxCapacity": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is specified in RPUs.

" + } } }, "traits": { @@ -5718,6 +5730,12 @@ "traits": { "smithy.api#documentation": "

The patch version of your Amazon Redshift Serverless workgroup. For more information about patch versions, see\n Cluster versions for Amazon Redshift.

" } + }, + "maxCapacity": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is specified in RPUs.

" + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/resiliencehub.json b/codegen/sdk-codegen/aws-models/resiliencehub.json index eda4238cba5..e8899833b5a 100644 --- a/codegen/sdk-codegen/aws-models/resiliencehub.json +++ b/codegen/sdk-codegen/aws-models/resiliencehub.json @@ -180,6 +180,12 @@ "traits": { "smithy.api#documentation": "

List of Application Component names for the CloudWatch alarm recommendation.

" } + }, + "recommendationStatus": { + "target": "com.amazonaws.resiliencehub#RecommendationStatus", + "traits": { + "smithy.api#documentation": "

Status of the recommended Amazon CloudWatch alarm.

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

Creates an Resilience Hub application. An Resilience Hub application is a\n collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a Resilience Hub application,\n you provide an application name, resources from one or more CloudFormation stacks, Resource Groups, Terraform state files, AppRegistry applications, and an appropriate\n resiliency policy. In addition, you can also add resources that are located on Amazon Elastic Kubernetes Service (Amazon EKS) clusters as optional resources. For more information about the number of resources supported per application, see Service\n quotas.

\n

After you create an Resilience Hub application, you publish it so that you can run a resiliency\n assessment on it. You can then use recommendations from the assessment to improve resiliency\n by running another assessment, comparing results, and then iterating the process until you\n achieve your goals for recovery time objective (RTO) and recovery point objective\n (RPO).

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

Creates an Resilience Hub application. An Resilience Hub application is a\n collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a Resilience Hub application, you provide an\n application name, resources from one or more CloudFormation stacks, Resource Groups, Terraform state files, AppRegistry applications, and an appropriate\n resiliency policy. In addition, you can also add resources that are located on Amazon Elastic Kubernetes Service (Amazon EKS) clusters as optional resources. For more information\n about the number of resources supported per application, see Service\n quotas.

\n

After you create an Resilience Hub application, you publish it so that you can run a resiliency\n assessment on it. You can then use recommendations from the assessment to improve resiliency\n by running another assessment, comparing results, and then iterating the process until you\n achieve your goals for recovery time objective (RTO) and recovery point objective\n (RPO).

", "smithy.api#http": { "method": "POST", "uri": "/create-app", @@ -6697,6 +6703,12 @@ "smithy.api#documentation": "

Defines a logical resource identifier.

" } }, + "com.amazonaws.resiliencehub#Long": { + "type": "long", + "traits": { + "smithy.api#default": 0 + } + }, "com.amazonaws.resiliencehub#LongOptional": { "type": "long" }, @@ -6728,7 +6740,7 @@ "invokerRoleName": { "target": "com.amazonaws.resiliencehub#IamRoleName", "traits": { - "smithy.api#documentation": "

Existing Amazon Web Services\n IAM role name in the primary Amazon Web Services account that will be assumed by\n Resilience Hub Service Principle to obtain a read-only access to your application\n resources while running an assessment.

\n \n

You must have iam:passRole permission for this role while creating or\n updating the application.

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

Existing Amazon Web Services\n IAM role name in the primary Amazon Web Services account that will be assumed by\n Resilience Hub Service Principle to obtain a read-only access to your application\n resources while running an assessment.

\n \n \n " } }, "crossAccountRoleArns": { @@ -6798,7 +6810,7 @@ "resourceType": { "target": "com.amazonaws.resiliencehub#String255", "traits": { - "smithy.api#documentation": "

Type of resource.

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

The type of resource.

", "smithy.api#required": {} } }, @@ -7166,6 +7178,29 @@ "target": "com.amazonaws.resiliencehub#RecommendationItem" } }, + "com.amazonaws.resiliencehub#RecommendationStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "Implemented", + "name": "IMPLEMENTED" + }, + { + "value": "Inactive", + "name": "INACTIVE" + }, + { + "value": "NotImplemented", + "name": "NOT_IMPLEMENTED" + }, + { + "value": "Excluded", + "name": "EXCLUDED" + } + ] + } + }, "com.amazonaws.resiliencehub#RecommendationTemplate": { "type": "structure", "members": { @@ -7554,12 +7589,41 @@ "smithy.api#documentation": "

The disruption score for a valid key.

", "smithy.api#required": {} } + }, + "componentScore": { + "target": "com.amazonaws.resiliencehub#ScoringComponentResiliencyScores", + "traits": { + "smithy.api#documentation": "

The score generated by Resilience Hub for the scoring component after running an assessment.

\n

For example, if the score is 25 points, it indicates the overall score of\n your application generated by Resilience Hub after running an assessment.

" + } } }, "traits": { "smithy.api#documentation": "

The overall resiliency score, returned as an object that includes the disruption score and\n outage score.

" } }, + "com.amazonaws.resiliencehub#ResiliencyScoreType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "Compliance", + "name": "COMPLIANCE" + }, + { + "value": "Test", + "name": "TEST" + }, + { + "value": "Alarm", + "name": "ALARM" + }, + { + "value": "Sop", + "name": "SOP" + } + ] + } + }, "com.amazonaws.resiliencehub#ResolveAppVersionResources": { "type": "operation", "input": { @@ -7941,6 +8005,51 @@ "smithy.api#pattern": "^((https://([^/]+)\\.s3((-|\\.)[^/]+)?\\.amazonaws\\.com(.cn)?)|(s3://([^/]+)))/\\S{1,2000}$" } }, + "com.amazonaws.resiliencehub#ScoringComponentResiliencyScore": { + "type": "structure", + "members": { + "score": { + "target": "com.amazonaws.resiliencehub#Double", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

Resiliency score of your application.

" + } + }, + "possibleScore": { + "target": "com.amazonaws.resiliencehub#Double", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

Maximum\n possible score that can be obtained for the scoring component. If the Possible\n score is 20 points, it indicates the maximum possible score you can achieve for your\n application when you run a new assessment after implementing all the Resilience Hub\n recommendations.

" + } + }, + "outstandingCount": { + "target": "com.amazonaws.resiliencehub#Long", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

Number\n of issues that must be resolved to obtain the maximum possible score for the scoring\n component. For SOPs, alarms, and FIS experiments, these are the number of\n recommendations that must be implemented. For compliance, it is the number of Application\n Components that has breached the resiliency policy.

\n

For example, if the Outstanding count for Resilience Hub recommended Amazon CloudWatch\n alarms is 5, it indicates that 5 Amazon CloudWatch alarms must be fixed to achieve the\n maximum possible score.

" + } + }, + "excludedCount": { + "target": "com.amazonaws.resiliencehub#Long", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

Number\n of recommendations that were excluded from the assessment.

\n

For example, if the Excluded count for Resilience Hub recommended Amazon CloudWatch alarms\n is 7, it indicates that 7 Amazon CloudWatch alarms are excluded from the assessment.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Resiliency score of each scoring component. For more information about scoring component,\n see Calculating resiliency\n score.

" + } + }, + "com.amazonaws.resiliencehub#ScoringComponentResiliencyScores": { + "type": "map", + "key": { + "target": "com.amazonaws.resiliencehub#ResiliencyScoreType" + }, + "value": { + "target": "com.amazonaws.resiliencehub#ScoringComponentResiliencyScore" + } + }, "com.amazonaws.resiliencehub#Seconds": { "type": "integer", "traits": { @@ -8016,6 +8125,12 @@ "traits": { "smithy.api#documentation": "

Prerequisite for the SOP recommendation.

" } + }, + "recommendationStatus": { + "target": "com.amazonaws.resiliencehub#RecommendationStatus", + "traits": { + "smithy.api#documentation": "

Status of the recommended standard operating procedure.

" + } } }, "traits": { @@ -8405,6 +8520,12 @@ "traits": { "smithy.api#documentation": "

A list of recommended alarms that are used in the test and must be exported before or\n with the test.

" } + }, + "recommendationStatus": { + "target": "com.amazonaws.resiliencehub#RecommendationStatus", + "traits": { + "smithy.api#documentation": "

Status of the recommended test.

" + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/sqs.json b/codegen/sdk-codegen/aws-models/sqs.json index dbbdbed91ce..edd70f438ea 100644 --- a/codegen/sdk-codegen/aws-models/sqs.json +++ b/codegen/sdk-codegen/aws-models/sqs.json @@ -50,12 +50,27 @@ "target": "smithy.api#Unit" }, "errors": [ + { + "target": "com.amazonaws.sqs#InvalidAddress" + }, + { + "target": "com.amazonaws.sqs#InvalidSecurity" + }, { "target": "com.amazonaws.sqs#OverLimit" + }, + { + "target": "com.amazonaws.sqs#QueueDoesNotExist" + }, + { + "target": "com.amazonaws.sqs#RequestThrottled" + }, + { + "target": "com.amazonaws.sqs#UnsupportedOperation" } ], "traits": { - "smithy.api#documentation": "

Adds a permission to a queue for a specific principal. This allows sharing\n access to the queue.

\n

When you create a queue, you have full control access rights for the queue. Only you,\n the owner of the queue, can grant or deny permissions to the queue. For more information\n about these permissions, see Allow Developers to Write Messages to a Shared Queue in the Amazon SQS\n Developer Guide.

\n \n \n \n \n

Cross-account permissions don't apply to this action. For more information, \nsee Grant \ncross-account permissions to a role and a username in the Amazon SQS Developer Guide.

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

Adds a permission to a queue for a specific principal. This allows sharing\n access to the queue.

\n

When you create a queue, you have full control access rights for the queue. Only you,\n the owner of the queue, can grant or deny permissions to the queue. For more information\n about these permissions, see Allow Developers to Write Messages to a Shared Queue in the\n Amazon SQS Developer Guide.

\n \n \n \n \n

Cross-account permissions don't apply to this action. For more information, see\n Grant cross-account permissions to a role and a username in the\n Amazon SQS Developer Guide.

\n
" } }, "com.amazonaws.sqs#AddPermissionRequest": { @@ -78,7 +93,7 @@ "AWSAccountIds": { "target": "com.amazonaws.sqs#AWSAccountIdList", "traits": { - "smithy.api#documentation": "

The Amazon Web Services account numbers of the principals who are to receive\n permission. For information about locating the Amazon Web Services account identification, see Your Amazon Web Services Identifiers in the Amazon SQS Developer\n Guide.

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

The Amazon Web\n Services account numbers of the principals who are to receive\n permission. For information about locating the Amazon Web Services\n account identification, see Your Amazon Web\n Services Identifiers in the Amazon SQS Developer\n Guide.

", "smithy.api#required": {}, "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "AWSAccountId" @@ -184,12 +199,10 @@ "aws.auth#sigv4": { "name": "sqs" }, - "aws.protocols#awsQuery": {}, - "smithy.api#documentation": "

Welcome to the Amazon SQS API Reference.

\n

Amazon SQS is a reliable, highly-scalable hosted queue for storing messages as they travel\n between applications or microservices. Amazon SQS moves data between distributed application\n components and helps you decouple these components.

\n

For information on the permissions you need to use this API, see Identity and access management in the Amazon SQS Developer\n Guide.\n

\n

You can use Amazon Web Services SDKs to access\n Amazon SQS using your favorite programming language. The SDKs perform tasks such as the\n following automatically:

\n \n

\n Additional information\n

\n ", + "aws.protocols#awsJson1_0": {}, + "aws.protocols#awsQueryCompatible": {}, + "smithy.api#documentation": "

Welcome to the Amazon SQS API Reference.

\n

Amazon SQS is a reliable, highly-scalable hosted queue for storing messages as they\n travel between applications or microservices. Amazon SQS moves data between distributed\n application components and helps you decouple these components.

\n

For information on the permissions you need to use this API, see Identity and access management in the Amazon SQS Developer\n Guide.\n

\n

You can use Amazon Web Services\n SDKs to access Amazon SQS using your favorite programming language. The SDKs\n perform tasks such as the following automatically:

\n \n

\n Additional information\n

\n ", "smithy.api#title": "Amazon Simple Queue Service", - "smithy.api#xmlNamespace": { - "uri": "http://queue.amazonaws.com/doc/2012-11-05/" - }, "smithy.rules#endpointRuleSet": { "version": "1.0", "parameters": { @@ -232,7 +245,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -275,7 +287,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -288,7 +301,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -302,7 +314,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -325,7 +336,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -360,7 +370,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -371,14 +380,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -392,14 +403,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -408,18 +417,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -428,7 +436,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -448,14 +457,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -469,7 +480,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -489,7 +499,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -500,14 +509,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -518,9 +529,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1204,7 +1217,11 @@ }, "com.amazonaws.sqs#BatchEntryIdsNotDistinct": { "type": "structure", - "members": {}, + "members": { + "message": { + "target": "com.amazonaws.sqs#ExceptionMessage" + } + }, "traits": { "aws.protocols#awsQueryError": { "code": "AWS.SimpleQueueService.BatchEntryIdsNotDistinct", @@ -1217,7 +1234,11 @@ }, "com.amazonaws.sqs#BatchRequestTooLong": { "type": "structure", - "members": {}, + "members": { + "message": { + "target": "com.amazonaws.sqs#ExceptionMessage" + } + }, "traits": { "aws.protocols#awsQueryError": { "code": "AWS.SimpleQueueService.BatchRequestTooLong", @@ -1300,6 +1321,15 @@ "target": "com.amazonaws.sqs#CancelMessageMoveTaskResult" }, "errors": [ + { + "target": "com.amazonaws.sqs#InvalidAddress" + }, + { + "target": "com.amazonaws.sqs#InvalidSecurity" + }, + { + "target": "com.amazonaws.sqs#RequestThrottled" + }, { "target": "com.amazonaws.sqs#ResourceNotFoundException" }, @@ -1350,15 +1380,30 @@ "target": "smithy.api#Unit" }, "errors": [ + { + "target": "com.amazonaws.sqs#InvalidAddress" + }, + { + "target": "com.amazonaws.sqs#InvalidSecurity" + }, { "target": "com.amazonaws.sqs#MessageNotInflight" }, + { + "target": "com.amazonaws.sqs#QueueDoesNotExist" + }, { "target": "com.amazonaws.sqs#ReceiptHandleIsInvalid" + }, + { + "target": "com.amazonaws.sqs#RequestThrottled" + }, + { + "target": "com.amazonaws.sqs#UnsupportedOperation" } ], "traits": { - "smithy.api#documentation": "

Changes the visibility timeout of a specified message in a queue to a new value. The\n default visibility timeout for a message is 30 seconds. The minimum is 0 seconds. The\n maximum is 12 hours. For more information, see Visibility Timeout in the Amazon SQS Developer\n Guide.

\n

For example, if the default timeout for a queue is 60 seconds, 15 seconds have elapsed\n since you received the message, and you send a ChangeMessageVisibility call with\n VisibilityTimeout set to 10 seconds, the 10 seconds begin to count from\n the time that you make the ChangeMessageVisibility call. Thus, any attempt\n to change the visibility timeout or to delete that message 10 seconds after you\n initially change the visibility timeout (a total of 25 seconds) might result in an\n error.

\n

An Amazon SQS message has three basic states:

\n
    \n
  1. \n

    Sent to a queue by a producer.

    \n
  2. \n
  3. \n

    Received from the queue by a consumer.

    \n
  4. \n
  5. \n

    Deleted from the queue.

    \n
  6. \n
\n

A message is considered to be stored after it is sent to a queue by a producer, but not yet received from the queue by a consumer (that is, between states 1 and 2). There is no limit to the number of stored messages.\n A message is considered to be in flight after it is received from a queue by a consumer, but not yet deleted from the queue (that is, between states 2 and 3). There is a limit to the number of in flight messages.

\n

Limits that apply to in flight messages are unrelated to the unlimited number of stored messages.

\n

For most standard queues (depending on queue traffic and message backlog), there can be a maximum of approximately 120,000 in flight messages (received from a queue by a consumer, but not yet deleted from the queue). \n If you reach this limit, Amazon SQS returns the OverLimit error message.\n To avoid reaching the limit, you should delete messages from the queue after they're processed. You can also increase the number of queues you use to process your messages.\n To request a limit increase, file a support request.

\n

For FIFO queues, there can be a maximum of 20,000 in flight messages (received from a queue by a consumer, but not yet deleted from the queue). If you reach this limit, Amazon SQS returns no error messages.

\n \n

If you attempt to set the VisibilityTimeout to a value greater than\n the maximum time left, Amazon SQS returns an error. Amazon SQS doesn't automatically\n recalculate and increase the timeout to the maximum remaining time.

\n

Unlike with a queue, when you change the visibility timeout for a specific message\n the timeout value is applied immediately but isn't saved in memory for that message.\n If you don't delete a message after it is received, the visibility timeout for the\n message reverts to the original timeout value (not to the value you set using the\n ChangeMessageVisibility action) the next time the message is\n received.

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

Changes the visibility timeout of a specified message in a queue to a new value. The\n default visibility timeout for a message is 30 seconds. The minimum is 0 seconds. The\n maximum is 12 hours. For more information, see Visibility Timeout in the Amazon SQS Developer\n Guide.

\n

For example, if the default timeout for a queue is 60 seconds, 15 seconds have elapsed\n since you received the message, and you send a ChangeMessageVisibility call with\n VisibilityTimeout set to 10 seconds, the 10 seconds begin to count from\n the time that you make the ChangeMessageVisibility call. Thus, any attempt\n to change the visibility timeout or to delete that message 10 seconds after you\n initially change the visibility timeout (a total of 25 seconds) might result in an\n error.

\n

An Amazon SQS message has three basic states:

\n
    \n
  1. \n

    Sent to a queue by a producer.

    \n
  2. \n
  3. \n

    Received from the queue by a consumer.

    \n
  4. \n
  5. \n

    Deleted from the queue.

    \n
  6. \n
\n

A message is considered to be stored after it is sent to a queue\n by a producer, but not yet received from the queue by a consumer (that is, between\n states 1 and 2). There is no limit to the number of stored messages. A message is\n considered to be in flight after it is received from a queue by a\n consumer, but not yet deleted from the queue (that is, between states 2 and 3). There is\n a limit to the number of in flight messages.

\n

Limits that apply to in flight messages are unrelated to the\n unlimited number of stored messages.

\n

For most standard queues (depending on queue traffic and message backlog), there can\n be a maximum of approximately 120,000 in flight messages (received from a queue by a\n consumer, but not yet deleted from the queue). If you reach this limit, Amazon SQS\n returns the OverLimit error message. To avoid reaching the limit, you\n should delete messages from the queue after they're processed. You can also increase the\n number of queues you use to process your messages. To request a limit increase, file a support request.

\n

For FIFO queues, there can be a maximum of 20,000 in flight messages (received from a\n queue by a consumer, but not yet deleted from the queue). If you reach this limit,\n Amazon SQS returns no error messages.

\n \n

If you attempt to set the VisibilityTimeout to a value greater than\n the maximum time left, Amazon SQS returns an error. Amazon SQS doesn't automatically\n recalculate and increase the timeout to the maximum remaining time.

\n

Unlike with a queue, when you change the visibility timeout for a specific message\n the timeout value is applied immediately but isn't saved in memory for that message.\n If you don't delete a message after it is received, the visibility timeout for the\n message reverts to the original timeout value (not to the value you set using the\n ChangeMessageVisibility action) the next time the message is\n received.

\n
" } }, "com.amazonaws.sqs#ChangeMessageVisibilityBatch": { @@ -1376,15 +1421,30 @@ { "target": "com.amazonaws.sqs#EmptyBatchRequest" }, + { + "target": "com.amazonaws.sqs#InvalidAddress" + }, { "target": "com.amazonaws.sqs#InvalidBatchEntryId" }, + { + "target": "com.amazonaws.sqs#InvalidSecurity" + }, + { + "target": "com.amazonaws.sqs#QueueDoesNotExist" + }, + { + "target": "com.amazonaws.sqs#RequestThrottled" + }, { "target": "com.amazonaws.sqs#TooManyEntriesInBatchRequest" + }, + { + "target": "com.amazonaws.sqs#UnsupportedOperation" } ], "traits": { - "smithy.api#documentation": "

Changes the visibility timeout of multiple messages. This is a batch version of\n \n ChangeMessageVisibility. The result of the action\n on each message is reported individually in the response. You can send up to 10\n \n ChangeMessageVisibility\n requests with each\n ChangeMessageVisibilityBatch action.

\n \n

Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.

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

Changes the visibility timeout of multiple messages. This is a batch version of\n \n ChangeMessageVisibility. The result of the action\n on each message is reported individually in the response. You can send up to 10\n \n ChangeMessageVisibility\n requests with each\n ChangeMessageVisibilityBatch action.

\n \n

Because the batch request can result in a combination of successful and\n unsuccessful actions, you should check for batch errors even when the call returns\n an HTTP status code of 200.

\n
" } }, "com.amazonaws.sqs#ChangeMessageVisibilityBatchRequest": { @@ -1418,7 +1478,7 @@ "Id": { "target": "com.amazonaws.sqs#String", "traits": { - "smithy.api#documentation": "

An identifier for this particular receipt handle used to communicate the\n result.

\n \n

The Ids of a batch request need to be unique within a request.

\n

This identifier can have up to 80 characters. The following characters are accepted: alphanumeric characters, hyphens(-), and underscores (_).

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

An identifier for this particular receipt handle used to communicate the\n result.

\n \n

The Ids of a batch request need to be unique within a request.

\n

This identifier can have up to 80 characters. The following characters are\n accepted: alphanumeric characters, hyphens(-), and underscores (_).

\n
", "smithy.api#required": {} } }, @@ -1430,9 +1490,8 @@ } }, "VisibilityTimeout": { - "target": "com.amazonaws.sqs#Integer", + "target": "com.amazonaws.sqs#NullableInteger", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The new value (in seconds) for the message's visibility timeout.

" } } @@ -1513,9 +1572,8 @@ } }, "VisibilityTimeout": { - "target": "com.amazonaws.sqs#Integer", + "target": "com.amazonaws.sqs#NullableInteger", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The new value for the message's visibility timeout (in seconds). Values range:\n 0 to 43200. Maximum: 12 hours.

", "smithy.api#required": {} } @@ -1534,15 +1592,33 @@ "target": "com.amazonaws.sqs#CreateQueueResult" }, "errors": [ + { + "target": "com.amazonaws.sqs#InvalidAddress" + }, + { + "target": "com.amazonaws.sqs#InvalidAttributeName" + }, + { + "target": "com.amazonaws.sqs#InvalidAttributeValue" + }, + { + "target": "com.amazonaws.sqs#InvalidSecurity" + }, { "target": "com.amazonaws.sqs#QueueDeletedRecently" }, { "target": "com.amazonaws.sqs#QueueNameExists" + }, + { + "target": "com.amazonaws.sqs#RequestThrottled" + }, + { + "target": "com.amazonaws.sqs#UnsupportedOperation" } ], "traits": { - "smithy.api#documentation": "

Creates a new standard or FIFO queue. You can pass one or more attributes in\n the request. Keep the following in mind:

\n \n

To successfully create a new queue, you must provide a queue name that adheres to the\n limits\n related to queues and is unique within the scope of your queues.

\n \n

After you create a queue, you must wait at least one second after the queue is\n created to be able to use the queue.

\n
\n

To get the queue URL, use the \n GetQueueUrl\n action.\n \n GetQueueUrl\n requires only the\n QueueName parameter. be aware of existing queue names:

\n \n \n

Cross-account permissions don't apply to this action. For more information, \nsee Grant \ncross-account permissions to a role and a username in the Amazon SQS Developer Guide.

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

Creates a new standard or FIFO queue. You can pass one or more attributes in the\n request. Keep the following in mind:

\n \n

To successfully create a new queue, you must provide a queue name that adheres to the\n limits\n related to queues and is unique within the scope of your queues.

\n \n

After you create a queue, you must wait at least one second after the queue is\n created to be able to use the queue.

\n
\n

To get the queue URL, use the \n GetQueueUrl\n action.\n \n GetQueueUrl\n requires only the\n QueueName parameter. be aware of existing queue names:

\n \n \n

Cross-account permissions don't apply to this action. For more information, see\n Grant cross-account permissions to a role and a username in the\n Amazon SQS Developer Guide.

\n
" } }, "com.amazonaws.sqs#CreateQueueRequest": { @@ -1555,20 +1631,20 @@ "smithy.api#required": {} } }, - "tags": { - "target": "com.amazonaws.sqs#TagMap", + "Attributes": { + "target": "com.amazonaws.sqs#QueueAttributeMap", "traits": { - "smithy.api#documentation": "

Add cost allocation tags to the specified Amazon SQS queue. For an overview, see Tagging \nYour Amazon SQS Queues in the Amazon SQS Developer Guide.

\n

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

\n \n

For a full list of tag restrictions, see \nQuotas related to queues \nin the Amazon SQS Developer Guide.

\n \n

To be able to tag a queue on creation, you must have the\n sqs:CreateQueue and sqs:TagQueue permissions.

\n

Cross-account permissions don't apply to this action. For more information, \nsee Grant \ncross-account permissions to a role and a username in the Amazon SQS Developer Guide.

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

A map of attributes with their corresponding values.

\n

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

\n \n

The following attributes apply only to dead-letter queues:\n

\n \n \n

The dead-letter queue of a FIFO queue must also be a FIFO queue. Similarly, the\n dead-letter queue of a standard queue must also be a standard queue.

\n
\n

The following attributes apply only to server-side-encryption:

\n \n

The following attributes apply only to FIFO\n (first-in-first-out) queues:

\n \n

The following attributes apply only to high\n throughput for FIFO queues:

\n \n

To enable high throughput for FIFO queues, do the following:

\n \n

If you set these attributes to anything other than the values shown for enabling high\n throughput, normal throughput is in effect and deduplication occurs as specified.

\n

For information on throughput quotas, see Quotas\n related to messages in the Amazon SQS Developer\n Guide.

", "smithy.api#xmlFlattened": {}, - "smithy.api#xmlName": "Tag" + "smithy.api#xmlName": "Attribute" } }, - "Attributes": { - "target": "com.amazonaws.sqs#QueueAttributeMap", + "tags": { + "target": "com.amazonaws.sqs#TagMap", "traits": { - "smithy.api#documentation": "

A map of attributes with their corresponding values.

\n

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

\n \n

The following attributes apply only to dead-letter queues:\n

\n \n \n

The dead-letter queue of a \n FIFO queue must also be a FIFO queue. Similarly, the dead-letter \n queue of a standard queue must also be a standard queue.

\n
\n

The following attributes apply only to server-side-encryption:

\n \n

The following attributes apply only to FIFO (first-in-first-out)\n queues:

\n \n

The following attributes apply only to \nhigh throughput\nfor FIFO queues:

\n \n

To enable high throughput for FIFO queues, do the following:

\n \n

If you set these attributes to anything other than the values shown for enabling high\n throughput, normal throughput is in effect and deduplication occurs as specified.

\n

For information on throughput quotas, \n see Quotas related to messages \n in the Amazon SQS Developer Guide.

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

Add cost allocation tags to the specified Amazon SQS queue. For an overview, see\n Tagging\n Your Amazon SQS Queues in the Amazon SQS Developer\n Guide.

\n

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

\n \n

For a full list of tag restrictions, see Quotas related to queues in the Amazon SQS Developer\n Guide.

\n \n

To be able to tag a queue on creation, you must have the\n sqs:CreateQueue and sqs:TagQueue permissions.

\n

Cross-account permissions don't apply to this action. For more information, see\n Grant cross-account permissions to a role and a username in the\n Amazon SQS Developer Guide.

\n
", "smithy.api#xmlFlattened": {}, - "smithy.api#xmlName": "Attribute" + "smithy.api#xmlName": "Tag" } } }, @@ -1601,15 +1677,30 @@ "target": "smithy.api#Unit" }, "errors": [ + { + "target": "com.amazonaws.sqs#InvalidAddress" + }, { "target": "com.amazonaws.sqs#InvalidIdFormat" }, + { + "target": "com.amazonaws.sqs#InvalidSecurity" + }, + { + "target": "com.amazonaws.sqs#QueueDoesNotExist" + }, { "target": "com.amazonaws.sqs#ReceiptHandleIsInvalid" + }, + { + "target": "com.amazonaws.sqs#RequestThrottled" + }, + { + "target": "com.amazonaws.sqs#UnsupportedOperation" } ], "traits": { - "smithy.api#documentation": "

Deletes the specified message from the specified queue. To select the message to\n delete, use the ReceiptHandle of the message (not the\n MessageId which you receive when you send the message). Amazon SQS can\n delete a message from a queue even if a visibility timeout setting causes the message to\n be locked by another consumer. Amazon SQS automatically deletes messages left in a queue\n longer than the retention period configured for the queue.

\n \n

The ReceiptHandle is associated with a specific\n instance of receiving a message. If you receive a message more than\n once, the ReceiptHandle is different each time you receive a message.\n When you use the DeleteMessage action, you must provide the most\n recently received ReceiptHandle for the message (otherwise, the request\n succeeds, but the message will not be deleted).

\n

For standard queues, it is possible to receive a message even after you\n delete it. This might happen on rare occasions if one of the servers which stores a\n copy of the message is unavailable when you send the request to delete the message.\n The copy remains on the server and might be returned to you during a subsequent\n receive request. You should ensure that your application is idempotent, so that\n receiving a message more than once does not cause issues.

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

Deletes the specified message from the specified queue. To select the message to\n delete, use the ReceiptHandle of the message (not the\n MessageId which you receive when you send the message). Amazon SQS can\n delete a message from a queue even if a visibility timeout setting causes the message to\n be locked by another consumer. Amazon SQS automatically deletes messages left in a queue\n longer than the retention period configured for the queue.

\n \n

The ReceiptHandle is associated with a specific\n instance of receiving a message. If you receive a message more than\n once, the ReceiptHandle is different each time you receive a message.\n When you use the DeleteMessage action, you must provide the most\n recently received ReceiptHandle for the message (otherwise, the request\n succeeds, but the message will not be deleted).

\n

For standard queues, it is possible to receive a message even after you delete it.\n This might happen on rare occasions if one of the servers which stores a copy of the\n message is unavailable when you send the request to delete the message. The copy\n remains on the server and might be returned to you during a subsequent receive\n request. You should ensure that your application is idempotent, so that receiving a\n message more than once does not cause issues.

\n
" } }, "com.amazonaws.sqs#DeleteMessageBatch": { @@ -1627,15 +1718,30 @@ { "target": "com.amazonaws.sqs#EmptyBatchRequest" }, + { + "target": "com.amazonaws.sqs#InvalidAddress" + }, { "target": "com.amazonaws.sqs#InvalidBatchEntryId" }, + { + "target": "com.amazonaws.sqs#InvalidSecurity" + }, + { + "target": "com.amazonaws.sqs#QueueDoesNotExist" + }, + { + "target": "com.amazonaws.sqs#RequestThrottled" + }, { "target": "com.amazonaws.sqs#TooManyEntriesInBatchRequest" + }, + { + "target": "com.amazonaws.sqs#UnsupportedOperation" } ], "traits": { - "smithy.api#documentation": "

Deletes up to ten messages from the specified queue. This is a batch version of\n \n DeleteMessage. The result of the action on each\n message is reported individually in the response.

\n \n

Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.

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

Deletes up to ten messages from the specified queue. This is a batch version of\n \n DeleteMessage. The result of the action on each\n message is reported individually in the response.

\n \n

Because the batch request can result in a combination of successful and\n unsuccessful actions, you should check for batch errors even when the call returns\n an HTTP status code of 200.

\n
" } }, "com.amazonaws.sqs#DeleteMessageBatchRequest": { @@ -1669,7 +1775,7 @@ "Id": { "target": "com.amazonaws.sqs#String", "traits": { - "smithy.api#documentation": "

The identifier for this particular receipt handle. This is used to communicate the\n result.

\n \n

The Ids of a batch request need to be unique within a request.

\n

This identifier can have up to 80 characters. The following characters are accepted: alphanumeric characters, hyphens(-), and underscores (_).

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

The identifier for this particular receipt handle. This is used to communicate the\n result.

\n \n

The Ids of a batch request need to be unique within a request.

\n

This identifier can have up to 80 characters. The following characters are\n accepted: alphanumeric characters, hyphens(-), and underscores (_).

\n
", "smithy.api#required": {} } }, @@ -1770,8 +1876,25 @@ "output": { "target": "smithy.api#Unit" }, + "errors": [ + { + "target": "com.amazonaws.sqs#InvalidAddress" + }, + { + "target": "com.amazonaws.sqs#InvalidSecurity" + }, + { + "target": "com.amazonaws.sqs#QueueDoesNotExist" + }, + { + "target": "com.amazonaws.sqs#RequestThrottled" + }, + { + "target": "com.amazonaws.sqs#UnsupportedOperation" + } + ], "traits": { - "smithy.api#documentation": "

Deletes the queue specified by the QueueUrl, regardless of the queue's\n contents.

\n \n

Be careful with the DeleteQueue action: When you delete a queue, any\n messages in the queue are no longer available.

\n
\n

When you delete a queue, the deletion process takes up to 60 seconds. Requests you\n send involving that queue during the 60 seconds might succeed. For example, a\n \n SendMessage\n request might succeed, but after 60\n seconds the queue and the message you sent no longer exist.

\n

When you delete a queue, you must wait at least 60 seconds before creating a queue\n with the same name.

\n \n

Cross-account permissions don't apply to this action. For more information, \nsee Grant \ncross-account permissions to a role and a username in the Amazon SQS Developer Guide.

\n

The delete operation uses the HTTP GET verb.

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

Deletes the queue specified by the QueueUrl, regardless of the queue's\n contents.

\n \n

Be careful with the DeleteQueue action: When you delete a queue, any\n messages in the queue are no longer available.

\n
\n

When you delete a queue, the deletion process takes up to 60 seconds. Requests you\n send involving that queue during the 60 seconds might succeed. For example, a\n \n SendMessage\n request might succeed, but after 60\n seconds the queue and the message you sent no longer exist.

\n

When you delete a queue, you must wait at least 60 seconds before creating a queue\n with the same name.

\n \n

Cross-account permissions don't apply to this action. For more information, see\n Grant cross-account permissions to a role and a username in the\n Amazon SQS Developer Guide.

\n

The delete operation uses the HTTP GET verb.

\n
" } }, "com.amazonaws.sqs#DeleteQueueRequest": { @@ -1792,7 +1915,11 @@ }, "com.amazonaws.sqs#EmptyBatchRequest": { "type": "structure", - "members": {}, + "members": { + "message": { + "target": "com.amazonaws.sqs#ExceptionMessage" + } + }, "traits": { "aws.protocols#awsQueryError": { "code": "AWS.SimpleQueueService.EmptyBatchRequest", @@ -1803,6 +1930,9 @@ "smithy.api#httpError": 400 } }, + "com.amazonaws.sqs#ExceptionMessage": { + "type": "string" + }, "com.amazonaws.sqs#GetQueueAttributes": { "type": "operation", "input": { @@ -1812,12 +1942,27 @@ "target": "com.amazonaws.sqs#GetQueueAttributesResult" }, "errors": [ + { + "target": "com.amazonaws.sqs#InvalidAddress" + }, { "target": "com.amazonaws.sqs#InvalidAttributeName" + }, + { + "target": "com.amazonaws.sqs#InvalidSecurity" + }, + { + "target": "com.amazonaws.sqs#QueueDoesNotExist" + }, + { + "target": "com.amazonaws.sqs#RequestThrottled" + }, + { + "target": "com.amazonaws.sqs#UnsupportedOperation" } ], "traits": { - "smithy.api#documentation": "

Gets attributes for the specified queue.

\n \n

To determine whether a queue is FIFO, you can check whether QueueName ends with the .fifo suffix.

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

Gets attributes for the specified queue.

\n \n

To determine whether a queue is FIFO, you can check whether QueueName ends with the\n .fifo suffix.

\n
" } }, "com.amazonaws.sqs#GetQueueAttributesRequest": { @@ -1833,7 +1978,7 @@ "AttributeNames": { "target": "com.amazonaws.sqs#AttributeNameList", "traits": { - "smithy.api#documentation": "

A list of attributes for which to retrieve information.

\n

The AttributeNames parameter is optional, but if you don't specify values\n for this parameter, the request returns empty results.

\n \n

In the future, new attributes might be added. If you write code that calls this action, we recommend that you structure your code so that it can handle new attributes gracefully.

\n
\n

The following attributes are supported:

\n \n

The ApproximateNumberOfMessagesDelayed,\n ApproximateNumberOfMessagesNotVisible, and\n ApproximateNumberOfMessages metrics may not achieve consistency\n until at least 1 minute after the producers stop sending messages. This period is\n required for the queue metadata to reach eventual consistency.

\n
\n \n

The following attributes apply only to dead-letter queues:\n

\n \n \n

The dead-letter queue of a \n FIFO queue must also be a FIFO queue. Similarly, the dead-letter \n queue of a standard queue must also be a standard queue.

\n
\n

The following attributes apply only to server-side-encryption:

\n \n

The following attributes apply only to FIFO (first-in-first-out)\n queues:

\n \n

The following attributes apply only to \nhigh throughput\nfor FIFO queues:

\n \n

To enable high throughput for FIFO queues, do the following:

\n \n

If you set these attributes to anything other than the values shown for enabling high\n throughput, normal throughput is in effect and deduplication occurs as specified.

\n

For information on throughput quotas, \n see Quotas related to messages \n in the Amazon SQS Developer Guide.

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

A list of attributes for which to retrieve information.

\n

The AttributeNames parameter is optional, but if you don't specify values\n for this parameter, the request returns empty results.

\n \n

In the future, new attributes might be added. If you write code that calls this\n action, we recommend that you structure your code so that it can handle new\n attributes gracefully.

\n
\n

The following attributes are supported:

\n \n

The ApproximateNumberOfMessagesDelayed,\n ApproximateNumberOfMessagesNotVisible, and\n ApproximateNumberOfMessages metrics may not achieve consistency\n until at least 1 minute after the producers stop sending messages. This period is\n required for the queue metadata to reach eventual consistency.

\n
\n \n

The following attributes apply only to dead-letter queues:\n

\n \n \n

The dead-letter queue of a FIFO queue must also be a FIFO queue. Similarly, the\n dead-letter queue of a standard queue must also be a standard queue.

\n
\n

The following attributes apply only to server-side-encryption:

\n \n

The following attributes apply only to FIFO\n (first-in-first-out) queues:

\n \n

The following attributes apply only to high\n throughput for FIFO queues:

\n \n

To enable high throughput for FIFO queues, do the following:

\n \n

If you set these attributes to anything other than the values shown for enabling high\n throughput, normal throughput is in effect and deduplication occurs as specified.

\n

For information on throughput quotas, see Quotas\n related to messages in the Amazon SQS Developer\n Guide.

", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "AttributeName" } @@ -1870,12 +2015,24 @@ "target": "com.amazonaws.sqs#GetQueueUrlResult" }, "errors": [ + { + "target": "com.amazonaws.sqs#InvalidAddress" + }, + { + "target": "com.amazonaws.sqs#InvalidSecurity" + }, { "target": "com.amazonaws.sqs#QueueDoesNotExist" + }, + { + "target": "com.amazonaws.sqs#RequestThrottled" + }, + { + "target": "com.amazonaws.sqs#UnsupportedOperation" } ], "traits": { - "smithy.api#documentation": "

Returns the URL of an existing Amazon SQS queue.

\n

To access a queue that belongs to another AWS account, use the\n QueueOwnerAWSAccountId parameter to specify the account ID of the\n queue's owner. The queue's owner must grant you permission to access the queue. For more\n information about shared queue access, see \n AddPermission\n \n or see Allow Developers to Write Messages to a Shared Queue in the Amazon SQS\n Developer Guide.

" + "smithy.api#documentation": "

Returns the URL of an existing Amazon SQS queue.

\n

To access a queue that belongs to another AWS account, use the\n QueueOwnerAWSAccountId parameter to specify the account ID of the\n queue's owner. The queue's owner must grant you permission to access the queue. For more\n information about shared queue access, see \n AddPermission\n \n or see Allow Developers to Write Messages to a Shared Queue in the\n Amazon SQS Developer Guide.

" } }, "com.amazonaws.sqs#GetQueueUrlRequest": { @@ -1891,7 +2048,7 @@ "QueueOwnerAWSAccountId": { "target": "com.amazonaws.sqs#String", "traits": { - "smithy.api#documentation": "

The Amazon Web Services account ID of the account that created the queue.

" + "smithy.api#documentation": "

The Amazon Web\n Services account ID of the account that created the queue.

" } } }, @@ -1911,27 +2068,58 @@ } }, "traits": { - "smithy.api#documentation": "

For more information, see Interpreting Responses in the Amazon SQS Developer\n Guide.

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

For more information, see Interpreting Responses in the Amazon SQS Developer\n Guide.

", "smithy.api#output": {} } }, - "com.amazonaws.sqs#Integer": { - "type": "integer", + "com.amazonaws.sqs#InvalidAddress": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.sqs#ExceptionMessage" + } + }, "traits": { - "smithy.api#default": 0 + "aws.protocols#awsQueryError": { + "code": "InvalidAddress", + "httpResponseCode": 404 + }, + "smithy.api#documentation": "

The accountId is invalid.

", + "smithy.api#error": "client", + "smithy.api#httpError": 404 } }, "com.amazonaws.sqs#InvalidAttributeName": { "type": "structure", - "members": {}, + "members": { + "message": { + "target": "com.amazonaws.sqs#ExceptionMessage" + } + }, "traits": { "smithy.api#documentation": "

The specified attribute doesn't exist.

", "smithy.api#error": "client" } }, + "com.amazonaws.sqs#InvalidAttributeValue": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.sqs#ExceptionMessage" + } + }, + "traits": { + "smithy.api#documentation": "

A queue attribute value is invalid.

", + "smithy.api#error": "client" + } + }, "com.amazonaws.sqs#InvalidBatchEntryId": { "type": "structure", - "members": {}, + "members": { + "message": { + "target": "com.amazonaws.sqs#ExceptionMessage" + } + }, "traits": { "aws.protocols#awsQueryError": { "code": "AWS.SimpleQueueService.InvalidBatchEntryId", @@ -1946,80 +2134,235 @@ "type": "structure", "members": {}, "traits": { + "smithy.api#deprecated": { + "message": "exception has been included in ReceiptHandleIsInvalid" + }, "smithy.api#documentation": "

The specified receipt handle isn't valid for the current version.

", "smithy.api#error": "client" } }, "com.amazonaws.sqs#InvalidMessageContents": { "type": "structure", - "members": {}, + "members": { + "message": { + "target": "com.amazonaws.sqs#ExceptionMessage" + } + }, "traits": { "smithy.api#documentation": "

The message contains characters outside the allowed set.

", "smithy.api#error": "client" } }, - "com.amazonaws.sqs#ListDeadLetterSourceQueues": { - "type": "operation", - "input": { - "target": "com.amazonaws.sqs#ListDeadLetterSourceQueuesRequest" - }, - "output": { - "target": "com.amazonaws.sqs#ListDeadLetterSourceQueuesResult" - }, - "errors": [ - { - "target": "com.amazonaws.sqs#QueueDoesNotExist" + "com.amazonaws.sqs#InvalidSecurity": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.sqs#ExceptionMessage" } - ], + }, "traits": { - "smithy.api#documentation": "

Returns a list of your queues that have the RedrivePolicy queue attribute\n configured with a dead-letter queue.

\n

The ListDeadLetterSourceQueues methods supports pagination. Set\n parameter MaxResults in the request to specify the maximum number of\n results to be returned in the response. If you do not set MaxResults, the\n response includes a maximum of 1,000 results. If you set MaxResults and\n there are additional results to display, the response includes a value for\n NextToken. Use NextToken as a parameter in your next\n request to ListDeadLetterSourceQueues to receive the next page of results.

\n

For more information about using dead-letter queues, see Using Amazon SQS Dead-Letter Queues in the Amazon SQS Developer\n Guide.

", - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "items": "queueUrls", - "pageSize": "MaxResults" - } + "aws.protocols#awsQueryError": { + "code": "InvalidSecurity", + "httpResponseCode": 403 + }, + "smithy.api#documentation": "

When the request to a queue is not HTTPS and SigV4.

", + "smithy.api#error": "client", + "smithy.api#httpError": 403 } }, - "com.amazonaws.sqs#ListDeadLetterSourceQueuesRequest": { + "com.amazonaws.sqs#KmsAccessDenied": { "type": "structure", "members": { - "QueueUrl": { - "target": "com.amazonaws.sqs#String", - "traits": { - "smithy.api#documentation": "

The URL of a dead-letter queue.

\n

Queue URLs and names are case-sensitive.

", - "smithy.api#required": {} - } - }, - "NextToken": { - "target": "com.amazonaws.sqs#Token", - "traits": { - "smithy.api#documentation": "

Pagination token to request the next set of results.

" - } - }, - "MaxResults": { - "target": "com.amazonaws.sqs#BoxedInteger", - "traits": { - "smithy.api#documentation": "

Maximum number of results to include in the response. Value range is 1 to 1000. You\n must set MaxResults to receive a value for NextToken in the\n response.

" - } + "message": { + "target": "com.amazonaws.sqs#ExceptionMessage" } }, "traits": { - "smithy.api#documentation": "

", - "smithy.api#input": {} + "aws.protocols#awsQueryError": { + "code": "KMS.AccessDeniedException", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

The caller doesn't have the required KMS access.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 } }, - "com.amazonaws.sqs#ListDeadLetterSourceQueuesResult": { + "com.amazonaws.sqs#KmsDisabled": { "type": "structure", "members": { - "queueUrls": { - "target": "com.amazonaws.sqs#QueueUrlList", - "traits": { - "smithy.api#documentation": "

A list of source queue URLs that have the RedrivePolicy queue attribute\n configured with a dead-letter queue.

", - "smithy.api#required": {}, - "smithy.api#xmlFlattened": {}, - "smithy.api#xmlName": "QueueUrl" - } + "message": { + "target": "com.amazonaws.sqs#ExceptionMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "KMS.DisabledException", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

The request was denied due to request throttling.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.sqs#KmsInvalidKeyUsage": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.sqs#ExceptionMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "KMS.InvalidKeyUsageException", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

The request was rejected for one of the following reasons:

\n ", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.sqs#KmsInvalidState": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.sqs#ExceptionMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "KMS.InvalidStateException", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

The request was rejected because the state of the specified resource is not valid for\n this request.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.sqs#KmsNotFound": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.sqs#ExceptionMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "KMS.NotFoundException", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

The request was rejected because the specified entity or resource could not be found.\n

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.sqs#KmsOptInRequired": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.sqs#ExceptionMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "KMS.OptInRequired", + "httpResponseCode": 403 + }, + "smithy.api#documentation": "

The request was rejected because the specified key policy isn't syntactically or\n semantically correct.

", + "smithy.api#error": "client", + "smithy.api#httpError": 403 + } + }, + "com.amazonaws.sqs#KmsThrottled": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.sqs#ExceptionMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "KMS.ThrottlingException", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

Amazon Web Services KMS throttles requests for the following conditions.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.sqs#ListDeadLetterSourceQueues": { + "type": "operation", + "input": { + "target": "com.amazonaws.sqs#ListDeadLetterSourceQueuesRequest" + }, + "output": { + "target": "com.amazonaws.sqs#ListDeadLetterSourceQueuesResult" + }, + "errors": [ + { + "target": "com.amazonaws.sqs#InvalidAddress" + }, + { + "target": "com.amazonaws.sqs#InvalidSecurity" + }, + { + "target": "com.amazonaws.sqs#QueueDoesNotExist" + }, + { + "target": "com.amazonaws.sqs#RequestThrottled" + }, + { + "target": "com.amazonaws.sqs#UnsupportedOperation" + } + ], + "traits": { + "smithy.api#documentation": "

Returns a list of your queues that have the RedrivePolicy queue attribute\n configured with a dead-letter queue.

\n

The ListDeadLetterSourceQueues methods supports pagination. Set\n parameter MaxResults in the request to specify the maximum number of\n results to be returned in the response. If you do not set MaxResults, the\n response includes a maximum of 1,000 results. If you set MaxResults and\n there are additional results to display, the response includes a value for\n NextToken. Use NextToken as a parameter in your next\n request to ListDeadLetterSourceQueues to receive the next page of results.

\n

For more information about using dead-letter queues, see Using Amazon SQS Dead-Letter Queues in the Amazon SQS Developer\n Guide.

", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "queueUrls", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.sqs#ListDeadLetterSourceQueuesRequest": { + "type": "structure", + "members": { + "QueueUrl": { + "target": "com.amazonaws.sqs#String", + "traits": { + "smithy.api#documentation": "

The URL of a dead-letter queue.

\n

Queue URLs and names are case-sensitive.

", + "smithy.api#required": {} + } + }, + "NextToken": { + "target": "com.amazonaws.sqs#Token", + "traits": { + "smithy.api#documentation": "

Pagination token to request the next set of results.

" + } + }, + "MaxResults": { + "target": "com.amazonaws.sqs#BoxedInteger", + "traits": { + "smithy.api#documentation": "

Maximum number of results to include in the response. Value range is 1 to 1000. You\n must set MaxResults to receive a value for NextToken in the\n response.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

", + "smithy.api#input": {} + } + }, + "com.amazonaws.sqs#ListDeadLetterSourceQueuesResult": { + "type": "structure", + "members": { + "queueUrls": { + "target": "com.amazonaws.sqs#QueueUrlList", + "traits": { + "smithy.api#documentation": "

A list of source queue URLs that have the RedrivePolicy queue attribute\n configured with a dead-letter queue.

", + "smithy.api#required": {}, + "smithy.api#xmlFlattened": {}, + "smithy.api#xmlName": "QueueUrl" + } }, "NextToken": { "target": "com.amazonaws.sqs#Token", @@ -2042,6 +2385,15 @@ "target": "com.amazonaws.sqs#ListMessageMoveTasksResult" }, "errors": [ + { + "target": "com.amazonaws.sqs#InvalidAddress" + }, + { + "target": "com.amazonaws.sqs#InvalidSecurity" + }, + { + "target": "com.amazonaws.sqs#RequestThrottled" + }, { "target": "com.amazonaws.sqs#ResourceNotFoundException" }, @@ -2064,9 +2416,8 @@ } }, "MaxResults": { - "target": "com.amazonaws.sqs#Integer", + "target": "com.amazonaws.sqs#NullableInteger", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to include in the response. The default is 1, which\n provides the most recent message movement task. The upper limit is 10.

" } } @@ -2088,7 +2439,8 @@ } }, "traits": { - "smithy.api#output": {} + "smithy.api#output": {}, + "smithy.api#xmlName": "ListMessageMoveTasksResult" } }, "com.amazonaws.sqs#ListMessageMoveTasksResultEntry": { @@ -2101,7 +2453,7 @@ } }, "Status": { - "target": "com.amazonaws.sqs#String", + "target": "com.amazonaws.sqs#TaskStatus", "traits": { "smithy.api#documentation": "

The status of the message movement task. Possible values are: RUNNING, COMPLETED,\n CANCELLING, CANCELLED, and FAILED.

" } @@ -2119,9 +2471,8 @@ } }, "MaxNumberOfMessagesPerSecond": { - "target": "com.amazonaws.sqs#Integer", + "target": "com.amazonaws.sqs#NullableInteger", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of messages to be moved per second (the message movement rate), if it has\n been specified in the StartMessageMoveTask request. If a\n MaxNumberOfMessagesPerSecond has not been specified in the\n StartMessageMoveTask request, this field value will be NULL.

" } }, @@ -2133,9 +2484,8 @@ } }, "ApproximateNumberOfMessagesToMove": { - "target": "com.amazonaws.sqs#Long", + "target": "com.amazonaws.sqs#NullableLong", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of messages to be moved from the source queue. This number is obtained at\n the time of starting the message movement task.

" } }, @@ -2171,8 +2521,25 @@ "output": { "target": "com.amazonaws.sqs#ListQueueTagsResult" }, + "errors": [ + { + "target": "com.amazonaws.sqs#InvalidAddress" + }, + { + "target": "com.amazonaws.sqs#InvalidSecurity" + }, + { + "target": "com.amazonaws.sqs#QueueDoesNotExist" + }, + { + "target": "com.amazonaws.sqs#RequestThrottled" + }, + { + "target": "com.amazonaws.sqs#UnsupportedOperation" + } + ], "traits": { - "smithy.api#documentation": "

List all cost allocation tags added to the specified Amazon SQS queue.\n For an overview, see Tagging \nYour Amazon SQS Queues in the Amazon SQS Developer Guide.

\n \n

Cross-account permissions don't apply to this action. For more information, \nsee Grant \ncross-account permissions to a role and a username in the Amazon SQS Developer Guide.

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

List all cost allocation tags added to the specified Amazon SQS queue. For an\n overview, see Tagging\n Your Amazon SQS Queues in the Amazon SQS Developer\n Guide.

\n \n

Cross-account permissions don't apply to this action. For more information, see\n Grant cross-account permissions to a role and a username in the\n Amazon SQS Developer Guide.

\n
" } }, "com.amazonaws.sqs#ListQueueTagsRequest": { @@ -2214,8 +2581,22 @@ "output": { "target": "com.amazonaws.sqs#ListQueuesResult" }, + "errors": [ + { + "target": "com.amazonaws.sqs#InvalidAddress" + }, + { + "target": "com.amazonaws.sqs#InvalidSecurity" + }, + { + "target": "com.amazonaws.sqs#RequestThrottled" + }, + { + "target": "com.amazonaws.sqs#UnsupportedOperation" + } + ], "traits": { - "smithy.api#documentation": "

Returns a list of your queues in the current region. The response includes a maximum\n of 1,000 results. If you specify a value for the optional QueueNamePrefix\n parameter, only queues with a name that begins with the specified value are\n returned.

\n

The listQueues methods supports pagination. Set parameter\n MaxResults in the request to specify the maximum number of results to\n be returned in the response. If you do not set MaxResults, the response\n includes a maximum of 1,000 results. If you set MaxResults and there are\n additional results to display, the response includes a value for NextToken.\n Use NextToken as a parameter in your next request to\n listQueues to receive the next page of results.

\n \n

Cross-account permissions don't apply to this action. For more information, \nsee Grant \ncross-account permissions to a role and a username in the Amazon SQS Developer Guide.

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

Returns a list of your queues in the current region. The response includes a maximum\n of 1,000 results. If you specify a value for the optional QueueNamePrefix\n parameter, only queues with a name that begins with the specified value are\n returned.

\n

The listQueues methods supports pagination. Set parameter\n MaxResults in the request to specify the maximum number of results to\n be returned in the response. If you do not set MaxResults, the response\n includes a maximum of 1,000 results. If you set MaxResults and there are\n additional results to display, the response includes a value for NextToken.\n Use NextToken as a parameter in your next request to\n listQueues to receive the next page of results.

\n \n

Cross-account permissions don't apply to this action. For more information, see\n Grant cross-account permissions to a role and a username in the\n Amazon SQS Developer Guide.

\n
", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -2254,12 +2635,6 @@ "com.amazonaws.sqs#ListQueuesResult": { "type": "structure", "members": { - "NextToken": { - "target": "com.amazonaws.sqs#Token", - "traits": { - "smithy.api#documentation": "

Pagination token to include in the next request. Token value is null if\n there are no additional results to request, or if you did not set\n MaxResults in the request.

" - } - }, "QueueUrls": { "target": "com.amazonaws.sqs#QueueUrlList", "traits": { @@ -2267,6 +2642,12 @@ "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "QueueUrl" } + }, + "NextToken": { + "target": "com.amazonaws.sqs#Token", + "traits": { + "smithy.api#documentation": "

Pagination token to include in the next request. Token value is null if\n there are no additional results to request, or if you did not set\n MaxResults in the request.

" + } } }, "traits": { @@ -2318,13 +2699,13 @@ "MD5OfMessageAttributes": { "target": "com.amazonaws.sqs#String", "traits": { - "smithy.api#documentation": "

An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.

" + "smithy.api#documentation": "

An MD5 digest of the non-URL-encoded message attribute string. You can use this\n attribute to verify that Amazon SQS received the message correctly. Amazon SQS\n URL-decodes the message before creating the MD5 digest. For information about MD5, see\n RFC1321.

" } }, "MessageAttributes": { "target": "com.amazonaws.sqs#MessageBodyAttributeMap", "traits": { - "smithy.api#documentation": "

Each message attribute consists of a Name, Type, \nand Value. For more information, see \nAmazon SQS \nmessage attributes in the Amazon SQS Developer Guide.

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

Each message attribute consists of a Name, Type, and\n Value. For more information, see Amazon SQS message attributes in the Amazon SQS Developer\n Guide.

", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "MessageAttribute" } @@ -2377,7 +2758,7 @@ "DataType": { "target": "com.amazonaws.sqs#String", "traits": { - "smithy.api#documentation": "

Amazon SQS supports the following logical data types: String,\n Number, and Binary. For the Number data type,\n you must use StringValue.

\n

You can also append custom labels. For more information, see Amazon SQS Message Attributes in the Amazon SQS Developer\n Guide.

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

Amazon SQS supports the following logical data types: String,\n Number, and Binary. For the Number data type,\n you must use StringValue.

\n

You can also append custom labels. For more information, see Amazon SQS Message Attributes in the Amazon SQS Developer\n Guide.

", "smithy.api#required": {} } } @@ -2554,7 +2935,7 @@ "DataType": { "target": "com.amazonaws.sqs#String", "traits": { - "smithy.api#documentation": "

Amazon SQS supports the following logical data types: String,\n Number, and Binary. For the Number data type,\n you must use StringValue.

\n

You can also append custom labels. For more information, see Amazon SQS Message Attributes in the Amazon SQS Developer\n Guide.

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

Amazon SQS supports the following logical data types: String,\n Number, and Binary. For the Number data type,\n you must use StringValue.

\n

You can also append custom labels. For more information, see Amazon SQS Message Attributes in the Amazon SQS Developer\n Guide.

", "smithy.api#required": {} } } @@ -2563,9 +2944,19 @@ "smithy.api#documentation": "

The user-specified message system attribute value. For string data types, the\n Value attribute has the same restrictions on the content as the message\n body. For more information, see \n SendMessage.\n

\n

\n Name, type, value and the message body must not\n be empty or null.

" } }, + "com.amazonaws.sqs#NullableInteger": { + "type": "integer" + }, + "com.amazonaws.sqs#NullableLong": { + "type": "long" + }, "com.amazonaws.sqs#OverLimit": { "type": "structure", - "members": {}, + "members": { + "message": { + "target": "com.amazonaws.sqs#ExceptionMessage" + } + }, "traits": { "aws.protocols#awsQueryError": { "code": "OverLimit", @@ -2585,11 +2976,23 @@ "target": "smithy.api#Unit" }, "errors": [ + { + "target": "com.amazonaws.sqs#InvalidAddress" + }, + { + "target": "com.amazonaws.sqs#InvalidSecurity" + }, { "target": "com.amazonaws.sqs#PurgeQueueInProgress" }, { "target": "com.amazonaws.sqs#QueueDoesNotExist" + }, + { + "target": "com.amazonaws.sqs#RequestThrottled" + }, + { + "target": "com.amazonaws.sqs#UnsupportedOperation" } ], "traits": { @@ -2598,7 +3001,11 @@ }, "com.amazonaws.sqs#PurgeQueueInProgress": { "type": "structure", - "members": {}, + "members": { + "message": { + "target": "com.amazonaws.sqs#ExceptionMessage" + } + }, "traits": { "aws.protocols#awsQueryError": { "code": "AWS.SimpleQueueService.PurgeQueueInProgress", @@ -2779,7 +3186,11 @@ }, "com.amazonaws.sqs#QueueDeletedRecently": { "type": "structure", - "members": {}, + "members": { + "message": { + "target": "com.amazonaws.sqs#ExceptionMessage" + } + }, "traits": { "aws.protocols#awsQueryError": { "code": "AWS.SimpleQueueService.QueueDeletedRecently", @@ -2792,7 +3203,11 @@ }, "com.amazonaws.sqs#QueueDoesNotExist": { "type": "structure", - "members": {}, + "members": { + "message": { + "target": "com.amazonaws.sqs#ExceptionMessage" + } + }, "traits": { "aws.protocols#awsQueryError": { "code": "AWS.SimpleQueueService.NonExistentQueue", @@ -2805,13 +3220,17 @@ }, "com.amazonaws.sqs#QueueNameExists": { "type": "structure", - "members": {}, + "members": { + "message": { + "target": "com.amazonaws.sqs#ExceptionMessage" + } + }, "traits": { "aws.protocols#awsQueryError": { "code": "QueueAlreadyExists", "httpResponseCode": 400 }, - "smithy.api#documentation": "

A queue with this name already exists. Amazon SQS returns this error only if the request\n includes attributes whose values differ from those of the existing queue.

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

A queue with this name already exists. Amazon SQS returns this error only if the\n request includes attributes whose values differ from those of the existing queue.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -2824,10 +3243,19 @@ }, "com.amazonaws.sqs#ReceiptHandleIsInvalid": { "type": "structure", - "members": {}, + "members": { + "message": { + "target": "com.amazonaws.sqs#ExceptionMessage" + } + }, "traits": { + "aws.protocols#awsQueryError": { + "code": "ReceiptHandleIsInvalid", + "httpResponseCode": 404 + }, "smithy.api#documentation": "

The specified receipt handle isn't valid.

", - "smithy.api#error": "client" + "smithy.api#error": "client", + "smithy.api#httpError": 404 } }, "com.amazonaws.sqs#ReceiveMessage": { @@ -2839,12 +3267,48 @@ "target": "com.amazonaws.sqs#ReceiveMessageResult" }, "errors": [ + { + "target": "com.amazonaws.sqs#InvalidAddress" + }, + { + "target": "com.amazonaws.sqs#InvalidSecurity" + }, + { + "target": "com.amazonaws.sqs#KmsAccessDenied" + }, + { + "target": "com.amazonaws.sqs#KmsDisabled" + }, + { + "target": "com.amazonaws.sqs#KmsInvalidKeyUsage" + }, + { + "target": "com.amazonaws.sqs#KmsInvalidState" + }, + { + "target": "com.amazonaws.sqs#KmsNotFound" + }, + { + "target": "com.amazonaws.sqs#KmsOptInRequired" + }, + { + "target": "com.amazonaws.sqs#KmsThrottled" + }, { "target": "com.amazonaws.sqs#OverLimit" + }, + { + "target": "com.amazonaws.sqs#QueueDoesNotExist" + }, + { + "target": "com.amazonaws.sqs#RequestThrottled" + }, + { + "target": "com.amazonaws.sqs#UnsupportedOperation" } ], "traits": { - "smithy.api#documentation": "

Retrieves one or more messages (up to 10), from the specified queue. Using the\n WaitTimeSeconds parameter enables long-poll support. For more\n information, see Amazon SQS\n Long Polling in the Amazon SQS Developer Guide.

\n

Short poll is the default behavior where a weighted random set of machines is sampled\n on a ReceiveMessage call. Thus, only the messages on the sampled machines\n are returned. If the number of messages in the queue is small (fewer than 1,000), you\n most likely get fewer messages than you requested per ReceiveMessage call.\n If the number of messages in the queue is extremely small, you might not receive any\n messages in a particular ReceiveMessage response. If this happens, repeat\n the request.

\n

For each message returned, the response includes the following:

\n \n

The receipt handle is the identifier you must provide when deleting the message. For\n more information, see Queue and Message Identifiers in the Amazon SQS Developer\n Guide.

\n

You can provide the VisibilityTimeout parameter in your request. The\n parameter is applied to the messages that Amazon SQS returns in the response. If you don't\n include the parameter, the overall visibility timeout for the queue is used for the\n returned messages. For more information, see Visibility Timeout in the Amazon SQS Developer\n Guide.

\n

A message that isn't deleted or a message whose visibility isn't extended before the\n visibility timeout expires counts as a failed receive. Depending on the configuration of\n the queue, the message might be sent to the dead-letter queue.

\n \n

In the future, new attributes might be added. If you write code that calls this action, we recommend that you structure your code so that it can handle new attributes gracefully.

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

Retrieves one or more messages (up to 10), from the specified queue. Using the\n WaitTimeSeconds parameter enables long-poll support. For more\n information, see Amazon\n SQS Long Polling in the Amazon SQS Developer Guide.

\n

Short poll is the default behavior where a weighted random set of machines is sampled\n on a ReceiveMessage call. Thus, only the messages on the sampled machines\n are returned. If the number of messages in the queue is small (fewer than 1,000), you\n most likely get fewer messages than you requested per ReceiveMessage call.\n If the number of messages in the queue is extremely small, you might not receive any\n messages in a particular ReceiveMessage response. If this happens, repeat\n the request.

\n

For each message returned, the response includes the following:

\n \n

The receipt handle is the identifier you must provide when deleting the message. For\n more information, see Queue and Message Identifiers in the Amazon SQS Developer\n Guide.

\n

You can provide the VisibilityTimeout parameter in your request. The\n parameter is applied to the messages that Amazon SQS returns in the response. If you\n don't include the parameter, the overall visibility timeout for the queue is used for\n the returned messages. For more information, see Visibility Timeout in the Amazon SQS Developer\n Guide.

\n

A message that isn't deleted or a message whose visibility isn't extended before the\n visibility timeout expires counts as a failed receive. Depending on the configuration of\n the queue, the message might be sent to the dead-letter queue.

\n \n

In the future, new attributes might be added. If you write code that calls this\n action, we recommend that you structure your code so that it can handle new\n attributes gracefully.

\n
" } }, "com.amazonaws.sqs#ReceiveMessageRequest": { @@ -2860,7 +3324,7 @@ "AttributeNames": { "target": "com.amazonaws.sqs#AttributeNameList", "traits": { - "smithy.api#documentation": "

A list of attributes that need to be returned along with each message. These\n attributes include:

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

A list of attributes that need to be returned along with each message. These\n attributes include:

\n ", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "AttributeName" } @@ -2874,30 +3338,27 @@ } }, "MaxNumberOfMessages": { - "target": "com.amazonaws.sqs#Integer", + "target": "com.amazonaws.sqs#NullableInteger", "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The maximum number of messages to return. Amazon SQS never returns more messages than this\n value (however, fewer messages might be returned). Valid values: 1 to 10. Default:\n 1.

" + "smithy.api#documentation": "

The maximum number of messages to return. Amazon SQS never returns more messages than\n this value (however, fewer messages might be returned). Valid values: 1 to 10. Default:\n 1.

" } }, "VisibilityTimeout": { - "target": "com.amazonaws.sqs#Integer", + "target": "com.amazonaws.sqs#NullableInteger", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The duration (in seconds) that the received messages are hidden from subsequent\n retrieve requests after being retrieved by a ReceiveMessage request.

" } }, "WaitTimeSeconds": { - "target": "com.amazonaws.sqs#Integer", + "target": "com.amazonaws.sqs#NullableInteger", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The duration (in seconds) for which the call waits for a message to arrive in the\n queue before returning. If a message is available, the call returns sooner than\n WaitTimeSeconds. If no messages are available and the wait time\n expires, the call returns successfully with an empty list of messages.

\n \n

To avoid HTTP errors, ensure that the HTTP response timeout for\n ReceiveMessage requests is longer than the\n WaitTimeSeconds parameter. For example, with the Java SDK, you can\n set HTTP transport settings using the NettyNioAsyncHttpClient for asynchronous clients, or the ApacheHttpClient for synchronous clients.

\n
" } }, "ReceiveRequestAttemptId": { "target": "com.amazonaws.sqs#String", "traits": { - "smithy.api#documentation": "

This parameter applies only to FIFO (first-in-first-out) queues.

\n

The token used for deduplication of ReceiveMessage calls. If a networking\n issue occurs after a ReceiveMessage action, and instead of a response you\n receive a generic error, it is possible to retry the same action with an identical\n ReceiveRequestAttemptId to retrieve the same set of messages, even if\n their visibility timeout has not yet expired.

\n \n

The maximum length of ReceiveRequestAttemptId is 128 characters.\n ReceiveRequestAttemptId can contain alphanumeric characters\n (a-z, A-Z, 0-9) and punctuation\n (!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~).

\n

For best practices of using ReceiveRequestAttemptId, see Using the ReceiveRequestAttemptId Request Parameter in the Amazon SQS\n Developer Guide.

" + "smithy.api#documentation": "

This parameter applies only to FIFO (first-in-first-out) queues.

\n

The token used for deduplication of ReceiveMessage calls. If a networking\n issue occurs after a ReceiveMessage action, and instead of a response you\n receive a generic error, it is possible to retry the same action with an identical\n ReceiveRequestAttemptId to retrieve the same set of messages, even if\n their visibility timeout has not yet expired.

\n \n

The maximum length of ReceiveRequestAttemptId is 128 characters.\n ReceiveRequestAttemptId can contain alphanumeric characters\n (a-z, A-Z, 0-9) and punctuation\n (!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~).

\n

For best practices of using ReceiveRequestAttemptId, see Using the ReceiveRequestAttemptId Request Parameter in the Amazon\n SQS Developer Guide.

" } } }, @@ -2931,8 +3392,25 @@ "output": { "target": "smithy.api#Unit" }, + "errors": [ + { + "target": "com.amazonaws.sqs#InvalidAddress" + }, + { + "target": "com.amazonaws.sqs#InvalidSecurity" + }, + { + "target": "com.amazonaws.sqs#QueueDoesNotExist" + }, + { + "target": "com.amazonaws.sqs#RequestThrottled" + }, + { + "target": "com.amazonaws.sqs#UnsupportedOperation" + } + ], "traits": { - "smithy.api#documentation": "

Revokes any permissions in the queue policy that matches the specified\n Label parameter.

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

Revokes any permissions in the queue policy that matches the specified\n Label parameter.

\n \n \n " } }, "com.amazonaws.sqs#RemovePermissionRequest": { @@ -2958,9 +3436,30 @@ "smithy.api#input": {} } }, + "com.amazonaws.sqs#RequestThrottled": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.sqs#ExceptionMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "RequestThrottled", + "httpResponseCode": 403 + }, + "smithy.api#documentation": "

The request was denied due to request throttling.

\n ", + "smithy.api#error": "client", + "smithy.api#httpError": 403 + } + }, "com.amazonaws.sqs#ResourceNotFoundException": { "type": "structure", - "members": {}, + "members": { + "message": { + "target": "com.amazonaws.sqs#ExceptionMessage" + } + }, "traits": { "aws.protocols#awsQueryError": { "code": "ResourceNotFoundException", @@ -2980,15 +3479,48 @@ "target": "com.amazonaws.sqs#SendMessageResult" }, "errors": [ + { + "target": "com.amazonaws.sqs#InvalidAddress" + }, { "target": "com.amazonaws.sqs#InvalidMessageContents" }, + { + "target": "com.amazonaws.sqs#InvalidSecurity" + }, + { + "target": "com.amazonaws.sqs#KmsAccessDenied" + }, + { + "target": "com.amazonaws.sqs#KmsDisabled" + }, + { + "target": "com.amazonaws.sqs#KmsInvalidKeyUsage" + }, + { + "target": "com.amazonaws.sqs#KmsInvalidState" + }, + { + "target": "com.amazonaws.sqs#KmsNotFound" + }, + { + "target": "com.amazonaws.sqs#KmsOptInRequired" + }, + { + "target": "com.amazonaws.sqs#KmsThrottled" + }, + { + "target": "com.amazonaws.sqs#QueueDoesNotExist" + }, + { + "target": "com.amazonaws.sqs#RequestThrottled" + }, { "target": "com.amazonaws.sqs#UnsupportedOperation" } ], "traits": { - "smithy.api#documentation": "

Delivers a message to the specified queue.

\n \n

A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed:

\n

\n #x9 | #xA | #xD | #x20 to #xD7FF | #xE000 to #xFFFD | #x10000 to #x10FFFF\n

\n

Any characters not included in this list will be rejected. For more information, see the W3C specification for characters.

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

Delivers a message to the specified queue.

\n \n

A message can include only XML, JSON, and unformatted text. The following Unicode\n characters are allowed:

\n

\n #x9 | #xA | #xD | #x20 to\n #xD7FF | #xE000 to #xFFFD |\n #x10000 to #x10FFFF\n

\n

Any characters not included in this list will be rejected. For more information,\n see the W3C specification for\n characters.

\n
" } }, "com.amazonaws.sqs#SendMessageBatch": { @@ -3009,9 +3541,42 @@ { "target": "com.amazonaws.sqs#EmptyBatchRequest" }, + { + "target": "com.amazonaws.sqs#InvalidAddress" + }, { "target": "com.amazonaws.sqs#InvalidBatchEntryId" }, + { + "target": "com.amazonaws.sqs#InvalidSecurity" + }, + { + "target": "com.amazonaws.sqs#KmsAccessDenied" + }, + { + "target": "com.amazonaws.sqs#KmsDisabled" + }, + { + "target": "com.amazonaws.sqs#KmsInvalidKeyUsage" + }, + { + "target": "com.amazonaws.sqs#KmsInvalidState" + }, + { + "target": "com.amazonaws.sqs#KmsNotFound" + }, + { + "target": "com.amazonaws.sqs#KmsOptInRequired" + }, + { + "target": "com.amazonaws.sqs#KmsThrottled" + }, + { + "target": "com.amazonaws.sqs#QueueDoesNotExist" + }, + { + "target": "com.amazonaws.sqs#RequestThrottled" + }, { "target": "com.amazonaws.sqs#TooManyEntriesInBatchRequest" }, @@ -3020,7 +3585,7 @@ } ], "traits": { - "smithy.api#documentation": "

You can use SendMessageBatch to send up to 10 messages to the specified\n queue by assigning either identical or different values to each message (or by not\n assigning values at all). This is a batch version of \n SendMessage. For a FIFO queue, multiple messages within a single batch are enqueued\n in the order they are sent.

\n

The result of sending each message is reported individually in the response.\n Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.

\n

The maximum allowed individual message size and the maximum total payload size (the\n sum of the individual lengths of all of the batched messages) are both 256 KiB (262,144\n bytes).

\n \n

A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed:

\n

\n #x9 | #xA | #xD | #x20 to #xD7FF | #xE000 to #xFFFD | #x10000 to #x10FFFF\n

\n

Any characters not included in this list will be rejected. For more information, see the W3C specification for characters.

\n
\n

If you don't specify the DelaySeconds parameter for an entry, Amazon SQS uses\n the default value for the queue.

" + "smithy.api#documentation": "

You can use SendMessageBatch to send up to 10 messages to the specified\n queue by assigning either identical or different values to each message (or by not\n assigning values at all). This is a batch version of \n SendMessage. For a FIFO queue, multiple messages within a single batch are enqueued in\n the order they are sent.

\n

The result of sending each message is reported individually in the response. Because\n the batch request can result in a combination of successful and unsuccessful actions,\n you should check for batch errors even when the call returns an HTTP status code of\n 200.

\n

The maximum allowed individual message size and the maximum total payload size (the\n sum of the individual lengths of all of the batched messages) are both 256 KiB (262,144\n bytes).

\n \n

A message can include only XML, JSON, and unformatted text. The following Unicode\n characters are allowed:

\n

\n #x9 | #xA | #xD | #x20 to\n #xD7FF | #xE000 to #xFFFD |\n #x10000 to #x10FFFF\n

\n

Any characters not included in this list will be rejected. For more information,\n see the W3C specification for\n characters.

\n
\n

If you don't specify the DelaySeconds parameter for an entry, Amazon SQS\n uses the default value for the queue.

" } }, "com.amazonaws.sqs#SendMessageBatchRequest": { @@ -3054,7 +3619,7 @@ "Id": { "target": "com.amazonaws.sqs#String", "traits": { - "smithy.api#documentation": "

An identifier for a message in this batch used to communicate the result.

\n \n

The Ids of a batch request need to be unique within a request.

\n

This identifier can have up to 80 characters. The following characters are accepted: alphanumeric characters, hyphens(-), and underscores (_).

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

An identifier for a message in this batch used to communicate the result.

\n \n

The Ids of a batch request need to be unique within a request.

\n

This identifier can have up to 80 characters. The following characters are\n accepted: alphanumeric characters, hyphens(-), and underscores (_).

\n
", "smithy.api#required": {} } }, @@ -3066,16 +3631,15 @@ } }, "DelaySeconds": { - "target": "com.amazonaws.sqs#Integer", + "target": "com.amazonaws.sqs#NullableInteger", "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The length of time, in seconds, for which a specific message is delayed. Valid values:\n 0 to 900. Maximum: 15 minutes. Messages with a positive DelaySeconds value\n become available for processing after the delay period is finished. If you don't specify\n a value, the default value for the queue is applied.

\n \n

When you set FifoQueue, you can't set DelaySeconds per message. You can set this parameter only on a queue level.

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

The length of time, in seconds, for which a specific message is delayed. Valid values:\n 0 to 900. Maximum: 15 minutes. Messages with a positive DelaySeconds value\n become available for processing after the delay period is finished. If you don't specify\n a value, the default value for the queue is applied.

\n \n

When you set FifoQueue, you can't set DelaySeconds per\n message. You can set this parameter only on a queue level.

\n
" } }, "MessageAttributes": { "target": "com.amazonaws.sqs#MessageBodyAttributeMap", "traits": { - "smithy.api#documentation": "

Each message attribute consists of a Name, Type, \nand Value. For more information, see \nAmazon SQS \nmessage attributes in the Amazon SQS Developer Guide.

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

Each message attribute consists of a Name, Type, and\n Value. For more information, see Amazon SQS message attributes in the Amazon SQS Developer\n Guide.

", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "MessageAttribute" } @@ -3083,7 +3647,7 @@ "MessageSystemAttributes": { "target": "com.amazonaws.sqs#MessageBodySystemAttributeMap", "traits": { - "smithy.api#documentation": "

The message system attribute to send Each message system attribute consists of a Name, Type, and Value.

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

The message system attribute to send Each message system attribute consists of a\n Name, Type, and Value.

\n \n \n ", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "MessageSystemAttribute" } @@ -3091,18 +3655,18 @@ "MessageDeduplicationId": { "target": "com.amazonaws.sqs#String", "traits": { - "smithy.api#documentation": "

This parameter applies only to FIFO (first-in-first-out) queues.

\n

The token used for deduplication of messages within a 5-minute minimum deduplication\n interval. If a message with a particular MessageDeduplicationId is sent\n successfully, subsequent messages with the same MessageDeduplicationId are\n accepted successfully but aren't delivered. For more information, see Exactly-once processing in the Amazon SQS Developer\n Guide.

\n \n \n

The MessageDeduplicationId is available to the consumer of the\n message (this can be useful for troubleshooting delivery issues).

\n

If a message is sent successfully but the acknowledgement is lost and the message\n is resent with the same MessageDeduplicationId after the deduplication\n interval, Amazon SQS can't detect duplicate messages.

\n

Amazon SQS continues to keep track of the message deduplication ID even after the message is received and deleted.

\n
\n

The length of MessageDeduplicationId is 128 characters.\n MessageDeduplicationId can contain alphanumeric characters\n (a-z, A-Z, 0-9) and punctuation\n (!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~).

\n

For best practices of using MessageDeduplicationId, see Using the MessageDeduplicationId Property in the Amazon SQS Developer\n Guide.

" + "smithy.api#documentation": "

This parameter applies only to FIFO (first-in-first-out) queues.

\n

The token used for deduplication of messages within a 5-minute minimum deduplication\n interval. If a message with a particular MessageDeduplicationId is sent\n successfully, subsequent messages with the same MessageDeduplicationId are\n accepted successfully but aren't delivered. For more information, see Exactly-once processing in the Amazon SQS Developer\n Guide.

\n \n \n

The MessageDeduplicationId is available to the consumer of the\n message (this can be useful for troubleshooting delivery issues).

\n

If a message is sent successfully but the acknowledgement is lost and the message\n is resent with the same MessageDeduplicationId after the deduplication\n interval, Amazon SQS can't detect duplicate messages.

\n

Amazon SQS continues to keep track of the message deduplication ID even after the\n message is received and deleted.

\n
\n

The length of MessageDeduplicationId is 128 characters.\n MessageDeduplicationId can contain alphanumeric characters\n (a-z, A-Z, 0-9) and punctuation\n (!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~).

\n

For best practices of using MessageDeduplicationId, see Using the MessageDeduplicationId Property in the Amazon SQS\n Developer Guide.

" } }, "MessageGroupId": { "target": "com.amazonaws.sqs#String", "traits": { - "smithy.api#documentation": "

This parameter applies only to FIFO (first-in-first-out) queues.

\n

The tag that specifies that a message belongs to a specific message group. Messages\n that belong to the same message group are processed in a FIFO manner (however,\n messages in different message groups might be processed out of order). To interleave\n multiple ordered streams within a single queue, use MessageGroupId values\n (for example, session data for multiple users). In this scenario, multiple consumers can\n process the queue, but the session data of each user is processed in a FIFO\n fashion.

\n \n

The length of MessageGroupId is 128 characters. Valid values:\n alphanumeric characters and punctuation\n (!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~).

\n

For best practices of using MessageGroupId, see Using the MessageGroupId Property in the Amazon SQS Developer\n Guide.

\n \n

\n MessageGroupId is required for FIFO queues. You can't use it for\n Standard queues.

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

This parameter applies only to FIFO (first-in-first-out) queues.

\n

The tag that specifies that a message belongs to a specific message group. Messages\n that belong to the same message group are processed in a FIFO manner (however, messages\n in different message groups might be processed out of order). To interleave multiple\n ordered streams within a single queue, use MessageGroupId values (for\n example, session data for multiple users). In this scenario, multiple consumers can\n process the queue, but the session data of each user is processed in a FIFO\n fashion.

\n \n

The length of MessageGroupId is 128 characters. Valid values:\n alphanumeric characters and punctuation\n (!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~).

\n

For best practices of using MessageGroupId, see Using the MessageGroupId Property in the Amazon SQS Developer\n Guide.

\n \n

\n MessageGroupId is required for FIFO queues. You can't use it for\n Standard queues.

\n
" } } }, "traits": { - "smithy.api#documentation": "

Contains the details of a single Amazon SQS message along with an Id.

" + "smithy.api#documentation": "

Contains the details of a single Amazon SQS message along with an\n Id.

" } }, "com.amazonaws.sqs#SendMessageBatchRequestEntryList": { @@ -3158,20 +3722,20 @@ "MD5OfMessageBody": { "target": "com.amazonaws.sqs#String", "traits": { - "smithy.api#documentation": "

An MD5 digest of the non-URL-encoded message body string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.

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

An MD5 digest of the non-URL-encoded message body string. You can use this attribute\n to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the\n message before creating the MD5 digest. For information about MD5, see RFC1321.

", "smithy.api#required": {} } }, "MD5OfMessageAttributes": { "target": "com.amazonaws.sqs#String", "traits": { - "smithy.api#documentation": "

An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.

" + "smithy.api#documentation": "

An MD5 digest of the non-URL-encoded message attribute string. You can use this\n attribute to verify that Amazon SQS received the message correctly. Amazon SQS\n URL-decodes the message before creating the MD5 digest. For information about MD5, see\n RFC1321.

" } }, "MD5OfMessageSystemAttributes": { "target": "com.amazonaws.sqs#String", "traits": { - "smithy.api#documentation": "

An MD5 digest of the non-URL-encoded message system attribute string. You can use this \nattribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.

" + "smithy.api#documentation": "

An MD5 digest of the non-URL-encoded message system attribute string. You can use this\n attribute to verify that Amazon SQS received the message correctly. Amazon SQS\n URL-decodes the message before creating the MD5 digest. For information about MD5, see\n RFC1321.

" } }, "SequenceNumber": { @@ -3204,21 +3768,20 @@ "MessageBody": { "target": "com.amazonaws.sqs#String", "traits": { - "smithy.api#documentation": "

The message to send. The minimum size is one character. The maximum size is 256\n KiB.

\n \n

A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed:

\n

\n #x9 | #xA | #xD | #x20 to #xD7FF | #xE000 to #xFFFD | #x10000 to #x10FFFF\n

\n

Any characters not included in this list will be rejected. For more information, see the W3C specification for characters.

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

The message to send. The minimum size is one character. The maximum size is 256\n KiB.

\n \n

A message can include only XML, JSON, and unformatted text. The following Unicode\n characters are allowed:

\n

\n #x9 | #xA | #xD | #x20 to\n #xD7FF | #xE000 to #xFFFD |\n #x10000 to #x10FFFF\n

\n

Any characters not included in this list will be rejected. For more information,\n see the W3C specification for\n characters.

\n
", "smithy.api#required": {} } }, "DelaySeconds": { - "target": "com.amazonaws.sqs#Integer", + "target": "com.amazonaws.sqs#NullableInteger", "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The length of time, in seconds, for which to delay a specific message. Valid values:\n 0 to 900. Maximum: 15 minutes. Messages with a positive DelaySeconds value\n become available for processing after the delay period is finished. If you don't specify\n a value, the default value for the queue applies.

\n \n

When you set FifoQueue, you can't set DelaySeconds per message. You can set this parameter only on a queue level.

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

The length of time, in seconds, for which to delay a specific message. Valid values:\n 0 to 900. Maximum: 15 minutes. Messages with a positive DelaySeconds value\n become available for processing after the delay period is finished. If you don't specify\n a value, the default value for the queue applies.

\n \n

When you set FifoQueue, you can't set DelaySeconds per\n message. You can set this parameter only on a queue level.

\n
" } }, "MessageAttributes": { "target": "com.amazonaws.sqs#MessageBodyAttributeMap", "traits": { - "smithy.api#documentation": "

Each message attribute consists of a Name, Type, \nand Value. For more information, see \nAmazon SQS \nmessage attributes in the Amazon SQS Developer Guide.

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

Each message attribute consists of a Name, Type, and\n Value. For more information, see Amazon SQS message attributes in the Amazon SQS Developer\n Guide.

", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "MessageAttribute" } @@ -3226,7 +3789,7 @@ "MessageSystemAttributes": { "target": "com.amazonaws.sqs#MessageBodySystemAttributeMap", "traits": { - "smithy.api#documentation": "

The message system attribute to send. Each message system attribute consists of a Name, Type, and Value.

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

The message system attribute to send. Each message system attribute consists of a\n Name, Type, and Value.

\n \n \n ", "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "MessageSystemAttribute" } @@ -3234,13 +3797,13 @@ "MessageDeduplicationId": { "target": "com.amazonaws.sqs#String", "traits": { - "smithy.api#documentation": "

This parameter applies only to FIFO (first-in-first-out) queues.

\n

The token used for deduplication of sent messages. If a message with a particular\n MessageDeduplicationId is sent successfully, any messages sent with the\n same MessageDeduplicationId are accepted successfully but aren't delivered\n during the 5-minute deduplication interval. For more information, see Exactly-once processing in the Amazon SQS Developer\n Guide.

\n \n \n

The MessageDeduplicationId is available to the consumer of the\n message (this can be useful for troubleshooting delivery issues).

\n

If a message is sent successfully but the acknowledgement is lost and the message\n is resent with the same MessageDeduplicationId after the deduplication\n interval, Amazon SQS can't detect duplicate messages.

\n

Amazon SQS continues to keep track of the message deduplication ID even after the message is received and deleted.

\n
\n

The maximum length of MessageDeduplicationId is 128 characters.\n MessageDeduplicationId can contain alphanumeric characters\n (a-z, A-Z, 0-9) and punctuation\n (!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~).

\n

For best practices of using MessageDeduplicationId, see Using the MessageDeduplicationId Property in the Amazon SQS Developer\n Guide.

" + "smithy.api#documentation": "

This parameter applies only to FIFO (first-in-first-out) queues.

\n

The token used for deduplication of sent messages. If a message with a particular\n MessageDeduplicationId is sent successfully, any messages sent with the\n same MessageDeduplicationId are accepted successfully but aren't delivered\n during the 5-minute deduplication interval. For more information, see Exactly-once processing in the Amazon SQS Developer\n Guide.

\n \n \n

The MessageDeduplicationId is available to the consumer of the\n message (this can be useful for troubleshooting delivery issues).

\n

If a message is sent successfully but the acknowledgement is lost and the message\n is resent with the same MessageDeduplicationId after the deduplication\n interval, Amazon SQS can't detect duplicate messages.

\n

Amazon SQS continues to keep track of the message deduplication ID even after the\n message is received and deleted.

\n
\n

The maximum length of MessageDeduplicationId is 128 characters.\n MessageDeduplicationId can contain alphanumeric characters\n (a-z, A-Z, 0-9) and punctuation\n (!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~).

\n

For best practices of using MessageDeduplicationId, see Using the MessageDeduplicationId Property in the Amazon SQS\n Developer Guide.

" } }, "MessageGroupId": { "target": "com.amazonaws.sqs#String", "traits": { - "smithy.api#documentation": "

This parameter applies only to FIFO (first-in-first-out) queues.

\n

The tag that specifies that a message belongs to a specific message group. Messages\n that belong to the same message group are processed in a FIFO manner (however,\n messages in different message groups might be processed out of order). To interleave\n multiple ordered streams within a single queue, use MessageGroupId values\n (for example, session data for multiple users). In this scenario, multiple consumers can\n process the queue, but the session data of each user is processed in a FIFO\n fashion.

\n \n

The length of MessageGroupId is 128 characters. Valid values:\n alphanumeric characters and punctuation\n (!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~).

\n

For best practices of using MessageGroupId, see Using the MessageGroupId Property in the Amazon SQS Developer\n Guide.

\n \n

\n MessageGroupId is required for FIFO queues. You can't use it for\n Standard queues.

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

This parameter applies only to FIFO (first-in-first-out) queues.

\n

The tag that specifies that a message belongs to a specific message group. Messages\n that belong to the same message group are processed in a FIFO manner (however, messages\n in different message groups might be processed out of order). To interleave multiple\n ordered streams within a single queue, use MessageGroupId values (for\n example, session data for multiple users). In this scenario, multiple consumers can\n process the queue, but the session data of each user is processed in a FIFO\n fashion.

\n \n

The length of MessageGroupId is 128 characters. Valid values:\n alphanumeric characters and punctuation\n (!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~).

\n

For best practices of using MessageGroupId, see Using the MessageGroupId Property in the Amazon SQS Developer\n Guide.

\n \n

\n MessageGroupId is required for FIFO queues. You can't use it for\n Standard queues.

\n
" } } }, @@ -3255,19 +3818,19 @@ "MD5OfMessageBody": { "target": "com.amazonaws.sqs#String", "traits": { - "smithy.api#documentation": "

An MD5 digest of the non-URL-encoded message body string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.

" + "smithy.api#documentation": "

An MD5 digest of the non-URL-encoded message body string. You can use this attribute\n to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the\n message before creating the MD5 digest. For information about MD5, see RFC1321.

" } }, "MD5OfMessageAttributes": { "target": "com.amazonaws.sqs#String", "traits": { - "smithy.api#documentation": "

An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.

" + "smithy.api#documentation": "

An MD5 digest of the non-URL-encoded message attribute string. You can use this\n attribute to verify that Amazon SQS received the message correctly. Amazon SQS\n URL-decodes the message before creating the MD5 digest. For information about MD5, see\n RFC1321.

" } }, "MD5OfMessageSystemAttributes": { "target": "com.amazonaws.sqs#String", "traits": { - "smithy.api#documentation": "

An MD5 digest of the non-URL-encoded message system attribute string. You can use this \nattribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest.

" + "smithy.api#documentation": "

An MD5 digest of the non-URL-encoded message system attribute string. You can use this\n attribute to verify that Amazon SQS received the message correctly. Amazon SQS\n URL-decodes the message before creating the MD5 digest.

" } }, "MessageId": { @@ -3297,12 +3860,33 @@ "target": "smithy.api#Unit" }, "errors": [ + { + "target": "com.amazonaws.sqs#InvalidAddress" + }, { "target": "com.amazonaws.sqs#InvalidAttributeName" + }, + { + "target": "com.amazonaws.sqs#InvalidAttributeValue" + }, + { + "target": "com.amazonaws.sqs#InvalidSecurity" + }, + { + "target": "com.amazonaws.sqs#OverLimit" + }, + { + "target": "com.amazonaws.sqs#QueueDoesNotExist" + }, + { + "target": "com.amazonaws.sqs#RequestThrottled" + }, + { + "target": "com.amazonaws.sqs#UnsupportedOperation" } ], "traits": { - "smithy.api#documentation": "

Sets the value of one or more queue attributes. When you change a queue's attributes,\n the change can take up to 60 seconds for most of the attributes to propagate throughout\n the Amazon SQS system. Changes made to the MessageRetentionPeriod attribute can\n take up to 15 minutes and will impact existing messages in the queue potentially causing\n them to be expired and deleted if the MessageRetentionPeriod is reduced\n below the age of existing messages.

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

Sets the value of one or more queue attributes. When you change a queue's attributes,\n the change can take up to 60 seconds for most of the attributes to propagate throughout\n the Amazon SQS system. Changes made to the MessageRetentionPeriod attribute\n can take up to 15 minutes and will impact existing messages in the queue potentially\n causing them to be expired and deleted if the MessageRetentionPeriod is\n reduced below the age of existing messages.

\n \n \n " } }, "com.amazonaws.sqs#SetQueueAttributesRequest": { @@ -3318,7 +3902,7 @@ "Attributes": { "target": "com.amazonaws.sqs#QueueAttributeMap", "traits": { - "smithy.api#documentation": "

A map of attributes to set.

\n

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

\n \n

The following attributes apply only to dead-letter queues:\n

\n \n \n

The dead-letter queue of a \n FIFO queue must also be a FIFO queue. Similarly, the dead-letter \n queue of a standard queue must also be a standard queue.

\n
\n

The following attributes apply only to server-side-encryption:

\n \n

The following attribute applies only to FIFO (first-in-first-out)\n queues:

\n \n

The following attributes apply only to \nhigh throughput\nfor FIFO queues:

\n \n

To enable high throughput for FIFO queues, do the following:

\n \n

If you set these attributes to anything other than the values shown for enabling high\n throughput, normal throughput is in effect and deduplication occurs as specified.

\n

For information on throughput quotas, \n see Quotas related to messages \n in the Amazon SQS Developer Guide.

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

A map of attributes to set.

\n

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

\n \n

The following attributes apply only to dead-letter queues:\n

\n \n \n

The dead-letter queue of a FIFO queue must also be a FIFO queue. Similarly, the\n dead-letter queue of a standard queue must also be a standard queue.

\n
\n

The following attributes apply only to server-side-encryption:

\n \n

The following attribute applies only to FIFO\n (first-in-first-out) queues:

\n \n

The following attributes apply only to high\n throughput for FIFO queues:

\n \n

To enable high throughput for FIFO queues, do the following:

\n \n

If you set these attributes to anything other than the values shown for enabling high\n throughput, normal throughput is in effect and deduplication occurs as specified.

\n

For information on throughput quotas, see Quotas\n related to messages in the Amazon SQS Developer\n Guide.

", "smithy.api#required": {}, "smithy.api#xmlFlattened": {}, "smithy.api#xmlName": "Attribute" @@ -3339,6 +3923,15 @@ "target": "com.amazonaws.sqs#StartMessageMoveTaskResult" }, "errors": [ + { + "target": "com.amazonaws.sqs#InvalidAddress" + }, + { + "target": "com.amazonaws.sqs#InvalidSecurity" + }, + { + "target": "com.amazonaws.sqs#RequestThrottled" + }, { "target": "com.amazonaws.sqs#ResourceNotFoundException" }, @@ -3367,9 +3960,8 @@ } }, "MaxNumberOfMessagesPerSecond": { - "target": "com.amazonaws.sqs#Integer", + "target": "com.amazonaws.sqs#NullableInteger", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of messages to be moved per second (the message movement rate). You can use\n this field to define a fixed message movement rate. The maximum value for messages per\n second is 500. If this field is left blank, the system will optimize the rate based on\n the queue message backlog size, which may vary throughout the duration of the message\n movement task.

" } } @@ -3436,8 +4028,25 @@ "output": { "target": "smithy.api#Unit" }, + "errors": [ + { + "target": "com.amazonaws.sqs#InvalidAddress" + }, + { + "target": "com.amazonaws.sqs#InvalidSecurity" + }, + { + "target": "com.amazonaws.sqs#QueueDoesNotExist" + }, + { + "target": "com.amazonaws.sqs#RequestThrottled" + }, + { + "target": "com.amazonaws.sqs#UnsupportedOperation" + } + ], "traits": { - "smithy.api#documentation": "

Add cost allocation tags to the specified Amazon SQS queue. For an overview, see Tagging \nYour Amazon SQS Queues in the Amazon SQS Developer Guide.

\n

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

\n \n

For a full list of tag restrictions, see \nQuotas related to queues \nin the Amazon SQS Developer Guide.

\n \n

Cross-account permissions don't apply to this action. For more information, \nsee Grant \ncross-account permissions to a role and a username in the Amazon SQS Developer Guide.

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

Add cost allocation tags to the specified Amazon SQS queue. For an overview, see\n Tagging\n Your Amazon SQS Queues in the Amazon SQS Developer\n Guide.

\n

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

\n \n

For a full list of tag restrictions, see Quotas related to queues in the Amazon SQS Developer\n Guide.

\n \n

Cross-account permissions don't apply to this action. For more information, see\n Grant cross-account permissions to a role and a username in the\n Amazon SQS Developer Guide.

\n
" } }, "com.amazonaws.sqs#TagQueueRequest": { @@ -3467,12 +4076,51 @@ "com.amazonaws.sqs#TagValue": { "type": "string" }, + "com.amazonaws.sqs#TaskStatus": { + "type": "enum", + "members": { + "RUNNING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RUNNING" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "CANCELLING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CANCELLING" + } + }, + "CANCELLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CANCELLED" + } + }, + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETED" + } + } + } + }, "com.amazonaws.sqs#Token": { "type": "string" }, "com.amazonaws.sqs#TooManyEntriesInBatchRequest": { "type": "structure", - "members": {}, + "members": { + "message": { + "target": "com.amazonaws.sqs#ExceptionMessage" + } + }, "traits": { "aws.protocols#awsQueryError": { "code": "AWS.SimpleQueueService.TooManyEntriesInBatchRequest", @@ -3485,7 +4133,11 @@ }, "com.amazonaws.sqs#UnsupportedOperation": { "type": "structure", - "members": {}, + "members": { + "message": { + "target": "com.amazonaws.sqs#ExceptionMessage" + } + }, "traits": { "aws.protocols#awsQueryError": { "code": "AWS.SimpleQueueService.UnsupportedOperation", @@ -3504,8 +4156,25 @@ "output": { "target": "smithy.api#Unit" }, + "errors": [ + { + "target": "com.amazonaws.sqs#InvalidAddress" + }, + { + "target": "com.amazonaws.sqs#InvalidSecurity" + }, + { + "target": "com.amazonaws.sqs#QueueDoesNotExist" + }, + { + "target": "com.amazonaws.sqs#RequestThrottled" + }, + { + "target": "com.amazonaws.sqs#UnsupportedOperation" + } + ], "traits": { - "smithy.api#documentation": "

Remove cost allocation tags from the specified Amazon SQS queue. For an overview, see Tagging \nYour Amazon SQS Queues in the Amazon SQS Developer Guide.

\n \n

Cross-account permissions don't apply to this action. For more information, \nsee Grant \ncross-account permissions to a role and a username in the Amazon SQS Developer Guide.

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

Remove cost allocation tags from the specified Amazon SQS queue. For an overview, see\n Tagging\n Your Amazon SQS Queues in the Amazon SQS Developer\n Guide.

\n \n

Cross-account permissions don't apply to this action. For more information, see\n Grant cross-account permissions to a role and a username in the\n Amazon SQS Developer Guide.

\n
" } }, "com.amazonaws.sqs#UntagQueueRequest": {