From e42fdf2e34b268c1a66dd5421d722e91eaad7680 Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Mon, 25 Apr 2022 11:24:55 -0700 Subject: [PATCH] Release v1.44.0 (2022-04-25) (#4375) Release v1.44.0 (2022-04-25) === ### Service Client Updates * `service/connect`: Updates service API, documentation, and paginators * `service/gamelift`: Updates service documentation * Documentation updates for Amazon GameLift. * `service/mq`: Updates service API and documentation * This release adds the CRITICAL_ACTION_REQUIRED broker state and the ActionRequired API property. CRITICAL_ACTION_REQUIRED informs you when your broker is degraded. ActionRequired provides you with a code which you can use to find instructions in the Developer Guide on how to resolve the issue. * `service/rds-data`: Updates service API and documentation * `service/securityhub`: Updates service API and documentation ### SDK Features * `aws/request`: Fixes bug in WithSetRequestHeaders where the header key was added to the header map directly * Addresses an issue where the header keys being added were being added directly to the header map, and did not have the canonical header casing applied. This introduced bugs where instead of overwriting existing header key, it added another map entry. --- CHANGELOG.md | 16 + CHANGELOG_PENDING.md | 2 - aws/version.go | 2 +- models/apis/connect/2017-08-08/api-2.json | 141 +++ models/apis/connect/2017-08-08/docs-2.json | 164 +++- .../apis/connect/2017-08-08/paginators-1.json | 9 + models/apis/gamelift/2015-10-01/docs-2.json | 106 +-- models/apis/mq/2017-11-27/api-2.json | 29 +- models/apis/mq/2017-11-27/docs-2.json | 14 + models/apis/rds-data/2018-08-01/api-2.json | 37 +- models/apis/rds-data/2018-08-01/docs-2.json | 50 +- models/apis/securityhub/2018-10-26/api-2.json | 13 +- .../apis/securityhub/2018-10-26/docs-2.json | 19 +- service/connect/api.go | 891 ++++++++++++++++-- service/connect/connectiface/interface.go | 7 + service/gamelift/api.go | 281 +++--- service/mq/api.go | 60 ++ service/rdsdataservice/api.go | 189 +++- service/rdsdataservice/doc.go | 3 +- service/rdsdataservice/errors.go | 7 + service/securityhub/api.go | 84 +- service/securityhub/doc.go | 2 +- 22 files changed, 1785 insertions(+), 341 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b29f005b1f..787c5aac47d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,19 @@ +Release v1.44.0 (2022-04-25) +=== + +### Service Client Updates +* `service/connect`: Updates service API, documentation, and paginators +* `service/gamelift`: Updates service documentation + * Documentation updates for Amazon GameLift. +* `service/mq`: Updates service API and documentation + * This release adds the CRITICAL_ACTION_REQUIRED broker state and the ActionRequired API property. CRITICAL_ACTION_REQUIRED informs you when your broker is degraded. ActionRequired provides you with a code which you can use to find instructions in the Developer Guide on how to resolve the issue. +* `service/rds-data`: Updates service API and documentation +* `service/securityhub`: Updates service API and documentation + +### SDK Features +* `aws/request`: Fixes bug in WithSetRequestHeaders where the header key was added to the header map directly + * Addresses an issue where the header keys being added were being added directly to the header map, and did not have the canonical header casing applied. This introduced bugs where instead of overwriting existing header key, it added another map entry. + Release v1.43.45 (2022-04-22) === diff --git a/CHANGELOG_PENDING.md b/CHANGELOG_PENDING.md index 4d7c9e4693f..8a1927a39ca 100644 --- a/CHANGELOG_PENDING.md +++ b/CHANGELOG_PENDING.md @@ -1,6 +1,4 @@ ### SDK Features -* `aws/request`: Fixes bug in WithSetRequestHeaders where the header key was added to the header map directly - * Addresses an issue where the header keys being added were being added directly to the header map, and did not have the canonical header casing applied. This introduced bugs where instead of overwriting existing header key, it added another map entry. ### SDK Enhancements diff --git a/aws/version.go b/aws/version.go index 49893b39413..e32dbb761b7 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.43.45" +const SDKVersion = "1.44.0" diff --git a/models/apis/connect/2017-08-08/api-2.json b/models/apis/connect/2017-08-08/api-2.json index cacb44f78f4..23b8e49d324 100644 --- a/models/apis/connect/2017-08-08/api-2.json +++ b/models/apis/connect/2017-08-08/api-2.json @@ -1587,6 +1587,22 @@ {"shape":"AccessDeniedException"} ] }, + "SearchUsers":{ + "name":"SearchUsers", + "http":{ + "method":"POST", + "requestUri":"/search-users" + }, + "input":{"shape":"SearchUsersRequest"}, + "output":{"shape":"SearchUsersResponse"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceException"} + ] + }, "SearchVocabularies":{ "name":"SearchVocabularies", "http":{ @@ -2390,6 +2406,7 @@ "AwaitAnswerMachinePrompt":{"shape":"Boolean"} } }, + "ApproximateTotalCount":{"type":"long"}, "AssociateApprovedOriginRequest":{ "type":"structure", "required":[ @@ -2931,6 +2948,14 @@ "key":{"shape":"ReferenceKey"}, "value":{"shape":"Reference"} }, + "ControlPlaneTagFilter":{ + "type":"structure", + "members":{ + "OrConditions":{"shape":"TagOrConditionList"}, + "AndConditions":{"shape":"TagAndConditionList"}, + "TagCondition":{"shape":"TagCondition"} + } + }, "CreateAgentStatusRequest":{ "type":"structure", "required":[ @@ -4452,7 +4477,21 @@ "Tags":{"shape":"TagMap"} } }, + "HierarchyGroupCondition":{ + "type":"structure", + "members":{ + "Value":{"shape":"String"}, + "HierarchyGroupMatchType":{"shape":"HierarchyGroupMatchType"} + } + }, "HierarchyGroupId":{"type":"string"}, + "HierarchyGroupMatchType":{ + "type":"string", + "enum":[ + "EXACT", + "WITH_CHILD_GROUPS" + ] + }, "HierarchyGroupName":{"type":"string"}, "HierarchyGroupSummary":{ "type":"structure", @@ -5908,6 +5947,11 @@ "min":0 }, "NextToken":{"type":"string"}, + "NextToken2500":{ + "type":"string", + "max":2500, + "min":1 + }, "Origin":{ "type":"string", "max":267 @@ -6762,6 +6806,27 @@ "AvailableNumbersList":{"shape":"AvailableNumbersList"} } }, + "SearchUsersRequest":{ + "type":"structure", + "members":{ + "InstanceId":{"shape":"InstanceId"}, + "NextToken":{"shape":"NextToken2500"}, + "MaxResults":{ + "shape":"MaxResult100", + "box":true + }, + "SearchFilter":{"shape":"UserSearchFilter"}, + "SearchCriteria":{"shape":"UserSearchCriteria"} + } + }, + "SearchUsersResponse":{ + "type":"structure", + "members":{ + "Users":{"shape":"UserSearchSummaryList"}, + "NextToken":{"shape":"NextToken2500"}, + "ApproximateTotalCount":{"shape":"ApproximateTotalCount"} + } + }, "SearchVocabulariesRequest":{ "type":"structure", "required":["InstanceId"], @@ -7068,6 +7133,22 @@ "min":1 }, "String":{"type":"string"}, + "StringComparisonType":{ + "type":"string", + "enum":[ + "STARTS_WITH", + "CONTAINS", + "EXACT" + ] + }, + "StringCondition":{ + "type":"structure", + "members":{ + "FieldName":{"shape":"String"}, + "Value":{"shape":"String"}, + "ComparisonType":{"shape":"StringComparisonType"} + } + }, "SupportedMessagingContentType":{ "type":"string", "max":100, @@ -7095,6 +7176,17 @@ "members":{ } }, + "TagAndConditionList":{ + "type":"list", + "member":{"shape":"TagCondition"} + }, + "TagCondition":{ + "type":"structure", + "members":{ + "TagKey":{"shape":"String"}, + "TagValue":{"shape":"String"} + } + }, "TagKey":{ "type":"string", "max":128, @@ -7114,6 +7206,10 @@ "max":50, "min":1 }, + "TagOrConditionList":{ + "type":"list", + "member":{"shape":"TagAndConditionList"} + }, "TagResourceRequest":{ "type":"structure", "required":[ @@ -7961,6 +8057,13 @@ "Email":{"shape":"Email"} } }, + "UserIdentityInfoLite":{ + "type":"structure", + "members":{ + "FirstName":{"shape":"AgentFirstName"}, + "LastName":{"shape":"AgentLastName"} + } + }, "UserNotFoundException":{ "type":"structure", "members":{ @@ -7990,6 +8093,44 @@ "ContactFlowId":{"shape":"ContactFlowId"} } }, + "UserSearchConditionList":{ + "type":"list", + "member":{"shape":"UserSearchCriteria"} + }, + "UserSearchCriteria":{ + "type":"structure", + "members":{ + "OrConditions":{"shape":"UserSearchConditionList"}, + "AndConditions":{"shape":"UserSearchConditionList"}, + "StringCondition":{"shape":"StringCondition"}, + "HierarchyGroupCondition":{"shape":"HierarchyGroupCondition"} + } + }, + "UserSearchFilter":{ + "type":"structure", + "members":{ + "TagFilter":{"shape":"ControlPlaneTagFilter"} + } + }, + "UserSearchSummary":{ + "type":"structure", + "members":{ + "Arn":{"shape":"ARN"}, + "DirectoryUserId":{"shape":"DirectoryUserId"}, + "HierarchyGroupId":{"shape":"HierarchyGroupId"}, + "Id":{"shape":"UserId"}, + "IdentityInfo":{"shape":"UserIdentityInfoLite"}, + "PhoneConfig":{"shape":"UserPhoneConfig"}, + "RoutingProfileId":{"shape":"RoutingProfileId"}, + "SecurityProfileIds":{"shape":"SecurityProfileIds"}, + "Tags":{"shape":"TagMap"}, + "Username":{"shape":"AgentUsername"} + } + }, + "UserSearchSummaryList":{ + "type":"list", + "member":{"shape":"UserSearchSummary"} + }, "UserSummary":{ "type":"structure", "members":{ diff --git a/models/apis/connect/2017-08-08/docs-2.json b/models/apis/connect/2017-08-08/docs-2.json index 6cf31ade220..da3af899c8f 100644 --- a/models/apis/connect/2017-08-08/docs-2.json +++ b/models/apis/connect/2017-08-08/docs-2.json @@ -100,6 +100,7 @@ "ReleasePhoneNumber": "
Releases a phone number previously claimed to an Amazon Connect instance.
", "ResumeContactRecording": "When a contact is being recorded, and the recording has been suspended using SuspendContactRecording, this API resumes recording the call.
Only voice recordings are supported at this time.
", "SearchAvailablePhoneNumbers": "Searches for available phone numbers that you can claim to your Amazon Connect instance.
", + "SearchUsers": "Searches users in an Amazon Connect instance, with optional filtering.
", "SearchVocabularies": "Searches for vocabularies within a specific Amazon Connect instance using State
, NameStartsWith
, and LanguageCode
.
Initiates a contact flow to start a new chat for the customer. Response of this API provides a token required to obtain credentials from the CreateParticipantConnection API in the Amazon Connect Participant Service.
When a new chat contact is successfully created, clients must subscribe to the participant’s connection for the created chat within 5 minutes. This is achieved by invoking CreateParticipantConnection with WEBSOCKET and CONNECTION_CREDENTIALS.
A 429 error occurs in the following situations:
API rate limit is exceeded. API TPS throttling returns a TooManyRequests
exception.
The quota for concurrent active chats is exceeded. Active chat throttling returns a LimitExceededException
.
If you use the ChatDurationInMinutes
parameter and receive a 400 error, your account may not support the ability to configure custom chat durations. For more information, contact Amazon Web Services Support.
For more information about chat, see Chat in the Amazon Connect Administrator Guide.
", "StartContactRecording": "Starts recording the contact:
If the API is called before the agent joins the call, recording starts when the agent joins the call.
If the API is called after the agent joins the call, recording starts at the time of the API call.
StartContactRecording is a one-time action. For example, if you use StopContactRecording to stop recording an ongoing call, you can't use StartContactRecording to restart it. For scenarios where the recording has started and you want to suspend and resume it, such as when collecting sensitive information (for example, a credit card number), use SuspendContactRecording and ResumeContactRecording.
You can use this API to override the recording behavior configured in the Set recording behavior block.
Only voice recordings are supported at this time.
", @@ -213,6 +214,7 @@ "UpdatePhoneNumberResponse$PhoneNumberArn": "The Amazon Resource Name (ARN) of the phone number.
", "UseCase$UseCaseArn": "The Amazon Resource Name (ARN) for the use case.
", "User$Arn": "The Amazon Resource Name (ARN) of the user account.
", + "UserSearchSummary$Arn": "The Amazon Resource Name (ARN) of the user.
", "UserSummary$Arn": "The Amazon Resource Name (ARN) of the user account.
", "Vocabulary$Arn": "The Amazon Resource Name (ARN) of the custom vocabulary.
", "VocabularySummary$Arn": "The Amazon Resource Name (ARN) of the custom vocabulary.
" @@ -232,7 +234,8 @@ "AgentFirstName": { "base": null, "refs": { - "UserIdentityInfo$FirstName": "The first name. This is required if you are using Amazon Connect or SAML for identity management.
" + "UserIdentityInfo$FirstName": "The first name. This is required if you are using Amazon Connect or SAML for identity management.
", + "UserIdentityInfoLite$FirstName": "The user's first name.
" } }, "AgentInfo": { @@ -244,7 +247,8 @@ "AgentLastName": { "base": null, "refs": { - "UserIdentityInfo$LastName": "The last name. This is required if you are using Amazon Connect or SAML for identity management.
" + "UserIdentityInfo$LastName": "The last name. This is required if you are using Amazon Connect or SAML for identity management.
", + "UserIdentityInfoLite$LastName": "The user's last name.
" } }, "AgentResourceId": { @@ -332,6 +336,7 @@ "refs": { "CreateUserRequest$Username": "The user name for the account. For instances not using SAML for identity management, the user name can include up to 20 characters. If you are using SAML for identity management, the user name can include up to 64 characters from [a-zA-Z0-9_-.\\@]+.
", "User$Username": "The user name assigned to the user account.
", + "UserSearchSummary$Username": "The name of the user.
", "UserSummary$Username": "The Amazon Connect user name of the user account.
" } }, @@ -347,6 +352,12 @@ "StartOutboundVoiceContactRequest$AnswerMachineDetectionConfig": "Configuration of the answering machine detection for this outbound call.
" } }, + "ApproximateTotalCount": { + "base": null, + "refs": { + "SearchUsersResponse$ApproximateTotalCount": "The total number of users who matched your search query.
" + } + }, "AssociateApprovedOriginRequest": { "base": null, "refs": { @@ -577,7 +588,7 @@ "ClaimedPhoneNumberSummary": { "base": "Information about a phone number that has been claimed to your Amazon Connect instance.
", "refs": { - "DescribePhoneNumberResponse$ClaimedPhoneNumberSummary": "Information about a phone number that's been claimed to your Amazon Connect instance.
" + "DescribePhoneNumberResponse$ClaimedPhoneNumberSummary": "Information about a phone number that's been claimed to your Amazon Connect instance.
" } }, "ClientToken": { @@ -834,6 +845,12 @@ "UpdateContactRequest$References": "A formatted URL that is shown to an agent in the Contact Control Panel (CCP).
" } }, + "ControlPlaneTagFilter": { + "base": "An object that can be used to specify Tag conditions inside the SearchFilter
. This accepts an OR
of AND
(List of List) input where:
Top level list specifies conditions that need to be applied with OR
operator
Inner list specifies conditions that need to be applied with AND
operator.
The identifier of the user account in the directory used for identity management. If Amazon Connect cannot access the directory, you can specify this identifier to authenticate users. If you include the identifier, we assume that Amazon Connect cannot access the directory. Otherwise, the identity information is used to authenticate users from your directory.
This parameter is required if you are using an existing directory for identity management in Amazon Connect when Amazon Connect cannot access your directory to authenticate users. If you are using SAML for identity management and include this parameter, an error is returned.
", - "User$DirectoryUserId": "The identifier of the user account in the directory used for identity management.
" + "User$DirectoryUserId": "The identifier of the user account in the directory used for identity management.
", + "UserSearchSummary$DirectoryUserId": "The directory identifier of the user.
" } }, "DisassociateApprovedOriginRequest": { @@ -1481,6 +1499,12 @@ "DescribeUserHierarchyGroupResponse$HierarchyGroup": "Information about the hierarchy group.
" } }, + "HierarchyGroupCondition": { + "base": "A leaf node condition which can be used to specify a hierarchy group condition.
", + "refs": { + "UserSearchCriteria$HierarchyGroupCondition": "A leaf node condition which can be used to specify a hierarchy group condition.
" + } + }, "HierarchyGroupId": { "base": null, "refs": { @@ -1493,7 +1517,14 @@ "HierarchyGroupSummary$Id": "The identifier of the hierarchy group.
", "UpdateUserHierarchyGroupNameRequest$HierarchyGroupId": "The identifier of the hierarchy group.
", "UpdateUserHierarchyRequest$HierarchyGroupId": "The identifier of the hierarchy group.
", - "User$HierarchyGroupId": "The identifier of the hierarchy group for the user.
" + "User$HierarchyGroupId": "The identifier of the hierarchy group for the user.
", + "UserSearchSummary$HierarchyGroupId": "The identifier of the user's hierarchy group.
" + } + }, + "HierarchyGroupMatchType": { + "base": null, + "refs": { + "HierarchyGroupCondition$HierarchyGroupMatchType": "The type of hierarchy group match.
" } }, "HierarchyGroupName": { @@ -1834,6 +1865,7 @@ "ListUsersRequest$InstanceId": "The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
", "ResumeContactRecordingRequest$InstanceId": "The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
", "RoutingProfile$InstanceId": "The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
", + "SearchUsersRequest$InstanceId": "The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
", "SearchVocabulariesRequest$InstanceId": "The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
", "SecurityProfile$OrganizationResourceId": "The organization resource identifier for the security profile.
", "StartChatContactRequest$InstanceId": "The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
", @@ -2391,6 +2423,7 @@ "ListQueueQuickConnectsRequest$MaxResults": "The maximum number of results to return per page.
", "ListRoutingProfileQueuesRequest$MaxResults": "The maximum number of results to return per page.
", "ListUseCasesRequest$MaxResults": "The maximum number of results to return per page.
", + "SearchUsersRequest$MaxResults": "The maximum number of results to return per page.
", "SearchVocabulariesRequest$MaxResults": "The maximum number of results to return per page.
" } }, @@ -2545,6 +2578,13 @@ "ListUsersResponse$NextToken": "If there are additional results, this is the token for the next set of results.
" } }, + "NextToken2500": { + "base": null, + "refs": { + "SearchUsersRequest$NextToken": "The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
", + "SearchUsersResponse$NextToken": "If there are additional results, this is the token for the next set of results.
" + } + }, "Origin": { "base": null, "refs": { @@ -2668,16 +2708,16 @@ "base": null, "refs": { "AssociatePhoneNumberContactFlowRequest$PhoneNumberId": "A unique identifier for the phone number.
", - "ClaimPhoneNumberResponse$PhoneNumberId": "The identifier of the phone number.
", - "ClaimedPhoneNumberSummary$PhoneNumberId": "The identifier of the phone number.
", - "DescribePhoneNumberRequest$PhoneNumberId": "The identifier of the phone number.
", - "DisassociatePhoneNumberContactFlowRequest$PhoneNumberId": "The identifier of the phone number.
", - "ListPhoneNumbersSummary$PhoneNumberId": "The identifier of the phone number.
", + "ClaimPhoneNumberResponse$PhoneNumberId": "A unique identifier for the phone number.
", + "ClaimedPhoneNumberSummary$PhoneNumberId": "A unique identifier for the phone number.
", + "DescribePhoneNumberRequest$PhoneNumberId": "A unique identifier for the phone number.
", + "DisassociatePhoneNumberContactFlowRequest$PhoneNumberId": "A unique identifier for the phone number.
", + "ListPhoneNumbersSummary$PhoneNumberId": "A unique identifier for the phone number.
", "OutboundCallerConfig$OutboundCallerIdNumberId": "The caller ID number.
", "PhoneNumberSummary$Id": "The identifier of the phone number.
", - "ReleasePhoneNumberRequest$PhoneNumberId": "The identifier of the phone number.
", - "UpdatePhoneNumberRequest$PhoneNumberId": "The identifier of the phone number.
", - "UpdatePhoneNumberResponse$PhoneNumberId": "The identifier of the phone number.
" + "ReleasePhoneNumberRequest$PhoneNumberId": "A unique identifier for the phone number.
", + "UpdatePhoneNumberRequest$PhoneNumberId": "A unique identifier for the phone number.
", + "UpdatePhoneNumberResponse$PhoneNumberId": "A unique identifier for the phone number.
" } }, "PhoneNumberPrefix": { @@ -3113,7 +3153,8 @@ "UpdateRoutingProfileNameRequest$RoutingProfileId": "The identifier of the routing profile.
", "UpdateRoutingProfileQueuesRequest$RoutingProfileId": "The identifier of the routing profile.
", "UpdateUserRoutingProfileRequest$RoutingProfileId": "The identifier of the routing profile for the user.
", - "User$RoutingProfileId": "The identifier of the routing profile for the user.
" + "User$RoutingProfileId": "The identifier of the routing profile for the user.
", + "UserSearchSummary$RoutingProfileId": "The identifier of the user's routing profile.
" } }, "RoutingProfileName": { @@ -3192,6 +3233,16 @@ "refs": { } }, + "SearchUsersRequest": { + "base": null, + "refs": { + } + }, + "SearchUsersResponse": { + "base": null, + "refs": { + } + }, "SearchVocabulariesRequest": { "base": null, "refs": { @@ -3246,7 +3297,8 @@ "refs": { "CreateUserRequest$SecurityProfileIds": "The identifier of the security profile for the user.
", "UpdateUserSecurityProfilesRequest$SecurityProfileIds": "The identifiers of the security profiles for the user.
", - "User$SecurityProfileIds": "The identifiers of the security profiles for the user.
" + "User$SecurityProfileIds": "The identifiers of the security profiles for the user.
", + "UserSearchSummary$SecurityProfileIds": "The identifiers of the user's security profiles.
" } }, "SecurityProfileName": { @@ -3403,7 +3455,24 @@ "String": { "base": null, "refs": { - "InstanceStatusReason$Message": "The message.
" + "HierarchyGroupCondition$Value": "The value in the hierarchy group condition.
", + "InstanceStatusReason$Message": "The message.
", + "StringCondition$FieldName": "The name of the field in the string condition.
", + "StringCondition$Value": "The value of the string.
", + "TagCondition$TagKey": "The tag key in the tag condition.
", + "TagCondition$TagValue": "The tag value in the tag condition.
" + } + }, + "StringComparisonType": { + "base": null, + "refs": { + "StringCondition$ComparisonType": "The type of comparison to be made when evaluating the string condition.
" + } + }, + "StringCondition": { + "base": "A leaf node condition which can be used to specify a string condition, for example, username = 'abc'
.
A leaf node condition which can be used to specify a string condition.
" } }, "SupportedMessagingContentType": { @@ -3428,6 +3497,20 @@ "refs": { } }, + "TagAndConditionList": { + "base": null, + "refs": { + "ControlPlaneTagFilter$AndConditions": "A list of conditions which would be applied together with an AND
condition.
A leaf node condition which can be used to specify a tag condition, for example, HAVE BPO = 123
.
A leaf node condition which can be used to specify a tag condition.
", + "TagAndConditionList$member": null + } + }, "TagKey": { "base": null, "refs": { @@ -3471,9 +3554,16 @@ "SecurityProfile$Tags": "The tags used to organize, track, or control access for this resource.
", "TagResourceRequest$tags": "One or more tags. For example, { \"tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.
", "User$Tags": "The tags.
", + "UserSearchSummary$Tags": "The tags used to organize, track, or control access for this resource.
", "Vocabulary$Tags": "The tags used to organize, track, or control access for this resource.
" } }, + "TagOrConditionList": { + "base": null, + "refs": { + "ControlPlaneTagFilter$OrConditions": "A list of conditions which would be applied together with an OR
condition.
The identifier of the user account.
", "User$Id": "The identifier of the user account.
", "UserQuickConnectConfig$UserId": "The identifier of the user.
", + "UserSearchSummary$Id": "The identifier of the user's summary.
", "UserSummary$Id": "The identifier of the user account.
" } }, @@ -3815,6 +3906,12 @@ "User$IdentityInfo": "Information about the user identity.
" } }, + "UserIdentityInfoLite": { + "base": "The user's first name and last name.
", + "refs": { + "UserSearchSummary$IdentityInfo": "The user's first name and last name.
" + } + }, "UserNotFoundException": { "base": "No user with the specified credentials was found in the Amazon Connect instance.
", "refs": { @@ -3825,7 +3922,8 @@ "refs": { "CreateUserRequest$PhoneConfig": "The phone settings for the user.
", "UpdateUserPhoneConfigRequest$PhoneConfig": "Information about phone configuration settings for the user.
", - "User$PhoneConfig": "Information about the phone configuration for the user.
" + "User$PhoneConfig": "Information about the phone configuration for the user.
", + "UserSearchSummary$PhoneConfig": null } }, "UserQuickConnectConfig": { @@ -3834,6 +3932,38 @@ "QuickConnectConfig$UserConfig": "The user configuration. This is required only if QuickConnectType is USER.
" } }, + "UserSearchConditionList": { + "base": null, + "refs": { + "UserSearchCriteria$OrConditions": "A list of conditions which would be applied together with an OR
condition.
A list of conditions which would be applied together with an AND
condition.
The search criteria to be used to return users.
", + "refs": { + "SearchUsersRequest$SearchCriteria": null, + "UserSearchConditionList$member": null + } + }, + "UserSearchFilter": { + "base": "Filters to be applied to search results.
", + "refs": { + "SearchUsersRequest$SearchFilter": "Filters to be applied to search results.
" + } + }, + "UserSearchSummary": { + "base": "Information about the returned users.
", + "refs": { + "UserSearchSummaryList$member": null + } + }, + "UserSearchSummaryList": { + "base": null, + "refs": { + "SearchUsersResponse$Users": "Information about the users.
" + } + }, "UserSummary": { "base": "Contains summary information about a user.
", "refs": { diff --git a/models/apis/connect/2017-08-08/paginators-1.json b/models/apis/connect/2017-08-08/paginators-1.json index 79de7d24b64..6083a3ffd9c 100644 --- a/models/apis/connect/2017-08-08/paginators-1.json +++ b/models/apis/connect/2017-08-08/paginators-1.json @@ -183,6 +183,15 @@ "output_token": "NextToken", "result_key": "AvailableNumbersList" }, + "SearchUsers": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "non_aggregate_keys": [ + "ApproximateTotalCount" + ], + "output_token": "NextToken", + "result_key": "Users" + }, "SearchVocabularies": { "input_token": "NextToken", "limit_key": "MaxResults", diff --git a/models/apis/gamelift/2015-10-01/docs-2.json b/models/apis/gamelift/2015-10-01/docs-2.json index 743510e02d0..e7bb74dfaae 100644 --- a/models/apis/gamelift/2015-10-01/docs-2.json +++ b/models/apis/gamelift/2015-10-01/docs-2.json @@ -2,22 +2,22 @@ "version": "2.0", "service": "Amazon Web Services provides solutions for hosting session-based multiplayer game servers in the cloud, including tools for deploying, operating, and scaling game servers. Built on Amazon Web Services global computing infrastructure, GameLift helps you deliver high-performance, high-reliability, low-cost game servers while dynamically scaling your resource usage to meet player demand.
About GameLift solutions
Get more information on these GameLift solutions in the GameLift Developer Guide.
GameLift managed hosting -- GameLift offers a fully managed service to set up and maintain computing machines for hosting, manage game session and player session life cycle, and handle security, storage, and performance tracking. You can use automatic scaling tools to balance player demand and hosting costs, configure your game session management to minimize player latency, and add FlexMatch for matchmaking.
Managed hosting with Realtime Servers -- With GameLift Realtime Servers, you can quickly configure and set up ready-to-go game servers for your game. Realtime Servers provides a game server framework with core GameLift infrastructure already built in. Then use the full range of GameLift managed hosting features, including FlexMatch, for your game.
GameLift FleetIQ -- Use GameLift FleetIQ as a standalone service while hosting your games using EC2 instances and Auto Scaling groups. GameLift FleetIQ provides optimizations for game hosting, including boosting the viability of low-cost Spot Instances gaming. For a complete solution, pair the GameLift FleetIQ and FlexMatch standalone services.
GameLift FlexMatch -- Add matchmaking to your game hosting solution. FlexMatch is a customizable matchmaking service for multiplayer games. Use FlexMatch as integrated with GameLift managed hosting or incorporate FlexMatch as a standalone service into your own hosting solution.
About this API Reference
This reference guide describes the low-level service API for Amazon Web Services. With each topic in this guide, you can find links to language-specific SDK guides and the Amazon Web Services CLI reference. Useful links:
", "operations": { - "AcceptMatch": "Registers a player's acceptance or rejection of a proposed FlexMatch match. A matchmaking configuration may require player acceptance; if so, then matches built with that configuration cannot be completed unless all players accept the proposed match within a specified time limit.
When FlexMatch builds a match, all the matchmaking tickets involved in the proposed match are placed into status REQUIRES_ACCEPTANCE
. This is a trigger for your game to get acceptance from all players in the ticket. Acceptances are only valid for tickets when they are in this status; all other acceptances result in an error.
To register acceptance, specify the ticket ID, a response, and one or more players. Once all players have registered acceptance, the matchmaking tickets advance to status PLACING
, where a new game session is created for the match.
If any player rejects the match, or if acceptances are not received before a specified timeout, the proposed match is dropped. The matchmaking tickets are then handled in one of two ways: For tickets where one or more players rejected the match, the ticket status is returned to SEARCHING
to find a new match. For tickets where one or more players failed to respond, the ticket status is set to CANCELLED
, and processing is terminated. A new matchmaking request for these players can be submitted as needed.
Learn more
Add FlexMatch to a game client
FlexMatch events (reference)
Related actions
StartMatchmaking | DescribeMatchmaking | StopMatchmaking | AcceptMatch | StartMatchBackfill | All APIs by task
", + "AcceptMatch": "Registers a player's acceptance or rejection of a proposed FlexMatch match. A matchmaking configuration may require player acceptance; if so, then matches built with that configuration cannot be completed unless all players accept the proposed match within a specified time limit.
When FlexMatch builds a match, all the matchmaking tickets involved in the proposed match are placed into status REQUIRES_ACCEPTANCE
. This is a trigger for your game to get acceptance from all players in the ticket. Acceptances are only valid for tickets when they are in this status; all other acceptances result in an error.
To register acceptance, specify the ticket ID, a response, and one or more players. Once all players have registered acceptance, the matchmaking tickets advance to status PLACING
, where a new game session is created for the match.
If any player rejects the match, or if acceptances are not received before a specified timeout, the proposed match is dropped. The matchmaking tickets are then handled in one of two ways: For tickets where one or more players rejected the match or failed to respond, the ticket status is set to CANCELLED
, and processing is terminated. For tickets where players have accepted or not yet responded, the ticket status is returned to SEARCHING
to find a new match. A new matchmaking request for these players can be submitted as needed.
Learn more
Add FlexMatch to a game client
FlexMatch events (reference)
Related actions
StartMatchmaking | DescribeMatchmaking | StopMatchmaking | AcceptMatch | StartMatchBackfill | All APIs by task
", "ClaimGameServer": "This operation is used with the GameLift FleetIQ solution and game server groups.
Locates an available game server and temporarily reserves it to host gameplay and players. This operation is called from a game client or client service (such as a matchmaker) to request hosting resources for a new game session. In response, GameLift FleetIQ locates an available game server, places it in CLAIMED
status for 60 seconds, and returns connection information that players can use to connect to the game server.
To claim a game server, identify a game server group. You can also specify a game server ID, although this approach bypasses GameLift FleetIQ placement optimization. Optionally, include game data to pass to the game server at the start of a game session, such as a game map or player information.
When a game server is successfully claimed, connection information is returned. A claimed game server's utilization status remains AVAILABLE
while the claim status is set to CLAIMED
for up to 60 seconds. This time period gives the game server time to update its status to UTILIZED
(using UpdateGameServer) once players join. If the game server's status is not updated within 60 seconds, the game server reverts to unclaimed status and is available to be claimed by another request. The claim time period is a fixed value and is not configurable.
If you try to claim a specific game server, this request will fail in the following cases:
If the game server utilization status is UTILIZED
.
If the game server claim status is CLAIMED
.
When claiming a specific game server, this request will succeed even if the game server is running on an instance in DRAINING
status. To avoid this, first check the instance status by calling DescribeGameServerInstances.
Learn more
Related actions
RegisterGameServer | ListGameServers | ClaimGameServer | DescribeGameServer | UpdateGameServer | DeregisterGameServer | All APIs by task
", - "CreateAlias": "Creates an alias for a fleet. In most situations, you can use an alias ID in place of a fleet ID. An alias provides a level of abstraction for a fleet that is useful when redirecting player traffic from one fleet to another, such as when updating your game build.
Amazon Web Services supports two types of routing strategies for aliases: simple and terminal. A simple alias points to an active fleet. A terminal alias is used to display messaging or link to a URL instead of routing players to an active fleet. For example, you might use a terminal alias when a game version is no longer supported and you want to direct players to an upgrade site.
To create a fleet alias, specify an alias name, routing strategy, and optional description. Each simple alias can point to only one fleet, but a fleet can have multiple aliases. If successful, a new alias record is returned, including an alias ID and an ARN. You can reassign an alias to another fleet by calling UpdateAlias
.
Related actions
CreateAlias | ListAliases | DescribeAlias | UpdateAlias | DeleteAlias | ResolveAlias | All APIs by task
", - "CreateBuild": "Creates a new Amazon Web Services build resource for your game server binary files. Game server binaries must be combined into a zip file for use with Amazon Web Services.
When setting up a new game build for GameLift, we recommend using the Amazon Web Services CLI command upload-build . This helper command combines two tasks: (1) it uploads your build files from a file directory to a GameLift Amazon S3 location, and (2) it creates a new build resource.
The CreateBuild
operation can used in the following scenarios:
To create a new game build with build files that are in an Amazon S3 location under an Amazon Web Services account that you control. To use this option, you must first give Amazon Web Services access to the Amazon S3 bucket. With permissions in place, call CreateBuild
and specify a build name, operating system, and the Amazon S3 storage location of your game build.
To directly upload your build files to a GameLift Amazon S3 location. To use this option, first call CreateBuild
and specify a build name and operating system. This operation creates a new build resource and also returns an Amazon S3 location with temporary access credentials. Use the credentials to manually upload your build files to the specified Amazon S3 location. For more information, see Uploading Objects in the Amazon S3 Developer Guide. Build files can be uploaded to the GameLift Amazon S3 location once only; that can't be updated.
If successful, this operation creates a new build resource with a unique build ID and places it in INITIALIZED
status. A build must be in READY
status before you can create fleets with it.
Learn more
Create a Build with Files in Amazon S3
Related actions
CreateBuild | ListBuilds | DescribeBuild | UpdateBuild | DeleteBuild | All APIs by task
", + "CreateAlias": "Creates an alias for a fleet. In most situations, you can use an alias ID in place of a fleet ID. An alias provides a level of abstraction for a fleet that is useful when redirecting player traffic from one fleet to another, such as when updating your game build.
Amazon GameLift supports two types of routing strategies for aliases: simple and terminal. A simple alias points to an active fleet. A terminal alias is used to display messaging or link to a URL instead of routing players to an active fleet. For example, you might use a terminal alias when a game version is no longer supported and you want to direct players to an upgrade site.
To create a fleet alias, specify an alias name, routing strategy, and optional description. Each simple alias can point to only one fleet, but a fleet can have multiple aliases. If successful, a new alias record is returned, including an alias ID and an ARN. You can reassign an alias to another fleet by calling UpdateAlias
.
Related actions
CreateAlias | ListAliases | DescribeAlias | UpdateAlias | DeleteAlias | ResolveAlias | All APIs by task
", + "CreateBuild": "Creates a new Amazon GameLift build resource for your game server binary files. Game server binaries must be combined into a zip file for use with Amazon GameLift.
When setting up a new game build for GameLift, we recommend using the Amazon Web Services CLI command upload-build . This helper command combines two tasks: (1) it uploads your build files from a file directory to a GameLift Amazon S3 location, and (2) it creates a new build resource.
The CreateBuild
operation can used in the following scenarios:
To create a new game build with build files that are in an Amazon S3 location under an Amazon Web Services account that you control. To use this option, you must first give Amazon GameLift access to the Amazon S3 bucket. With permissions in place, call CreateBuild
and specify a build name, operating system, and the Amazon S3 storage location of your game build.
To directly upload your build files to a GameLift Amazon S3 location. To use this option, first call CreateBuild
and specify a build name and operating system. This operation creates a new build resource and also returns an Amazon S3 location with temporary access credentials. Use the credentials to manually upload your build files to the specified Amazon S3 location. For more information, see Uploading Objects in the Amazon S3 Developer Guide. Build files can be uploaded to the GameLift Amazon S3 location once only; that can't be updated.
If successful, this operation creates a new build resource with a unique build ID and places it in INITIALIZED
status. A build must be in READY
status before you can create fleets with it.
Learn more
Create a Build with Files in Amazon S3
Related actions
CreateBuild | ListBuilds | DescribeBuild | UpdateBuild | DeleteBuild | All APIs by task
", "CreateFleet": "Creates a fleet of Amazon Elastic Compute Cloud (Amazon Elastic Compute Cloud) instances to host your custom game server or Realtime Servers. Use this operation to configure the computing resources for your fleet and provide instructions for running game servers on each instance.
Most GameLift fleets can deploy instances to multiple locations, including the home Region (where the fleet is created) and an optional set of remote locations. Fleets that are created in the following Amazon Web Services Regions support multiple locations: us-east-1 (N. Virginia), us-west-2 (Oregon), eu-central-1 (Frankfurt), eu-west-1 (Ireland), ap-southeast-2 (Sydney), ap-northeast-1 (Tokyo), and ap-northeast-2 (Seoul). Fleets that are created in other GameLift Regions can deploy instances in the fleet's home Region only. All fleet instances use the same configuration regardless of location; however, you can adjust capacity settings and turn auto-scaling on/off for each location.
To create a fleet, choose the hardware for your instances, specify a game server build or Realtime script to deploy, and provide a runtime configuration to direct GameLift how to start and run game servers on each instance in the fleet. Set permissions for inbound traffic to your game servers, and enable optional features as needed. When creating a multi-location fleet, provide a list of additional remote locations.
If you need to debug your fleet, fetch logs, view performance metrics or other actions on the fleet, create the development fleet with port 22/3389 open. As a best practice, we recommend opening ports for remote access only when you need them and closing them when you're finished.
If successful, this operation creates a new Fleet resource and places it in NEW
status, which prompts GameLift to initiate the fleet creation workflow. You can track fleet creation by checking fleet status using DescribeFleetAttributes and DescribeFleetLocationAttributes/, or by monitoring fleet creation events using DescribeFleetEvents. As soon as the fleet status changes to ACTIVE
, you can enable automatic scaling for the fleet with PutScalingPolicy and set capacity for the home Region with UpdateFleetCapacity. When the status of each remote location reaches ACTIVE
, you can set capacity by location using UpdateFleetCapacity.
Learn more
Related actions
CreateFleet | UpdateFleetCapacity | PutScalingPolicy | DescribeEC2InstanceLimits | DescribeFleetAttributes | DescribeFleetLocationAttributes | UpdateFleetAttributes | StopFleetActions | DeleteFleet | All APIs by task
", "CreateFleetLocations": "Adds remote locations to a fleet and begins populating the new locations with EC2 instances. The new instances conform to the fleet's instance type, auto-scaling, and other configuration settings.
This operation cannot be used with fleets that don't support remote locations. Fleets can have multiple locations only if they reside in Amazon Web Services Regions that support this feature (see CreateFleet for the complete list) and were created after the feature was released in March 2021.
To add fleet locations, specify the fleet to be updated and provide a list of one or more locations.
If successful, this operation returns the list of added locations with their status set to NEW
. GameLift initiates the process of starting an instance in each added location. You can track the status of each new location by monitoring location creation events using DescribeFleetEvents. Alternatively, you can poll location status by calling DescribeFleetLocationAttributes. After a location status becomes ACTIVE
, you can adjust the location's capacity as needed with UpdateFleetCapacity.
Learn more
Related actions
CreateFleetLocations | DescribeFleetLocationAttributes | DescribeFleetLocationCapacity | DescribeFleetLocationUtilization | DescribeFleetAttributes | DescribeFleetCapacity | DescribeFleetUtilization | UpdateFleetCapacity | StopFleetActions | DeleteFleetLocations | All APIs by task
", "CreateGameServerGroup": "This operation is used with the GameLift FleetIQ solution and game server groups.
Creates a GameLift FleetIQ game server group for managing game hosting on a collection of Amazon Elastic Compute Cloud instances for game hosting. This operation creates the game server group, creates an Auto Scaling group in your Amazon Web Services account, and establishes a link between the two groups. You can view the status of your game server groups in the GameLift console. Game server group metrics and events are emitted to Amazon CloudWatch.
Before creating a new game server group, you must have the following:
An Amazon Elastic Compute Cloud launch template that specifies how to launch Amazon Elastic Compute Cloud instances with your game server build. For more information, see Launching an Instance from a Launch Template in the Amazon Elastic Compute Cloud User Guide.
An IAM role that extends limited access to your Amazon Web Services account to allow GameLift FleetIQ to create and interact with the Auto Scaling group. For more information, see Create IAM roles for cross-service interaction in the GameLift FleetIQ Developer Guide.
To create a new game server group, specify a unique group name, IAM role and Amazon Elastic Compute Cloud launch template, and provide a list of instance types that can be used in the group. You must also set initial maximum and minimum limits on the group's instance count. You can optionally set an Auto Scaling policy with target tracking based on a GameLift FleetIQ metric.
Once the game server group and corresponding Auto Scaling group are created, you have full access to change the Auto Scaling group's configuration as needed. Several properties that are set when creating a game server group, including maximum/minimum size and auto-scaling policy settings, must be updated directly in the Auto Scaling group. Keep in mind that some Auto Scaling group properties are periodically updated by GameLift FleetIQ as part of its balancing activities to optimize for availability and cost.
Learn more
Related actions
CreateGameServerGroup | ListGameServerGroups | DescribeGameServerGroup | UpdateGameServerGroup | DeleteGameServerGroup | ResumeGameServerGroup | SuspendGameServerGroup | DescribeGameServerInstances | All APIs by task
", - "CreateGameSession": "Creates a multiplayer game session for players in a specific fleet location. This operation prompts an available server process to start a game session and retrieves connection information for the new game session. As an alternative, consider using the GameLift game session placement feature with
with StartGameSessionPlacement, which uses FleetIQ algorithms and queues to optimize the placement process.
When creating a game session, you specify exactly where you want to place it and provide a set of game session configuration settings. The fleet must be in ACTIVE
status before a game session can be created in it.
This operation can be used in the following ways:
To create a game session on an instance in a fleet's home Region, provide a fleet or alias ID along with your game session configuration.
To create a game session on an instance in a fleet's remote location, provide a fleet or alias ID and a location name, along with your game session configuration.
If successful, a workflow is initiated to start a new game session. A GameSession
object is returned containing the game session configuration and status. When the status is ACTIVE
, game session connection information is provided and player sessions can be created for the game session. By default, newly created game sessions are open to new players. You can restrict new player access by using UpdateGameSession to change the game session's player session creation policy.
Game session logs are retained for all active game sessions for 14 days. To access the logs, call GetGameSessionLogUrl to download the log files.
Available in Amazon Web Services Local.
Learn more
Related actions
CreateGameSession | DescribeGameSessions | DescribeGameSessionDetails | SearchGameSessions | UpdateGameSession | GetGameSessionLogUrl | StartGameSessionPlacement | DescribeGameSessionPlacement | StopGameSessionPlacement | All APIs by task
", + "CreateGameSession": "Creates a multiplayer game session for players in a specific fleet location. This operation prompts an available server process to start a game session and retrieves connection information for the new game session. As an alternative, consider using the GameLift game session placement feature with
with StartGameSessionPlacement, which uses FleetIQ algorithms and queues to optimize the placement process.
When creating a game session, you specify exactly where you want to place it and provide a set of game session configuration settings. The fleet must be in ACTIVE
status before a game session can be created in it.
This operation can be used in the following ways:
To create a game session on an instance in a fleet's home Region, provide a fleet or alias ID along with your game session configuration.
To create a game session on an instance in a fleet's remote location, provide a fleet or alias ID and a location name, along with your game session configuration.
If successful, a workflow is initiated to start a new game session. A GameSession
object is returned containing the game session configuration and status. When the status is ACTIVE
, game session connection information is provided and player sessions can be created for the game session. By default, newly created game sessions are open to new players. You can restrict new player access by using UpdateGameSession to change the game session's player session creation policy.
Game session logs are retained for all active game sessions for 14 days. To access the logs, call GetGameSessionLogUrl to download the log files.
Available in Amazon GameLift Local.
Learn more
Related actions
CreateGameSession | DescribeGameSessions | DescribeGameSessionDetails | SearchGameSessions | UpdateGameSession | GetGameSessionLogUrl | StartGameSessionPlacement | DescribeGameSessionPlacement | StopGameSessionPlacement | All APIs by task
", "CreateGameSessionQueue": "Creates a placement queue that processes requests for new game sessions. A queue uses FleetIQ algorithms to determine the best placement locations and find an available game server there, then prompts the game server process to start a new game session.
A game session queue is configured with a set of destinations (GameLift fleets or aliases), which determine the locations where the queue can place new game sessions. These destinations can span multiple fleet types (Spot and On-Demand), instance types, and Amazon Web Services Regions. If the queue includes multi-location fleets, the queue is able to place game sessions in all of a fleet's remote locations. You can opt to filter out individual locations if needed.
The queue configuration also determines how FleetIQ selects the best available placement for a new game session. Before searching for an available game server, FleetIQ first prioritizes the queue's destinations and locations, with the best placement locations on top. You can set up the queue to use the FleetIQ default prioritization or provide an alternate set of priorities.
To create a new queue, provide a name, timeout value, and a list of destinations. Optionally, specify a sort configuration and/or a filter, and define a set of latency cap policies. You can also include the ARN for an Amazon Simple Notification Service (SNS) topic to receive notifications of game session placement activity. Notifications using SNS or CloudWatch events is the preferred way to track placement activity.
If successful, a new GameSessionQueue
object is returned with an assigned queue ARN. New game session requests, which are submitted to queue with StartGameSessionPlacement or StartMatchmaking, reference a queue's name or ARN.
Learn more
Related actions
CreateGameSessionQueue | DescribeGameSessionQueues | UpdateGameSessionQueue | DeleteGameSessionQueue | All APIs by task
", "CreateMatchmakingConfiguration": "Defines a new matchmaking configuration for use with FlexMatch. Whether your are using FlexMatch with GameLift hosting or as a standalone matchmaking service, the matchmaking configuration sets out rules for matching players and forming teams. If you're also using GameLift hosting, it defines how to start game sessions for each match. Your matchmaking system can use multiple configurations to handle different game scenarios. All matchmaking requests (StartMatchmaking or StartMatchBackfill) identify the matchmaking configuration to use and provide player attributes consistent with that configuration.
To create a matchmaking configuration, you must provide the following: configuration name and FlexMatch mode (with or without GameLift hosting); a rule set that specifies how to evaluate players and find acceptable matches; whether player acceptance is required; and the maximum time allowed for a matchmaking attempt. When using FlexMatch with GameLift hosting, you also need to identify the game session queue to use when starting a game session for the match.
In addition, you must set up an Amazon Simple Notification Service topic to receive matchmaking notifications. Provide the topic ARN in the matchmaking configuration. An alternative method, continuously polling ticket status with DescribeMatchmaking, is only suitable for games in development with low matchmaking usage.
Learn more
Set up FlexMatch event notification
Related actions
CreateMatchmakingConfiguration | DescribeMatchmakingConfigurations | UpdateMatchmakingConfiguration | DeleteMatchmakingConfiguration | CreateMatchmakingRuleSet | DescribeMatchmakingRuleSets | ValidateMatchmakingRuleSet | DeleteMatchmakingRuleSet | All APIs by task
", "CreateMatchmakingRuleSet": "Creates a new rule set for FlexMatch matchmaking. A rule set describes the type of match to create, such as the number and size of teams. It also sets the parameters for acceptable player matches, such as minimum skill level or character type. A rule set is used by a MatchmakingConfiguration.
To create a matchmaking rule set, provide unique rule set name and the rule set body in JSON format. Rule sets must be defined in the same Region as the matchmaking configuration they are used with.
Since matchmaking rule sets cannot be edited, it is a good idea to check the rule set syntax using ValidateMatchmakingRuleSet before creating a new rule set.
Learn more
Related actions
CreateMatchmakingConfiguration | DescribeMatchmakingConfigurations | UpdateMatchmakingConfiguration | DeleteMatchmakingConfiguration | CreateMatchmakingRuleSet | DescribeMatchmakingRuleSets | ValidateMatchmakingRuleSet | DeleteMatchmakingRuleSet | All APIs by task
", - "CreatePlayerSession": "Reserves an open player slot in a game session for a player. New player sessions can be created in any game session with an open slot that is in ACTIVE
status and has a player creation policy of ACCEPT_ALL
. You can add a group of players to a game session with CreatePlayerSessions.
To create a player session, specify a game session ID, player ID, and optionally a set of player data.
If successful, a slot is reserved in the game session for the player and a new PlayerSession object is returned with a player session ID. The player references the player session ID when sending a connection request to the game session, and the game server can use it to validate the player reservation with the GameLift service. Player sessions cannot be updated.
The maximum number of players per game session is 200. It is not adjustable.
Available in Amazon Web Services Local.
Related actions
CreatePlayerSession | CreatePlayerSessions | DescribePlayerSessions | StartGameSessionPlacement | DescribeGameSessionPlacement | All APIs by task
", - "CreatePlayerSessions": "Reserves open slots in a game session for a group of players. New player sessions can be created in any game session with an open slot that is in ACTIVE
status and has a player creation policy of ACCEPT_ALL
. To add a single player to a game session, use CreatePlayerSession.
To create player sessions, specify a game session ID and a list of player IDs. Optionally, provide a set of player data for each player ID.
If successful, a slot is reserved in the game session for each player, and new PlayerSession objects are returned with player session IDs. Each player references their player session ID when sending a connection request to the game session, and the game server can use it to validate the player reservation with the GameLift service. Player sessions cannot be updated.
The maximum number of players per game session is 200. It is not adjustable.
Available in Amazon Web Services Local.
Related actions
CreatePlayerSession | CreatePlayerSessions | DescribePlayerSessions | StartGameSessionPlacement | DescribeGameSessionPlacement | All APIs by task
", - "CreateScript": "Creates a new script record for your Realtime Servers script. Realtime scripts are JavaScript that provide configuration settings and optional custom game logic for your game. The script is deployed when you create a Realtime Servers fleet to host your game sessions. Script logic is executed during an active game session.
To create a new script record, specify a script name and provide the script file(s). The script files and all dependencies must be zipped into a single file. You can pull the zip file from either of these locations:
A locally available directory. Use the ZipFile parameter for this option.
An Amazon Simple Storage Service (Amazon S3) bucket under your Amazon Web Services account. Use the StorageLocation parameter for this option. You'll need to have an Identity Access Management (IAM) role that allows the Amazon Web Services service to access your S3 bucket.
If the call is successful, a new script record is created with a unique script ID. If the script file is provided as a local file, the file is uploaded to an Amazon Web Services-owned S3 bucket and the script record's storage location reflects this location. If the script file is provided as an S3 bucket, Amazon Web Services accesses the file at this storage location as needed for deployment.
Learn more
Amazon Web Services Realtime Servers
Set Up a Role for Amazon Web Services Access
Related actions
CreateScript | ListScripts | DescribeScript | UpdateScript | DeleteScript | All APIs by task
", - "CreateVpcPeeringAuthorization": "Requests authorization to create or delete a peer connection between the VPC for your Amazon Web Services fleet and a virtual private cloud (VPC) in your Amazon Web Services account. VPC peering enables the game servers on your fleet to communicate directly with other Amazon Web Services resources. Once you've received authorization, call CreateVpcPeeringConnection to establish the peering connection. For more information, see VPC Peering with Amazon Web Services Fleets.
You can peer with VPCs that are owned by any Amazon Web Services account you have access to, including the account that you use to manage your Amazon Web Services fleets. You cannot peer with VPCs that are in different Regions.
To request authorization to create a connection, call this operation from the Amazon Web Services account with the VPC that you want to peer to your Amazon Web Services fleet. For example, to enable your game servers to retrieve data from a DynamoDB table, use the account that manages that DynamoDB resource. Identify the following values: (1) The ID of the VPC that you want to peer with, and (2) the ID of the Amazon Web Services account that you use to manage Amazon Web Services. If successful, VPC peering is authorized for the specified VPC.
To request authorization to delete a connection, call this operation from the Amazon Web Services account with the VPC that is peered with your Amazon Web Services fleet. Identify the following values: (1) VPC ID that you want to delete the peering connection for, and (2) ID of the Amazon Web Services account that you use to manage Amazon Web Services.
The authorization remains valid for 24 hours unless it is canceled by a call to DeleteVpcPeeringAuthorization. You must create or delete the peering connection while the authorization is valid.
Related actions
CreateVpcPeeringAuthorization | DescribeVpcPeeringAuthorizations | DeleteVpcPeeringAuthorization | CreateVpcPeeringConnection | DescribeVpcPeeringConnections | DeleteVpcPeeringConnection | All APIs by task
", - "CreateVpcPeeringConnection": "Establishes a VPC peering connection between a virtual private cloud (VPC) in an Amazon Web Services account with the VPC for your Amazon Web Services fleet. VPC peering enables the game servers on your fleet to communicate directly with other Amazon Web Services resources. You can peer with VPCs in any Amazon Web Services account that you have access to, including the account that you use to manage your Amazon Web Services fleets. You cannot peer with VPCs that are in different Regions. For more information, see VPC Peering with Amazon Web Services Fleets.
Before calling this operation to establish the peering connection, you first need to call CreateVpcPeeringAuthorization and identify the VPC you want to peer with. Once the authorization for the specified VPC is issued, you have 24 hours to establish the connection. These two operations handle all tasks necessary to peer the two VPCs, including acceptance, updating routing tables, etc.
To establish the connection, call this operation from the Amazon Web Services account that is used to manage the Amazon Web Services fleets. Identify the following values: (1) The ID of the fleet you want to be enable a VPC peering connection for; (2) The Amazon Web Services account with the VPC that you want to peer with; and (3) The ID of the VPC you want to peer with. This operation is asynchronous. If successful, a VpcPeeringConnection request is created. You can use continuous polling to track the request's status using DescribeVpcPeeringConnections, or by monitoring fleet events for success or failure using DescribeFleetEvents.
Related actions
CreateVpcPeeringAuthorization | DescribeVpcPeeringAuthorizations | DeleteVpcPeeringAuthorization | CreateVpcPeeringConnection | DescribeVpcPeeringConnections | DeleteVpcPeeringConnection | All APIs by task
", + "CreatePlayerSession": "Reserves an open player slot in a game session for a player. New player sessions can be created in any game session with an open slot that is in ACTIVE
status and has a player creation policy of ACCEPT_ALL
. You can add a group of players to a game session with CreatePlayerSessions.
To create a player session, specify a game session ID, player ID, and optionally a set of player data.
If successful, a slot is reserved in the game session for the player and a new PlayerSession object is returned with a player session ID. The player references the player session ID when sending a connection request to the game session, and the game server can use it to validate the player reservation with the GameLift service. Player sessions cannot be updated.
The maximum number of players per game session is 200. It is not adjustable.
Available in Amazon GameLift Local.
Related actions
CreatePlayerSession | CreatePlayerSessions | DescribePlayerSessions | StartGameSessionPlacement | DescribeGameSessionPlacement | All APIs by task
", + "CreatePlayerSessions": "Reserves open slots in a game session for a group of players. New player sessions can be created in any game session with an open slot that is in ACTIVE
status and has a player creation policy of ACCEPT_ALL
. To add a single player to a game session, use CreatePlayerSession.
To create player sessions, specify a game session ID and a list of player IDs. Optionally, provide a set of player data for each player ID.
If successful, a slot is reserved in the game session for each player, and new PlayerSession objects are returned with player session IDs. Each player references their player session ID when sending a connection request to the game session, and the game server can use it to validate the player reservation with the GameLift service. Player sessions cannot be updated.
The maximum number of players per game session is 200. It is not adjustable.
Available in Amazon GameLift Local.
Related actions
CreatePlayerSession | CreatePlayerSessions | DescribePlayerSessions | StartGameSessionPlacement | DescribeGameSessionPlacement | All APIs by task
", + "CreateScript": "Creates a new script record for your Realtime Servers script. Realtime scripts are JavaScript that provide configuration settings and optional custom game logic for your game. The script is deployed when you create a Realtime Servers fleet to host your game sessions. Script logic is executed during an active game session.
To create a new script record, specify a script name and provide the script file(s). The script files and all dependencies must be zipped into a single file. You can pull the zip file from either of these locations:
A locally available directory. Use the ZipFile parameter for this option.
An Amazon Simple Storage Service (Amazon S3) bucket under your Amazon Web Services account. Use the StorageLocation parameter for this option. You'll need to have an Identity Access Management (IAM) role that allows the Amazon GameLift service to access your S3 bucket.
If the call is successful, a new script record is created with a unique script ID. If the script file is provided as a local file, the file is uploaded to an Amazon GameLift-owned S3 bucket and the script record's storage location reflects this location. If the script file is provided as an S3 bucket, Amazon GameLift accesses the file at this storage location as needed for deployment.
Learn more
Amazon GameLift Realtime Servers
Set Up a Role for Amazon GameLift Access
Related actions
CreateScript | ListScripts | DescribeScript | UpdateScript | DeleteScript | All APIs by task
", + "CreateVpcPeeringAuthorization": "Requests authorization to create or delete a peer connection between the VPC for your Amazon GameLift fleet and a virtual private cloud (VPC) in your Amazon Web Services account. VPC peering enables the game servers on your fleet to communicate directly with other Amazon Web Services resources. Once you've received authorization, call CreateVpcPeeringConnection to establish the peering connection. For more information, see VPC Peering with Amazon GameLift Fleets.
You can peer with VPCs that are owned by any Amazon Web Services account you have access to, including the account that you use to manage your Amazon GameLift fleets. You cannot peer with VPCs that are in different Regions.
To request authorization to create a connection, call this operation from the Amazon Web Services account with the VPC that you want to peer to your Amazon GameLift fleet. For example, to enable your game servers to retrieve data from a DynamoDB table, use the account that manages that DynamoDB resource. Identify the following values: (1) The ID of the VPC that you want to peer with, and (2) the ID of the Amazon Web Services account that you use to manage Amazon GameLift. If successful, VPC peering is authorized for the specified VPC.
To request authorization to delete a connection, call this operation from the Amazon Web Services account with the VPC that is peered with your Amazon GameLift fleet. Identify the following values: (1) VPC ID that you want to delete the peering connection for, and (2) ID of the Amazon Web Services account that you use to manage Amazon GameLift.
The authorization remains valid for 24 hours unless it is canceled by a call to DeleteVpcPeeringAuthorization. You must create or delete the peering connection while the authorization is valid.
Related actions
CreateVpcPeeringAuthorization | DescribeVpcPeeringAuthorizations | DeleteVpcPeeringAuthorization | CreateVpcPeeringConnection | DescribeVpcPeeringConnections | DeleteVpcPeeringConnection | All APIs by task
", + "CreateVpcPeeringConnection": "Establishes a VPC peering connection between a virtual private cloud (VPC) in an Amazon Web Services account with the VPC for your Amazon GameLift fleet. VPC peering enables the game servers on your fleet to communicate directly with other Amazon Web Services resources. You can peer with VPCs in any Amazon Web Services account that you have access to, including the account that you use to manage your Amazon GameLift fleets. You cannot peer with VPCs that are in different Regions. For more information, see VPC Peering with Amazon GameLift Fleets.
Before calling this operation to establish the peering connection, you first need to call CreateVpcPeeringAuthorization and identify the VPC you want to peer with. Once the authorization for the specified VPC is issued, you have 24 hours to establish the connection. These two operations handle all tasks necessary to peer the two VPCs, including acceptance, updating routing tables, etc.
To establish the connection, call this operation from the Amazon Web Services account that is used to manage the Amazon GameLift fleets. Identify the following values: (1) The ID of the fleet you want to be enable a VPC peering connection for; (2) The Amazon Web Services account with the VPC that you want to peer with; and (3) The ID of the VPC you want to peer with. This operation is asynchronous. If successful, a VpcPeeringConnection request is created. You can use continuous polling to track the request's status using DescribeVpcPeeringConnections, or by monitoring fleet events for success or failure using DescribeFleetEvents.
Related actions
CreateVpcPeeringAuthorization | DescribeVpcPeeringAuthorizations | DeleteVpcPeeringAuthorization | CreateVpcPeeringConnection | DescribeVpcPeeringConnections | DeleteVpcPeeringConnection | All APIs by task
", "DeleteAlias": "Deletes an alias. This operation removes all record of the alias. Game clients attempting to access a server process using the deleted alias receive an error. To delete an alias, specify the alias ID to be deleted.
Related actions
CreateAlias | ListAliases | DescribeAlias | UpdateAlias | DeleteAlias | ResolveAlias | All APIs by task
", "DeleteBuild": "Deletes a build. This operation permanently deletes the build resource and any uploaded build files. Deleting a build does not affect the status of any active fleets using the build, but you can no longer create new fleets with the deleted build.
To delete a build, specify the build ID.
Learn more
Related actions
CreateBuild | ListBuilds | DescribeBuild | UpdateBuild | DeleteBuild | All APIs by task
", "DeleteFleet": "Deletes all resources and information related a fleet. Any current fleet instances, including those in remote locations, are shut down. You don't need to call DeleteFleetLocations
separately.
If the fleet being deleted has a VPC peering connection, you first need to get a valid authorization (good for 24 hours) by calling CreateVpcPeeringAuthorization. You do not need to explicitly delete the VPC peering connection--this is done as part of the delete fleet process.
To delete a fleet, specify the fleet ID to be terminated. During the deletion process the fleet status is changed to DELETING
. When completed, the status switches to TERMINATED
and the fleet event FLEET_DELETED
is sent.
Learn more
Related actions
CreateFleetLocations | UpdateFleetAttributes | UpdateFleetCapacity | UpdateFleetPortSettings | UpdateRuntimeConfiguration | StopFleetActions | StartFleetActions | PutScalingPolicy | DeleteFleet | DeleteFleetLocations | DeleteScalingPolicy | All APIs by task
", @@ -27,9 +27,9 @@ "DeleteMatchmakingConfiguration": "Permanently removes a FlexMatch matchmaking configuration. To delete, specify the configuration name. A matchmaking configuration cannot be deleted if it is being used in any active matchmaking tickets.
Related actions
CreateMatchmakingConfiguration | DescribeMatchmakingConfigurations | UpdateMatchmakingConfiguration | DeleteMatchmakingConfiguration | CreateMatchmakingRuleSet | DescribeMatchmakingRuleSets | ValidateMatchmakingRuleSet | DeleteMatchmakingRuleSet | All APIs by task
", "DeleteMatchmakingRuleSet": "Deletes an existing matchmaking rule set. To delete the rule set, provide the rule set name. Rule sets cannot be deleted if they are currently being used by a matchmaking configuration.
Learn more
Related actions
CreateMatchmakingConfiguration | DescribeMatchmakingConfigurations | UpdateMatchmakingConfiguration | DeleteMatchmakingConfiguration | CreateMatchmakingRuleSet | DescribeMatchmakingRuleSets | ValidateMatchmakingRuleSet | DeleteMatchmakingRuleSet | All APIs by task
", "DeleteScalingPolicy": "Deletes a fleet scaling policy. Once deleted, the policy is no longer in force and GameLift removes all record of it. To delete a scaling policy, specify both the scaling policy name and the fleet ID it is associated with.
To temporarily suspend scaling policies, call StopFleetActions. This operation suspends all policies for the fleet.
Related actions
DescribeFleetCapacity | UpdateFleetCapacity | DescribeEC2InstanceLimits | PutScalingPolicy | DescribeScalingPolicies | DeleteScalingPolicy | StopFleetActions | StartFleetActions | All APIs by task
", - "DeleteScript": "Deletes a Realtime script. This operation permanently deletes the script record. If script files were uploaded, they are also deleted (files stored in an S3 bucket are not deleted).
To delete a script, specify the script ID. Before deleting a script, be sure to terminate all fleets that are deployed with the script being deleted. Fleet instances periodically check for script updates, and if the script record no longer exists, the instance will go into an error state and be unable to host game sessions.
Learn more
Amazon Web Services Realtime Servers
Related actions
CreateScript | ListScripts | DescribeScript | UpdateScript | DeleteScript | All APIs by task
", + "DeleteScript": "Deletes a Realtime script. This operation permanently deletes the script record. If script files were uploaded, they are also deleted (files stored in an S3 bucket are not deleted).
To delete a script, specify the script ID. Before deleting a script, be sure to terminate all fleets that are deployed with the script being deleted. Fleet instances periodically check for script updates, and if the script record no longer exists, the instance will go into an error state and be unable to host game sessions.
Learn more
Amazon GameLift Realtime Servers
Related actions
CreateScript | ListScripts | DescribeScript | UpdateScript | DeleteScript | All APIs by task
", "DeleteVpcPeeringAuthorization": "Cancels a pending VPC peering authorization for the specified VPC. If you need to delete an existing VPC peering connection, call DeleteVpcPeeringConnection.
Related actions
CreateVpcPeeringAuthorization | DescribeVpcPeeringAuthorizations | DeleteVpcPeeringAuthorization | CreateVpcPeeringConnection | DescribeVpcPeeringConnections | DeleteVpcPeeringConnection | All APIs by task
", - "DeleteVpcPeeringConnection": "Removes a VPC peering connection. To delete the connection, you must have a valid authorization for the VPC peering connection that you want to delete. You can check for an authorization by calling DescribeVpcPeeringAuthorizations or request a new one using CreateVpcPeeringAuthorization.
Once a valid authorization exists, call this operation from the Amazon Web Services account that is used to manage the Amazon Web Services fleets. Identify the connection to delete by the connection ID and fleet ID. If successful, the connection is removed.
Related actions
CreateVpcPeeringAuthorization | DescribeVpcPeeringAuthorizations | DeleteVpcPeeringAuthorization | CreateVpcPeeringConnection | DescribeVpcPeeringConnections | DeleteVpcPeeringConnection | All APIs by task
", + "DeleteVpcPeeringConnection": "Removes a VPC peering connection. To delete the connection, you must have a valid authorization for the VPC peering connection that you want to delete. You can check for an authorization by calling DescribeVpcPeeringAuthorizations or request a new one using CreateVpcPeeringAuthorization.
Once a valid authorization exists, call this operation from the Amazon Web Services account that is used to manage the Amazon GameLift fleets. Identify the connection to delete by the connection ID and fleet ID. If successful, the connection is removed.
Related actions
CreateVpcPeeringAuthorization | DescribeVpcPeeringAuthorizations | DeleteVpcPeeringAuthorization | CreateVpcPeeringConnection | DescribeVpcPeeringConnections | DeleteVpcPeeringConnection | All APIs by task
", "DeregisterGameServer": "This operation is used with the GameLift FleetIQ solution and game server groups.
Removes the game server from a game server group. As a result of this operation, the deregistered game server can no longer be claimed and will not be returned in a list of active game servers.
To deregister a game server, specify the game server group and game server ID. If successful, this operation emits a CloudWatch event with termination timestamp and reason.
Learn more
Related actions
RegisterGameServer | ListGameServers | ClaimGameServer | DescribeGameServer | UpdateGameServer | DeregisterGameServer | All APIs by task
", "DescribeAlias": "Retrieves properties for an alias. This operation returns all alias metadata and settings. To get an alias's target fleet ID only, use ResolveAlias
.
To get alias properties, specify the alias ID. If successful, the requested alias record is returned.
Related actions
CreateAlias | ListAliases | DescribeAlias | UpdateAlias | DeleteAlias | ResolveAlias | All APIs by task
", "DescribeBuild": "Retrieves properties for a custom game build. To request a build resource, specify a build ID. If successful, an object containing the build properties is returned.
Learn more
Related actions
CreateBuild | ListBuilds | DescribeBuild | UpdateBuild | DeleteBuild | All APIs by task
", @@ -48,17 +48,17 @@ "DescribeGameSessionDetails": "Retrieves additional game session properties, including the game session protection policy in force, a set of one or more game sessions in a specific fleet location. You can optionally filter the results by current game session status. Alternatively, use SearchGameSessions to request a set of active game sessions that are filtered by certain criteria. To retrieve all game session properties, use DescribeGameSessions.
This operation can be used in the following ways:
To retrieve details for all game sessions that are currently running on all locations in a fleet, provide a fleet or alias ID, with an optional status filter. This approach returns details from the fleet's home Region and all remote locations.
To retrieve details for all game sessions that are currently running on a specific fleet location, provide a fleet or alias ID and a location name, with optional status filter. The location can be the fleet's home Region or any remote location.
To retrieve details for a specific game session, provide the game session ID. This approach looks for the game session ID in all fleets that reside in the Amazon Web Services Region defined in the request.
Use the pagination parameters to retrieve results as a set of sequential pages.
If successful, a GameSessionDetail
object is returned for each game session that matches the request.
Learn more
Related actions
CreateGameSession | DescribeGameSessions | DescribeGameSessionDetails | SearchGameSessions | UpdateGameSession | GetGameSessionLogUrl | StartGameSessionPlacement | DescribeGameSessionPlacement | StopGameSessionPlacement | All APIs by task
", "DescribeGameSessionPlacement": "Retrieves information, including current status, about a game session placement request.
To get game session placement details, specify the placement ID.
This operation is not designed to be continually called to track game session status. This practice can cause you to exceed your API limit, which results in errors. Instead, you must configure configure an Amazon Simple Notification Service (SNS) topic to receive notifications from FlexMatch or queues. Continuously polling with DescribeGameSessionPlacement
should only be used for games in development with low game session usage.
If successful, a GameSessionPlacement object is returned.
Related actions
CreateGameSession | DescribeGameSessions | DescribeGameSessionDetails | SearchGameSessions | UpdateGameSession | GetGameSessionLogUrl | StartGameSessionPlacement | DescribeGameSessionPlacement | StopGameSessionPlacement | All APIs by task
", "DescribeGameSessionQueues": "Retrieves the properties for one or more game session queues. When requesting multiple queues, use the pagination parameters to retrieve results as a set of sequential pages. If successful, a GameSessionQueue object is returned for each requested queue. When specifying a list of queues, objects are returned only for queues that currently exist in the Region.
Learn more
Related actions
CreateGameSessionQueue | DescribeGameSessionQueues | UpdateGameSessionQueue | DeleteGameSessionQueue | All APIs by task
", - "DescribeGameSessions": "Retrieves a set of one or more game sessions in a specific fleet location. You can optionally filter the results by current game session status. Alternatively, use SearchGameSessions to request a set of active game sessions that are filtered by certain criteria. To retrieve the protection policy for game sessions, use DescribeGameSessionDetails.
This operation is not designed to be continually called to track game session status. This practice can cause you to exceed your API limit, which results in errors. Instead, you must configure configure an Amazon Simple Notification Service (SNS) topic to receive notifications from FlexMatch or queues. Continuously polling with DescribeGameSessions
should only be used for games in development with low game session usage.
This operation can be used in the following ways:
To retrieve all game sessions that are currently running on all locations in a fleet, provide a fleet or alias ID, with an optional status filter. This approach returns all game sessions in the fleet's home Region and all remote locations.
To retrieve all game sessions that are currently running on a specific fleet location, provide a fleet or alias ID and a location name, with optional status filter. The location can be the fleet's home Region or any remote location.
To retrieve a specific game session, provide the game session ID. This approach looks for the game session ID in all fleets that reside in the Amazon Web Services Region defined in the request.
Use the pagination parameters to retrieve results as a set of sequential pages.
If successful, a GameSession
object is returned for each game session that matches the request.
This operation is not designed to be continually called to track matchmaking ticket status. This practice can cause you to exceed your API limit, which results in errors. Instead, as a best practice, set up an Amazon Simple Notification Service to receive notifications, and provide the topic ARN in the matchmaking configuration. Continuously poling ticket status with DescribeGameSessions should only be used for games in development with low matchmaking usage.
Available in Amazon Web Services Local.
Learn more
Related actions
CreateGameSession | DescribeGameSessions | DescribeGameSessionDetails | SearchGameSessions | UpdateGameSession | GetGameSessionLogUrl | StartGameSessionPlacement | DescribeGameSessionPlacement | StopGameSessionPlacement | All APIs by task
", + "DescribeGameSessions": "Retrieves a set of one or more game sessions in a specific fleet location. You can optionally filter the results by current game session status. Alternatively, use SearchGameSessions to request a set of active game sessions that are filtered by certain criteria. To retrieve the protection policy for game sessions, use DescribeGameSessionDetails.
This operation is not designed to be continually called to track game session status. This practice can cause you to exceed your API limit, which results in errors. Instead, you must configure configure an Amazon Simple Notification Service (SNS) topic to receive notifications from FlexMatch or queues. Continuously polling with DescribeGameSessions
should only be used for games in development with low game session usage.
This operation can be used in the following ways:
To retrieve all game sessions that are currently running on all locations in a fleet, provide a fleet or alias ID, with an optional status filter. This approach returns all game sessions in the fleet's home Region and all remote locations.
To retrieve all game sessions that are currently running on a specific fleet location, provide a fleet or alias ID and a location name, with optional status filter. The location can be the fleet's home Region or any remote location.
To retrieve a specific game session, provide the game session ID. This approach looks for the game session ID in all fleets that reside in the Amazon Web Services Region defined in the request.
Use the pagination parameters to retrieve results as a set of sequential pages.
If successful, a GameSession
object is returned for each game session that matches the request.
This operation is not designed to be continually called to track matchmaking ticket status. This practice can cause you to exceed your API limit, which results in errors. Instead, as a best practice, set up an Amazon Simple Notification Service to receive notifications, and provide the topic ARN in the matchmaking configuration. Continuously poling ticket status with DescribeGameSessions should only be used for games in development with low matchmaking usage.
Available in Amazon GameLift Local.
Learn more
Related actions
CreateGameSession | DescribeGameSessions | DescribeGameSessionDetails | SearchGameSessions | UpdateGameSession | GetGameSessionLogUrl | StartGameSessionPlacement | DescribeGameSessionPlacement | StopGameSessionPlacement | All APIs by task
", "DescribeInstances": "Retrieves information about a fleet's instances, including instance IDs, connection data, and status.
This operation can be used in the following ways:
To get information on all instances that are deployed to a fleet's home Region, provide the fleet ID.
To get information on all instances that are deployed to a fleet's remote location, provide the fleet ID and location name.
To get information on a specific instance in a fleet, provide the fleet ID and instance ID.
Use the pagination parameters to retrieve results as a set of sequential pages.
If successful, an Instance
object is returned for each requested instance. Instances are not returned in any particular order.
Learn more
Remotely Access Fleet Instances
Related actions
DescribeInstances | GetInstanceAccess | DescribeEC2InstanceLimits | All APIs by task
", "DescribeMatchmaking": "Retrieves one or more matchmaking tickets. Use this operation to retrieve ticket information, including--after a successful match is made--connection information for the resulting new game session.
To request matchmaking tickets, provide a list of up to 10 ticket IDs. If the request is successful, a ticket object is returned for each requested ID that currently exists.
This operation is not designed to be continually called to track matchmaking ticket status. This practice can cause you to exceed your API limit, which results in errors. Instead, as a best practice, set up an Amazon Simple Notification Service to receive notifications, and provide the topic ARN in the matchmaking configuration. Continuously polling ticket status with DescribeMatchmaking should only be used for games in development with low matchmaking usage.
Learn more
Add FlexMatch to a game client
Set Up FlexMatch event notification
Related actions
StartMatchmaking | DescribeMatchmaking | StopMatchmaking | AcceptMatch | StartMatchBackfill | All APIs by task
", "DescribeMatchmakingConfigurations": "Retrieves the details of FlexMatch matchmaking configurations.
This operation offers the following options: (1) retrieve all matchmaking configurations, (2) retrieve configurations for a specified list, or (3) retrieve all configurations that use a specified rule set name. When requesting multiple items, use the pagination parameters to retrieve results as a set of sequential pages.
If successful, a configuration is returned for each requested name. When specifying a list of names, only configurations that currently exist are returned.
Learn more
Setting up FlexMatch matchmakers
Related actions
CreateMatchmakingConfiguration | DescribeMatchmakingConfigurations | UpdateMatchmakingConfiguration | DeleteMatchmakingConfiguration | CreateMatchmakingRuleSet | DescribeMatchmakingRuleSets | ValidateMatchmakingRuleSet | DeleteMatchmakingRuleSet | All APIs by task
", "DescribeMatchmakingRuleSets": "Retrieves the details for FlexMatch matchmaking rule sets. You can request all existing rule sets for the Region, or provide a list of one or more rule set names. When requesting multiple items, use the pagination parameters to retrieve results as a set of sequential pages. If successful, a rule set is returned for each requested name.
Learn more
Related actions
CreateMatchmakingConfiguration | DescribeMatchmakingConfigurations | UpdateMatchmakingConfiguration | DeleteMatchmakingConfiguration | CreateMatchmakingRuleSet | DescribeMatchmakingRuleSets | ValidateMatchmakingRuleSet | DeleteMatchmakingRuleSet | All APIs by task
", - "DescribePlayerSessions": "Retrieves properties for one or more player sessions.
This action can be used in the following ways:
To retrieve a specific player session, provide the player session ID only.
To retrieve all player sessions in a game session, provide the game session ID only.
To retrieve all player sessions for a specific player, provide a player ID only.
To request player sessions, specify either a player session ID, game session ID, or player ID. You can filter this request by player session status. Use the pagination parameters to retrieve results as a set of sequential pages.
If successful, a PlayerSession
object is returned for each session that matches the request.
Available in Amazon Web Services Local.
Related actions
CreatePlayerSession | CreatePlayerSessions | DescribePlayerSessions | StartGameSessionPlacement | DescribeGameSessionPlacement | All APIs by task
", + "DescribePlayerSessions": "Retrieves properties for one or more player sessions.
This action can be used in the following ways:
To retrieve a specific player session, provide the player session ID only.
To retrieve all player sessions in a game session, provide the game session ID only.
To retrieve all player sessions for a specific player, provide a player ID only.
To request player sessions, specify either a player session ID, game session ID, or player ID. You can filter this request by player session status. Use the pagination parameters to retrieve results as a set of sequential pages.
If successful, a PlayerSession
object is returned for each session that matches the request.
Available in Amazon GameLift Local.
Related actions
CreatePlayerSession | CreatePlayerSessions | DescribePlayerSessions | StartGameSessionPlacement | DescribeGameSessionPlacement | All APIs by task
", "DescribeRuntimeConfiguration": "Retrieves a fleet's runtime configuration settings. The runtime configuration tells GameLift which server processes to run (and how) on each instance in the fleet.
To get the runtime configuration that is currently in forces for a fleet, provide the fleet ID.
If successful, a RuntimeConfiguration object is returned for the requested fleet. If the requested fleet has been deleted, the result set is empty.
Learn more
Running multiple processes on a fleet
Related actions
ListFleets | DescribeEC2InstanceLimits | DescribeFleetAttributes | DescribeFleetCapacity | DescribeFleetEvents | DescribeFleetLocationAttributes | DescribeFleetPortSettings | DescribeFleetUtilization | DescribeRuntimeConfiguration | DescribeScalingPolicies | All APIs by task
", "DescribeScalingPolicies": "Retrieves all scaling policies applied to a fleet.
To get a fleet's scaling policies, specify the fleet ID. You can filter this request by policy status, such as to retrieve only active scaling policies. Use the pagination parameters to retrieve results as a set of sequential pages. If successful, set of ScalingPolicy objects is returned for the fleet.
A fleet may have all of its scaling policies suspended (StopFleetActions). This operation does not affect the status of the scaling policies, which remains ACTIVE. To see whether a fleet's scaling policies are in force or suspended, call DescribeFleetAttributes and check the stopped actions.
Related actions
DescribeFleetCapacity | UpdateFleetCapacity | DescribeEC2InstanceLimits | PutScalingPolicy | DescribeScalingPolicies | DeleteScalingPolicy | StopFleetActions | StartFleetActions | All APIs by task
", - "DescribeScript": "Retrieves properties for a Realtime script.
To request a script record, specify the script ID. If successful, an object containing the script properties is returned.
Learn more
Amazon Web Services Realtime Servers
Related actions
CreateScript | ListScripts | DescribeScript | UpdateScript | DeleteScript | All APIs by task
", + "DescribeScript": "Retrieves properties for a Realtime script.
To request a script record, specify the script ID. If successful, an object containing the script properties is returned.
Learn more
Amazon GameLift Realtime Servers
Related actions
CreateScript | ListScripts | DescribeScript | UpdateScript | DeleteScript | All APIs by task
", "DescribeVpcPeeringAuthorizations": "Retrieves valid VPC peering authorizations that are pending for the Amazon Web Services account. This operation returns all VPC peering authorizations and requests for peering. This includes those initiated and received by this account.
Related actions
CreateVpcPeeringAuthorization | DescribeVpcPeeringAuthorizations | DeleteVpcPeeringAuthorization | CreateVpcPeeringConnection | DescribeVpcPeeringConnections | DeleteVpcPeeringConnection | All APIs by task
", - "DescribeVpcPeeringConnections": "Retrieves information on VPC peering connections. Use this operation to get peering information for all fleets or for one specific fleet ID.
To retrieve connection information, call this operation from the Amazon Web Services account that is used to manage the Amazon Web Services fleets. Specify a fleet ID or leave the parameter empty to retrieve all connection records. If successful, the retrieved information includes both active and pending connections. Active connections identify the IpV4 CIDR block that the VPC uses to connect.
Related actions
CreateVpcPeeringAuthorization | DescribeVpcPeeringAuthorizations | DeleteVpcPeeringAuthorization | CreateVpcPeeringConnection | DescribeVpcPeeringConnections | DeleteVpcPeeringConnection | All APIs by task
", + "DescribeVpcPeeringConnections": "Retrieves information on VPC peering connections. Use this operation to get peering information for all fleets or for one specific fleet ID.
To retrieve connection information, call this operation from the Amazon Web Services account that is used to manage the Amazon GameLift fleets. Specify a fleet ID or leave the parameter empty to retrieve all connection records. If successful, the retrieved information includes both active and pending connections. Active connections identify the IpV4 CIDR block that the VPC uses to connect.
Related actions
CreateVpcPeeringAuthorization | DescribeVpcPeeringAuthorizations | DeleteVpcPeeringAuthorization | CreateVpcPeeringConnection | DescribeVpcPeeringConnections | DeleteVpcPeeringConnection | All APIs by task
", "GetGameSessionLogUrl": "Retrieves the location of stored game session logs for a specified game session. When a game session is terminated, GameLift automatically stores the logs in Amazon S3 and retains them for 14 days. Use this URL to download the logs.
See the Amazon Web Services Service Limits page for maximum log file sizes. Log files that exceed this limit are not saved.
Related actions
CreateGameSession | DescribeGameSessions | DescribeGameSessionDetails | SearchGameSessions | UpdateGameSession | GetGameSessionLogUrl | StartGameSessionPlacement | DescribeGameSessionPlacement | StopGameSessionPlacement | All APIs by task
", "GetInstanceAccess": "Requests remote access to a fleet instance. Remote access is useful for debugging, gathering benchmarking data, or observing activity in real time.
To remotely access an instance, you need credentials that match the operating system of the instance. For a Windows instance, GameLift returns a user name and password as strings for use with a Windows Remote Desktop client. For a Linux instance, GameLift returns a user name and RSA private key, also as strings, for use with an SSH client. The private key must be saved in the proper format to a .pem
file before using. If you're making this request using the CLI, saving the secret can be handled as part of the GetInstanceAccess
request, as shown in one of the examples for this operation.
To request access to a specific instance, specify the IDs of both the instance and the fleet it belongs to. You can retrieve a fleet's instance IDs by calling DescribeInstances. If successful, an InstanceAccess object is returned that contains the instance's IP address and a set of credentials.
Learn more
Remotely Access Fleet Instances
Related actions
DescribeInstances | GetInstanceAccess | DescribeEC2InstanceLimits | All APIs by task
", "ListAliases": "Retrieves all aliases for this Amazon Web Services account. You can filter the result set by alias name and/or routing strategy type. Use the pagination parameters to retrieve results in sequential pages.
Returned aliases are not listed in any particular order.
Related actions
CreateAlias | ListAliases | DescribeAlias | UpdateAlias | DeleteAlias | ResolveAlias | All APIs by task
", @@ -66,16 +66,16 @@ "ListFleets": "Retrieves a collection of fleet resources in an Amazon Web Services Region. You can call this operation to get fleets in a previously selected default Region (see https://docs.aws.amazon.com/credref/latest/refdocs/setting-global-region.htmlor specify a Region in your request. You can filter the result set to find only those fleets that are deployed with a specific build or script. For fleets that have multiple locations, this operation retrieves fleets based on their home Region only.
This operation can be used in the following ways:
To get a list of all fleets in a Region, don't provide a build or script identifier.
To get a list of all fleets where a specific custom game build is deployed, provide the build ID.
To get a list of all Realtime Servers fleets with a specific configuration script, provide the script ID.
Use the pagination parameters to retrieve results as a set of sequential pages.
If successful, a list of fleet IDs that match the request parameters is returned. A NextToken value is also returned if there are more result pages to retrieve.
Fleet resources are not listed in a particular order.
Learn more
Related actions
CreateFleet | UpdateFleetCapacity | PutScalingPolicy | DescribeEC2InstanceLimits | DescribeFleetAttributes | DescribeFleetLocationAttributes | UpdateFleetAttributes | StopFleetActions | DeleteFleet | All APIs by task
", "ListGameServerGroups": "This operation is used with the GameLift FleetIQ solution and game server groups.
Retrieves information on all game servers groups that exist in the current Amazon Web Services account for the selected Region. Use the pagination parameters to retrieve results in a set of sequential segments.
Learn more
Related actions
CreateGameServerGroup | ListGameServerGroups | DescribeGameServerGroup | UpdateGameServerGroup | DeleteGameServerGroup | ResumeGameServerGroup | SuspendGameServerGroup | DescribeGameServerInstances | All APIs by task
", "ListGameServers": "This operation is used with the GameLift FleetIQ solution and game server groups.
Retrieves information on all game servers that are currently active in a specified game server group. You can opt to sort the list by game server age. Use the pagination parameters to retrieve results in a set of sequential segments.
Learn more
Related actions
RegisterGameServer | ListGameServers | ClaimGameServer | DescribeGameServer | UpdateGameServer | DeregisterGameServer | All APIs by task
", - "ListScripts": "Retrieves script records for all Realtime scripts that are associated with the Amazon Web Services account in use.
Learn more
Amazon Web Services Realtime Servers
Related actions
CreateScript | ListScripts | DescribeScript | UpdateScript | DeleteScript | All APIs by task
", + "ListScripts": "Retrieves script records for all Realtime scripts that are associated with the Amazon Web Services account in use.
Learn more
Amazon GameLift Realtime Servers
Related actions
CreateScript | ListScripts | DescribeScript | UpdateScript | DeleteScript | All APIs by task
", "ListTagsForResource": "Retrieves all tags that are assigned to a GameLift resource. Resource tags are used to organize Amazon Web Services resources for a range of purposes. This operation handles the permissions necessary to manage tags for the following GameLift resource types:
Build
Script
Fleet
Alias
GameSessionQueue
MatchmakingConfiguration
MatchmakingRuleSet
To list tags for a resource, specify the unique ARN value for the resource.
Learn more
Tagging Amazon Web Services Resources in the Amazon Web Services General Reference
Amazon Web Services Tagging Strategies
Related actions
TagResource | UntagResource | ListTagsForResource | All APIs by task
", - "PutScalingPolicy": "Creates or updates a scaling policy for a fleet. Scaling policies are used to automatically scale a fleet's hosting capacity to meet player demand. An active scaling policy instructs Amazon Web Services to track a fleet metric and automatically change the fleet's capacity when a certain threshold is reached. There are two types of scaling policies: target-based and rule-based. Use a target-based policy to quickly and efficiently manage fleet scaling; this option is the most commonly used. Use rule-based policies when you need to exert fine-grained control over auto-scaling.
Fleets can have multiple scaling policies of each type in force at the same time; you can have one target-based policy, one or multiple rule-based scaling policies, or both. We recommend caution, however, because multiple auto-scaling policies can have unintended consequences.
You can temporarily suspend all scaling policies for a fleet by calling StopFleetActions with the fleet action AUTO_SCALING. To resume scaling policies, call StartFleetActions with the same fleet action. To stop just one scaling policy--or to permanently remove it, you must delete the policy with DeleteScalingPolicy.
Learn more about how to work with auto-scaling in Set Up Fleet Automatic Scaling.
Target-based policy
A target-based policy tracks a single metric: PercentAvailableGameSessions. This metric tells us how much of a fleet's hosting capacity is ready to host game sessions but is not currently in use. This is the fleet's buffer; it measures the additional player demand that the fleet could handle at current capacity. With a target-based policy, you set your ideal buffer size and leave it to Amazon Web Services to take whatever action is needed to maintain that target.
For example, you might choose to maintain a 10% buffer for a fleet that has the capacity to host 100 simultaneous game sessions. This policy tells Amazon Web Services to take action whenever the fleet's available capacity falls below or rises above 10 game sessions. Amazon Web Services will start new instances or stop unused instances in order to return to the 10% buffer.
To create or update a target-based policy, specify a fleet ID and name, and set the policy type to \"TargetBased\". Specify the metric to track (PercentAvailableGameSessions) and reference a TargetConfiguration object with your desired buffer value. Exclude all other parameters. On a successful request, the policy name is returned. The scaling policy is automatically in force as soon as it's successfully created. If the fleet's auto-scaling actions are temporarily suspended, the new policy will be in force once the fleet actions are restarted.
Rule-based policy
A rule-based policy tracks specified fleet metric, sets a threshold value, and specifies the type of action to initiate when triggered. With a rule-based policy, you can select from several available fleet metrics. Each policy specifies whether to scale up or scale down (and by how much), so you need one policy for each type of action.
For example, a policy may make the following statement: \"If the percentage of idle instances is greater than 20% for more than 15 minutes, then reduce the fleet capacity by 10%.\"
A policy's rule statement has the following structure:
If [MetricName]
is [ComparisonOperator]
[Threshold]
for [EvaluationPeriods]
minutes, then [ScalingAdjustmentType]
to/by [ScalingAdjustment]
.
To implement the example, the rule statement would look like this:
If [PercentIdleInstances]
is [GreaterThanThreshold]
[20]
for [15]
minutes, then [PercentChangeInCapacity]
to/by [10]
.
To create or update a scaling policy, specify a unique combination of name and fleet ID, and set the policy type to \"RuleBased\". Specify the parameter values for a policy rule statement. On a successful request, the policy name is returned. Scaling policies are automatically in force as soon as they're successfully created. If the fleet's auto-scaling actions are temporarily suspended, the new policy will be in force once the fleet actions are restarted.
Related actions
DescribeFleetCapacity | UpdateFleetCapacity | DescribeEC2InstanceLimits | PutScalingPolicy | DescribeScalingPolicies | DeleteScalingPolicy | StopFleetActions | StartFleetActions | All APIs by task
", + "PutScalingPolicy": "Creates or updates a scaling policy for a fleet. Scaling policies are used to automatically scale a fleet's hosting capacity to meet player demand. An active scaling policy instructs Amazon GameLift to track a fleet metric and automatically change the fleet's capacity when a certain threshold is reached. There are two types of scaling policies: target-based and rule-based. Use a target-based policy to quickly and efficiently manage fleet scaling; this option is the most commonly used. Use rule-based policies when you need to exert fine-grained control over auto-scaling.
Fleets can have multiple scaling policies of each type in force at the same time; you can have one target-based policy, one or multiple rule-based scaling policies, or both. We recommend caution, however, because multiple auto-scaling policies can have unintended consequences.
You can temporarily suspend all scaling policies for a fleet by calling StopFleetActions with the fleet action AUTO_SCALING. To resume scaling policies, call StartFleetActions with the same fleet action. To stop just one scaling policy--or to permanently remove it, you must delete the policy with DeleteScalingPolicy.
Learn more about how to work with auto-scaling in Set Up Fleet Automatic Scaling.
Target-based policy
A target-based policy tracks a single metric: PercentAvailableGameSessions. This metric tells us how much of a fleet's hosting capacity is ready to host game sessions but is not currently in use. This is the fleet's buffer; it measures the additional player demand that the fleet could handle at current capacity. With a target-based policy, you set your ideal buffer size and leave it to Amazon GameLift to take whatever action is needed to maintain that target.
For example, you might choose to maintain a 10% buffer for a fleet that has the capacity to host 100 simultaneous game sessions. This policy tells Amazon GameLift to take action whenever the fleet's available capacity falls below or rises above 10 game sessions. Amazon GameLift will start new instances or stop unused instances in order to return to the 10% buffer.
To create or update a target-based policy, specify a fleet ID and name, and set the policy type to \"TargetBased\". Specify the metric to track (PercentAvailableGameSessions) and reference a TargetConfiguration object with your desired buffer value. Exclude all other parameters. On a successful request, the policy name is returned. The scaling policy is automatically in force as soon as it's successfully created. If the fleet's auto-scaling actions are temporarily suspended, the new policy will be in force once the fleet actions are restarted.
Rule-based policy
A rule-based policy tracks specified fleet metric, sets a threshold value, and specifies the type of action to initiate when triggered. With a rule-based policy, you can select from several available fleet metrics. Each policy specifies whether to scale up or scale down (and by how much), so you need one policy for each type of action.
For example, a policy may make the following statement: \"If the percentage of idle instances is greater than 20% for more than 15 minutes, then reduce the fleet capacity by 10%.\"
A policy's rule statement has the following structure:
If [MetricName]
is [ComparisonOperator]
[Threshold]
for [EvaluationPeriods]
minutes, then [ScalingAdjustmentType]
to/by [ScalingAdjustment]
.
To implement the example, the rule statement would look like this:
If [PercentIdleInstances]
is [GreaterThanThreshold]
[20]
for [15]
minutes, then [PercentChangeInCapacity]
to/by [10]
.
To create or update a scaling policy, specify a unique combination of name and fleet ID, and set the policy type to \"RuleBased\". Specify the parameter values for a policy rule statement. On a successful request, the policy name is returned. Scaling policies are automatically in force as soon as they're successfully created. If the fleet's auto-scaling actions are temporarily suspended, the new policy will be in force once the fleet actions are restarted.
Related actions
DescribeFleetCapacity | UpdateFleetCapacity | DescribeEC2InstanceLimits | PutScalingPolicy | DescribeScalingPolicies | DeleteScalingPolicy | StopFleetActions | StartFleetActions | All APIs by task
", "RegisterGameServer": "This operation is used with the GameLift FleetIQ solution and game server groups.
Creates a new game server resource and notifies GameLift FleetIQ that the game server is ready to host gameplay and players. This operation is called by a game server process that is running on an instance in a game server group. Registering game servers enables GameLift FleetIQ to track available game servers and enables game clients and services to claim a game server for a new game session.
To register a game server, identify the game server group and instance where the game server is running, and provide a unique identifier for the game server. You can also include connection and game server data. When a game client or service requests a game server by calling ClaimGameServer, this information is returned in the response.
Once a game server is successfully registered, it is put in status AVAILABLE
. A request to register a game server may fail if the instance it is running on is in the process of shutting down as part of instance balancing or scale-down activity.
Learn more
Related actions
RegisterGameServer | ListGameServers | ClaimGameServer | DescribeGameServer | UpdateGameServer | DeregisterGameServer | All APIs by task
", - "RequestUploadCredentials": "Retrieves a fresh set of credentials for use when uploading a new set of game build files to Amazon Web Services's Amazon S3. This is done as part of the build creation process; see CreateBuild.
To request new credentials, specify the build ID as returned with an initial CreateBuild
request. If successful, a new set of credentials are returned, along with the S3 storage location associated with the build ID.
Learn more
Create a Build with Files in S3
Related actions
CreateBuild | ListBuilds | DescribeBuild | UpdateBuild | DeleteBuild | All APIs by task
", + "RequestUploadCredentials": "Retrieves a fresh set of credentials for use when uploading a new set of game build files to Amazon GameLift's Amazon S3. This is done as part of the build creation process; see CreateBuild.
To request new credentials, specify the build ID as returned with an initial CreateBuild
request. If successful, a new set of credentials are returned, along with the S3 storage location associated with the build ID.
Learn more
Create a Build with Files in S3
Related actions
CreateBuild | ListBuilds | DescribeBuild | UpdateBuild | DeleteBuild | All APIs by task
", "ResolveAlias": "Retrieves the fleet ID that an alias is currently pointing to.
Related actions
CreateAlias | ListAliases | DescribeAlias | UpdateAlias | DeleteAlias | ResolveAlias | All APIs by task
", "ResumeGameServerGroup": "This operation is used with the GameLift FleetIQ solution and game server groups.
Reinstates activity on a game server group after it has been suspended. A game server group might be suspended by theSuspendGameServerGroup operation, or it might be suspended involuntarily due to a configuration problem. In the second case, you can manually resume activity on the group once the configuration problem has been resolved. Refer to the game server group status and status reason for more information on why group activity is suspended.
To resume activity, specify a game server group ARN and the type of activity to be resumed. If successful, a GameServerGroup object is returned showing that the resumed activity is no longer listed in SuspendedActions
.
Learn more
Related actions
CreateGameServerGroup | ListGameServerGroups | DescribeGameServerGroup | UpdateGameServerGroup | DeleteGameServerGroup | ResumeGameServerGroup | SuspendGameServerGroup | DescribeGameServerInstances | All APIs by task
", "SearchGameSessions": "Retrieves all active game sessions that match a set of search criteria and sorts them into a specified order.
This operation is not designed to be continually called to track game session status. This practice can cause you to exceed your API limit, which results in errors. Instead, you must configure configure an Amazon Simple Notification Service (SNS) topic to receive notifications from FlexMatch or queues. Continuously polling game session status with DescribeGameSessions
should only be used for games in development with low game session usage.
When searching for game sessions, you specify exactly where you want to search and provide a search filter expression, a sort expression, or both. A search request can search only one fleet, but it can search all of a fleet's locations.
This operation can be used in the following ways:
To search all game sessions that are currently running on all locations in a fleet, provide a fleet or alias ID. This approach returns game sessions in the fleet's home Region and all remote locations that fit the search criteria.
To search all game sessions that are currently running on a specific fleet location, provide a fleet or alias ID and a location name. For location, you can specify a fleet's home Region or any remote location.
Use the pagination parameters to retrieve results as a set of sequential pages.
If successful, a GameSession
object is returned for each game session that matches the request. Search finds game sessions that are in ACTIVE
status only. To retrieve information on game sessions in other statuses, use DescribeGameSessions.
You can search or sort by the following game session attributes:
gameSessionId -- A unique identifier for the game session. You can use either a GameSessionId
or GameSessionArn
value.
gameSessionName -- Name assigned to a game session. This value is set when requesting a new game session with CreateGameSession or updating with UpdateGameSession. Game session names do not need to be unique to a game session.
gameSessionProperties -- Custom data defined in a game session's GameProperty
parameter. GameProperty
values are stored as key:value pairs; the filter expression must indicate the key and a string to search the data values for. For example, to search for game sessions with custom data containing the key:value pair \"gameMode:brawl\", specify the following: gameSessionProperties.gameMode = \"brawl\"
. All custom data values are searched as strings.
maximumSessions -- Maximum number of player sessions allowed for a game session. This value is set when requesting a new game session with CreateGameSession or updating with UpdateGameSession.
creationTimeMillis -- Value indicating when a game session was created. It is expressed in Unix time as milliseconds.
playerSessionCount -- Number of players currently connected to a game session. This value changes rapidly as players join the session or drop out.
hasAvailablePlayerSessions -- Boolean value indicating whether a game session has reached its maximum number of players. It is highly recommended that all search requests include this filter attribute to optimize search performance and return only sessions that players can join.
Returned values for playerSessionCount
and hasAvailablePlayerSessions
change quickly as players join sessions and others drop out. Results should be considered a snapshot in time. Be sure to refresh search results often, and handle sessions that fill up before a player can join.
Related actions
CreateGameSession | DescribeGameSessions | DescribeGameSessionDetails | SearchGameSessions | UpdateGameSession | GetGameSessionLogUrl | StartGameSessionPlacement | DescribeGameSessionPlacement | StopGameSessionPlacement | All APIs by task
", "StartFleetActions": "Resumes certain types of activity on fleet instances that were suspended with StopFleetActions. For multi-location fleets, fleet actions are managed separately for each location. Currently, this operation is used to restart a fleet's auto-scaling activity.
This operation can be used in the following ways:
To restart actions on instances in the fleet's home Region, provide a fleet ID and the type of actions to resume.
To restart actions on instances in one of the fleet's remote locations, provide a fleet ID, a location name, and the type of actions to resume.
If successful, GameLift once again initiates scaling events as triggered by the fleet's scaling policies. If actions on the fleet location were never stopped, this operation will have no effect. You can view a fleet's stopped actions using DescribeFleetAttributes or DescribeFleetLocationAttributes.
Learn more
Related actions
CreateFleet | UpdateFleetCapacity | PutScalingPolicy | DescribeEC2InstanceLimits | DescribeFleetAttributes | DescribeFleetLocationAttributes | UpdateFleetAttributes | StopFleetActions | DeleteFleet | All APIs by task
", - "StartGameSessionPlacement": "Places a request for a new game session in a queue (see CreateGameSessionQueue). When processing a placement request, Amazon Web Services searches for available resources on the queue's destinations, scanning each until it finds resources or the placement request times out.
A game session placement request can also request player sessions. When a new game session is successfully created, Amazon Web Services creates a player session for each player included in the request.
When placing a game session, by default Amazon Web Services tries each fleet in the order they are listed in the queue configuration. Ideally, a queue's destinations are listed in preference order.
Alternatively, when requesting a game session with players, you can also provide latency data for each player in relevant Regions. Latency data indicates the performance lag a player experiences when connected to a fleet in the Region. Amazon Web Services uses latency data to reorder the list of destinations to place the game session in a Region with minimal lag. If latency data is provided for multiple players, Amazon Web Services calculates each Region's average lag for all players and reorders to get the best game play across all players.
To place a new game session request, specify the following:
The queue name and a set of game session properties and settings
A unique ID (such as a UUID) for the placement. You use this ID to track the status of the placement request
(Optional) A set of player data and a unique player ID for each player that you are joining to the new game session (player data is optional, but if you include it, you must also provide a unique ID for each player)
Latency data for all players (if you want to optimize game play for the players)
If successful, a new game session placement is created.
To track the status of a placement request, call DescribeGameSessionPlacement and check the request's status. If the status is FULFILLED
, a new game session has been created and a game session ARN and Region are referenced. If the placement request times out, you can resubmit the request or retry it with a different queue.
Related actions
CreateGameSession | DescribeGameSessions | DescribeGameSessionDetails | SearchGameSessions | UpdateGameSession | GetGameSessionLogUrl | StartGameSessionPlacement | DescribeGameSessionPlacement | StopGameSessionPlacement | All APIs by task
", + "StartGameSessionPlacement": "Places a request for a new game session in a queue (see CreateGameSessionQueue). When processing a placement request, Amazon GameLift searches for available resources on the queue's destinations, scanning each until it finds resources or the placement request times out.
A game session placement request can also request player sessions. When a new game session is successfully created, Amazon GameLift creates a player session for each player included in the request.
When placing a game session, by default Amazon GameLift tries each fleet in the order they are listed in the queue configuration. Ideally, a queue's destinations are listed in preference order.
Alternatively, when requesting a game session with players, you can also provide latency data for each player in relevant Regions. Latency data indicates the performance lag a player experiences when connected to a fleet in the Region. Amazon GameLift uses latency data to reorder the list of destinations to place the game session in a Region with minimal lag. If latency data is provided for multiple players, Amazon GameLift calculates each Region's average lag for all players and reorders to get the best game play across all players.
To place a new game session request, specify the following:
The queue name and a set of game session properties and settings
A unique ID (such as a UUID) for the placement. You use this ID to track the status of the placement request
(Optional) A set of player data and a unique player ID for each player that you are joining to the new game session (player data is optional, but if you include it, you must also provide a unique ID for each player)
Latency data for all players (if you want to optimize game play for the players)
If successful, a new game session placement is created.
To track the status of a placement request, call DescribeGameSessionPlacement and check the request's status. If the status is FULFILLED
, a new game session has been created and a game session ARN and Region are referenced. If the placement request times out, you can resubmit the request or retry it with a different queue.
Related actions
CreateGameSession | DescribeGameSessions | DescribeGameSessionDetails | SearchGameSessions | UpdateGameSession | GetGameSessionLogUrl | StartGameSessionPlacement | DescribeGameSessionPlacement | StopGameSessionPlacement | All APIs by task
", "StartMatchBackfill": "Finds new players to fill open slots in currently running game sessions. The backfill match process is essentially identical to the process of forming new matches. Backfill requests use the same matchmaker that was used to make the original match, and they provide matchmaking data for all players currently in the game session. FlexMatch uses this information to select new players so that backfilled match continues to meet the original match requirements.
When using FlexMatch with GameLift managed hosting, you can request a backfill match from a client service by calling this operation with a GameSession identifier. You also have the option of making backfill requests directly from your game server. In response to a request, FlexMatch creates player sessions for the new players, updates the GameSession
resource, and sends updated matchmaking data to the game server. You can request a backfill match at any point after a game session is started. Each game session can have only one active backfill request at a time; a subsequent request automatically replaces the earlier request.
When using FlexMatch as a standalone component, request a backfill match by calling this operation without a game session identifier. As with newly formed matches, matchmaking results are returned in a matchmaking event so that your game can update the game session that is being backfilled.
To request a backfill match, specify a unique ticket ID, the original matchmaking configuration, and matchmaking data for all current players in the game session being backfilled. Optionally, specify the GameSession
ARN. If successful, a match backfill ticket is created and returned with status set to QUEUED. Track the status of backfill tickets using the same method for tracking tickets for new matches.
Only game sessions created by FlexMatch are supported for match backfill.
Learn more
Backfill existing games with FlexMatch
Matchmaking events (reference)
Related actions
StartMatchmaking | DescribeMatchmaking | StopMatchmaking | AcceptMatch | StartMatchBackfill | All APIs by task
", "StartMatchmaking": "Uses FlexMatch to create a game match for a group of players based on custom matchmaking rules. With games that use GameLift managed hosting, this operation also triggers GameLift to find hosting resources and start a new game session for the new match. Each matchmaking request includes information on one or more players and specifies the FlexMatch matchmaker to use. When a request is for multiple players, FlexMatch attempts to build a match that includes all players in the request, placing them in the same team and finding additional players as needed to fill the match.
To start matchmaking, provide a unique ticket ID, specify a matchmaking configuration, and include the players to be matched. You must also include any player attributes that are required by the matchmaking configuration's rule set. If successful, a matchmaking ticket is returned with status set to QUEUED
.
Track matchmaking events to respond as needed and acquire game session connection information for successfully completed matches. Ticket status updates are tracked using event notification through Amazon Simple Notification Service, which is defined in the matchmaking configuration.
Learn more
Add FlexMatch to a game client
Set Up FlexMatch event notification
Related actions
StartMatchmaking | DescribeMatchmaking | StopMatchmaking | AcceptMatch | StartMatchBackfill | All APIs by task
", "StopFleetActions": "Suspends certain types of activity in a fleet location. Currently, this operation is used to stop auto-scaling activity. For multi-location fleets, fleet actions are managed separately for each location.
Stopping fleet actions has several potential purposes. It allows you to temporarily stop auto-scaling activity but retain your scaling policies for use in the future. For multi-location fleets, you can set up fleet-wide auto-scaling, and then opt out of it for certain locations.
This operation can be used in the following ways:
To stop actions on instances in the fleet's home Region, provide a fleet ID and the type of actions to suspend.
To stop actions on instances in one of the fleet's remote locations, provide a fleet ID, a location name, and the type of actions to suspend.
If successful, GameLift no longer initiates scaling events except in response to manual changes using UpdateFleetCapacity. You can view a fleet's stopped actions using DescribeFleetAttributes or DescribeFleetLocationAttributes. Suspended activity can be restarted using StartFleetActions.
Learn more
Related actions
CreateFleet | UpdateFleetCapacity | PutScalingPolicy | DescribeEC2InstanceLimits | DescribeFleetAttributes | DescribeFleetLocationAttributes | UpdateFleetAttributes | StopFleetActions | DeleteFleet | All APIs by task
", @@ -95,7 +95,7 @@ "UpdateGameSessionQueue": "Updates the configuration of a game session queue, which determines how the queue processes new game session requests. To update settings, specify the queue name to be updated and provide the new settings. When updating destinations, provide a complete list of destinations.
Learn more
Related actions
CreateGameSessionQueue | DescribeGameSessionQueues | UpdateGameSessionQueue | DeleteGameSessionQueue | All APIs by task
", "UpdateMatchmakingConfiguration": "Updates settings for a FlexMatch matchmaking configuration. These changes affect all matches and game sessions that are created after the update. To update settings, specify the configuration name to be updated and provide the new settings.
Learn more
Related actions
CreateMatchmakingConfiguration | DescribeMatchmakingConfigurations | UpdateMatchmakingConfiguration | DeleteMatchmakingConfiguration | CreateMatchmakingRuleSet | DescribeMatchmakingRuleSets | ValidateMatchmakingRuleSet | DeleteMatchmakingRuleSet | All APIs by task
", "UpdateRuntimeConfiguration": "Updates the current runtime configuration for the specified fleet, which tells GameLift how to launch server processes on all instances in the fleet. You can update a fleet's runtime configuration at any time after the fleet is created; it does not need to be in ACTIVE
status.
To update runtime configuration, specify the fleet ID and provide a RuntimeConfiguration
with an updated set of server process configurations.
If successful, the fleet's runtime configuration settings are updated. Each instance in the fleet regularly checks for and retrieves updated runtime configurations. Instances immediately begin complying with the new configuration by launching new server processes or not replacing existing processes when they shut down. Updating a fleet's runtime configuration never affects existing server processes.
Learn more
Related actions
CreateFleetLocations | UpdateFleetAttributes | UpdateFleetCapacity | UpdateFleetPortSettings | UpdateRuntimeConfiguration | StopFleetActions | StartFleetActions | PutScalingPolicy | DeleteFleet | DeleteFleetLocations | DeleteScalingPolicy | All APIs by task
", - "UpdateScript": "Updates Realtime script metadata and content.
To update script metadata, specify the script ID and provide updated name and/or version values.
To update script content, provide an updated zip file by pointing to either a local file or an Amazon S3 bucket location. You can use either method regardless of how the original script was uploaded. Use the Version parameter to track updates to the script.
If the call is successful, the updated metadata is stored in the script record and a revised script is uploaded to the Amazon Web Services service. Once the script is updated and acquired by a fleet instance, the new version is used for all new game sessions.
Learn more
Amazon Web Services Realtime Servers
Related actions
CreateScript | ListScripts | DescribeScript | UpdateScript | DeleteScript | All APIs by task
", + "UpdateScript": "Updates Realtime script metadata and content.
To update script metadata, specify the script ID and provide updated name and/or version values.
To update script content, provide an updated zip file by pointing to either a local file or an Amazon S3 bucket location. You can use either method regardless of how the original script was uploaded. Use the Version parameter to track updates to the script.
If the call is successful, the updated metadata is stored in the script record and a revised script is uploaded to the Amazon GameLift service. Once the script is updated and acquired by a fleet instance, the new version is used for all new game sessions.
Learn more
Amazon GameLift Realtime Servers
Related actions
CreateScript | ListScripts | DescribeScript | UpdateScript | DeleteScript | All APIs by task
", "ValidateMatchmakingRuleSet": "Validates the syntax of a matchmaking rule or rule set. This operation checks that the rule set is using syntactically correct JSON and that it conforms to allowed property expressions. To validate syntax, provide a rule set JSON string.
Learn more
Related actions
CreateMatchmakingConfiguration | DescribeMatchmakingConfigurations | UpdateMatchmakingConfiguration | DeleteMatchmakingConfiguration | CreateMatchmakingRuleSet | DescribeMatchmakingRuleSets | ValidateMatchmakingRuleSet | DeleteMatchmakingRuleSet | All APIs by task
" }, "shapes": { @@ -192,9 +192,9 @@ } }, "AwsCredentials": { - "base": "Temporary access credentials used for uploading game build files to Amazon Web Services. They are valid for a limited time. If they expire before you upload your game build, get a new set by calling RequestUploadCredentials.
", + "base": "Temporary access credentials used for uploading game build files to Amazon GameLift. They are valid for a limited time. If they expire before you upload your game build, get a new set by calling RequestUploadCredentials.
", "refs": { - "CreateBuildOutput$UploadCredentials": "This element is returned only when the operation is called without a storage location. It contains credentials to use when you are uploading a build file to an Amazon S3 bucket that is owned by Amazon Web Services. Credentials have a limited life span. To refresh these credentials, call RequestUploadCredentials.
", + "CreateBuildOutput$UploadCredentials": "This element is returned only when the operation is called without a storage location. It contains credentials to use when you are uploading a build file to an Amazon S3 bucket that is owned by Amazon GameLift. Credentials have a limited life span. To refresh these credentials, call RequestUploadCredentials.
", "RequestUploadCredentialsOutput$UploadCredentials": "Amazon Web Services credentials required when uploading a game build to the storage location. These credentials have a limited lifespan and are valid only for the build they were issued for.
" } }, @@ -280,7 +280,7 @@ "CertificateType": { "base": null, "refs": { - "CertificateConfiguration$CertificateType": "Indicates whether a TLS/SSL certificate is generated for a fleet.
Valid values include:
GENERATED - Generate a TLS/SSL certificate for this fleet.
DISABLED - (default) Do not generate a TLS/SSL certificate for this fleet.
" + "CertificateConfiguration$CertificateType": "
Indicates whether a TLS/SSL certificate is generated for a fleet.
Valid values include:
GENERATED - Generate a TLS/SSL certificate for this fleet.
DISABLED - (default) Do not generate a TLS/SSL certificate for this fleet.
A unique identifier for the fleet. You can use either the fleet ID or ARN value. This tells Amazon Web Services which GameLift VPC to peer with.
", + "CreateVpcPeeringConnectionInput$FleetId": "A unique identifier for the fleet. You can use either the fleet ID or ARN value. This tells Amazon GameLift which GameLift VPC to peer with.
", "DeleteVpcPeeringConnectionInput$FleetId": "A unique identifier for the fleet. This fleet specified must match the fleet referenced in the VPC peering connection record. You can use either the fleet ID or ARN value.
", "DescribeFleetPortSettingsOutput$FleetId": "A unique identifier for the fleet that was requested.
", "DescribeVpcPeeringConnectionsInput$FleetId": "A unique identifier for the fleet. You can use either the fleet ID or ARN value.
", @@ -1015,7 +1015,7 @@ "UpdateFleetAttributesOutput$FleetId": "A unique identifier for the fleet that was updated.
", "UpdateFleetCapacityOutput$FleetId": "A unique identifier for the fleet that was updated.
", "UpdateFleetPortSettingsOutput$FleetId": "A unique identifier for the fleet that was updated.
", - "VpcPeeringConnection$FleetId": "A unique identifier for the fleet. This ID determines the ID of the Amazon Web Services VPC for your fleet.
" + "VpcPeeringConnection$FleetId": "A unique identifier for the fleet. This ID determines the ID of the Amazon GameLift VPC for your fleet.
" } }, "FleetIdList": { @@ -1497,9 +1497,9 @@ "IamRoleArn": { "base": null, "refs": { - "CreateGameServerGroupInput$RoleArn": "The Amazon Resource Name (ARN) for an IAM role that allows Amazon Web Services to access your Amazon EC2 Auto Scaling groups.
", - "GameServerGroup$RoleArn": "The Amazon Resource Name (ARN) for an IAM role that allows Amazon Web Services to access your Amazon EC2 Auto Scaling groups.
", - "UpdateGameServerGroupInput$RoleArn": "The Amazon Resource Name (ARN) for an IAM role that allows Amazon Web Services to access your Amazon EC2 Auto Scaling groups.
" + "CreateGameServerGroupInput$RoleArn": "The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access your Amazon EC2 Auto Scaling groups.
", + "GameServerGroup$RoleArn": "The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access your Amazon EC2 Auto Scaling groups.
", + "UpdateGameServerGroupInput$RoleArn": "The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access your Amazon EC2 Auto Scaling groups.
" } }, "IdStringModel": { @@ -1673,7 +1673,7 @@ } }, "LaunchTemplateSpecification": { - "base": "This data type is used with the GameLift FleetIQ and game server groups.
An Amazon EC2 launch template that contains configuration settings and game server code to be deployed to all instances in a game server group. The launch template is specified when creating a new game server group with CreateGameServerGroup.
", + "base": "This data type is used with the GameLift FleetIQ and game server groups.
An Amazon Elastic Compute Cloud launch template that contains configuration settings and game server code to be deployed to all instances in a game server group. The launch template is specified when creating a new game server group with CreateGameServerGroup.
", "refs": { "CreateGameServerGroupInput$LaunchTemplate": "The Amazon EC2 launch template that contains configuration settings and game server code to be deployed to all instances in the game server group. You can specify the template using either the template name or ID. For help with creating a launch template, see Creating a Launch Template for an Auto Scaling Group in the Amazon Elastic Compute Cloud Auto Scaling User Guide. After the Auto Scaling group is created, update this value directly in the Auto Scaling group using the Amazon Web Services console or APIs.
If you specify network interfaces in your launch template, you must explicitly set the property AssociatePublicIpAddress
to \"true\". If no network interface is specified in the launch template, GameLift FleetIQ uses your account's default VPC.
The version of the Amazon EC2 launch template to use. If no version is specified, the default version will be used. With Amazon Elastic Compute Cloud, you can specify a default version for a launch template. If none is set, the default is the first version created.
" + "LaunchTemplateSpecification$Version": "The version of the Amazon EC2 launch template to use. If no version is specified, the default version will be used. With Amazon EC2, you can specify a default version for a launch template. If none is set, the default is the first version created.
" } }, "LimitExceededException": { @@ -1933,8 +1933,8 @@ "MatchmakingRuleSet$RuleSetName": "A unique identifier for the matchmaking rule set
", "MatchmakingTicket$TicketId": "A unique identifier for a matchmaking ticket.
", "MatchmakingTicket$ConfigurationName": "Name of the MatchmakingConfiguration that is used with this ticket. Matchmaking configurations determine how players are grouped into a match and how a new game session is created for the match.
", - "StartMatchBackfillInput$TicketId": "A unique identifier for a matchmaking ticket. If no ticket ID is specified here, Amazon Web Services will generate one in the form of a UUID. Use this identifier to track the match backfill ticket status and retrieve match results.
", - "StartMatchmakingInput$TicketId": "A unique identifier for a matchmaking ticket. If no ticket ID is specified here, Amazon Web Services will generate one in the form of a UUID. Use this identifier to track the matchmaking ticket status and retrieve match results.
", + "StartMatchBackfillInput$TicketId": "A unique identifier for a matchmaking ticket. If no ticket ID is specified here, Amazon GameLift will generate one in the form of a UUID. Use this identifier to track the match backfill ticket status and retrieve match results.
", + "StartMatchmakingInput$TicketId": "A unique identifier for a matchmaking ticket. If no ticket ID is specified here, Amazon GameLift will generate one in the form of a UUID. Use this identifier to track the matchmaking ticket status and retrieve match results.
", "StopMatchmakingInput$TicketId": "A unique identifier for a matchmaking ticket.
" } }, @@ -2019,8 +2019,8 @@ "MetricName": { "base": null, "refs": { - "PutScalingPolicyInput$MetricName": "Name of the Amazon Web Services-defined metric that is used to trigger a scaling adjustment. For detailed descriptions of fleet metrics, see Monitor Amazon Web Services with Amazon CloudWatch.
ActivatingGameSessions -- Game sessions in the process of being created.
ActiveGameSessions -- Game sessions that are currently running.
ActiveInstances -- Fleet instances that are currently running at least one game session.
AvailableGameSessions -- Additional game sessions that fleet could host simultaneously, given current capacity.
AvailablePlayerSessions -- Empty player slots in currently active game sessions. This includes game sessions that are not currently accepting players. Reserved player slots are not included.
CurrentPlayerSessions -- Player slots in active game sessions that are being used by a player or are reserved for a player.
IdleInstances -- Active instances that are currently hosting zero game sessions.
PercentAvailableGameSessions -- Unused percentage of the total number of game sessions that a fleet could host simultaneously, given current capacity. Use this metric for a target-based scaling policy.
PercentIdleInstances -- Percentage of the total number of active instances that are hosting zero game sessions.
QueueDepth -- Pending game session placement requests, in any queue, where the current fleet is the top-priority destination.
WaitTime -- Current wait time for pending game session placement requests, in any queue, where the current fleet is the top-priority destination.
Name of the Amazon Web Services-defined metric that is used to trigger a scaling adjustment. For detailed descriptions of fleet metrics, see Monitor Amazon Web Services with Amazon CloudWatch.
ActivatingGameSessions -- Game sessions in the process of being created.
ActiveGameSessions -- Game sessions that are currently running.
ActiveInstances -- Fleet instances that are currently running at least one game session.
AvailableGameSessions -- Additional game sessions that fleet could host simultaneously, given current capacity.
AvailablePlayerSessions -- Empty player slots in currently active game sessions. This includes game sessions that are not currently accepting players. Reserved player slots are not included.
CurrentPlayerSessions -- Player slots in active game sessions that are being used by a player or are reserved for a player.
IdleInstances -- Active instances that are currently hosting zero game sessions.
PercentAvailableGameSessions -- Unused percentage of the total number of game sessions that a fleet could host simultaneously, given current capacity. Use this metric for a target-based scaling policy.
PercentIdleInstances -- Percentage of the total number of active instances that are hosting zero game sessions.
QueueDepth -- Pending game session placement requests, in any queue, where the current fleet is the top-priority destination.
WaitTime -- Current wait time for pending game session placement requests, in any queue, where the current fleet is the top-priority destination.
Name of the Amazon GameLift-defined metric that is used to trigger a scaling adjustment. For detailed descriptions of fleet metrics, see Monitor Amazon GameLift with Amazon CloudWatch.
ActivatingGameSessions -- Game sessions in the process of being created.
ActiveGameSessions -- Game sessions that are currently running.
ActiveInstances -- Fleet instances that are currently running at least one game session.
AvailableGameSessions -- Additional game sessions that fleet could host simultaneously, given current capacity.
AvailablePlayerSessions -- Empty player slots in currently active game sessions. This includes game sessions that are not currently accepting players. Reserved player slots are not included.
CurrentPlayerSessions -- Player slots in active game sessions that are being used by a player or are reserved for a player.
IdleInstances -- Active instances that are currently hosting zero game sessions.
PercentAvailableGameSessions -- Unused percentage of the total number of game sessions that a fleet could host simultaneously, given current capacity. Use this metric for a target-based scaling policy.
PercentIdleInstances -- Percentage of the total number of active instances that are hosting zero game sessions.
QueueDepth -- Pending game session placement requests, in any queue, where the current fleet is the top-priority destination.
WaitTime -- Current wait time for pending game session placement requests, in any queue, where the current fleet is the top-priority destination.
Name of the Amazon GameLift-defined metric that is used to trigger a scaling adjustment. For detailed descriptions of fleet metrics, see Monitor Amazon GameLift with Amazon CloudWatch.
ActivatingGameSessions -- Game sessions in the process of being created.
ActiveGameSessions -- Game sessions that are currently running.
ActiveInstances -- Fleet instances that are currently running at least one game session.
AvailableGameSessions -- Additional game sessions that fleet could host simultaneously, given current capacity.
AvailablePlayerSessions -- Empty player slots in currently active game sessions. This includes game sessions that are not currently accepting players. Reserved player slots are not included.
CurrentPlayerSessions -- Player slots in active game sessions that are being used by a player or are reserved for a player.
IdleInstances -- Active instances that are currently hosting zero game sessions.
PercentAvailableGameSessions -- Unused percentage of the total number of game sessions that a fleet could host simultaneously, given current capacity. Use this metric for a target-based scaling policy.
PercentIdleInstances -- Percentage of the total number of active instances that are hosting zero game sessions.
QueueDepth -- Pending game session placement requests, in any queue, where the current fleet is the top-priority destination.
WaitTime -- Current wait time for pending game session placement requests, in any queue, where the current fleet is the top-priority destination.
Temporary key allowing access to the Amazon Web Services S3 account.
", - "AwsCredentials$SecretAccessKey": "Temporary secret key allowing access to the Amazon Web Services S3 account.
", + "AwsCredentials$AccessKeyId": "Temporary key allowing access to the Amazon GameLift S3 account.
", + "AwsCredentials$SecretAccessKey": "Temporary secret key allowing access to the Amazon GameLift S3 account.
", "AwsCredentials$SessionToken": "Token used to associate a specific build ID with the files uploaded using these credentials.
", "ConflictException$Message": null, "CreateFleetInput$InstanceRoleArn": "A unique identifier for an IAM role that manages access to your Amazon Web Services services. With an instance role ARN set, any application that runs on an instance in this fleet can assume the role, including install scripts, server processes, and daemons (background processes). Create a role or look up a role's ARN by using the IAM dashboard in the Amazon Web Services Management Console. Learn more about using on-box credentials for your game servers at Access external resources from a game server. This property cannot be changed after the fleet is created.
", @@ -2069,8 +2069,8 @@ "OutOfCapacityException$Message": null, "S3Location$Bucket": "An Amazon S3 bucket identifier. This is the name of the S3 bucket.
GameLift currently does not support uploading from Amazon S3 buckets with names that contain a dot (.).
The name of the zip file that contains the build files or script files.
", - "S3Location$RoleArn": "The Amazon Resource Name (ARN) for an IAM role that allows Amazon Web Services to access the S3 bucket.
", - "S3Location$ObjectVersion": "The version of the file, if object versioning is turned on for the bucket. Amazon Web Services uses this information when retrieving files from an S3 bucket that you own. Use this parameter to specify a specific version of the file. If not set, the latest version of the file is retrieved.
", + "S3Location$RoleArn": "The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access the S3 bucket.
", + "S3Location$ObjectVersion": "The version of the file, if object versioning is turned on for the bucket. Amazon GameLift uses this information when retrieving files from an S3 bucket that you own. Use this parameter to specify a specific version of the file. If not set, the latest version of the file is retrieved.
", "TaggingFailedException$Message": null, "TerminalRoutingStrategyException$Message": null, "UnauthorizedException$Message": null, @@ -2102,7 +2102,7 @@ "CreateScriptInput$Version": "Version information that is associated with a build or script. Version strings do not need to be unique. You can use UpdateScript to change this value later.
", "CreateVpcPeeringAuthorizationInput$GameLiftAwsAccountId": "A unique identifier for the Amazon Web Services account that you use to manage your GameLift fleet. You can find your Account ID in the Amazon Web Services Management Console under account settings.
", "CreateVpcPeeringAuthorizationInput$PeerVpcId": "A unique identifier for a VPC with resources to be accessed by your GameLift fleet. The VPC must be in the same Region as your fleet. To look up a VPC ID, use the VPC Dashboard in the Amazon Web Services Management Console. Learn more about VPC peering in VPC Peering with GameLift Fleets.
", - "CreateVpcPeeringConnectionInput$PeerVpcAwsAccountId": "A unique identifier for the Amazon Web Services account with the VPC that you want to peer your Amazon Web Services fleet with. You can find your Account ID in the Amazon Web Services Management Console under account settings.
", + "CreateVpcPeeringConnectionInput$PeerVpcAwsAccountId": "A unique identifier for the Amazon Web Services account with the VPC that you want to peer your Amazon GameLift fleet with. You can find your Account ID in the Amazon Web Services Management Console under account settings.
", "CreateVpcPeeringConnectionInput$PeerVpcId": "A unique identifier for a VPC with resources to be accessed by your GameLift fleet. The VPC must be in the same Region as your fleet. To look up a VPC ID, use the VPC Dashboard in the Amazon Web Services Management Console. Learn more about VPC peering in VPC Peering with GameLift Fleets.
", "DeleteScalingPolicyInput$Name": "A descriptive label that is associated with a fleet's scaling policy. Policy names do not need to be unique.
", "DeleteVpcPeeringAuthorizationInput$GameLiftAwsAccountId": "A unique identifier for the Amazon Web Services account that you use to manage your GameLift fleet. You can find your Account ID in the Amazon Web Services Management Console under account settings.
", @@ -2200,7 +2200,7 @@ "VpcPeeringConnection$IpV4CidrBlock": "CIDR block of IPv4 addresses assigned to the VPC peering connection for the GameLift VPC. The peered VPC also has an IPv4 CIDR block associated with it; these blocks cannot overlap or the peering connection cannot be created.
", "VpcPeeringConnection$VpcPeeringConnectionId": "A unique identifier that is automatically assigned to the connection record. This ID is referenced in VPC peering connection events, and is used when deleting a connection with DeleteVpcPeeringConnection.
", "VpcPeeringConnection$PeerVpcId": "A unique identifier for a VPC with resources to be accessed by your GameLift fleet. The VPC must be in the same Region as your fleet. To look up a VPC ID, use the VPC Dashboard in the Amazon Web Services Management Console. Learn more about VPC peering in VPC Peering with GameLift Fleets.
", - "VpcPeeringConnection$GameLiftVpcId": "A unique identifier for the VPC that contains the Amazon Web Services fleet for this connection. This VPC is managed by Amazon Web Services and does not appear in your Amazon Web Services account.
", + "VpcPeeringConnection$GameLiftVpcId": "A unique identifier for the VPC that contains the Amazon GameLift fleet for this connection. This VPC is managed by Amazon GameLift and does not appear in your Amazon Web Services account.
", "VpcPeeringConnectionStatus$Code": "Code indicating the status of a VPC peering connection.
", "VpcPeeringConnectionStatus$Message": "Additional messaging associated with the connection status.
" } @@ -2261,7 +2261,7 @@ "PlayerDataMap": { "base": null, "refs": { - "CreatePlayerSessionsInput$PlayerDataMap": "Map of string pairs, each specifying a player ID and a set of developer-defined information related to the player. Amazon Web Services does not use this data, so it can be formatted as needed for use in the game. Any player data strings for player IDs that are not included in the PlayerIds
parameter are ignored.
Map of string pairs, each specifying a player ID and a set of developer-defined information related to the player. Amazon GameLift does not use this data, so it can be formatted as needed for use in the game. Any player data strings for player IDs that are not included in the PlayerIds
parameter are ignored.
The port number for the game session. To connect to a GameLift game server, an app needs both the IP address and port number.
", "GameSessionPlacement$Port": "The port number for the game session. To connect to a GameLift game server, an app needs both the IP address and port number. This value is set once the new game session is placed (placement status is FULFILLED
).
A starting value for a range of allowed port numbers.
For fleets using Linux builds, only port 22, 443, 1026-60000 are valid. For fleets using Windows builds, only port 443, 1026-60000 are valid.
", - "IpPermission$ToPort": "An ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be higher than FromPort
.
For fleets using Linux builds, only port 22, 443, 1026-60000 are valid. For fleets using Windows builds, only port 443, 1026-60000 are valid.
", - "PlayerSession$Port": "Port number for the game session. To connect to a Amazon Web Services server process, an app needs both the IP address and port number.
" + "IpPermission$FromPort": "A starting value for a range of allowed port numbers.
For fleets using Windows and Linux builds, only ports 1026-60000 are valid.
", + "IpPermission$ToPort": "An ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be higher than FromPort
.
For fleets using Windows and Linux builds, only ports 1026-60000 are valid.
", + "PlayerSession$Port": "Port number for the game session. To connect to a Amazon GameLift server process, an app needs both the IP address and port number.
" } }, "PositiveInteger": { @@ -2548,14 +2548,14 @@ } }, "S3Location": { - "base": "The location in Amazon S3 where build or script files are stored for access by Amazon Web Services. This location is specified in CreateBuild, CreateScript, and UpdateScript requests.
", + "base": "The location in Amazon S3 where build or script files are stored for access by Amazon GameLift. This location is specified in CreateBuild, CreateScript, and UpdateScript requests.
", "refs": { - "CreateBuildInput$StorageLocation": "Information indicating where your game build files are stored. Use this parameter only when creating a build with files stored in an Amazon S3 bucket that you own. The storage location must specify an Amazon S3 bucket name and key. The location must also specify a role ARN that you set up to allow Amazon Web Services to access your Amazon S3 bucket. The S3 bucket and your new build must be in the same Region.
If a StorageLocation
is specified, the size of your file can be found in your Amazon S3 bucket. Amazon Web Services will report a SizeOnDisk
of 0.
Information indicating where your game build files are stored. Use this parameter only when creating a build with files stored in an Amazon S3 bucket that you own. The storage location must specify an Amazon S3 bucket name and key. The location must also specify a role ARN that you set up to allow Amazon GameLift to access your Amazon S3 bucket. The S3 bucket and your new build must be in the same Region.
If a StorageLocation
is specified, the size of your file can be found in your Amazon S3 bucket. Amazon GameLift will report a SizeOnDisk
of 0.
Amazon S3 location for your game build file, including bucket name and key.
", - "CreateScriptInput$StorageLocation": "The location of the Amazon S3 bucket where a zipped file containing your Realtime scripts is stored. The storage location must specify the Amazon S3 bucket name, the zip file name (the \"key\"), and a role ARN that allows Amazon Web Services to access the Amazon S3 storage location. The S3 bucket must be in the same Region where you want to create a new script. By default, Amazon Web Services uploads the latest version of the zip file; if you have S3 object versioning turned on, you can use the ObjectVersion
parameter to specify an earlier version.
The location of the Amazon S3 bucket where a zipped file containing your Realtime scripts is stored. The storage location must specify the Amazon S3 bucket name, the zip file name (the \"key\"), and a role ARN that allows Amazon GameLift to access the Amazon S3 storage location. The S3 bucket must be in the same Region where you want to create a new script. By default, Amazon GameLift uploads the latest version of the zip file; if you have S3 object versioning turned on, you can use the ObjectVersion
parameter to specify an earlier version.
Amazon S3 path and key, identifying where the game build files are stored.
", "Script$StorageLocation": null, - "UpdateScriptInput$StorageLocation": "The location of the Amazon S3 bucket where a zipped file containing your Realtime scripts is stored. The storage location must specify the Amazon S3 bucket name, the zip file name (the \"key\"), and a role ARN that allows Amazon Web Services to access the Amazon S3 storage location. The S3 bucket must be in the same Region where you want to create a new script. By default, Amazon Web Services uploads the latest version of the zip file; if you have S3 object versioning turned on, you can use the ObjectVersion
parameter to specify an earlier version.
The location of the Amazon S3 bucket where a zipped file containing your Realtime scripts is stored. The storage location must specify the Amazon S3 bucket name, the zip file name (the \"key\"), and a role ARN that allows Amazon GameLift to access the Amazon S3 storage location. The S3 bucket must be in the same Region where you want to create a new script. By default, Amazon GameLift uploads the latest version of the zip file; if you have S3 object versioning turned on, you can use the ObjectVersion
parameter to specify an earlier version.
Properties describing a Realtime script.
Related actions
CreateScript | ListScripts | DescribeScript | UpdateScript | DeleteScript | All APIs by task
", "refs": { - "CreateScriptOutput$Script": "The newly created script record with a unique script ID and ARN. The new script's storage location reflects an Amazon S3 location: (1) If the script was uploaded from an S3 bucket under your account, the storage location reflects the information that was provided in the CreateScript request; (2) If the script file was uploaded from a local zip file, the storage location reflects an S3 location controls by the Amazon Web Services service.
", + "CreateScriptOutput$Script": "The newly created script record with a unique script ID and ARN. The new script's storage location reflects an Amazon S3 location: (1) If the script was uploaded from an S3 bucket under your account, the storage location reflects the information that was provided in the CreateScript request; (2) If the script file was uploaded from a local zip file, the storage location reflects an S3 location controls by the Amazon GameLift service.
", "DescribeScriptOutput$Script": "A set of properties describing the requested script.
", "ScriptList$member": null, - "UpdateScriptOutput$Script": "The newly created script record with a unique script ID. The new script's storage location reflects an Amazon S3 location: (1) If the script was uploaded from an S3 bucket under your account, the storage location reflects the information that was provided in the CreateScript request; (2) If the script file was uploaded from a local zip file, the storage location reflects an S3 location controls by the Amazon Web Services service.
" + "UpdateScriptOutput$Script": "The newly created script record with a unique script ID. The new script's storage location reflects an Amazon S3 location: (1) If the script was uploaded from an S3 bucket under your account, the storage location reflects the information that was provided in the CreateScript request; (2) If the script file was uploaded from a local zip file, the storage location reflects an S3 location controls by the Amazon GameLift service.
" } }, "ScriptArn": { @@ -2818,7 +2818,7 @@ } }, "TargetConfiguration": { - "base": "Settings for a target-based scaling policy (see ScalingPolicy. A target-based policy tracks a particular fleet metric specifies a target value for the metric. As player usage changes, the policy triggers Amazon Web Services to adjust capacity so that the metric returns to the target value. The target configuration specifies settings as needed for the target based policy, including the target value.
Related actions
DescribeFleetCapacity | UpdateFleetCapacity | DescribeEC2InstanceLimits | PutScalingPolicy | DescribeScalingPolicies | DeleteScalingPolicy | StopFleetActions | StartFleetActions | All APIs by task
", + "base": "Settings for a target-based scaling policy (see ScalingPolicy. A target-based policy tracks a particular fleet metric specifies a target value for the metric. As player usage changes, the policy triggers Amazon GameLift to adjust capacity so that the metric returns to the target value. The target configuration specifies settings as needed for the target based policy, including the target value.
Related actions
DescribeFleetCapacity | UpdateFleetCapacity | DescribeEC2InstanceLimits | PutScalingPolicy | DescribeScalingPolicies | DeleteScalingPolicy | StopFleetActions | StartFleetActions | All APIs by task
", "refs": { "PutScalingPolicyInput$TargetConfiguration": "An object that contains settings for a target-based scaling policy.
", "ScalingPolicy$TargetConfiguration": "An object that contains settings for a target-based scaling policy.
" @@ -3018,7 +3018,7 @@ } }, "VpcPeeringAuthorization": { - "base": "Represents an authorization for a VPC peering connection between the VPC for an Amazon Web Services fleet and another VPC on an account you have access to. This authorization must exist and be valid for the peering connection to be established. Authorizations are valid for 24 hours after they are issued.
Related actions
CreateVpcPeeringAuthorization | DescribeVpcPeeringAuthorizations | DeleteVpcPeeringAuthorization | CreateVpcPeeringConnection | DescribeVpcPeeringConnections | DeleteVpcPeeringConnection | All APIs by task
", + "base": "Represents an authorization for a VPC peering connection between the VPC for an Amazon GameLift fleet and another VPC on an account you have access to. This authorization must exist and be valid for the peering connection to be established. Authorizations are valid for 24 hours after they are issued.
Related actions
CreateVpcPeeringAuthorization | DescribeVpcPeeringAuthorizations | DeleteVpcPeeringAuthorization | CreateVpcPeeringConnection | DescribeVpcPeeringConnections | DeleteVpcPeeringConnection | All APIs by task
", "refs": { "CreateVpcPeeringAuthorizationOutput$VpcPeeringAuthorization": "Details on the requested VPC peering authorization, including expiration.
", "VpcPeeringAuthorizationList$member": null @@ -3031,7 +3031,7 @@ } }, "VpcPeeringConnection": { - "base": "Represents a peering connection between a VPC on one of your Amazon Web Services accounts and the VPC for your Amazon Web Services fleets. This record may be for an active peering connection or a pending connection that has not yet been established.
Related actions
CreateVpcPeeringAuthorization | DescribeVpcPeeringAuthorizations | DeleteVpcPeeringAuthorization | CreateVpcPeeringConnection | DescribeVpcPeeringConnections | DeleteVpcPeeringConnection | All APIs by task
", + "base": "Represents a peering connection between a VPC on one of your Amazon Web Services accounts and the VPC for your Amazon GameLift fleets. This record may be for an active peering connection or a pending connection that has not yet been established.
Related actions
CreateVpcPeeringAuthorization | DescribeVpcPeeringAuthorizations | DeleteVpcPeeringAuthorization | CreateVpcPeeringConnection | DescribeVpcPeeringConnections | DeleteVpcPeeringConnection | All APIs by task
", "refs": { "VpcPeeringConnectionList$member": null } diff --git a/models/apis/mq/2017-11-27/api-2.json b/models/apis/mq/2017-11-27/api-2.json index 12deb43ab7f..98ebf227d07 100644 --- a/models/apis/mq/2017-11-27/api-2.json +++ b/models/apis/mq/2017-11-27/api-2.json @@ -515,6 +515,19 @@ } }, "shapes" : { + "ActionRequired" : { + "type" : "structure", + "members" : { + "ActionRequiredCode" : { + "shape" : "__string", + "locationName" : "actionRequiredCode" + }, + "ActionRequiredInfo" : { + "shape" : "__string", + "locationName" : "actionRequiredInfo" + } + } + }, "AuthenticationStrategy" : { "type" : "string", "enum" : [ "SIMPLE", "LDAP" ] @@ -642,7 +655,7 @@ }, "BrokerState" : { "type" : "string", - "enum" : [ "CREATION_IN_PROGRESS", "CREATION_FAILED", "DELETION_IN_PROGRESS", "RUNNING", "REBOOT_IN_PROGRESS" ] + "enum" : [ "CREATION_IN_PROGRESS", "CREATION_FAILED", "DELETION_IN_PROGRESS", "RUNNING", "REBOOT_IN_PROGRESS", "CRITICAL_ACTION_REQUIRED" ] }, "BrokerStorageType" : { "type" : "string", @@ -1330,6 +1343,10 @@ "DescribeBrokerOutput" : { "type" : "structure", "members" : { + "ActionsRequired" : { + "shape" : "__listOfActionRequired", + "locationName" : "actionsRequired" + }, "AuthenticationStrategy" : { "shape" : "AuthenticationStrategy", "locationName" : "authenticationStrategy" @@ -1459,6 +1476,10 @@ "DescribeBrokerResponse" : { "type" : "structure", "members" : { + "ActionsRequired" : { + "shape" : "__listOfActionRequired", + "locationName" : "actionsRequired" + }, "AuthenticationStrategy" : { "shape" : "AuthenticationStrategy", "locationName" : "authenticationStrategy" @@ -2705,6 +2726,12 @@ "min" : 5, "max" : 100 }, + "__listOfActionRequired" : { + "type" : "list", + "member" : { + "shape" : "ActionRequired" + } + }, "__listOfAvailabilityZone" : { "type" : "list", "member" : { diff --git a/models/apis/mq/2017-11-27/docs-2.json b/models/apis/mq/2017-11-27/docs-2.json index 90d7aa618ae..474ea0d33d5 100644 --- a/models/apis/mq/2017-11-27/docs-2.json +++ b/models/apis/mq/2017-11-27/docs-2.json @@ -26,6 +26,12 @@ "UpdateUser" : "Updates the information for an ActiveMQ user.
" }, "shapes" : { + "ActionRequired" : { + "base" : "The action required to resolve a broker issue when the broker is in a CRITICAL_ACTION_REQUIRED state.
", + "refs" : { + "__listOfActionRequired$member" : null + } + }, "AuthenticationStrategy" : { "base" : "Optional. The authentication strategy used to secure the broker. The default is SIMPLE.
", "refs" : { @@ -393,6 +399,12 @@ "ListUsersOutput$MaxResults" : "Required. The maximum number of ActiveMQ users that can be returned per page (20 by default). This value must be an integer from 5 to 100.
" } }, + "__listOfActionRequired" : { + "base" : null, + "refs" : { + "DescribeBrokerOutput$ActionsRequired" : "A list of actions required for a broker.
" + } + }, "__listOfAvailabilityZone" : { "base" : null, "refs" : { @@ -506,6 +518,8 @@ "__string" : { "base" : null, "refs" : { + "ActionRequired$ActionRequiredCode" : "The code you can use to resolve your broker issue when the broker is in a CRITICAL_ACTION_REQUIRED state. You can find instructions by choosing the link for your code from the list of action required codes in Amazon MQ action required codes. Each code references a topic with detailed information, instructions, and recommendations for how to resolve the issue and prevent future occurrences.
", + "ActionRequired$ActionRequiredInfo" : "Information about the action required to resolve your broker issue when the broker is in a CRITICAL_ACTION_REQUIRED state.
", "AvailabilityZone$Name" : "Id for the availability zone.
", "BrokerEngineTypeOutput$NextToken" : "The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
", "BrokerInstance$ConsoleURL" : "The brokers web console URL.
", diff --git a/models/apis/rds-data/2018-08-01/api-2.json b/models/apis/rds-data/2018-08-01/api-2.json index ce713d50622..a5bb52ab599 100644 --- a/models/apis/rds-data/2018-08-01/api-2.json +++ b/models/apis/rds-data/2018-08-01/api-2.json @@ -22,6 +22,7 @@ "input":{"shape":"BatchExecuteStatementRequest"}, "output":{"shape":"BatchExecuteStatementResponse"}, "errors":[ + {"shape":"AccessDeniedException"}, {"shape":"BadRequestException"}, {"shape":"StatementTimeoutException"}, {"shape":"InternalServerErrorException"}, @@ -39,6 +40,7 @@ "input":{"shape":"BeginTransactionRequest"}, "output":{"shape":"BeginTransactionResponse"}, "errors":[ + {"shape":"AccessDeniedException"}, {"shape":"BadRequestException"}, {"shape":"StatementTimeoutException"}, {"shape":"InternalServerErrorException"}, @@ -56,6 +58,7 @@ "input":{"shape":"CommitTransactionRequest"}, "output":{"shape":"CommitTransactionResponse"}, "errors":[ + {"shape":"AccessDeniedException"}, {"shape":"BadRequestException"}, {"shape":"StatementTimeoutException"}, {"shape":"InternalServerErrorException"}, @@ -74,6 +77,7 @@ "input":{"shape":"ExecuteSqlRequest"}, "output":{"shape":"ExecuteSqlResponse"}, "errors":[ + {"shape":"AccessDeniedException"}, {"shape":"BadRequestException"}, {"shape":"InternalServerErrorException"}, {"shape":"ForbiddenException"}, @@ -92,6 +96,7 @@ "input":{"shape":"ExecuteStatementRequest"}, "output":{"shape":"ExecuteStatementResponse"}, "errors":[ + {"shape":"AccessDeniedException"}, {"shape":"BadRequestException"}, {"shape":"StatementTimeoutException"}, {"shape":"InternalServerErrorException"}, @@ -109,6 +114,7 @@ "input":{"shape":"RollbackTransactionRequest"}, "output":{"shape":"RollbackTransactionResponse"}, "errors":[ + {"shape":"AccessDeniedException"}, {"shape":"BadRequestException"}, {"shape":"StatementTimeoutException"}, {"shape":"InternalServerErrorException"}, @@ -119,6 +125,17 @@ } }, "shapes":{ + "AccessDeniedException":{ + "type":"structure", + "members":{ + "message":{"shape":"ErrorMessage"} + }, + "error":{ + "httpStatusCode":403, + "senderFault":true + }, + "exception":true + }, "Arn":{ "type":"string", "max":100, @@ -308,6 +325,7 @@ "members":{ "continueAfterTimeout":{"shape":"Boolean"}, "database":{"shape":"DbName"}, + "formatRecordsAs":{"shape":"RecordsFormatType"}, "includeResultMetadata":{"shape":"Boolean"}, "parameters":{"shape":"SqlParametersList"}, "resourceArn":{"shape":"Arn"}, @@ -322,6 +340,7 @@ "type":"structure", "members":{ "columnMetadata":{"shape":"Metadata"}, + "formattedRecords":{"shape":"FormattedSqlRecords"}, "generatedFields":{"shape":"FieldList"}, "numberOfRecordsUpdated":{"shape":"RecordsUpdated"}, "records":{"shape":"SqlRecords"} @@ -355,6 +374,7 @@ }, "exception":true }, + "FormattedSqlRecords":{"type":"string"}, "Id":{ "type":"string", "max":192, @@ -374,6 +394,13 @@ "type":"list", "member":{"shape":"BoxedLong"} }, + "LongReturnType":{ + "type":"string", + "enum":[ + "STRING", + "LONG" + ] + }, "Metadata":{ "type":"list", "member":{"shape":"ColumnMetadata"} @@ -400,6 +427,13 @@ "type":"list", "member":{"shape":"Record"} }, + "RecordsFormatType":{ + "type":"string", + "enum":[ + "NONE", + "JSON" + ] + }, "RecordsUpdated":{"type":"long"}, "ResultFrame":{ "type":"structure", @@ -418,7 +452,8 @@ "ResultSetOptions":{ "type":"structure", "members":{ - "decimalReturnType":{"shape":"DecimalReturnType"} + "decimalReturnType":{"shape":"DecimalReturnType"}, + "longReturnType":{"shape":"LongReturnType"} } }, "RollbackTransactionRequest":{ diff --git a/models/apis/rds-data/2018-08-01/docs-2.json b/models/apis/rds-data/2018-08-01/docs-2.json index 8a9ca92f750..bd6146ba1f8 100644 --- a/models/apis/rds-data/2018-08-01/docs-2.json +++ b/models/apis/rds-data/2018-08-01/docs-2.json @@ -1,15 +1,20 @@ { "version": "2.0", - "service": "Amazon RDS provides an HTTP endpoint to run SQL statements on an Amazon Aurora Serverless DB cluster. To run these statements, you work with the Data Service API.
For more information about the Data Service API, see Using the Data API for Aurora Serverless in the Amazon Aurora User Guide.
", + "service": "Amazon RDS provides an HTTP endpoint to run SQL statements on an Amazon Aurora Serverless DB cluster. To run these statements, you work with the Data Service API.
For more information about the Data Service API, see Using the Data API in the Amazon Aurora User Guide.
", "operations": { "BatchExecuteStatement": "Runs a batch SQL statement over an array of data.
You can run bulk update and insert operations for multiple records using a DML statement with different parameter sets. Bulk operations can provide a significant performance improvement over individual insert and update operations.
If a call isn't part of a transaction because it doesn't include the transactionID
parameter, changes that result from the call are committed automatically.
Starts a SQL transaction.
<important> <p>A transaction can run for a maximum of 24 hours. A transaction is terminated and rolled back automatically after 24 hours.</p> <p>A transaction times out if no calls use its transaction ID in three minutes. If a transaction times out before it's committed, it's rolled back automatically.</p> <p>DDL statements inside a transaction cause an implicit commit. We recommend that you run each DDL statement in a separate <code>ExecuteStatement</code> call with <code>continueAfterTimeout</code> enabled.</p> </important>
",
"CommitTransaction": "Ends a SQL transaction started with the BeginTransaction
operation and commits the changes.
Runs one or more SQL statements.
This operation is deprecated. Use the BatchExecuteStatement
or ExecuteStatement
operation.
Runs a SQL statement against a database.
If a call isn't part of a transaction because it doesn't include the transactionID
parameter, changes that result from the call are committed automatically.
The response size limit is 1 MB. If the call returns more than 1 MB of response data, the call is terminated.
", + "ExecuteStatement": "Runs a SQL statement against a database.
If a call isn't part of a transaction because it doesn't include the transactionID
parameter, changes that result from the call are committed automatically.
If the binary response data from the database is more than 1 MB, the call is terminated.
", "RollbackTransaction": "Performs a rollback of a transaction. Rolling back a transaction cancels its changes.
" }, "shapes": { + "AccessDeniedException": { + "base": "You do not have sufficient access to perform this action.
", + "refs": { + } + }, "Arn": { "base": null, "refs": { @@ -170,14 +175,15 @@ } }, "DoubleArray": { - "base": "An array of floating point numbers.
Some array entries can be null.
An array of floating-point numbers.
Some array entries can be null.
An array of integers.
" + "ArrayValue$doubleValues": "An array of floating-point numbers.
" } }, "ErrorMessage": { "base": null, "refs": { + "AccessDeniedException$message": null, "BadRequestException$message": "The error message returned by this BadRequestException
error.
The error message returned by this ForbiddenException
error.
The error message returned by this NotFoundException
error.
Values for fields generated during the request.
<note> <p>The <code>generatedFields</code> data isn't supported by Aurora PostgreSQL. To get the values of generated fields, use the <code>RETURNING</code> clause. For more information, see <a href="https://www.postgresql.org/docs/10/dml-returning.html">Returning Data From Modified Rows</a> in the PostgreSQL documentation.</p> </note>
",
+ "ExecuteStatementResponse$generatedFields": "Values for fields generated during a DML request.
<note> <p>The <code>generatedFields</code> data isn't supported by Aurora PostgreSQL. To get the values of generated fields, use the <code>RETURNING</code> clause. For more information, see <a href="https://www.postgresql.org/docs/10/dml-returning.html">Returning Data From Modified Rows</a> in the PostgreSQL documentation.</p> </note>
",
"SqlRecords$member": null,
"UpdateResult$generatedFields": "Values for fields generated during the request.
" } @@ -224,6 +230,12 @@ "refs": { } }, + "FormattedSqlRecords": { + "base": null, + "refs": { + "ExecuteStatementResponse$formattedRecords": "A string value that represents the result set of a SELECT
statement in JSON format. This value is only present when the formatRecordsAs
parameter is set to JSON
.
The size limit for this field is currently 10 MB. If the JSON-formatted string representing the result set requires more than 10 MB, the call returns an error.
" + } + }, "Id": { "base": null, "refs": { @@ -259,13 +271,19 @@ "LongArray": { "base": "An array of integers.
Some array entries can be null.
An array of floating point numbers.
" + "ArrayValue$longValues": "An array of integers.
" + } + }, + "LongReturnType": { + "base": null, + "refs": { + "ResultSetOptions$longReturnType": "A value that indicates how a field of LONG
type is represented. Allowed values are LONG
and STRING
. The default is LONG
. Specify STRING
if the length or precision of numeric values might cause truncation or rounding errors.
Metadata for the columns included in the results.
", + "ExecuteStatementResponse$columnMetadata": "Metadata for the columns included in the results. This field is blank if the formatRecordsAs
parameter is set to JSON
.
The metadata of the columns in the result set.
" } }, @@ -281,7 +299,7 @@ } }, "Record": { - "base": "A record returned by a call.
", + "base": "A record returned by a call.
This data structure is only used with the deprecated ExecuteSql
operation. Use the BatchExecuteStatement
or ExecuteStatement
operation instead.
The records in the result set.
" } }, + "RecordsFormatType": { + "base": null, + "refs": { + "ExecuteStatementRequest$formatRecordsAs": "A value that indicates whether to format the result set as a single JSON string. This parameter only applies to SELECT
statements and is ignored for other types of statements. Allowed values are NONE
and JSON
. The default value is NONE
. The result is returned in the formattedRecords
field.
For usage information about the JSON format for result sets, see Using the Data API in the Amazon Aurora User Guide.
" + } + }, "RecordsUpdated": { "base": null, "refs": { @@ -300,7 +324,7 @@ } }, "ResultFrame": { - "base": "The result set returned by a SQL statement.
", + "base": "The result set returned by a SQL statement.
This data structure is only used with the deprecated ExecuteSql
operation. Use the BatchExecuteStatement
or ExecuteStatement
operation instead.
The result set of the SQL statement.
" } @@ -360,7 +384,7 @@ "SqlRecords": { "base": null, "refs": { - "ExecuteStatementResponse$records": "The records returned by the SQL statement.
" + "ExecuteStatementResponse$records": "The records returned by the SQL statement. This field is blank if the formatRecordsAs
parameter is set to JSON
.
The result of a SQL statement.
<important> <p>This data type is deprecated.</p> </important>
",
+ "base": "The result of a SQL statement.
<important> <p>This data structure is only used with the deprecated <code>ExecuteSql</code> operation. Use the <code>BatchExecuteStatement</code> or <code>ExecuteStatement</code> operation instead.</p> </important>
",
"refs": {
"SqlStatementResults$member": null
}
@@ -408,7 +432,7 @@
}
},
"StructValue": {
- "base": "A structure value returned by a call.
", + "base": "A structure value returned by a call.
This data structure is only used with the deprecated ExecuteSql
operation. Use the BatchExecuteStatement
or ExecuteStatement
operation instead.
A value for a column of STRUCT data type.
" } @@ -439,7 +463,7 @@ } }, "Value": { - "base": "Contains the value of a column.
<important> <p>This data type is deprecated.</p> </important>
",
+ "base": "Contains the value of a column.
<important> <p>This data structure is only used with the deprecated <code>ExecuteSql</code> operation. Use the <code>BatchExecuteStatement</code> or <code>ExecuteStatement</code> operation instead.</p> </important>
",
"refs": {
"ArrayValueList$member": null,
"Row$member": null
diff --git a/models/apis/securityhub/2018-10-26/api-2.json b/models/apis/securityhub/2018-10-26/api-2.json
index 93c4301a2c2..c4eb7b4bc43 100644
--- a/models/apis/securityhub/2018-10-26/api-2.json
+++ b/models/apis/securityhub/2018-10-26/api-2.json
@@ -1041,6 +1041,13 @@
"type":"list",
"member":{"shape":"NonEmptyString"}
},
+ "AutoEnableStandards":{
+ "type":"string",
+ "enum":[
+ "NONE",
+ "DEFAULT"
+ ]
+ },
"AvailabilityZone":{
"type":"structure",
"members":{
@@ -5266,7 +5273,8 @@
"type":"structure",
"members":{
"AutoEnable":{"shape":"Boolean"},
- "MemberAccountLimitReached":{"shape":"Boolean"}
+ "MemberAccountLimitReached":{"shape":"Boolean"},
+ "AutoEnableStandards":{"shape":"AutoEnableStandards"}
}
},
"DescribeProductsRequest":{
@@ -7145,7 +7153,8 @@
"type":"structure",
"required":["AutoEnable"],
"members":{
- "AutoEnable":{"shape":"Boolean"}
+ "AutoEnable":{"shape":"Boolean"},
+ "AutoEnableStandards":{"shape":"AutoEnableStandards"}
}
},
"UpdateOrganizationConfigurationResponse":{
diff --git a/models/apis/securityhub/2018-10-26/docs-2.json b/models/apis/securityhub/2018-10-26/docs-2.json
index 83ffdc472bc..25bebe59d40 100644
--- a/models/apis/securityhub/2018-10-26/docs-2.json
+++ b/models/apis/securityhub/2018-10-26/docs-2.json
@@ -1,6 +1,6 @@
{
"version": "2.0",
- "service": "Security Hub provides you with a comprehensive view of the security state of your Amazon Web Services environment and resources. It also provides you with the readiness status of your environment based on controls from supported security standards. Security Hub collects security data from Amazon Web Services accounts, services, and integrated third-party products and helps you analyze security trends in your environment to identify the highest priority security issues. For more information about Security Hub, see the Security HubUser Guide .
When you use operations in the Security Hub API, the requests are executed only in the Amazon Web Services Region that is currently active or in the specific Amazon Web Services Region that you specify in your request. Any configuration or settings change that results from the operation is applied only to that Region. To make the same change in other Regions, execute the same command for each Region to apply the change to.
For example, if your Region is set to us-west-2
, when you use CreateMembers
to add a member account to Security Hub, the association of the member account with the administrator account is created only in the us-west-2
Region. Security Hub must be enabled for the member account in the same Region that the invitation was sent from.
The following throttling limits apply to using Security Hub API operations.
BatchEnableStandards
- RateLimit
of 1 request per second, BurstLimit
of 1 request per second.
GetFindings
- RateLimit
of 3 requests per second. BurstLimit
of 6 requests per second.
UpdateFindings
- RateLimit
of 1 request per second. BurstLimit
of 5 requests per second.
UpdateStandardsControl
- RateLimit
of 1 request per second, BurstLimit
of 5 requests per second.
All other operations - RateLimit
of 10 requests per second. BurstLimit
of 30 requests per second.
Security Hub provides you with a comprehensive view of the security state of your Amazon Web Services environment and resources. It also provides you with the readiness status of your environment based on controls from supported security standards. Security Hub collects security data from Amazon Web Services accounts, services, and integrated third-party products and helps you analyze security trends in your environment to identify the highest priority security issues. For more information about Security Hub, see the Security HubUser Guide .
When you use operations in the Security Hub API, the requests are executed only in the Amazon Web Services Region that is currently active or in the specific Amazon Web Services Region that you specify in your request. Any configuration or settings change that results from the operation is applied only to that Region. To make the same change in other Regions, execute the same command for each Region to apply the change to.
For example, if your Region is set to us-west-2
, when you use CreateMembers
to add a member account to Security Hub, the association of the member account with the administrator account is created only in the us-west-2
Region. Security Hub must be enabled for the member account in the same Region that the invitation was sent from.
The following throttling limits apply to using Security Hub API operations.
BatchEnableStandards
- RateLimit
of 1 request per second, BurstLimit
of 1 request per second.
GetFindings
- RateLimit
of 3 requests per second. BurstLimit
of 6 requests per second.
UpdateFindings
- RateLimit
of 1 request per second. BurstLimit
of 5 requests per second.
UpdateStandardsControl
- RateLimit
of 1 request per second, BurstLimit
of 5 requests per second.
All other operations - RateLimit
of 10 requests per second. BurstLimit
of 30 requests per second.
Accepts the invitation to be a member account and be monitored by the Security Hub administrator account that the invitation was sent from.
This operation is only used by member accounts that are not added through Organizations.
When the member account accepts the invitation, permission is granted to the administrator account to view findings generated in the member account.
", "AcceptInvitation": "This method is deprecated. Instead, use AcceptAdministratorInvitation
.
The Security Hub console continues to use AcceptInvitation
. It will eventually change to use AcceptAdministratorInvitation
. Any IAM policies that specifically control access to this function must continue to use AcceptInvitation
. You should also add AcceptAdministratorInvitation
to your policies to ensure that the correct permissions are in place after the console begins to use AcceptAdministratorInvitation
.
Accepts the invitation to be a member account and be monitored by the Security Hub administrator account that the invitation was sent from.
This operation is only used by member accounts that are not added through Organizations.
When the member account accepts the invitation, permission is granted to the administrator account to view findings generated in the member account.
", @@ -9,7 +9,7 @@ "BatchImportFindings": "Imports security findings generated by a finding provider into Security Hub. This action is requested by the finding provider to import its findings into Security Hub.
BatchImportFindings
must be called by one of the following:
The account that is associated with the findings. The identifier of the associated account is the value of the AwsAccountId
attribute for the finding.
An account that is allow-listed for an official Security Hub partner integration.
The maximum allowed size for a finding is 240 Kb. An error is returned for any finding larger than 240 Kb.
After a finding is created, BatchImportFindings
cannot be used to update the following finding fields and objects, which Security Hub customers use to manage their investigation workflow.
Note
UserDefinedFields
VerificationState
Workflow
Finding providers also should not use BatchImportFindings
to update the following attributes.
Confidence
Criticality
RelatedFindings
Severity
Types
Instead, finding providers use FindingProviderFields
to provide values for these attributes.
Used by Security Hub customers to update information about their investigation into a finding. Requested by administrator accounts or member accounts. Administrator accounts can update findings for their account and their member accounts. Member accounts can update findings for their account.
Updates from BatchUpdateFindings
do not affect the value of UpdatedAt
for a finding.
Administrator and member accounts can use BatchUpdateFindings
to update the following finding fields and objects.
Confidence
Criticality
Note
RelatedFindings
Severity
Types
UserDefinedFields
VerificationState
Workflow
You can configure IAM policies to restrict access to fields and field values. For example, you might not want member accounts to be able to suppress findings or change the finding severity. See Configuring access to BatchUpdateFindings in the Security Hub User Guide.
", "CreateActionTarget": "Creates a custom action target in Security Hub.
You can use custom actions on findings and insights in Security Hub to trigger target actions in Amazon CloudWatch Events.
", - "CreateFindingAggregator": "Used to enable finding aggregation. Must be called from the aggregation Region.
For more details about cross-Region replication, see Configuring finding aggregation in the Security Hub User Guide.
", + "CreateFindingAggregator": "Used to enable finding aggregation. Must be called from the aggregation Region.
For more details about cross-Region replication, see Configuring finding aggregation in the Security Hub User Guide.
", "CreateInsight": "Creates a custom insight in Security Hub. An insight is a consolidation of findings that relate to a security issue that requires attention or remediation.
To group the related findings in the insight, use the GroupByAttribute
.
Creates a member association in Security Hub between the specified accounts and the account used to make the request, which is the administrator account. If you are integrated with Organizations, then the administrator account is designated by the organization management account.
CreateMembers
is always used to add accounts that are not organization members.
For accounts that are managed using Organizations, CreateMembers
is only used in the following cases:
Security Hub is not configured to automatically add new organization accounts.
The account was disassociated or deleted in Security Hub.
This action can only be used by an account that has Security Hub enabled. To enable Security Hub, you can use the EnableSecurityHub
operation.
For accounts that are not organization members, you create the account association and then send an invitation to the member account. To send the invitation, you use the InviteMembers
operation. If the account owner accepts the invitation, the account becomes a member account in Security Hub.
Accounts that are managed using Organizations do not receive an invitation. They automatically become a member account in Security Hub.
If the organization account does not have Security Hub enabled, then Security Hub and the default standards are automatically enabled. Note that Security Hub cannot be enabled automatically for the organization management account. The organization management account must enable Security Hub before the administrator account enables it as a member account.
For organization accounts that already have Security Hub enabled, Security Hub does not make any other changes to those accounts. It does not change their enabled standards or controls.
A permissions policy is added that permits the administrator account to view the findings generated in the member account.
To remove the association between the administrator and member accounts, use the DisassociateFromMasterAccount
or DisassociateMembers
operation.
Declines invitations to become a member account.
This operation is only used by accounts that are not part of an organization. Organization accounts do not receive invitations.
", @@ -205,6 +205,13 @@ "GetInsightsRequest$InsightArns": "The ARNs of the insights to describe. If you do not provide any insight ARNs, then GetInsights
returns all of your custom insights. It does not return any managed insights.
Whether to automatically enable Security Hub default standards for new member accounts in the organization.
The default value of this parameter is equal to DEFAULT
.
If equal to DEFAULT
, then Security Hub default standards are automatically enabled for new member accounts. If equal to NONE
, then default standards are not automatically enabled for new member accounts.
Whether to automatically enable Security Hub default standards for new member accounts in the organization.
By default, this parameter is equal to DEFAULT
, and new member accounts are automatically enabled with default Security Hub standards.
To opt out of enabling default standards for new member accounts, set this parameter equal to NONE
.
Information about an Availability Zone.
", "refs": { @@ -5100,8 +5107,8 @@ "AwsSecurityFinding$SchemaVersion": "The schema version that a finding is formatted for.
", "AwsSecurityFinding$Id": "The security findings provider-specific identifier for a finding.
", "AwsSecurityFinding$ProductArn": "The ARN generated by Security Hub that uniquely identifies a product that generates findings. This can be the ARN for a third-party product that is integrated with Security Hub, or the ARN for a custom integration.
", - "AwsSecurityFinding$ProductName": "The name of the product that generated the finding.
Security Hub populates this attribute automatically for each finding. You cannot update it using BatchImportFindings
or BatchUpdateFindings
. The exception to this is when you use a custom integration.
When you use the Security Hub console to filter findings by product name, you use this attribute.
When you use the Security Hub API to filter findings by product name, you use the aws/securityhub/ProductName
attribute under ProductFields
.
Security Hub does not synchronize those two attributes.
", - "AwsSecurityFinding$CompanyName": "The name of the company for the product that generated the finding.
Security Hub populates this attribute automatically for each finding. You cannot be updated using BatchImportFindings
or BatchUpdateFindings
. The exception to this is when you use a custom integration.
When you use the Security Hub console to filter findings by company name, you use this attribute.
When you use the Security Hub API to filter findings by company name, you use the aws/securityhub/CompanyName
attribute under ProductFields
.
Security Hub does not synchronize those two attributes.
", + "AwsSecurityFinding$ProductName": "The name of the product that generated the finding.
Security Hub populates this attribute automatically for each finding. You cannot update this attribute with BatchImportFindings
or BatchUpdateFindings
. The exception to this is a custom integration.
When you use the Security Hub console or API to filter findings by product name, you use this attribute.
", + "AwsSecurityFinding$CompanyName": "The name of the company for the product that generated the finding.
Security Hub populates this attribute automatically for each finding. You cannot update this attribute with BatchImportFindings
or BatchUpdateFindings
. The exception to this is a custom integration.
When you use the Security Hub console or API to filter findings by company name, you use this attribute.
", "AwsSecurityFinding$Region": "The Region from which the finding was generated.
Security Hub populates this attribute automatically for each finding. You cannot update it using BatchImportFindings
or BatchUpdateFindings
.
The identifier for the solution-specific component (a discrete unit of logic) that generated a finding. In various security-findings providers' solutions, this generator can be called a rule, a check, a detector, a plugin, etc.
", "AwsSecurityFinding$AwsAccountId": "The Amazon Web Services account ID that a finding is generated in.
", @@ -6115,8 +6122,8 @@ "AwsSecurityFindingFilters$Description": "A finding's description.
", "AwsSecurityFindingFilters$RecommendationText": "The recommendation of what to do about the issue described in a finding.
", "AwsSecurityFindingFilters$SourceUrl": "A URL that links to a page about the current finding in the security-findings provider's solution.
", - "AwsSecurityFindingFilters$ProductName": "The name of the solution (product) that generates findings.
Note that this is a filter against the aws/securityhub/ProductName
field in ProductFields
. It is not a filter for the top-level ProductName
field.
The name of the findings provider (company) that owns the solution (product) that generates findings.
Note that this is a filter against the aws/securityhub/CompanyName
field in ProductFields
. It is not a filter for the top-level CompanyName
field.
The name of the solution (product) that generates findings.
", + "AwsSecurityFindingFilters$CompanyName": "The name of the findings provider (company) that owns the solution (product) that generates findings.
", "AwsSecurityFindingFilters$MalwareName": "The name of the malware that was observed.
", "AwsSecurityFindingFilters$MalwareType": "The type of the malware that was observed.
", "AwsSecurityFindingFilters$MalwarePath": "The filesystem path of the malware that was observed.
", diff --git a/service/connect/api.go b/service/connect/api.go index a85f2b20dba..128576ff02d 100644 --- a/service/connect/api.go +++ b/service/connect/api.go @@ -11079,6 +11079,155 @@ func (c *Connect) SearchAvailablePhoneNumbersPagesWithContext(ctx aws.Context, i return p.Err() } +const opSearchUsers = "SearchUsers" + +// SearchUsersRequest generates a "aws/request.Request" representing the +// client's request for the SearchUsers operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See SearchUsers for more information on using the SearchUsers +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the SearchUsersRequest method. +// req, resp := client.SearchUsersRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchUsers +func (c *Connect) SearchUsersRequest(input *SearchUsersInput) (req *request.Request, output *SearchUsersOutput) { + op := &request.Operation{ + Name: opSearchUsers, + HTTPMethod: "POST", + HTTPPath: "/search-users", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &SearchUsersInput{} + } + + output = &SearchUsersOutput{} + req = c.newRequest(op, input, output) + return +} + +// SearchUsers API operation for Amazon Connect Service. +// +// Searches users in an Amazon Connect instance, with optional filtering. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Connect Service's +// API operation SearchUsers for usage and error information. +// +// Returned Error Types: +// * InvalidRequestException +// The request is not valid. +// +// * InvalidParameterException +// One or more of the specified parameters are not valid. +// +// * ResourceNotFoundException +// The specified resource was not found. +// +// * ThrottlingException +// The throttling limit has been exceeded. +// +// * InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchUsers +func (c *Connect) SearchUsers(input *SearchUsersInput) (*SearchUsersOutput, error) { + req, out := c.SearchUsersRequest(input) + return out, req.Send() +} + +// SearchUsersWithContext is the same as SearchUsers with the addition of +// the ability to pass a context and additional request options. +// +// See SearchUsers for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Connect) SearchUsersWithContext(ctx aws.Context, input *SearchUsersInput, opts ...request.Option) (*SearchUsersOutput, error) { + req, out := c.SearchUsersRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// SearchUsersPages iterates over the pages of a SearchUsers operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See SearchUsers method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a SearchUsers operation. +// pageNum := 0 +// err := client.SearchUsersPages(params, +// func(page *connect.SearchUsersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *Connect) SearchUsersPages(input *SearchUsersInput, fn func(*SearchUsersOutput, bool) bool) error { + return c.SearchUsersPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// SearchUsersPagesWithContext same as SearchUsersPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Connect) SearchUsersPagesWithContext(ctx aws.Context, input *SearchUsersInput, fn func(*SearchUsersOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *SearchUsersInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.SearchUsersRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*SearchUsersOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opSearchVocabularies = "SearchVocabularies" // SearchVocabulariesRequest generates a "aws/request.Request" representing the @@ -17040,7 +17189,7 @@ type ClaimPhoneNumberOutput struct { // The Amazon Resource Name (ARN) of the phone number. PhoneNumberArn *string `type:"string"` - // The identifier of the phone number. + // A unique identifier for the phone number. PhoneNumberId *string `type:"string"` } @@ -17092,7 +17241,7 @@ type ClaimedPhoneNumberSummary struct { // The description of the phone number. PhoneNumberDescription *string `type:"string"` - // The identifier of the phone number. + // A unique identifier for the phone number. PhoneNumberId *string `type:"string"` // The status of the phone number. @@ -17788,6 +17937,62 @@ func (s *ContactNotFoundException) RequestID() string { return s.RespMetadata.RequestID } +// An object that can be used to specify Tag conditions inside the SearchFilter. +// This accepts an OR of AND (List of List) input where: +// +// * Top level list specifies conditions that need to be applied with OR +// operator +// +// * Inner list specifies conditions that need to be applied with AND operator. +type ControlPlaneTagFilter struct { + _ struct{} `type:"structure"` + + // A list of conditions which would be applied together with an AND condition. + AndConditions []*TagCondition `type:"list"` + + // A list of conditions which would be applied together with an OR condition. + OrConditions [][]*TagCondition `type:"list"` + + // A leaf node condition which can be used to specify a tag condition. + TagCondition *TagCondition `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ControlPlaneTagFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ControlPlaneTagFilter) GoString() string { + return s.String() +} + +// SetAndConditions sets the AndConditions field's value. +func (s *ControlPlaneTagFilter) SetAndConditions(v []*TagCondition) *ControlPlaneTagFilter { + s.AndConditions = v + return s +} + +// SetOrConditions sets the OrConditions field's value. +func (s *ControlPlaneTagFilter) SetOrConditions(v [][]*TagCondition) *ControlPlaneTagFilter { + s.OrConditions = v + return s +} + +// SetTagCondition sets the TagCondition field's value. +func (s *ControlPlaneTagFilter) SetTagCondition(v *TagCondition) *ControlPlaneTagFilter { + s.TagCondition = v + return s +} + type CreateAgentStatusInput struct { _ struct{} `type:"structure"` @@ -22131,7 +22336,7 @@ func (s *DescribeInstanceStorageConfigOutput) SetStorageConfig(v *InstanceStorag type DescribePhoneNumberInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The identifier of the phone number. + // A unique identifier for the phone number. // // PhoneNumberId is a required field PhoneNumberId *string `location:"uri" locationName:"PhoneNumberId" type:"string" required:"true"` @@ -23569,7 +23774,7 @@ type DisassociatePhoneNumberContactFlowInput struct { // InstanceId is a required field InstanceId *string `location:"querystring" locationName:"instanceId" min:"1" type:"string" required:"true"` - // The identifier of the phone number. + // A unique identifier for the phone number. // // PhoneNumberId is a required field PhoneNumberId *string `location:"uri" locationName:"PhoneNumberId" type:"string" required:"true"` @@ -25037,6 +25242,47 @@ func (s *HierarchyGroup) SetTags(v map[string]*string) *HierarchyGroup { return s } +// A leaf node condition which can be used to specify a hierarchy group condition. +type HierarchyGroupCondition struct { + _ struct{} `type:"structure"` + + // The type of hierarchy group match. + HierarchyGroupMatchType *string `type:"string" enum:"HierarchyGroupMatchType"` + + // The value in the hierarchy group condition. + Value *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s HierarchyGroupCondition) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s HierarchyGroupCondition) GoString() string { + return s.String() +} + +// SetHierarchyGroupMatchType sets the HierarchyGroupMatchType field's value. +func (s *HierarchyGroupCondition) SetHierarchyGroupMatchType(v string) *HierarchyGroupCondition { + s.HierarchyGroupMatchType = &v + return s +} + +// SetValue sets the Value field's value. +func (s *HierarchyGroupCondition) SetValue(v string) *HierarchyGroupCondition { + s.Value = &v + return s +} + // Contains summary information about a hierarchy group. type HierarchyGroupSummary struct { _ struct{} `type:"structure"` @@ -28883,7 +29129,7 @@ type ListPhoneNumbersSummary struct { // The ISO country code. PhoneNumberCountryCode *string `type:"string" enum:"PhoneNumberCountryCode"` - // The identifier of the phone number. + // A unique identifier for the phone number. PhoneNumberId *string `type:"string"` // The type of phone number. @@ -31737,7 +31983,7 @@ type ReleasePhoneNumberInput struct { // of the request. ClientToken *string `location:"querystring" locationName:"clientToken" type:"string" idempotencyToken:"true"` - // The identifier of the phone number. + // A unique identifier for the phone number. // // PhoneNumberId is a required field PhoneNumberId *string `location:"uri" locationName:"PhoneNumberId" type:"string" required:"true"` @@ -32739,31 +32985,25 @@ func (s *SearchAvailablePhoneNumbersOutput) SetNextToken(v string) *SearchAvaila return s } -type SearchVocabulariesInput struct { +type SearchUsersInput struct { _ struct{} `type:"structure"` // The identifier of the Amazon Connect instance. You can find the instanceId // in the ARN of the instance. - // - // InstanceId is a required field - InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - - // The language code of the vocabulary entries. For a list of languages and - // their corresponding language codes, see What is Amazon Transcribe? (https://docs.aws.amazon.com/transcribe/latest/dg/transcribe-whatis.html) - LanguageCode *string `type:"string" enum:"VocabularyLanguageCode"` + InstanceId *string `min:"1" type:"string"` // The maximum number of results to return per page. MaxResults *int64 `min:"1" type:"integer"` - // The starting pattern of the name of the vocabulary. - NameStartsWith *string `min:"1" type:"string"` - // The token for the next set of results. Use the value returned in the previous // response in the next request to retrieve the next set of results. NextToken *string `min:"1" type:"string"` - // The current state of the custom vocabulary. - State *string `type:"string" enum:"VocabularyState"` + // The search criteria to be used to return users. + SearchCriteria *UserSearchCriteria `type:"structure"` + + // Filters to be applied to search results. + SearchFilter *UserSearchFilter `type:"structure"` } // String returns the string representation. @@ -32771,7 +33011,7 @@ type SearchVocabulariesInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s SearchVocabulariesInput) String() string { +func (s SearchUsersInput) String() string { return awsutil.Prettify(s) } @@ -32780,25 +33020,19 @@ func (s SearchVocabulariesInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s SearchVocabulariesInput) GoString() string { +func (s SearchUsersInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *SearchVocabulariesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "SearchVocabulariesInput"} - if s.InstanceId == nil { - invalidParams.Add(request.NewErrParamRequired("InstanceId")) - } +func (s *SearchUsersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SearchUsersInput"} if s.InstanceId != nil && len(*s.InstanceId) < 1 { invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) } if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } - if s.NameStartsWith != nil && len(*s.NameStartsWith) < 1 { - invalidParams.Add(request.NewErrParamMinLen("NameStartsWith", 1)) - } if s.NextToken != nil && len(*s.NextToken) < 1 { invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) } @@ -32810,49 +33044,46 @@ func (s *SearchVocabulariesInput) Validate() error { } // SetInstanceId sets the InstanceId field's value. -func (s *SearchVocabulariesInput) SetInstanceId(v string) *SearchVocabulariesInput { +func (s *SearchUsersInput) SetInstanceId(v string) *SearchUsersInput { s.InstanceId = &v return s } -// SetLanguageCode sets the LanguageCode field's value. -func (s *SearchVocabulariesInput) SetLanguageCode(v string) *SearchVocabulariesInput { - s.LanguageCode = &v - return s -} - // SetMaxResults sets the MaxResults field's value. -func (s *SearchVocabulariesInput) SetMaxResults(v int64) *SearchVocabulariesInput { +func (s *SearchUsersInput) SetMaxResults(v int64) *SearchUsersInput { s.MaxResults = &v return s } -// SetNameStartsWith sets the NameStartsWith field's value. -func (s *SearchVocabulariesInput) SetNameStartsWith(v string) *SearchVocabulariesInput { - s.NameStartsWith = &v +// SetNextToken sets the NextToken field's value. +func (s *SearchUsersInput) SetNextToken(v string) *SearchUsersInput { + s.NextToken = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *SearchVocabulariesInput) SetNextToken(v string) *SearchVocabulariesInput { - s.NextToken = &v +// SetSearchCriteria sets the SearchCriteria field's value. +func (s *SearchUsersInput) SetSearchCriteria(v *UserSearchCriteria) *SearchUsersInput { + s.SearchCriteria = v return s } -// SetState sets the State field's value. -func (s *SearchVocabulariesInput) SetState(v string) *SearchVocabulariesInput { - s.State = &v +// SetSearchFilter sets the SearchFilter field's value. +func (s *SearchUsersInput) SetSearchFilter(v *UserSearchFilter) *SearchUsersInput { + s.SearchFilter = v return s } -type SearchVocabulariesOutput struct { +type SearchUsersOutput struct { _ struct{} `type:"structure"` + // The total number of users who matched your search query. + ApproximateTotalCount *int64 `type:"long"` + // If there are additional results, this is the token for the next set of results. NextToken *string `min:"1" type:"string"` - // The list of the available custom vocabularies. - VocabularySummaryList []*VocabularySummary `type:"list"` + // Information about the users. + Users []*UserSearchSummary `type:"list"` } // String returns the string representation. @@ -32860,7 +33091,7 @@ type SearchVocabulariesOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s SearchVocabulariesOutput) String() string { +func (s SearchUsersOutput) String() string { return awsutil.Prettify(s) } @@ -32869,31 +33100,183 @@ func (s SearchVocabulariesOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s SearchVocabulariesOutput) GoString() string { +func (s SearchUsersOutput) GoString() string { return s.String() } +// SetApproximateTotalCount sets the ApproximateTotalCount field's value. +func (s *SearchUsersOutput) SetApproximateTotalCount(v int64) *SearchUsersOutput { + s.ApproximateTotalCount = &v + return s +} + // SetNextToken sets the NextToken field's value. -func (s *SearchVocabulariesOutput) SetNextToken(v string) *SearchVocabulariesOutput { +func (s *SearchUsersOutput) SetNextToken(v string) *SearchUsersOutput { s.NextToken = &v return s } -// SetVocabularySummaryList sets the VocabularySummaryList field's value. -func (s *SearchVocabulariesOutput) SetVocabularySummaryList(v []*VocabularySummary) *SearchVocabulariesOutput { - s.VocabularySummaryList = v +// SetUsers sets the Users field's value. +func (s *SearchUsersOutput) SetUsers(v []*UserSearchSummary) *SearchUsersOutput { + s.Users = v return s } -// Configuration information of the security key. -type SecurityKey struct { +type SearchVocabulariesInput struct { _ struct{} `type:"structure"` - // The existing association identifier that uniquely identifies the resource - // type and storage config for the given instance ID. - AssociationId *string `min:"1" type:"string"` - - // When the security key was created. + // The identifier of the Amazon Connect instance. You can find the instanceId + // in the ARN of the instance. + // + // InstanceId is a required field + InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` + + // The language code of the vocabulary entries. For a list of languages and + // their corresponding language codes, see What is Amazon Transcribe? (https://docs.aws.amazon.com/transcribe/latest/dg/transcribe-whatis.html) + LanguageCode *string `type:"string" enum:"VocabularyLanguageCode"` + + // The maximum number of results to return per page. + MaxResults *int64 `min:"1" type:"integer"` + + // The starting pattern of the name of the vocabulary. + NameStartsWith *string `min:"1" type:"string"` + + // The token for the next set of results. Use the value returned in the previous + // response in the next request to retrieve the next set of results. + NextToken *string `min:"1" type:"string"` + + // The current state of the custom vocabulary. + State *string `type:"string" enum:"VocabularyState"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SearchVocabulariesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SearchVocabulariesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SearchVocabulariesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SearchVocabulariesInput"} + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NameStartsWith != nil && len(*s.NameStartsWith) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NameStartsWith", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInstanceId sets the InstanceId field's value. +func (s *SearchVocabulariesInput) SetInstanceId(v string) *SearchVocabulariesInput { + s.InstanceId = &v + return s +} + +// SetLanguageCode sets the LanguageCode field's value. +func (s *SearchVocabulariesInput) SetLanguageCode(v string) *SearchVocabulariesInput { + s.LanguageCode = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *SearchVocabulariesInput) SetMaxResults(v int64) *SearchVocabulariesInput { + s.MaxResults = &v + return s +} + +// SetNameStartsWith sets the NameStartsWith field's value. +func (s *SearchVocabulariesInput) SetNameStartsWith(v string) *SearchVocabulariesInput { + s.NameStartsWith = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *SearchVocabulariesInput) SetNextToken(v string) *SearchVocabulariesInput { + s.NextToken = &v + return s +} + +// SetState sets the State field's value. +func (s *SearchVocabulariesInput) SetState(v string) *SearchVocabulariesInput { + s.State = &v + return s +} + +type SearchVocabulariesOutput struct { + _ struct{} `type:"structure"` + + // If there are additional results, this is the token for the next set of results. + NextToken *string `min:"1" type:"string"` + + // The list of the available custom vocabularies. + VocabularySummaryList []*VocabularySummary `type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SearchVocabulariesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SearchVocabulariesOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *SearchVocabulariesOutput) SetNextToken(v string) *SearchVocabulariesOutput { + s.NextToken = &v + return s +} + +// SetVocabularySummaryList sets the VocabularySummaryList field's value. +func (s *SearchVocabulariesOutput) SetVocabularySummaryList(v []*VocabularySummary) *SearchVocabulariesOutput { + s.VocabularySummaryList = v + return s +} + +// Configuration information of the security key. +type SecurityKey struct { + _ struct{} `type:"structure"` + + // The existing association identifier that uniquely identifies the resource + // type and storage config for the given instance ID. + AssociationId *string `min:"1" type:"string"` + + // When the security key was created. CreationTime *time.Time `type:"timestamp"` // The key of the security key. @@ -34271,6 +34654,57 @@ func (s StopContactStreamingOutput) GoString() string { return s.String() } +// A leaf node condition which can be used to specify a string condition, for +// example, username = 'abc'. +type StringCondition struct { + _ struct{} `type:"structure"` + + // The type of comparison to be made when evaluating the string condition. + ComparisonType *string `type:"string" enum:"StringComparisonType"` + + // The name of the field in the string condition. + FieldName *string `type:"string"` + + // The value of the string. + Value *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StringCondition) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StringCondition) GoString() string { + return s.String() +} + +// SetComparisonType sets the ComparisonType field's value. +func (s *StringCondition) SetComparisonType(v string) *StringCondition { + s.ComparisonType = &v + return s +} + +// SetFieldName sets the FieldName field's value. +func (s *StringCondition) SetFieldName(v string) *StringCondition { + s.FieldName = &v + return s +} + +// SetValue sets the Value field's value. +func (s *StringCondition) SetValue(v string) *StringCondition { + s.Value = &v + return s +} + type SuspendContactRecordingInput struct { _ struct{} `type:"structure"` @@ -34378,6 +34812,48 @@ func (s SuspendContactRecordingOutput) GoString() string { return s.String() } +// A leaf node condition which can be used to specify a tag condition, for example, +// HAVE BPO = 123. +type TagCondition struct { + _ struct{} `type:"structure"` + + // The tag key in the tag condition. + TagKey *string `type:"string"` + + // The tag value in the tag condition. + TagValue *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TagCondition) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TagCondition) GoString() string { + return s.String() +} + +// SetTagKey sets the TagKey field's value. +func (s *TagCondition) SetTagKey(v string) *TagCondition { + s.TagKey = &v + return s +} + +// SetTagValue sets the TagValue field's value. +func (s *TagCondition) SetTagValue(v string) *TagCondition { + s.TagValue = &v + return s +} + type TagResourceInput struct { _ struct{} `type:"structure"` @@ -36074,7 +36550,7 @@ type UpdatePhoneNumberInput struct { // of the request. ClientToken *string `type:"string" idempotencyToken:"true"` - // The identifier of the phone number. + // A unique identifier for the phone number. // // PhoneNumberId is a required field PhoneNumberId *string `location:"uri" locationName:"PhoneNumberId" type:"string" required:"true"` @@ -36147,7 +36623,7 @@ type UpdatePhoneNumberOutput struct { // The Amazon Resource Name (ARN) of the phone number. PhoneNumberArn *string `type:"string"` - // The identifier of the phone number. + // A unique identifier for the phone number. PhoneNumberId *string `type:"string"` } @@ -38469,6 +38945,47 @@ func (s *UserIdentityInfo) SetLastName(v string) *UserIdentityInfo { return s } +// The user's first name and last name. +type UserIdentityInfoLite struct { + _ struct{} `type:"structure"` + + // The user's first name. + FirstName *string `min:"1" type:"string"` + + // The user's last name. + LastName *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UserIdentityInfoLite) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UserIdentityInfoLite) GoString() string { + return s.String() +} + +// SetFirstName sets the FirstName field's value. +func (s *UserIdentityInfoLite) SetFirstName(v string) *UserIdentityInfoLite { + s.FirstName = &v + return s +} + +// SetLastName sets the LastName field's value. +func (s *UserIdentityInfoLite) SetLastName(v string) *UserIdentityInfoLite { + s.LastName = &v + return s +} + // No user with the specified credentials was found in the Amazon Connect instance. type UserNotFoundException struct { _ struct{} `type:"structure"` @@ -38669,6 +39186,216 @@ func (s *UserQuickConnectConfig) SetUserId(v string) *UserQuickConnectConfig { return s } +// The search criteria to be used to return users. +type UserSearchCriteria struct { + _ struct{} `type:"structure"` + + // A list of conditions which would be applied together with an AND condition. + AndConditions []*UserSearchCriteria `type:"list"` + + // A leaf node condition which can be used to specify a hierarchy group condition. + HierarchyGroupCondition *HierarchyGroupCondition `type:"structure"` + + // A list of conditions which would be applied together with an OR condition. + OrConditions []*UserSearchCriteria `type:"list"` + + // A leaf node condition which can be used to specify a string condition. + StringCondition *StringCondition `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UserSearchCriteria) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UserSearchCriteria) GoString() string { + return s.String() +} + +// SetAndConditions sets the AndConditions field's value. +func (s *UserSearchCriteria) SetAndConditions(v []*UserSearchCriteria) *UserSearchCriteria { + s.AndConditions = v + return s +} + +// SetHierarchyGroupCondition sets the HierarchyGroupCondition field's value. +func (s *UserSearchCriteria) SetHierarchyGroupCondition(v *HierarchyGroupCondition) *UserSearchCriteria { + s.HierarchyGroupCondition = v + return s +} + +// SetOrConditions sets the OrConditions field's value. +func (s *UserSearchCriteria) SetOrConditions(v []*UserSearchCriteria) *UserSearchCriteria { + s.OrConditions = v + return s +} + +// SetStringCondition sets the StringCondition field's value. +func (s *UserSearchCriteria) SetStringCondition(v *StringCondition) *UserSearchCriteria { + s.StringCondition = v + return s +} + +// Filters to be applied to search results. +type UserSearchFilter struct { + _ struct{} `type:"structure"` + + // An object that can be used to specify Tag conditions inside the SearchFilter. + // This accepts an OR of AND (List of List) input where: + // + // * Top level list specifies conditions that need to be applied with OR + // operator + // + // * Inner list specifies conditions that need to be applied with AND operator. + TagFilter *ControlPlaneTagFilter `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UserSearchFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UserSearchFilter) GoString() string { + return s.String() +} + +// SetTagFilter sets the TagFilter field's value. +func (s *UserSearchFilter) SetTagFilter(v *ControlPlaneTagFilter) *UserSearchFilter { + s.TagFilter = v + return s +} + +// Information about the returned users. +type UserSearchSummary struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the user. + Arn *string `type:"string"` + + // The directory identifier of the user. + DirectoryUserId *string `type:"string"` + + // The identifier of the user's hierarchy group. + HierarchyGroupId *string `type:"string"` + + // The identifier of the user's summary. + Id *string `type:"string"` + + // The user's first name and last name. + IdentityInfo *UserIdentityInfoLite `type:"structure"` + + // Contains information about the phone configuration settings for a user. + PhoneConfig *UserPhoneConfig `type:"structure"` + + // The identifier of the user's routing profile. + RoutingProfileId *string `type:"string"` + + // The identifiers of the user's security profiles. + SecurityProfileIds []*string `min:"1" type:"list"` + + // The tags used to organize, track, or control access for this resource. + Tags map[string]*string `min:"1" type:"map"` + + // The name of the user. + Username *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UserSearchSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UserSearchSummary) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *UserSearchSummary) SetArn(v string) *UserSearchSummary { + s.Arn = &v + return s +} + +// SetDirectoryUserId sets the DirectoryUserId field's value. +func (s *UserSearchSummary) SetDirectoryUserId(v string) *UserSearchSummary { + s.DirectoryUserId = &v + return s +} + +// SetHierarchyGroupId sets the HierarchyGroupId field's value. +func (s *UserSearchSummary) SetHierarchyGroupId(v string) *UserSearchSummary { + s.HierarchyGroupId = &v + return s +} + +// SetId sets the Id field's value. +func (s *UserSearchSummary) SetId(v string) *UserSearchSummary { + s.Id = &v + return s +} + +// SetIdentityInfo sets the IdentityInfo field's value. +func (s *UserSearchSummary) SetIdentityInfo(v *UserIdentityInfoLite) *UserSearchSummary { + s.IdentityInfo = v + return s +} + +// SetPhoneConfig sets the PhoneConfig field's value. +func (s *UserSearchSummary) SetPhoneConfig(v *UserPhoneConfig) *UserSearchSummary { + s.PhoneConfig = v + return s +} + +// SetRoutingProfileId sets the RoutingProfileId field's value. +func (s *UserSearchSummary) SetRoutingProfileId(v string) *UserSearchSummary { + s.RoutingProfileId = &v + return s +} + +// SetSecurityProfileIds sets the SecurityProfileIds field's value. +func (s *UserSearchSummary) SetSecurityProfileIds(v []*string) *UserSearchSummary { + s.SecurityProfileIds = v + return s +} + +// SetTags sets the Tags field's value. +func (s *UserSearchSummary) SetTags(v map[string]*string) *UserSearchSummary { + s.Tags = v + return s +} + +// SetUsername sets the Username field's value. +func (s *UserSearchSummary) SetUsername(v string) *UserSearchSummary { + s.Username = &v + return s +} + // Contains summary information about a user. type UserSummary struct { _ struct{} `type:"structure"` @@ -39272,6 +39999,22 @@ func Grouping_Values() []string { } } +const ( + // HierarchyGroupMatchTypeExact is a HierarchyGroupMatchType enum value + HierarchyGroupMatchTypeExact = "EXACT" + + // HierarchyGroupMatchTypeWithChildGroups is a HierarchyGroupMatchType enum value + HierarchyGroupMatchTypeWithChildGroups = "WITH_CHILD_GROUPS" +) + +// HierarchyGroupMatchType_Values returns all elements of the HierarchyGroupMatchType enum +func HierarchyGroupMatchType_Values() []string { + return []string{ + HierarchyGroupMatchTypeExact, + HierarchyGroupMatchTypeWithChildGroups, + } +} + // The historical metric names. const ( // HistoricalMetricNameContactsQueued is a HistoricalMetricName enum value @@ -40745,6 +41488,26 @@ func StorageType_Values() []string { } } +const ( + // StringComparisonTypeStartsWith is a StringComparisonType enum value + StringComparisonTypeStartsWith = "STARTS_WITH" + + // StringComparisonTypeContains is a StringComparisonType enum value + StringComparisonTypeContains = "CONTAINS" + + // StringComparisonTypeExact is a StringComparisonType enum value + StringComparisonTypeExact = "EXACT" +) + +// StringComparisonType_Values returns all elements of the StringComparisonType enum +func StringComparisonType_Values() []string { + return []string{ + StringComparisonTypeStartsWith, + StringComparisonTypeContains, + StringComparisonTypeExact, + } +} + const ( // TrafficTypeGeneral is a TrafficType enum value TrafficTypeGeneral = "GENERAL" diff --git a/service/connect/connectiface/interface.go b/service/connect/connectiface/interface.go index fe180a800f1..46b93cb9f54 100644 --- a/service/connect/connectiface/interface.go +++ b/service/connect/connectiface/interface.go @@ -545,6 +545,13 @@ type ConnectAPI interface { SearchAvailablePhoneNumbersPages(*connect.SearchAvailablePhoneNumbersInput, func(*connect.SearchAvailablePhoneNumbersOutput, bool) bool) error SearchAvailablePhoneNumbersPagesWithContext(aws.Context, *connect.SearchAvailablePhoneNumbersInput, func(*connect.SearchAvailablePhoneNumbersOutput, bool) bool, ...request.Option) error + SearchUsers(*connect.SearchUsersInput) (*connect.SearchUsersOutput, error) + SearchUsersWithContext(aws.Context, *connect.SearchUsersInput, ...request.Option) (*connect.SearchUsersOutput, error) + SearchUsersRequest(*connect.SearchUsersInput) (*request.Request, *connect.SearchUsersOutput) + + SearchUsersPages(*connect.SearchUsersInput, func(*connect.SearchUsersOutput, bool) bool) error + SearchUsersPagesWithContext(aws.Context, *connect.SearchUsersInput, func(*connect.SearchUsersOutput, bool) bool, ...request.Option) error + SearchVocabularies(*connect.SearchVocabulariesInput) (*connect.SearchVocabulariesOutput, error) SearchVocabulariesWithContext(aws.Context, *connect.SearchVocabulariesInput, ...request.Option) (*connect.SearchVocabulariesOutput, error) SearchVocabulariesRequest(*connect.SearchVocabulariesInput) (*request.Request, *connect.SearchVocabulariesOutput) diff --git a/service/gamelift/api.go b/service/gamelift/api.go index 6e834cfc693..edd26ff5c24 100644 --- a/service/gamelift/api.go +++ b/service/gamelift/api.go @@ -76,10 +76,10 @@ func (c *GameLift) AcceptMatchRequest(input *AcceptMatchInput) (req *request.Req // If any player rejects the match, or if acceptances are not received before // a specified timeout, the proposed match is dropped. The matchmaking tickets // are then handled in one of two ways: For tickets where one or more players -// rejected the match, the ticket status is returned to SEARCHING to find a -// new match. For tickets where one or more players failed to respond, the ticket -// status is set to CANCELLED, and processing is terminated. A new matchmaking -// request for these players can be submitted as needed. +// rejected the match or failed to respond, the ticket status is set to CANCELLED, +// and processing is terminated. For tickets where players have accepted or +// not yet responded, the ticket status is returned to SEARCHING to find a new +// match. A new matchmaking request for these players can be submitted as needed. // // Learn more // @@ -331,9 +331,9 @@ func (c *GameLift) CreateAliasRequest(input *CreateAliasInput) (req *request.Req // that is useful when redirecting player traffic from one fleet to another, // such as when updating your game build. // -// Amazon Web Services supports two types of routing strategies for aliases: -// simple and terminal. A simple alias points to an active fleet. A terminal -// alias is used to display messaging or link to a URL instead of routing players +// Amazon GameLift supports two types of routing strategies for aliases: simple +// and terminal. A simple alias points to an active fleet. A terminal alias +// is used to display messaging or link to a URL instead of routing players // to an active fleet. For example, you might use a terminal alias when a game // version is no longer supported and you want to direct players to an upgrade // site. @@ -449,9 +449,9 @@ func (c *GameLift) CreateBuildRequest(input *CreateBuildInput) (req *request.Req // CreateBuild API operation for Amazon GameLift. // -// Creates a new Amazon Web Services build resource for your game server binary +// Creates a new Amazon GameLift build resource for your game server binary // files. Game server binaries must be combined into a zip file for use with -// Amazon Web Services. +// Amazon GameLift. // // When setting up a new game build for GameLift, we recommend using the Amazon // Web Services CLI command upload-build (https://docs.aws.amazon.com/cli/latest/reference/gamelift/upload-build.html) @@ -463,7 +463,7 @@ func (c *GameLift) CreateBuildRequest(input *CreateBuildInput) (req *request.Req // // * To create a new game build with build files that are in an Amazon S3 // location under an Amazon Web Services account that you control. To use -// this option, you must first give Amazon Web Services access to the Amazon +// this option, you must first give Amazon GameLift access to the Amazon // S3 bucket. With permissions in place, call CreateBuild and specify a build // name, operating system, and the Amazon S3 storage location of your game // build. @@ -1053,7 +1053,7 @@ func (c *GameLift) CreateGameSessionRequest(input *CreateGameSessionInput) (req // Game session logs are retained for all active game sessions for 14 days. // To access the logs, call GetGameSessionLogUrl to download the log files. // -// Available in Amazon Web Services Local. +// Available in Amazon GameLift Local. // // Learn more // @@ -1602,7 +1602,7 @@ func (c *GameLift) CreatePlayerSessionRequest(input *CreatePlayerSessionInput) ( // // The maximum number of players per game session is 200. It is not adjustable. // -// Available in Amazon Web Services Local. +// Available in Amazon GameLift Local. // // Related actions // @@ -1731,7 +1731,7 @@ func (c *GameLift) CreatePlayerSessionsRequest(input *CreatePlayerSessionsInput) // // The maximum number of players per game session is 200. It is not adjustable. // -// Available in Amazon Web Services Local. +// Available in Amazon GameLift Local. // // Related actions // @@ -1859,20 +1859,19 @@ func (c *GameLift) CreateScriptRequest(input *CreateScriptInput) (req *request.R // * An Amazon Simple Storage Service (Amazon S3) bucket under your Amazon // Web Services account. Use the StorageLocation parameter for this option. // You'll need to have an Identity Access Management (IAM) role that allows -// the Amazon Web Services service to access your S3 bucket. +// the Amazon GameLift service to access your S3 bucket. // // If the call is successful, a new script record is created with a unique script // ID. If the script file is provided as a local file, the file is uploaded -// to an Amazon Web Services-owned S3 bucket and the script record's storage -// location reflects this location. If the script file is provided as an S3 -// bucket, Amazon Web Services accesses the file at this storage location as -// needed for deployment. +// to an Amazon GameLift-owned S3 bucket and the script record's storage location +// reflects this location. If the script file is provided as an S3 bucket, Amazon +// GameLift accesses the file at this storage location as needed for deployment. // // Learn more // -// Amazon Web Services Realtime Servers (https://docs.aws.amazon.com/gamelift/latest/developerguide/realtime-intro.html) +// Amazon GameLift Realtime Servers (https://docs.aws.amazon.com/gamelift/latest/developerguide/realtime-intro.html) // -// Set Up a Role for Amazon Web Services Access (https://docs.aws.amazon.com/gamelift/latest/developerguide/setting-up-role.html) +// Set Up a Role for Amazon GameLift Access (https://docs.aws.amazon.com/gamelift/latest/developerguide/setting-up-role.html) // // Related actions // @@ -1976,31 +1975,31 @@ func (c *GameLift) CreateVpcPeeringAuthorizationRequest(input *CreateVpcPeeringA // CreateVpcPeeringAuthorization API operation for Amazon GameLift. // // Requests authorization to create or delete a peer connection between the -// VPC for your Amazon Web Services fleet and a virtual private cloud (VPC) -// in your Amazon Web Services account. VPC peering enables the game servers -// on your fleet to communicate directly with other Amazon Web Services resources. -// Once you've received authorization, call CreateVpcPeeringConnection to establish +// VPC for your Amazon GameLift fleet and a virtual private cloud (VPC) in your +// Amazon Web Services account. VPC peering enables the game servers on your +// fleet to communicate directly with other Amazon Web Services resources. Once +// you've received authorization, call CreateVpcPeeringConnection to establish // the peering connection. For more information, see VPC Peering with Amazon -// Web Services Fleets (https://docs.aws.amazon.com/gamelift/latest/developerguide/vpc-peering.html). +// GameLift Fleets (https://docs.aws.amazon.com/gamelift/latest/developerguide/vpc-peering.html). // // You can peer with VPCs that are owned by any Amazon Web Services account // you have access to, including the account that you use to manage your Amazon -// Web Services fleets. You cannot peer with VPCs that are in different Regions. +// GameLift fleets. You cannot peer with VPCs that are in different Regions. // // To request authorization to create a connection, call this operation from // the Amazon Web Services account with the VPC that you want to peer to your -// Amazon Web Services fleet. For example, to enable your game servers to retrieve +// Amazon GameLift fleet. For example, to enable your game servers to retrieve // data from a DynamoDB table, use the account that manages that DynamoDB resource. // Identify the following values: (1) The ID of the VPC that you want to peer // with, and (2) the ID of the Amazon Web Services account that you use to manage -// Amazon Web Services. If successful, VPC peering is authorized for the specified +// Amazon GameLift. If successful, VPC peering is authorized for the specified // VPC. // // To request authorization to delete a connection, call this operation from // the Amazon Web Services account with the VPC that is peered with your Amazon -// Web Services fleet. Identify the following values: (1) VPC ID that you want -// to delete the peering connection for, and (2) ID of the Amazon Web Services -// account that you use to manage Amazon Web Services. +// GameLift fleet. Identify the following values: (1) VPC ID that you want to +// delete the peering connection for, and (2) ID of the Amazon Web Services +// account that you use to manage Amazon GameLift. // // The authorization remains valid for 24 hours unless it is canceled by a call // to DeleteVpcPeeringAuthorization. You must create or delete the peering connection @@ -2104,13 +2103,13 @@ func (c *GameLift) CreateVpcPeeringConnectionRequest(input *CreateVpcPeeringConn // CreateVpcPeeringConnection API operation for Amazon GameLift. // // Establishes a VPC peering connection between a virtual private cloud (VPC) -// in an Amazon Web Services account with the VPC for your Amazon Web Services -// fleet. VPC peering enables the game servers on your fleet to communicate -// directly with other Amazon Web Services resources. You can peer with VPCs -// in any Amazon Web Services account that you have access to, including the -// account that you use to manage your Amazon Web Services fleets. You cannot -// peer with VPCs that are in different Regions. For more information, see VPC -// Peering with Amazon Web Services Fleets (https://docs.aws.amazon.com/gamelift/latest/developerguide/vpc-peering.html). +// in an Amazon Web Services account with the VPC for your Amazon GameLift fleet. +// VPC peering enables the game servers on your fleet to communicate directly +// with other Amazon Web Services resources. You can peer with VPCs in any Amazon +// Web Services account that you have access to, including the account that +// you use to manage your Amazon GameLift fleets. You cannot peer with VPCs +// that are in different Regions. For more information, see VPC Peering with +// Amazon GameLift Fleets (https://docs.aws.amazon.com/gamelift/latest/developerguide/vpc-peering.html). // // Before calling this operation to establish the peering connection, you first // need to call CreateVpcPeeringAuthorization and identify the VPC you want @@ -2120,14 +2119,13 @@ func (c *GameLift) CreateVpcPeeringConnectionRequest(input *CreateVpcPeeringConn // tables, etc. // // To establish the connection, call this operation from the Amazon Web Services -// account that is used to manage the Amazon Web Services fleets. Identify the -// following values: (1) The ID of the fleet you want to be enable a VPC peering -// connection for; (2) The Amazon Web Services account with the VPC that you -// want to peer with; and (3) The ID of the VPC you want to peer with. This -// operation is asynchronous. If successful, a VpcPeeringConnection request -// is created. You can use continuous polling to track the request's status -// using DescribeVpcPeeringConnections, or by monitoring fleet events for success -// or failure using DescribeFleetEvents. +// account that is used to manage the Amazon GameLift fleets. Identify the following +// values: (1) The ID of the fleet you want to be enable a VPC peering connection +// for; (2) The Amazon Web Services account with the VPC that you want to peer +// with; and (3) The ID of the VPC you want to peer with. This operation is +// asynchronous. If successful, a VpcPeeringConnection request is created. You +// can use continuous polling to track the request's status using DescribeVpcPeeringConnections, +// or by monitoring fleet events for success or failure using DescribeFleetEvents. // // Related actions // @@ -3257,7 +3255,7 @@ func (c *GameLift) DeleteScriptRequest(input *DeleteScriptInput) (req *request.R // // Learn more // -// Amazon Web Services Realtime Servers (https://docs.aws.amazon.com/gamelift/latest/developerguide/realtime-intro.html) +// Amazon GameLift Realtime Servers (https://docs.aws.amazon.com/gamelift/latest/developerguide/realtime-intro.html) // // Related actions // @@ -3466,7 +3464,7 @@ func (c *GameLift) DeleteVpcPeeringConnectionRequest(input *DeleteVpcPeeringConn // or request a new one using CreateVpcPeeringAuthorization. // // Once a valid authorization exists, call this operation from the Amazon Web -// Services account that is used to manage the Amazon Web Services fleets. Identify +// Services account that is used to manage the Amazon GameLift fleets. Identify // the connection to delete by the connection ID and fleet ID. If successful, // the connection is removed. // @@ -6202,7 +6200,7 @@ func (c *GameLift) DescribeGameSessionsRequest(input *DescribeGameSessionsInput) // configuration. Continuously poling ticket status with DescribeGameSessions // should only be used for games in development with low matchmaking usage. // -// Available in Amazon Web Services Local. +// Available in Amazon GameLift Local. // // Learn more // @@ -7019,7 +7017,7 @@ func (c *GameLift) DescribePlayerSessionsRequest(input *DescribePlayerSessionsIn // If successful, a PlayerSession object is returned for each session that matches // the request. // -// Available in Amazon Web Services Local. +// Available in Amazon GameLift Local. // // Related actions // @@ -7457,7 +7455,7 @@ func (c *GameLift) DescribeScriptRequest(input *DescribeScriptInput) (req *reque // // Learn more // -// Amazon Web Services Realtime Servers (https://docs.aws.amazon.com/gamelift/latest/developerguide/realtime-intro.html) +// Amazon GameLift Realtime Servers (https://docs.aws.amazon.com/gamelift/latest/developerguide/realtime-intro.html) // // Related actions // @@ -7655,7 +7653,7 @@ func (c *GameLift) DescribeVpcPeeringConnectionsRequest(input *DescribeVpcPeerin // peering information for all fleets or for one specific fleet ID. // // To retrieve connection information, call this operation from the Amazon Web -// Services account that is used to manage the Amazon Web Services fleets. Specify +// Services account that is used to manage the Amazon GameLift fleets. Specify // a fleet ID or leave the parameter empty to retrieve all connection records. // If successful, the retrieved information includes both active and pending // connections. Active connections identify the IpV4 CIDR block that the VPC @@ -8814,7 +8812,7 @@ func (c *GameLift) ListScriptsRequest(input *ListScriptsInput) (req *request.Req // // Learn more // -// Amazon Web Services Realtime Servers (https://docs.aws.amazon.com/gamelift/latest/developerguide/realtime-intro.html) +// Amazon GameLift Realtime Servers (https://docs.aws.amazon.com/gamelift/latest/developerguide/realtime-intro.html) // // Related actions // @@ -9085,7 +9083,7 @@ func (c *GameLift) PutScalingPolicyRequest(input *PutScalingPolicyInput) (req *r // // Creates or updates a scaling policy for a fleet. Scaling policies are used // to automatically scale a fleet's hosting capacity to meet player demand. -// An active scaling policy instructs Amazon Web Services to track a fleet metric +// An active scaling policy instructs Amazon GameLift to track a fleet metric // and automatically change the fleet's capacity when a certain threshold is // reached. There are two types of scaling policies: target-based and rule-based. // Use a target-based policy to quickly and efficiently manage fleet scaling; @@ -9112,14 +9110,14 @@ func (c *GameLift) PutScalingPolicyRequest(input *PutScalingPolicyInput) (req *r // game sessions but is not currently in use. This is the fleet's buffer; it // measures the additional player demand that the fleet could handle at current // capacity. With a target-based policy, you set your ideal buffer size and -// leave it to Amazon Web Services to take whatever action is needed to maintain +// leave it to Amazon GameLift to take whatever action is needed to maintain // that target. // // For example, you might choose to maintain a 10% buffer for a fleet that has // the capacity to host 100 simultaneous game sessions. This policy tells Amazon -// Web Services to take action whenever the fleet's available capacity falls -// below or rises above 10 game sessions. Amazon Web Services will start new -// instances or stop unused instances in order to return to the 10% buffer. +// GameLift to take action whenever the fleet's available capacity falls below +// or rises above 10 game sessions. Amazon GameLift will start new instances +// or stop unused instances in order to return to the 10% buffer. // // To create or update a target-based policy, specify a fleet ID and name, and // set the policy type to "TargetBased". Specify the metric to track (PercentAvailableGameSessions) @@ -9380,8 +9378,8 @@ func (c *GameLift) RequestUploadCredentialsRequest(input *RequestUploadCredentia // RequestUploadCredentials API operation for Amazon GameLift. // // Retrieves a fresh set of credentials for use when uploading a new set of -// game build files to Amazon Web Services's Amazon S3. This is done as part -// of the build creation process; see CreateBuild. +// game build files to Amazon GameLift's Amazon S3. This is done as part of +// the build creation process; see CreateBuild. // // To request new credentials, specify the build ID as returned with an initial // CreateBuild request. If successful, a new set of credentials are returned, @@ -10061,26 +10059,25 @@ func (c *GameLift) StartGameSessionPlacementRequest(input *StartGameSessionPlace // StartGameSessionPlacement API operation for Amazon GameLift. // // Places a request for a new game session in a queue (see CreateGameSessionQueue). -// When processing a placement request, Amazon Web Services searches for available +// When processing a placement request, Amazon GameLift searches for available // resources on the queue's destinations, scanning each until it finds resources // or the placement request times out. // // A game session placement request can also request player sessions. When a -// new game session is successfully created, Amazon Web Services creates a player +// new game session is successfully created, Amazon GameLift creates a player // session for each player included in the request. // -// When placing a game session, by default Amazon Web Services tries each fleet +// When placing a game session, by default Amazon GameLift tries each fleet // in the order they are listed in the queue configuration. Ideally, a queue's // destinations are listed in preference order. // // Alternatively, when requesting a game session with players, you can also // provide latency data for each player in relevant Regions. Latency data indicates // the performance lag a player experiences when connected to a fleet in the -// Region. Amazon Web Services uses latency data to reorder the list of destinations +// Region. Amazon GameLift uses latency data to reorder the list of destinations // to place the game session in a Region with minimal lag. If latency data is -// provided for multiple players, Amazon Web Services calculates each Region's -// average lag for all players and reorders to get the best game play across -// all players. +// provided for multiple players, Amazon GameLift calculates each Region's average +// lag for all players and reorders to get the best game play across all players. // // To place a new game session request, specify the following: // @@ -12479,13 +12476,13 @@ func (c *GameLift) UpdateScriptRequest(input *UpdateScriptInput) (req *request.R // updates to the script. // // If the call is successful, the updated metadata is stored in the script record -// and a revised script is uploaded to the Amazon Web Services service. Once -// the script is updated and acquired by a fleet instance, the new version is -// used for all new game sessions. +// and a revised script is uploaded to the Amazon GameLift service. Once the +// script is updated and acquired by a fleet instance, the new version is used +// for all new game sessions. // // Learn more // -// Amazon Web Services Realtime Servers (https://docs.aws.amazon.com/gamelift/latest/developerguide/realtime-intro.html) +// Amazon GameLift Realtime Servers (https://docs.aws.amazon.com/gamelift/latest/developerguide/realtime-intro.html) // // Related actions // @@ -12916,15 +12913,15 @@ func (s *AttributeValue) SetSL(v []*string) *AttributeValue { } // Temporary access credentials used for uploading game build files to Amazon -// Web Services. They are valid for a limited time. If they expire before you -// upload your game build, get a new set by calling RequestUploadCredentials. +// GameLift. They are valid for a limited time. If they expire before you upload +// your game build, get a new set by calling RequestUploadCredentials. type AwsCredentials struct { _ struct{} `type:"structure" sensitive:"true"` - // Temporary key allowing access to the Amazon Web Services S3 account. + // Temporary key allowing access to the Amazon GameLift S3 account. AccessKeyId *string `min:"1" type:"string"` - // Temporary secret key allowing access to the Amazon Web Services S3 account. + // Temporary secret key allowing access to the Amazon GameLift S3 account. SecretAccessKey *string `min:"1" type:"string"` // Token used to associate a specific build ID with the files uploaded using @@ -13483,11 +13480,11 @@ type CreateBuildInput struct { // only when creating a build with files stored in an Amazon S3 bucket that // you own. The storage location must specify an Amazon S3 bucket name and key. // The location must also specify a role ARN that you set up to allow Amazon - // Web Services to access your Amazon S3 bucket. The S3 bucket and your new - // build must be in the same Region. + // GameLift to access your Amazon S3 bucket. The S3 bucket and your new build + // must be in the same Region. // // If a StorageLocation is specified, the size of your file can be found in - // your Amazon S3 bucket. Amazon Web Services will report a SizeOnDisk of 0. + // your Amazon S3 bucket. Amazon GameLift will report a SizeOnDisk of 0. StorageLocation *S3Location `type:"structure"` // A list of labels to assign to the new build resource. Tags are developer-defined @@ -13596,8 +13593,8 @@ type CreateBuildOutput struct { // This element is returned only when the operation is called without a storage // location. It contains credentials to use when you are uploading a build file - // to an Amazon S3 bucket that is owned by Amazon Web Services. Credentials - // have a limited life span. To refresh these credentials, call RequestUploadCredentials. + // to an Amazon S3 bucket that is owned by Amazon GameLift. Credentials have + // a limited life span. To refresh these credentials, call RequestUploadCredentials. // // UploadCredentials is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by CreateBuildOutput's @@ -14288,8 +14285,8 @@ type CreateGameServerGroupInput struct { MinSize *int64 `type:"integer" required:"true"` // The Amazon Resource Name (ARN (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html)) - // for an IAM role that allows Amazon Web Services to access your Amazon EC2 - // Auto Scaling groups. + // for an IAM role that allows Amazon GameLift to access your Amazon EC2 Auto + // Scaling groups. // // RoleArn is a required field RoleArn *string `min:"1" type:"string" required:"true"` @@ -15485,10 +15482,9 @@ type CreatePlayerSessionsInput struct { GameSessionId *string `min:"1" type:"string" required:"true"` // Map of string pairs, each specifying a player ID and a set of developer-defined - // information related to the player. Amazon Web Services does not use this - // data, so it can be formatted as needed for use in the game. Any player data - // strings for player IDs that are not included in the PlayerIds parameter are - // ignored. + // information related to the player. Amazon GameLift does not use this data, + // so it can be formatted as needed for use in the game. Any player data strings + // for player IDs that are not included in the PlayerIds parameter are ignored. PlayerDataMap map[string]*string `type:"map"` // List of unique identifiers for the players to be added. @@ -15597,11 +15593,11 @@ type CreateScriptInput struct { // The location of the Amazon S3 bucket where a zipped file containing your // Realtime scripts is stored. The storage location must specify the Amazon // S3 bucket name, the zip file name (the "key"), and a role ARN that allows - // Amazon Web Services to access the Amazon S3 storage location. The S3 bucket - // must be in the same Region where you want to create a new script. By default, - // Amazon Web Services uploads the latest version of the zip file; if you have - // S3 object versioning turned on, you can use the ObjectVersion parameter to - // specify an earlier version. + // Amazon GameLift to access the Amazon S3 storage location. The S3 bucket must + // be in the same Region where you want to create a new script. By default, + // Amazon GameLift uploads the latest version of the zip file; if you have S3 + // object versioning turned on, you can use the ObjectVersion parameter to specify + // an earlier version. StorageLocation *S3Location `type:"structure"` // A list of labels to assign to the new script resource. Tags are developer-defined @@ -15717,7 +15713,7 @@ type CreateScriptOutput struct { // was uploaded from an S3 bucket under your account, the storage location reflects // the information that was provided in the CreateScript request; (2) If the // script file was uploaded from a local zip file, the storage location reflects - // an S3 location controls by the Amazon Web Services service. + // an S3 location controls by the Amazon GameLift service. Script *Script `type:"structure"` } @@ -15855,13 +15851,13 @@ type CreateVpcPeeringConnectionInput struct { _ struct{} `type:"structure"` // A unique identifier for the fleet. You can use either the fleet ID or ARN - // value. This tells Amazon Web Services which GameLift VPC to peer with. + // value. This tells Amazon GameLift which GameLift VPC to peer with. // // FleetId is a required field FleetId *string `type:"string" required:"true"` // A unique identifier for the Amazon Web Services account with the VPC that - // you want to peer your Amazon Web Services fleet with. You can find your Account + // you want to peer your Amazon GameLift fleet with. You can find your Account // ID in the Amazon Web Services Management Console under account settings. // // PeerVpcAwsAccountId is a required field @@ -21533,8 +21529,8 @@ type GameServerGroup struct { LastUpdatedTime *time.Time `type:"timestamp"` // The Amazon Resource Name (ARN (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html)) - // for an IAM role that allows Amazon Web Services to access your Amazon EC2 - // Auto Scaling groups. + // for an IAM role that allows Amazon GameLift to access your Amazon EC2 Auto + // Scaling groups. RoleArn *string `min:"1" type:"string"` // The current status of the game server group. Possible statuses include: @@ -23560,8 +23556,7 @@ type IpPermission struct { // A starting value for a range of allowed port numbers. // - // For fleets using Linux builds, only port 22, 443, 1026-60000 are valid. For - // fleets using Windows builds, only port 443, 1026-60000 are valid. + // For fleets using Windows and Linux builds, only ports 1026-60000 are valid. // // FromPort is a required field FromPort *int64 `min:"1" type:"integer" required:"true"` @@ -23581,8 +23576,7 @@ type IpPermission struct { // An ending value for a range of allowed port numbers. Port numbers are end-inclusive. // This value must be higher than FromPort. // - // For fleets using Linux builds, only port 22, 443, 1026-60000 are valid. For - // fleets using Windows builds, only port 443, 1026-60000 are valid. + // For fleets using Windows and Linux builds, only ports 1026-60000 are valid. // // ToPort is a required field ToPort *int64 `min:"1" type:"integer" required:"true"` @@ -23660,9 +23654,10 @@ func (s *IpPermission) SetToPort(v int64) *IpPermission { // This data type is used with the GameLift FleetIQ and game server groups. // -// An Amazon EC2 launch template that contains configuration settings and game -// server code to be deployed to all instances in a game server group. The launch -// template is specified when creating a new game server group with CreateGameServerGroup. +// An Amazon Elastic Compute Cloud launch template that contains configuration +// settings and game server code to be deployed to all instances in a game server +// group. The launch template is specified when creating a new game server group +// with CreateGameServerGroup. type LaunchTemplateSpecification struct { _ struct{} `type:"structure"` @@ -23673,9 +23668,9 @@ type LaunchTemplateSpecification struct { LaunchTemplateName *string `min:"3" type:"string"` // The version of the Amazon EC2 launch template to use. If no version is specified, - // the default version will be used. With Amazon Elastic Compute Cloud, you - // can specify a default version for a launch template. If none is set, the - // default is the first version created. + // the default version will be used. With Amazon EC2, you can specify a default + // version for a launch template. If none is set, the default is the first version + // created. Version *string `min:"1" type:"string"` } @@ -25764,7 +25759,7 @@ type PlayerSession struct { // A unique identifier for a player session. PlayerSessionId *string `type:"string"` - // Port number for the game session. To connect to a Amazon Web Services server + // Port number for the game session. To connect to a Amazon GameLift server // process, an app needs both the IP address and port number. Port *int64 `min:"1" type:"integer"` @@ -25992,9 +25987,9 @@ type PutScalingPolicyInput struct { // FleetId is a required field FleetId *string `type:"string" required:"true"` - // Name of the Amazon Web Services-defined metric that is used to trigger a - // scaling adjustment. For detailed descriptions of fleet metrics, see Monitor - // Amazon Web Services with Amazon CloudWatch (https://docs.aws.amazon.com/gamelift/latest/developerguide/monitoring-cloudwatch.html). + // Name of the Amazon GameLift-defined metric that is used to trigger a scaling + // adjustment. For detailed descriptions of fleet metrics, see Monitor Amazon + // GameLift with Amazon CloudWatch (https://docs.aws.amazon.com/gamelift/latest/developerguide/monitoring-cloudwatch.html). // // * ActivatingGameSessions -- Game sessions in the process of being created. // @@ -26855,7 +26850,7 @@ func (s *RuntimeConfiguration) SetServerProcesses(v []*ServerProcess) *RuntimeCo } // The location in Amazon S3 where build or script files are stored for access -// by Amazon Web Services. This location is specified in CreateBuild, CreateScript, +// by Amazon GameLift. This location is specified in CreateBuild, CreateScript, // and UpdateScript requests. type S3Location struct { _ struct{} `type:"structure"` @@ -26870,13 +26865,13 @@ type S3Location struct { Key *string `min:"1" type:"string"` // The version of the file, if object versioning is turned on for the bucket. - // Amazon Web Services uses this information when retrieving files from an S3 - // bucket that you own. Use this parameter to specify a specific version of - // the file. If not set, the latest version of the file is retrieved. + // Amazon GameLift uses this information when retrieving files from an S3 bucket + // that you own. Use this parameter to specify a specific version of the file. + // If not set, the latest version of the file is retrieved. ObjectVersion *string `min:"1" type:"string"` // The Amazon Resource Name (ARN (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html)) - // for an IAM role that allows Amazon Web Services to access the S3 bucket. + // for an IAM role that allows Amazon GameLift to access the S3 bucket. RoleArn *string `min:"1" type:"string"` } @@ -26974,9 +26969,9 @@ type ScalingPolicy struct { // The fleet location. Location *string `min:"1" type:"string"` - // Name of the Amazon Web Services-defined metric that is used to trigger a - // scaling adjustment. For detailed descriptions of fleet metrics, see Monitor - // Amazon Web Services with Amazon CloudWatch (https://docs.aws.amazon.com/gamelift/latest/developerguide/monitoring-cloudwatch.html). + // Name of the Amazon GameLift-defined metric that is used to trigger a scaling + // adjustment. For detailed descriptions of fleet metrics, see Monitor Amazon + // GameLift with Amazon CloudWatch (https://docs.aws.amazon.com/gamelift/latest/developerguide/monitoring-cloudwatch.html). // // * ActivatingGameSessions -- Game sessions in the process of being created. // @@ -27206,7 +27201,7 @@ type Script struct { SizeOnDisk *int64 `min:"1" type:"long"` // The location in Amazon S3 where build or script files are stored for access - // by Amazon Web Services. This location is specified in CreateBuild, CreateScript, + // by Amazon GameLift. This location is specified in CreateBuild, CreateScript, // and UpdateScript requests. StorageLocation *S3Location `type:"structure"` @@ -27943,8 +27938,8 @@ type StartMatchBackfillInput struct { Players []*Player `type:"list" required:"true"` // A unique identifier for a matchmaking ticket. If no ticket ID is specified - // here, Amazon Web Services will generate one in the form of a UUID. Use this - // identifier to track the match backfill ticket status and retrieve match results. + // here, Amazon GameLift will generate one in the form of a UUID. Use this identifier + // to track the match backfill ticket status and retrieve match results. TicketId *string `type:"string"` } @@ -28076,8 +28071,8 @@ type StartMatchmakingInput struct { Players []*Player `type:"list" required:"true"` // A unique identifier for a matchmaking ticket. If no ticket ID is specified - // here, Amazon Web Services will generate one in the form of a UUID. Use this - // identifier to track the matchmaking ticket status and retrieve match results. + // here, Amazon GameLift will generate one in the form of a UUID. Use this identifier + // to track the matchmaking ticket status and retrieve match results. TicketId *string `type:"string"` } @@ -28800,10 +28795,10 @@ func (s *TaggingFailedException) RequestID() string { // Settings for a target-based scaling policy (see ScalingPolicy. A target-based // policy tracks a particular fleet metric specifies a target value for the -// metric. As player usage changes, the policy triggers Amazon Web Services -// to adjust capacity so that the metric returns to the target value. The target -// configuration specifies settings as needed for the target based policy, including -// the target value. +// metric. As player usage changes, the policy triggers Amazon GameLift to adjust +// capacity so that the metric returns to the target value. The target configuration +// specifies settings as needed for the target based policy, including the target +// value. // // Related actions // @@ -29881,8 +29876,8 @@ type UpdateGameServerGroupInput struct { InstanceDefinitions []*InstanceDefinition `min:"2" type:"list"` // The Amazon Resource Name (ARN (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html)) - // for an IAM role that allows Amazon Web Services to access your Amazon EC2 - // Auto Scaling groups. + // for an IAM role that allows Amazon GameLift to access your Amazon EC2 Auto + // Scaling groups. RoleArn *string `min:"1" type:"string"` } @@ -30832,11 +30827,11 @@ type UpdateScriptInput struct { // The location of the Amazon S3 bucket where a zipped file containing your // Realtime scripts is stored. The storage location must specify the Amazon // S3 bucket name, the zip file name (the "key"), and a role ARN that allows - // Amazon Web Services to access the Amazon S3 storage location. The S3 bucket - // must be in the same Region where you want to create a new script. By default, - // Amazon Web Services uploads the latest version of the zip file; if you have - // S3 object versioning turned on, you can use the ObjectVersion parameter to - // specify an earlier version. + // Amazon GameLift to access the Amazon S3 storage location. The S3 bucket must + // be in the same Region where you want to create a new script. By default, + // Amazon GameLift uploads the latest version of the zip file; if you have S3 + // object versioning turned on, you can use the ObjectVersion parameter to specify + // an earlier version. StorageLocation *S3Location `type:"structure"` // Version information that is associated with a build or script. Version strings @@ -30935,7 +30930,7 @@ type UpdateScriptOutput struct { // from an S3 bucket under your account, the storage location reflects the information // that was provided in the CreateScript request; (2) If the script file was // uploaded from a local zip file, the storage location reflects an S3 location - // controls by the Amazon Web Services service. + // controls by the Amazon GameLift service. Script *Script `type:"structure"` } @@ -31046,7 +31041,7 @@ func (s *ValidateMatchmakingRuleSetOutput) SetValid(v bool) *ValidateMatchmaking } // Represents an authorization for a VPC peering connection between the VPC -// for an Amazon Web Services fleet and another VPC on an account you have access +// for an Amazon GameLift fleet and another VPC on an account you have access // to. This authorization must exist and be valid for the peering connection // to be established. Authorizations are valid for 24 hours after they are issued. // @@ -31130,9 +31125,9 @@ func (s *VpcPeeringAuthorization) SetPeerVpcId(v string) *VpcPeeringAuthorizatio } // Represents a peering connection between a VPC on one of your Amazon Web Services -// accounts and the VPC for your Amazon Web Services fleets. This record may -// be for an active peering connection or a pending connection that has not -// yet been established. +// accounts and the VPC for your Amazon GameLift fleets. This record may be +// for an active peering connection or a pending connection that has not yet +// been established. // // Related actions // @@ -31147,12 +31142,12 @@ type VpcPeeringConnection struct { FleetArn *string `type:"string"` // A unique identifier for the fleet. This ID determines the ID of the Amazon - // Web Services VPC for your fleet. + // GameLift VPC for your fleet. FleetId *string `type:"string"` - // A unique identifier for the VPC that contains the Amazon Web Services fleet - // for this connection. This VPC is managed by Amazon Web Services and does - // not appear in your Amazon Web Services account. + // A unique identifier for the VPC that contains the Amazon GameLift fleet for + // this connection. This VPC is managed by Amazon GameLift and does not appear + // in your Amazon Web Services account. GameLiftVpcId *string `min:"1" type:"string"` // CIDR block of IPv4 addresses assigned to the VPC peering connection for the diff --git a/service/mq/api.go b/service/mq/api.go index 1fc2a2cb3de..3fe9ffc4d12 100644 --- a/service/mq/api.go +++ b/service/mq/api.go @@ -2051,6 +2051,54 @@ func (c *MQ) UpdateUserWithContext(ctx aws.Context, input *UpdateUserRequest, op return out, req.Send() } +// The action required to resolve a broker issue when the broker is in a CRITICAL_ACTION_REQUIRED +// state. +type ActionRequired struct { + _ struct{} `type:"structure"` + + // The code you can use to resolve your broker issue when the broker is in a + // CRITICAL_ACTION_REQUIRED state. You can find instructions by choosing the + // link for your code from the list of action required codes in Amazon MQ action + // required codes (https://docs.aws.amazon.com//latest/developer-guide/troubleshooting-action-required-codes.html). + // Each code references a topic with detailed information, instructions, and + // recommendations for how to resolve the issue and prevent future occurrences. + ActionRequiredCode *string `locationName:"actionRequiredCode" type:"string"` + + // Information about the action required to resolve your broker issue when the + // broker is in a CRITICAL_ACTION_REQUIRED state. + ActionRequiredInfo *string `locationName:"actionRequiredInfo" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ActionRequired) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ActionRequired) GoString() string { + return s.String() +} + +// SetActionRequiredCode sets the ActionRequiredCode field's value. +func (s *ActionRequired) SetActionRequiredCode(v string) *ActionRequired { + s.ActionRequiredCode = &v + return s +} + +// SetActionRequiredInfo sets the ActionRequiredInfo field's value. +func (s *ActionRequired) SetActionRequiredInfo(v string) *ActionRequired { + s.ActionRequiredInfo = &v + return s +} + // Name of the availability zone. type AvailabilityZone struct { _ struct{} `type:"structure"` @@ -3958,6 +4006,8 @@ func (s *DescribeBrokerInstanceOptionsOutput) SetNextToken(v string) *DescribeBr type DescribeBrokerResponse struct { _ struct{} `type:"structure"` + ActionsRequired []*ActionRequired `locationName:"actionsRequired" type:"list"` + // Optional. The authentication strategy used to secure the broker. The default // is SIMPLE. AuthenticationStrategy *string `locationName:"authenticationStrategy" type:"string" enum:"AuthenticationStrategy"` @@ -4055,6 +4105,12 @@ func (s DescribeBrokerResponse) GoString() string { return s.String() } +// SetActionsRequired sets the ActionsRequired field's value. +func (s *DescribeBrokerResponse) SetActionsRequired(v []*ActionRequired) *DescribeBrokerResponse { + s.ActionsRequired = v + return s +} + // SetAuthenticationStrategy sets the AuthenticationStrategy field's value. func (s *DescribeBrokerResponse) SetAuthenticationStrategy(v string) *DescribeBrokerResponse { s.AuthenticationStrategy = &v @@ -6909,6 +6965,9 @@ const ( // BrokerStateRebootInProgress is a BrokerState enum value BrokerStateRebootInProgress = "REBOOT_IN_PROGRESS" + + // BrokerStateCriticalActionRequired is a BrokerState enum value + BrokerStateCriticalActionRequired = "CRITICAL_ACTION_REQUIRED" ) // BrokerState_Values returns all elements of the BrokerState enum @@ -6919,6 +6978,7 @@ func BrokerState_Values() []string { BrokerStateDeletionInProgress, BrokerStateRunning, BrokerStateRebootInProgress, + BrokerStateCriticalActionRequired, } } diff --git a/service/rdsdataservice/api.go b/service/rdsdataservice/api.go index 8a7c1a9720c..c7236680e1c 100644 --- a/service/rdsdataservice/api.go +++ b/service/rdsdataservice/api.go @@ -72,6 +72,9 @@ func (c *RDSDataService) BatchExecuteStatementRequest(input *BatchExecuteStateme // API operation BatchExecuteStatement for usage and error information. // // Returned Error Types: +// * AccessDeniedException +// You do not have sufficient access to perform this action. +// // * BadRequestException // There is an error in the call or in a SQL statement. // @@ -171,6 +174,9 @@ func (c *RDSDataService) BeginTransactionRequest(input *BeginTransactionInput) ( // API operation BeginTransaction for usage and error information. // // Returned Error Types: +// * AccessDeniedException +// You do not have sufficient access to perform this action. +// // * BadRequestException // There is an error in the call or in a SQL statement. // @@ -263,6 +269,9 @@ func (c *RDSDataService) CommitTransactionRequest(input *CommitTransactionInput) // API operation CommitTransaction for usage and error information. // // Returned Error Types: +// * AccessDeniedException +// You do not have sufficient access to perform this action. +// // * BadRequestException // There is an error in the call or in a SQL statement. // @@ -365,6 +374,9 @@ func (c *RDSDataService) ExecuteSqlRequest(input *ExecuteSqlInput) (req *request // API operation ExecuteSql for usage and error information. // // Returned Error Types: +// * AccessDeniedException +// You do not have sufficient access to perform this action. +// // * BadRequestException // There is an error in the call or in a SQL statement. // @@ -452,8 +464,8 @@ func (c *RDSDataService) ExecuteStatementRequest(input *ExecuteStatementInput) ( // If a call isn't part of a transaction because it doesn't include the transactionID // parameter, changes that result from the call are committed automatically. // -// The response size limit is 1 MB. If the call returns more than 1 MB of response -// data, the call is terminated. +// If the binary response data from the database is more than 1 MB, the call +// is terminated. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -463,6 +475,9 @@ func (c *RDSDataService) ExecuteStatementRequest(input *ExecuteStatementInput) ( // API operation ExecuteStatement for usage and error information. // // Returned Error Types: +// * AccessDeniedException +// You do not have sufficient access to perform this action. +// // * BadRequestException // There is an error in the call or in a SQL statement. // @@ -555,6 +570,9 @@ func (c *RDSDataService) RollbackTransactionRequest(input *RollbackTransactionIn // API operation RollbackTransaction for usage and error information. // // Returned Error Types: +// * AccessDeniedException +// You do not have sufficient access to perform this action. +// // * BadRequestException // There is an error in the call or in a SQL statement. // @@ -595,6 +613,70 @@ func (c *RDSDataService) RollbackTransactionWithContext(ctx aws.Context, input * return out, req.Send() } +// You do not have sufficient access to perform this action. +type AccessDeniedException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AccessDeniedException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AccessDeniedException) GoString() string { + return s.String() +} + +func newErrorAccessDeniedException(v protocol.ResponseMetadata) error { + return &AccessDeniedException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *AccessDeniedException) Code() string { + return "AccessDeniedException" +} + +// Message returns the exception's message. +func (s *AccessDeniedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *AccessDeniedException) OrigErr() error { + return nil +} + +func (s *AccessDeniedException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *AccessDeniedException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *AccessDeniedException) RequestID() string { + return s.RespMetadata.RequestID +} + // Contains an array. type ArrayValue struct { _ struct{} `type:"structure"` @@ -605,10 +687,10 @@ type ArrayValue struct { // An array of Boolean values. BooleanValues []*bool `locationName:"booleanValues" type:"list"` - // An array of integers. + // An array of floating-point numbers. DoubleValues []*float64 `locationName:"doubleValues" type:"list"` - // An array of floating point numbers. + // An array of integers. LongValues []*int64 `locationName:"longValues" type:"list"` // An array of strings. @@ -1428,6 +1510,16 @@ type ExecuteStatementInput struct { // The name of the database. Database *string `locationName:"database" type:"string"` + // A value that indicates whether to format the result set as a single JSON + // string. This parameter only applies to SELECT statements and is ignored for + // other types of statements. Allowed values are NONE and JSON. The default + // value is NONE. The result is returned in the formattedRecords field. + // + // For usage information about the JSON format for result sets, see Using the + // Data API (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html) + // in the Amazon Aurora User Guide. + FormatRecordsAs *string `locationName:"formatRecordsAs" type:"string" enum:"RecordsFormatType"` + // A value that indicates whether to include metadata in the results. IncludeResultMetadata *bool `locationName:"includeResultMetadata" type:"boolean"` @@ -1522,6 +1614,12 @@ func (s *ExecuteStatementInput) SetDatabase(v string) *ExecuteStatementInput { return s } +// SetFormatRecordsAs sets the FormatRecordsAs field's value. +func (s *ExecuteStatementInput) SetFormatRecordsAs(v string) *ExecuteStatementInput { + s.FormatRecordsAs = &v + return s +} + // SetIncludeResultMetadata sets the IncludeResultMetadata field's value. func (s *ExecuteStatementInput) SetIncludeResultMetadata(v bool) *ExecuteStatementInput { s.IncludeResultMetadata = &v @@ -1575,10 +1673,20 @@ func (s *ExecuteStatementInput) SetTransactionId(v string) *ExecuteStatementInpu type ExecuteStatementOutput struct { _ struct{} `type:"structure"` - // Metadata for the columns included in the results. + // Metadata for the columns included in the results. This field is blank if + // the formatRecordsAs parameter is set to JSON. ColumnMetadata []*ColumnMetadata `locationName:"columnMetadata" type:"list"` - // Values for fields generated during the request. + // A string value that represents the result set of a SELECT statement in JSON + // format. This value is only present when the formatRecordsAs parameter is + // set to JSON. + // + // The size limit for this field is currently 10 MB. If the JSON-formatted string + // representing the result set requires more than 10 MB, the call returns an + // error. + FormattedRecords *string `locationName:"formattedRecords" type:"string"` + + // Values for fields generated during a DML request. // //The This data type is deprecated. This data structure is only used with the deprecated This data type is deprecated. This data structure is only used with the deprecated generatedFields
data isn't supported by Aurora
// PostgreSQL. To get the values of generated fields, use the RETURNING
@@ -1589,7 +1697,8 @@ type ExecuteStatementOutput struct {
// The number of records updated by the request.
NumberOfRecordsUpdated *int64 `locationName:"numberOfRecordsUpdated" type:"long"`
- // The records returned by the SQL statement.
+ // The records returned by the SQL statement. This field is blank if the formatRecordsAs
+ // parameter is set to JSON.
Records [][]*Field `locationName:"records" type:"list"`
}
@@ -1617,6 +1726,12 @@ func (s *ExecuteStatementOutput) SetColumnMetadata(v []*ColumnMetadata) *Execute
return s
}
+// SetFormattedRecords sets the FormattedRecords field's value.
+func (s *ExecuteStatementOutput) SetFormattedRecords(v string) *ExecuteStatementOutput {
+ s.FormattedRecords = &v
+ return s
+}
+
// SetGeneratedFields sets the GeneratedFields field's value.
func (s *ExecuteStatementOutput) SetGeneratedFields(v []*Field) *ExecuteStatementOutput {
s.GeneratedFields = v
@@ -1917,6 +2032,9 @@ func (s *NotFoundException) RequestID() string {
}
// A record returned by a call.
+//
+// This data structure is only used with the deprecated ExecuteSql operation.
+// Use the BatchExecuteStatement or ExecuteStatement operation instead.
type Record struct {
_ struct{} `type:"structure"`
@@ -1949,6 +2067,9 @@ func (s *Record) SetValues(v []*Value) *Record {
}
// The result set returned by a SQL statement.
+//
+// This data structure is only used with the deprecated ExecuteSql operation.
+// Use the BatchExecuteStatement or ExecuteStatement operation instead.
type ResultFrame struct {
_ struct{} `type:"structure"`
@@ -2043,6 +2164,11 @@ type ResultSetOptions struct {
// loss. We recommend converting to String, especially when working with currency
// values.
DecimalReturnType *string `locationName:"decimalReturnType" type:"string" enum:"DecimalReturnType"`
+
+ // A value that indicates how a field of LONG type is represented. Allowed values
+ // are LONG and STRING. The default is LONG. Specify STRING if the length or
+ // precision of numeric values might cause truncation or rounding errors.
+ LongReturnType *string `locationName:"longReturnType" type:"string" enum:"LongReturnType"`
}
// String returns the string representation.
@@ -2069,6 +2195,12 @@ func (s *ResultSetOptions) SetDecimalReturnType(v string) *ResultSetOptions {
return s
}
+// SetLongReturnType sets the LongReturnType field's value.
+func (s *ResultSetOptions) SetLongReturnType(v string) *ResultSetOptions {
+ s.LongReturnType = &v
+ return s
+}
+
// The request parameters represent the input of a request to perform a rollback
// of a transaction.
type RollbackTransactionInput struct {
@@ -2319,7 +2451,9 @@ func (s *SqlParameter) SetValue(v *Field) *SqlParameter {
// The result of a SQL statement.
//
-// ExecuteSql
+// operation. Use the BatchExecuteStatement
or ExecuteStatement
+// operation instead.ExecuteSql
+// operation. Use the BatchExecuteStatement
or ExecuteStatement
+// operation instead.