diff --git a/apis/connect/2017-08-08/api-2.json b/apis/connect/2017-08-08/api-2.json index cacb44f78f4..23b8e49d324 100644 --- a/apis/connect/2017-08-08/api-2.json +++ b/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/apis/connect/2017-08-08/docs-2.json b/apis/connect/2017-08-08/docs-2.json index 6cf31ade220..da3af899c8f 100644 --- a/apis/connect/2017-08-08/docs-2.json +++ b/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.

", "StartChatContact": "

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:

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:

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:

", + "refs": { + "UserSearchFilter$TagFilter": null + } + }, "CreateAgentStatusRequest": { "base": null, "refs": { @@ -1323,7 +1340,8 @@ "base": null, "refs": { "CreateUserRequest$DirectoryUserId": "

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'.

", + "refs": { + "UserSearchCriteria$StringCondition": "

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.

", + "TagOrConditionList$member": null + } + }, + "TagCondition": { + "base": "

A leaf node condition which can be used to specify a tag condition, for example, HAVE BPO = 123.

", + "refs": { + "ControlPlaneTagFilter$TagCondition": "

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.

" + } + }, "TagResourceRequest": { "base": null, "refs": { @@ -3804,6 +3894,7 @@ "UpdateUserSecurityProfilesRequest$UserId": "

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.

", + "UserSearchCriteria$AndConditions": "

A list of conditions which would be applied together with an AND condition.

" + } + }, + "UserSearchCriteria": { + "base": "

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/apis/connect/2017-08-08/paginators-1.json b/apis/connect/2017-08-08/paginators-1.json index 79de7d24b64..6083a3ffd9c 100644 --- a/apis/connect/2017-08-08/paginators-1.json +++ b/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/apis/gamelift/2015-10-01/docs-2.json b/apis/gamelift/2015-10-01/docs-2.json index 743510e02d0..e7bb74dfaae 100644 --- a/apis/gamelift/2015-10-01/docs-2.json +++ b/apis/gamelift/2015-10-01/docs-2.json @@ -2,22 +2,22 @@ "version": "2.0", "service": "GameLift 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.

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:

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

GameLift FleetIQ Guide

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:

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

Uploading Your Game

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:

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

Uploading Your Game

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

Setting up fleets

Debug fleet creation issues

Multi-location fleets

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

Setting up fleets

Multi-location fleets

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:

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

GameLift FleetIQ Guide

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:

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

Start a game session

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:

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

Start a game session

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

Design a game session queue

Create a game session queue

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

Design a FlexMatch matchmaker

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:

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:

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

Upload a Custom Server Build

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

Setting up GameLift Fleets

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

GameLift FleetIQ Guide

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

Upload a Custom Server Build

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:

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

Find a game session

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

View Your Queues

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:

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

Find a game session

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:

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

Find a game session

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:

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

Debug Fleet Issues

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 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 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

Setting up GameLift fleets

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

Debug Fleet Issues

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:

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

Setting up GameLift fleets

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

GameLift FleetIQ Guide

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

GameLift FleetIQ Guide

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:

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

GameLift FleetIQ Guide

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

GameLift FleetIQ Guide

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:

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:

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:

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

Setting up GameLift fleets

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:

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:

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)

How GameLift FlexMatch works

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

How GameLift FlexMatch works

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:

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

Setting up GameLift Fleets

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

Using Multi-Region Queues

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

Design a FlexMatch matchmaker

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

Setting up GameLift fleets

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:

" + "CertificateConfiguration$CertificateType": "

Indicates whether a TLS/SSL certificate is generated for a fleet.

Valid values include:

" } }, "ClaimGameServerInput": { @@ -995,7 +995,7 @@ "FleetId": { "base": null, "refs": { - "CreateVpcPeeringConnectionInput$FleetId": "

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.

" } @@ -1681,7 +1681,7 @@ "LaunchTemplateVersion": { "base": null, "refs": { - "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 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.

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

" + "PutScalingPolicyInput$MetricName": "

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.

", + "ScalingPolicy$MetricName": "

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.

" } }, "NonBlankAndLengthConstraintString": { @@ -2040,8 +2040,8 @@ "NonEmptyString": { "base": null, "refs": { - "AwsCredentials$AccessKeyId": "

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 (.).

", "S3Location$Key": "

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.

" + "CreatePlayerSessionsInput$PlayerDataMap": "

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.

" } }, "PlayerIdList": { @@ -2353,9 +2353,9 @@ "refs": { "GameSession$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.

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

", - "IpPermission$FromPort": "

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.

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

", "CreateBuildOutput$StorageLocation": "

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.

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

", "RequestUploadCredentialsOutput$StorageLocation": "

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.

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

" } }, "ScalingAdjustmentType": { @@ -2587,10 +2587,10 @@ "Script": { "base": "

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/apis/mq/2017-11-27/api-2.json b/apis/mq/2017-11-27/api-2.json index 12deb43ab7f..98ebf227d07 100644 --- a/apis/mq/2017-11-27/api-2.json +++ b/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/apis/mq/2017-11-27/docs-2.json b/apis/mq/2017-11-27/docs-2.json index 90d7aa618ae..474ea0d33d5 100644 --- a/apis/mq/2017-11-27/docs-2.json +++ b/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/apis/rds-data/2018-08-01/api-2.json b/apis/rds-data/2018-08-01/api-2.json index ce713d50622..a5bb52ab599 100644 --- a/apis/rds-data/2018-08-01/api-2.json +++ b/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/apis/rds-data/2018-08-01/docs-2.json b/apis/rds-data/2018-08-01/docs-2.json index 8a9ca92f750..bd6146ba1f8 100644 --- a/apis/rds-data/2018-08-01/docs-2.json +++ b/apis/rds-data/2018-08-01/docs-2.json @@ -1,15 +1,20 @@ { "version": "2.0", - "service": "

Amazon RDS Data 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 Data 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.

", "BeginTransaction": "

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.

", "ExecuteSql": "

Runs one or more SQL statements.

This operation is deprecated. Use the BatchExecuteStatement or ExecuteStatement operation.

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

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.

", + "base": "

An array of floating-point numbers.

Some array entries can be null.

", "refs": { - "ArrayValue$doubleValues": "

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.

", "ForbiddenException$message": "

The error message returned by this ForbiddenException error.

", "NotFoundException$message": "

The error message returned by this NotFoundException error.

", @@ -214,7 +220,7 @@ "FieldList": { "base": null, "refs": { - "ExecuteStatementResponse$generatedFields": "

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.

", "refs": { - "ArrayValue$longValues": "

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": { "base": null, "refs": { - "ExecuteStatementResponse$columnMetadata": "

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.

", "ResultSetMetadata$columnMetadata": "

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.

", "refs": { "Records$member": null } @@ -292,6 +310,12 @@ "ResultFrame$records": "

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.

", "refs": { "SqlStatementResult$resultFrame": "

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.

" } }, "SqlStatement": { @@ -372,7 +396,7 @@ } }, "SqlStatementResult": { - "base": "

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.

", "refs": { "Value$structValue": "

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/apis/securityhub/2018-10-26/api-2.json b/apis/securityhub/2018-10-26/api-2.json index 93c4301a2c2..c4eb7b4bc43 100644 --- a/apis/securityhub/2018-10-26/api-2.json +++ b/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/apis/securityhub/2018-10-26/docs-2.json b/apis/securityhub/2018-10-26/docs-2.json index 83ffdc472bc..25bebe59d40 100644 --- a/apis/securityhub/2018-10-26/docs-2.json +++ b/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.

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

", "operations": { "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.

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

Finding providers also should not use BatchImportFindings to update the following attributes.

Instead, finding providers use FindingProviderFields to provide values for these attributes.

", "BatchUpdateFindings": "

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.

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.

", "CreateMembers": "

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:

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.

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.

", "DeclineInvitations": "

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.

" } }, + "AutoEnableStandards": { + "base": null, + "refs": { + "DescribeOrganizationConfigurationResponse$AutoEnableStandards": "

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.

", + "UpdateOrganizationConfigurationRequest$AutoEnableStandards": "

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.

" + } + }, "AvailabilityZone": { "base": "

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.

", "AwsSecurityFinding$GeneratorId": "

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.

", - "AwsSecurityFindingFilters$CompanyName": "

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.

", + "AwsSecurityFindingFilters$ProductName": "

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/gems/aws-sdk-connect/CHANGELOG.md b/gems/aws-sdk-connect/CHANGELOG.md index d01a33df8e2..d3727c50bd8 100644 --- a/gems/aws-sdk-connect/CHANGELOG.md +++ b/gems/aws-sdk-connect/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.70.0 (2022-04-25) +------------------ + +* Feature - This release adds SearchUsers API which can be used to search for users with a Connect Instance + 1.69.0 (2022-04-20) ------------------ diff --git a/gems/aws-sdk-connect/VERSION b/gems/aws-sdk-connect/VERSION index 49349856550..832e9afb6c1 100644 --- a/gems/aws-sdk-connect/VERSION +++ b/gems/aws-sdk-connect/VERSION @@ -1 +1 @@ -1.69.0 +1.70.0 diff --git a/gems/aws-sdk-connect/lib/aws-sdk-connect.rb b/gems/aws-sdk-connect/lib/aws-sdk-connect.rb index 649a0a33554..1c2e345e6bb 100644 --- a/gems/aws-sdk-connect/lib/aws-sdk-connect.rb +++ b/gems/aws-sdk-connect/lib/aws-sdk-connect.rb @@ -48,6 +48,6 @@ # @!group service module Aws::Connect - GEM_VERSION = '1.69.0' + GEM_VERSION = '1.70.0' end diff --git a/gems/aws-sdk-connect/lib/aws-sdk-connect/client.rb b/gems/aws-sdk-connect/lib/aws-sdk-connect/client.rb index fa8c60a4609..73f96d81567 100644 --- a/gems/aws-sdk-connect/lib/aws-sdk-connect/client.rb +++ b/gems/aws-sdk-connect/lib/aws-sdk-connect/client.rb @@ -2408,7 +2408,7 @@ def describe_instance_storage_config(params = {}, options = {}) # Amazon Connect instance # # @option params [required, String] :phone_number_id - # The identifier of the phone number. + # A unique identifier for the phone number. # # @return [Types::DescribePhoneNumberResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # @@ -2987,7 +2987,7 @@ def disassociate_lex_bot(params = {}, options = {}) # your Amazon Connect instance, if a contact flow association exists. # # @option params [required, String] :phone_number_id - # The identifier of the phone number. + # A unique identifier for the phone number. # # @option params [required, String] :instance_id # The identifier of the Amazon Connect instance. You can find the @@ -5252,7 +5252,7 @@ def list_users(params = {}, options = {}) # instance. # # @option params [required, String] :phone_number_id - # The identifier of the phone number. + # A unique identifier for the phone number. # # @option params [String] :client_token # A unique, case-sensitive identifier that you provide to ensure the @@ -5374,6 +5374,116 @@ def search_available_phone_numbers(params = {}, options = {}) req.send_request(options) end + # Searches users in an Amazon Connect instance, with optional filtering. + # + # @option params [String] :instance_id + # The identifier of the Amazon Connect instance. You can find the + # instanceId in the ARN of the instance. + # + # @option params [String] :next_token + # 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. + # + # @option params [Integer] :max_results + # The maximum number of results to return per page. + # + # @option params [Types::UserSearchFilter] :search_filter + # Filters to be applied to search results. + # + # @option params [Types::UserSearchCriteria] :search_criteria + # The search criteria to be used to return users. + # + # @return [Types::SearchUsersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::SearchUsersResponse#users #users} => Array<Types::UserSearchSummary> + # * {Types::SearchUsersResponse#next_token #next_token} => String + # * {Types::SearchUsersResponse#approximate_total_count #approximate_total_count} => Integer + # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # + # @example Request syntax with placeholder values + # + # resp = client.search_users({ + # instance_id: "InstanceId", + # next_token: "NextToken2500", + # max_results: 1, + # search_filter: { + # tag_filter: { + # or_conditions: [ + # [ + # { + # tag_key: "String", + # tag_value: "String", + # }, + # ], + # ], + # and_conditions: [ + # { + # tag_key: "String", + # tag_value: "String", + # }, + # ], + # tag_condition: { + # tag_key: "String", + # tag_value: "String", + # }, + # }, + # }, + # search_criteria: { + # or_conditions: [ + # { + # # recursive UserSearchCriteria + # }, + # ], + # and_conditions: [ + # { + # # recursive UserSearchCriteria + # }, + # ], + # string_condition: { + # field_name: "String", + # value: "String", + # comparison_type: "STARTS_WITH", # accepts STARTS_WITH, CONTAINS, EXACT + # }, + # hierarchy_group_condition: { + # value: "String", + # hierarchy_group_match_type: "EXACT", # accepts EXACT, WITH_CHILD_GROUPS + # }, + # }, + # }) + # + # @example Response structure + # + # resp.users #=> Array + # resp.users[0].arn #=> String + # resp.users[0].directory_user_id #=> String + # resp.users[0].hierarchy_group_id #=> String + # resp.users[0].id #=> String + # resp.users[0].identity_info.first_name #=> String + # resp.users[0].identity_info.last_name #=> String + # resp.users[0].phone_config.phone_type #=> String, one of "SOFT_PHONE", "DESK_PHONE" + # resp.users[0].phone_config.auto_accept #=> Boolean + # resp.users[0].phone_config.after_contact_work_time_limit #=> Integer + # resp.users[0].phone_config.desk_phone_number #=> String + # resp.users[0].routing_profile_id #=> String + # resp.users[0].security_profile_ids #=> Array + # resp.users[0].security_profile_ids[0] #=> String + # resp.users[0].tags #=> Hash + # resp.users[0].tags["TagKey"] #=> String + # resp.users[0].username #=> String + # resp.next_token #=> String + # resp.approximate_total_count #=> Integer + # + # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchUsers AWS API Documentation + # + # @overload search_users(params = {}) + # @param [Hash] params ({}) + def search_users(params = {}, options = {}) + req = build_request(:search_users, params) + req.send_request(options) + end + # Searches for vocabularies within a specific Amazon Connect instance # using `State`, `NameStartsWith`, and `LanguageCode`. # @@ -6679,7 +6789,7 @@ def update_instance_storage_config(params = {}, options = {}) # instance to another Amazon Connect instance in the same Region. # # @option params [required, String] :phone_number_id - # The identifier of the phone number. + # A unique identifier for the phone number. # # @option params [required, String] :target_arn # The Amazon Resource Name (ARN) for Amazon Connect instances that phone @@ -7434,7 +7544,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-connect' - context[:gem_version] = '1.69.0' + context[:gem_version] = '1.70.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-connect/lib/aws-sdk-connect/client_api.rb b/gems/aws-sdk-connect/lib/aws-sdk-connect/client_api.rb index 83c39ae5014..8fff5f2a624 100644 --- a/gems/aws-sdk-connect/lib/aws-sdk-connect/client_api.rb +++ b/gems/aws-sdk-connect/lib/aws-sdk-connect/client_api.rb @@ -33,6 +33,7 @@ module ClientApi AgentUsername = Shapes::StringShape.new(name: 'AgentUsername') AliasArn = Shapes::StringShape.new(name: 'AliasArn') AnswerMachineDetectionConfig = Shapes::StructureShape.new(name: 'AnswerMachineDetectionConfig') + ApproximateTotalCount = Shapes::IntegerShape.new(name: 'ApproximateTotalCount') AssociateApprovedOriginRequest = Shapes::StructureShape.new(name: 'AssociateApprovedOriginRequest') AssociateBotRequest = Shapes::StructureShape.new(name: 'AssociateBotRequest') AssociateDefaultVocabularyRequest = Shapes::StructureShape.new(name: 'AssociateDefaultVocabularyRequest') @@ -100,6 +101,7 @@ module ClientApi ContactInitiationMethod = Shapes::StringShape.new(name: 'ContactInitiationMethod') ContactNotFoundException = Shapes::StructureShape.new(name: 'ContactNotFoundException') ContactReferences = Shapes::MapShape.new(name: 'ContactReferences') + ControlPlaneTagFilter = Shapes::StructureShape.new(name: 'ControlPlaneTagFilter') CreateAgentStatusRequest = Shapes::StructureShape.new(name: 'CreateAgentStatusRequest') CreateAgentStatusResponse = Shapes::StructureShape.new(name: 'CreateAgentStatusResponse') CreateContactFlowModuleRequest = Shapes::StructureShape.new(name: 'CreateContactFlowModuleRequest') @@ -221,7 +223,9 @@ module ClientApi Grouping = Shapes::StringShape.new(name: 'Grouping') Groupings = Shapes::ListShape.new(name: 'Groupings') HierarchyGroup = Shapes::StructureShape.new(name: 'HierarchyGroup') + HierarchyGroupCondition = Shapes::StructureShape.new(name: 'HierarchyGroupCondition') HierarchyGroupId = Shapes::StringShape.new(name: 'HierarchyGroupId') + HierarchyGroupMatchType = Shapes::StringShape.new(name: 'HierarchyGroupMatchType') HierarchyGroupName = Shapes::StringShape.new(name: 'HierarchyGroupName') HierarchyGroupSummary = Shapes::StructureShape.new(name: 'HierarchyGroupSummary') HierarchyGroupSummaryList = Shapes::ListShape.new(name: 'HierarchyGroupSummaryList') @@ -358,6 +362,7 @@ module ClientApi MinutesLimit60 = Shapes::IntegerShape.new(name: 'MinutesLimit60') Name = Shapes::StringShape.new(name: 'Name') NextToken = Shapes::StringShape.new(name: 'NextToken') + NextToken2500 = Shapes::StringShape.new(name: 'NextToken2500') Origin = Shapes::StringShape.new(name: 'Origin') OriginsList = Shapes::ListShape.new(name: 'OriginsList') OutboundCallerConfig = Shapes::StructureShape.new(name: 'OutboundCallerConfig') @@ -448,6 +453,8 @@ module ClientApi S3Config = Shapes::StructureShape.new(name: 'S3Config') SearchAvailablePhoneNumbersRequest = Shapes::StructureShape.new(name: 'SearchAvailablePhoneNumbersRequest') SearchAvailablePhoneNumbersResponse = Shapes::StructureShape.new(name: 'SearchAvailablePhoneNumbersResponse') + SearchUsersRequest = Shapes::StructureShape.new(name: 'SearchUsersRequest') + SearchUsersResponse = Shapes::StructureShape.new(name: 'SearchUsersResponse') SearchVocabulariesRequest = Shapes::StructureShape.new(name: 'SearchVocabulariesRequest') SearchVocabulariesResponse = Shapes::StructureShape.new(name: 'SearchVocabulariesResponse') SecurityKey = Shapes::StructureShape.new(name: 'SecurityKey') @@ -484,13 +491,18 @@ module ClientApi StorageType = Shapes::StringShape.new(name: 'StorageType') StreamingId = Shapes::StringShape.new(name: 'StreamingId') String = Shapes::StringShape.new(name: 'String') + StringComparisonType = Shapes::StringShape.new(name: 'StringComparisonType') + StringCondition = Shapes::StructureShape.new(name: 'StringCondition') SupportedMessagingContentType = Shapes::StringShape.new(name: 'SupportedMessagingContentType') SupportedMessagingContentTypes = Shapes::ListShape.new(name: 'SupportedMessagingContentTypes') SuspendContactRecordingRequest = Shapes::StructureShape.new(name: 'SuspendContactRecordingRequest') SuspendContactRecordingResponse = Shapes::StructureShape.new(name: 'SuspendContactRecordingResponse') + TagAndConditionList = Shapes::ListShape.new(name: 'TagAndConditionList') + TagCondition = Shapes::StructureShape.new(name: 'TagCondition') TagKey = Shapes::StringShape.new(name: 'TagKey') TagKeyList = Shapes::ListShape.new(name: 'TagKeyList') TagMap = Shapes::MapShape.new(name: 'TagMap') + TagOrConditionList = Shapes::ListShape.new(name: 'TagOrConditionList') TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest') TagValue = Shapes::StringShape.new(name: 'TagValue') Threshold = Shapes::StructureShape.new(name: 'Threshold') @@ -551,9 +563,15 @@ module ClientApi User = Shapes::StructureShape.new(name: 'User') UserId = Shapes::StringShape.new(name: 'UserId') UserIdentityInfo = Shapes::StructureShape.new(name: 'UserIdentityInfo') + UserIdentityInfoLite = Shapes::StructureShape.new(name: 'UserIdentityInfoLite') UserNotFoundException = Shapes::StructureShape.new(name: 'UserNotFoundException') UserPhoneConfig = Shapes::StructureShape.new(name: 'UserPhoneConfig') UserQuickConnectConfig = Shapes::StructureShape.new(name: 'UserQuickConnectConfig') + UserSearchConditionList = Shapes::ListShape.new(name: 'UserSearchConditionList') + UserSearchCriteria = Shapes::StructureShape.new(name: 'UserSearchCriteria') + UserSearchFilter = Shapes::StructureShape.new(name: 'UserSearchFilter') + UserSearchSummary = Shapes::StructureShape.new(name: 'UserSearchSummary') + UserSearchSummaryList = Shapes::ListShape.new(name: 'UserSearchSummaryList') UserSummary = Shapes::StructureShape.new(name: 'UserSummary') UserSummaryList = Shapes::ListShape.new(name: 'UserSummaryList') Value = Shapes::FloatShape.new(name: 'Value') @@ -773,6 +791,11 @@ module ClientApi ContactReferences.key = Shapes::ShapeRef.new(shape: ReferenceKey) ContactReferences.value = Shapes::ShapeRef.new(shape: Reference) + ControlPlaneTagFilter.add_member(:or_conditions, Shapes::ShapeRef.new(shape: TagOrConditionList, location_name: "OrConditions")) + ControlPlaneTagFilter.add_member(:and_conditions, Shapes::ShapeRef.new(shape: TagAndConditionList, location_name: "AndConditions")) + ControlPlaneTagFilter.add_member(:tag_condition, Shapes::ShapeRef.new(shape: TagCondition, location_name: "TagCondition")) + ControlPlaneTagFilter.struct_class = Types::ControlPlaneTagFilter + CreateAgentStatusRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId")) CreateAgentStatusRequest.add_member(:name, Shapes::ShapeRef.new(shape: AgentStatusName, required: true, location_name: "Name")) CreateAgentStatusRequest.add_member(:description, Shapes::ShapeRef.new(shape: AgentStatusDescription, location_name: "Description")) @@ -1255,6 +1278,10 @@ module ClientApi HierarchyGroup.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags")) HierarchyGroup.struct_class = Types::HierarchyGroup + HierarchyGroupCondition.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value")) + HierarchyGroupCondition.add_member(:hierarchy_group_match_type, Shapes::ShapeRef.new(shape: HierarchyGroupMatchType, location_name: "HierarchyGroupMatchType")) + HierarchyGroupCondition.struct_class = Types::HierarchyGroupCondition + HierarchyGroupSummary.add_member(:id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "Id")) HierarchyGroupSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn")) HierarchyGroupSummary.add_member(:name, Shapes::ShapeRef.new(shape: HierarchyGroupName, location_name: "Name")) @@ -1930,6 +1957,18 @@ module ClientApi SearchAvailablePhoneNumbersResponse.add_member(:available_numbers_list, Shapes::ShapeRef.new(shape: AvailableNumbersList, location_name: "AvailableNumbersList")) SearchAvailablePhoneNumbersResponse.struct_class = Types::SearchAvailablePhoneNumbersResponse + SearchUsersRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId")) + SearchUsersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken2500, location_name: "NextToken")) + SearchUsersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult100, location_name: "MaxResults", metadata: {"box"=>true})) + SearchUsersRequest.add_member(:search_filter, Shapes::ShapeRef.new(shape: UserSearchFilter, location_name: "SearchFilter")) + SearchUsersRequest.add_member(:search_criteria, Shapes::ShapeRef.new(shape: UserSearchCriteria, location_name: "SearchCriteria")) + SearchUsersRequest.struct_class = Types::SearchUsersRequest + + SearchUsersResponse.add_member(:users, Shapes::ShapeRef.new(shape: UserSearchSummaryList, location_name: "Users")) + SearchUsersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken2500, location_name: "NextToken")) + SearchUsersResponse.add_member(:approximate_total_count, Shapes::ShapeRef.new(shape: ApproximateTotalCount, location_name: "ApproximateTotalCount")) + SearchUsersResponse.struct_class = Types::SearchUsersResponse + SearchVocabulariesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId")) SearchVocabulariesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult100, location_name: "MaxResults")) SearchVocabulariesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: VocabularyNextToken, location_name: "NextToken")) @@ -2050,6 +2089,11 @@ module ClientApi StopContactStreamingResponse.struct_class = Types::StopContactStreamingResponse + StringCondition.add_member(:field_name, Shapes::ShapeRef.new(shape: String, location_name: "FieldName")) + StringCondition.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value")) + StringCondition.add_member(:comparison_type, Shapes::ShapeRef.new(shape: StringComparisonType, location_name: "ComparisonType")) + StringCondition.struct_class = Types::StringCondition + SupportedMessagingContentTypes.member = Shapes::ShapeRef.new(shape: SupportedMessagingContentType) SuspendContactRecordingRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId")) @@ -2059,11 +2103,19 @@ module ClientApi SuspendContactRecordingResponse.struct_class = Types::SuspendContactRecordingResponse + TagAndConditionList.member = Shapes::ShapeRef.new(shape: TagCondition) + + TagCondition.add_member(:tag_key, Shapes::ShapeRef.new(shape: String, location_name: "TagKey")) + TagCondition.add_member(:tag_value, Shapes::ShapeRef.new(shape: String, location_name: "TagValue")) + TagCondition.struct_class = Types::TagCondition + TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey) TagMap.key = Shapes::ShapeRef.new(shape: TagKey) TagMap.value = Shapes::ShapeRef.new(shape: TagValue) + TagOrConditionList.member = Shapes::ShapeRef.new(shape: TagAndConditionList) + TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "resourceArn")) TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags")) TagResourceRequest.struct_class = Types::TagResourceRequest @@ -2299,6 +2351,10 @@ module ClientApi UserIdentityInfo.add_member(:email, Shapes::ShapeRef.new(shape: Email, location_name: "Email")) UserIdentityInfo.struct_class = Types::UserIdentityInfo + UserIdentityInfoLite.add_member(:first_name, Shapes::ShapeRef.new(shape: AgentFirstName, location_name: "FirstName")) + UserIdentityInfoLite.add_member(:last_name, Shapes::ShapeRef.new(shape: AgentLastName, location_name: "LastName")) + UserIdentityInfoLite.struct_class = Types::UserIdentityInfoLite + UserNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message")) UserNotFoundException.struct_class = Types::UserNotFoundException @@ -2312,6 +2368,31 @@ module ClientApi UserQuickConnectConfig.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location_name: "ContactFlowId")) UserQuickConnectConfig.struct_class = Types::UserQuickConnectConfig + UserSearchConditionList.member = Shapes::ShapeRef.new(shape: UserSearchCriteria) + + UserSearchCriteria.add_member(:or_conditions, Shapes::ShapeRef.new(shape: UserSearchConditionList, location_name: "OrConditions")) + UserSearchCriteria.add_member(:and_conditions, Shapes::ShapeRef.new(shape: UserSearchConditionList, location_name: "AndConditions")) + UserSearchCriteria.add_member(:string_condition, Shapes::ShapeRef.new(shape: StringCondition, location_name: "StringCondition")) + UserSearchCriteria.add_member(:hierarchy_group_condition, Shapes::ShapeRef.new(shape: HierarchyGroupCondition, location_name: "HierarchyGroupCondition")) + UserSearchCriteria.struct_class = Types::UserSearchCriteria + + UserSearchFilter.add_member(:tag_filter, Shapes::ShapeRef.new(shape: ControlPlaneTagFilter, location_name: "TagFilter")) + UserSearchFilter.struct_class = Types::UserSearchFilter + + UserSearchSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn")) + UserSearchSummary.add_member(:directory_user_id, Shapes::ShapeRef.new(shape: DirectoryUserId, location_name: "DirectoryUserId")) + UserSearchSummary.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "HierarchyGroupId")) + UserSearchSummary.add_member(:id, Shapes::ShapeRef.new(shape: UserId, location_name: "Id")) + UserSearchSummary.add_member(:identity_info, Shapes::ShapeRef.new(shape: UserIdentityInfoLite, location_name: "IdentityInfo")) + UserSearchSummary.add_member(:phone_config, Shapes::ShapeRef.new(shape: UserPhoneConfig, location_name: "PhoneConfig")) + UserSearchSummary.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, location_name: "RoutingProfileId")) + UserSearchSummary.add_member(:security_profile_ids, Shapes::ShapeRef.new(shape: SecurityProfileIds, location_name: "SecurityProfileIds")) + UserSearchSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags")) + UserSearchSummary.add_member(:username, Shapes::ShapeRef.new(shape: AgentUsername, location_name: "Username")) + UserSearchSummary.struct_class = Types::UserSearchSummary + + UserSearchSummaryList.member = Shapes::ShapeRef.new(shape: UserSearchSummary) + UserSummary.add_member(:id, Shapes::ShapeRef.new(shape: UserId, location_name: "Id")) UserSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn")) UserSummary.add_member(:username, Shapes::ShapeRef.new(shape: AgentUsername, location_name: "Username")) @@ -3854,6 +3935,25 @@ module ClientApi ) end) + api.add_operation(:search_users, Seahorse::Model::Operation.new.tap do |o| + o.name = "SearchUsers" + o.http_method = "POST" + o.http_request_uri = "/search-users" + o.input = Shapes::ShapeRef.new(shape: SearchUsersRequest) + o.output = Shapes::ShapeRef.new(shape: SearchUsersResponse) + o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) + o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) + o.errors << Shapes::ShapeRef.new(shape: InternalServiceException) + o[:pager] = Aws::Pager.new( + limit_key: "max_results", + tokens: { + "next_token" => "next_token" + } + ) + end) + api.add_operation(:search_vocabularies, Seahorse::Model::Operation.new.tap do |o| o.name = "SearchVocabularies" o.http_method = "POST" diff --git a/gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb b/gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb index baf2300b46e..6dfd2ffcc9a 100644 --- a/gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb +++ b/gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb @@ -699,7 +699,7 @@ class ClaimPhoneNumberRequest < Struct.new( end # @!attribute [rw] phone_number_id - # The identifier of the phone number. + # A unique identifier for the phone number. # @return [String] # # @!attribute [rw] phone_number_arn @@ -719,7 +719,7 @@ class ClaimPhoneNumberResponse < Struct.new( # Connect instance. # # @!attribute [rw] phone_number_id - # The identifier of the phone number. + # A unique identifier for the phone number. # @return [String] # # @!attribute [rw] phone_number_arn @@ -1064,6 +1064,64 @@ class ContactNotFoundException < Struct.new( include Aws::Structure end + # 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. + # + # @note When making an API call, you may pass ControlPlaneTagFilter + # data as a hash: + # + # { + # or_conditions: [ + # [ + # { + # tag_key: "String", + # tag_value: "String", + # }, + # ], + # ], + # and_conditions: [ + # { + # tag_key: "String", + # tag_value: "String", + # }, + # ], + # tag_condition: { + # tag_key: "String", + # tag_value: "String", + # }, + # } + # + # @!attribute [rw] or_conditions + # A list of conditions which would be applied together with an `OR` + # condition. + # @return [Array>] + # + # @!attribute [rw] and_conditions + # A list of conditions which would be applied together with an `AND` + # condition. + # @return [Array] + # + # @!attribute [rw] tag_condition + # A leaf node condition which can be used to specify a tag condition. + # @return [Types::TagCondition] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ControlPlaneTagFilter AWS API Documentation + # + class ControlPlaneTagFilter < Struct.new( + :or_conditions, + :and_conditions, + :tag_condition) + SENSITIVE = [] + include Aws::Structure + end + # @note When making an API call, you may pass CreateAgentStatusRequest # data as a hash: # @@ -2928,7 +2986,7 @@ class DescribeInstanceStorageConfigResponse < Struct.new( # } # # @!attribute [rw] phone_number_id - # The identifier of the phone number. + # A unique identifier for the phone number. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribePhoneNumberRequest AWS API Documentation @@ -3450,7 +3508,7 @@ class DisassociateLexBotRequest < Struct.new( # } # # @!attribute [rw] phone_number_id - # The identifier of the phone number. + # A unique identifier for the phone number. # @return [String] # # @!attribute [rw] instance_id @@ -4256,6 +4314,34 @@ class HierarchyGroup < Struct.new( include Aws::Structure end + # A leaf node condition which can be used to specify a hierarchy group + # condition. + # + # @note When making an API call, you may pass HierarchyGroupCondition + # data as a hash: + # + # { + # value: "String", + # hierarchy_group_match_type: "EXACT", # accepts EXACT, WITH_CHILD_GROUPS + # } + # + # @!attribute [rw] value + # The value in the hierarchy group condition. + # @return [String] + # + # @!attribute [rw] hierarchy_group_match_type + # The type of hierarchy group match. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/HierarchyGroupCondition AWS API Documentation + # + class HierarchyGroupCondition < Struct.new( + :value, + :hierarchy_group_match_type) + SENSITIVE = [] + include Aws::Structure + end + # Contains summary information about a hierarchy group. # # @!attribute [rw] id @@ -6017,7 +6103,7 @@ class ListPhoneNumbersResponse < Struct.new( # Connect instance. # # @!attribute [rw] phone_number_id - # The identifier of the phone number. + # A unique identifier for the phone number. # @return [String] # # @!attribute [rw] phone_number_arn @@ -7390,7 +7476,7 @@ class Unknown < ReferenceSummary; end # } # # @!attribute [rw] phone_number_id - # The identifier of the phone number. + # A unique identifier for the phone number. # @return [String] # # @!attribute [rw] client_token @@ -7809,6 +7895,116 @@ class SearchAvailablePhoneNumbersResponse < Struct.new( include Aws::Structure end + # @note When making an API call, you may pass SearchUsersRequest + # data as a hash: + # + # { + # instance_id: "InstanceId", + # next_token: "NextToken2500", + # max_results: 1, + # search_filter: { + # tag_filter: { + # or_conditions: [ + # [ + # { + # tag_key: "String", + # tag_value: "String", + # }, + # ], + # ], + # and_conditions: [ + # { + # tag_key: "String", + # tag_value: "String", + # }, + # ], + # tag_condition: { + # tag_key: "String", + # tag_value: "String", + # }, + # }, + # }, + # search_criteria: { + # or_conditions: [ + # { + # # recursive UserSearchCriteria + # }, + # ], + # and_conditions: [ + # { + # # recursive UserSearchCriteria + # }, + # ], + # string_condition: { + # field_name: "String", + # value: "String", + # comparison_type: "STARTS_WITH", # accepts STARTS_WITH, CONTAINS, EXACT + # }, + # hierarchy_group_condition: { + # value: "String", + # hierarchy_group_match_type: "EXACT", # accepts EXACT, WITH_CHILD_GROUPS + # }, + # }, + # } + # + # @!attribute [rw] instance_id + # The identifier of the Amazon Connect instance. You can find the + # instanceId in the ARN of the instance. + # @return [String] + # + # @!attribute [rw] next_token + # 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. + # @return [String] + # + # @!attribute [rw] max_results + # The maximum number of results to return per page. + # @return [Integer] + # + # @!attribute [rw] search_filter + # Filters to be applied to search results. + # @return [Types::UserSearchFilter] + # + # @!attribute [rw] search_criteria + # The search criteria to be used to return users. + # @return [Types::UserSearchCriteria] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchUsersRequest AWS API Documentation + # + class SearchUsersRequest < Struct.new( + :instance_id, + :next_token, + :max_results, + :search_filter, + :search_criteria) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] users + # Information about the users. + # @return [Array] + # + # @!attribute [rw] next_token + # If there are additional results, this is the token for the next set + # of results. + # @return [String] + # + # @!attribute [rw] approximate_total_count + # The total number of users who matched your search query. + # @return [Integer] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchUsersResponse AWS API Documentation + # + class SearchUsersResponse < Struct.new( + :users, + :next_token, + :approximate_total_count) + SENSITIVE = [] + include Aws::Structure + end + # @note When making an API call, you may pass SearchVocabulariesRequest # data as a hash: # @@ -8543,6 +8739,41 @@ class StopContactStreamingRequest < Struct.new( # class StopContactStreamingResponse < Aws::EmptyStructure; end + # A leaf node condition which can be used to specify a string condition, + # for example, `username = 'abc'`. + # + # @note When making an API call, you may pass StringCondition + # data as a hash: + # + # { + # field_name: "String", + # value: "String", + # comparison_type: "STARTS_WITH", # accepts STARTS_WITH, CONTAINS, EXACT + # } + # + # @!attribute [rw] field_name + # The name of the field in the string condition. + # @return [String] + # + # @!attribute [rw] value + # The value of the string. + # @return [String] + # + # @!attribute [rw] comparison_type + # The type of comparison to be made when evaluating the string + # condition. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StringCondition AWS API Documentation + # + class StringCondition < Struct.new( + :field_name, + :value, + :comparison_type) + SENSITIVE = [] + include Aws::Structure + end + # @note When making an API call, you may pass SuspendContactRecordingRequest # data as a hash: # @@ -8580,6 +8811,34 @@ class SuspendContactRecordingRequest < Struct.new( # class SuspendContactRecordingResponse < Aws::EmptyStructure; end + # A leaf node condition which can be used to specify a tag condition, + # for example, `HAVE BPO = 123`. + # + # @note When making an API call, you may pass TagCondition + # data as a hash: + # + # { + # tag_key: "String", + # tag_value: "String", + # } + # + # @!attribute [rw] tag_key + # The tag key in the tag condition. + # @return [String] + # + # @!attribute [rw] tag_value + # The tag value in the tag condition. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/TagCondition AWS API Documentation + # + class TagCondition < Struct.new( + :tag_key, + :tag_value) + SENSITIVE = [] + include Aws::Structure + end + # @note When making an API call, you may pass TagResourceRequest # data as a hash: # @@ -9243,7 +9502,7 @@ class UpdateInstanceStorageConfigRequest < Struct.new( # } # # @!attribute [rw] phone_number_id - # The identifier of the phone number. + # A unique identifier for the phone number. # @return [String] # # @!attribute [rw] target_arn @@ -9270,7 +9529,7 @@ class UpdatePhoneNumberRequest < Struct.new( end # @!attribute [rw] phone_number_id - # The identifier of the phone number. + # A unique identifier for the phone number. # @return [String] # # @!attribute [rw] phone_number_arn @@ -10117,6 +10376,25 @@ class UserIdentityInfo < Struct.new( include Aws::Structure end + # The user's first name and last name. + # + # @!attribute [rw] first_name + # The user's first name. + # @return [String] + # + # @!attribute [rw] last_name + # The user's last name. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UserIdentityInfoLite AWS API Documentation + # + class UserIdentityInfoLite < Struct.new( + :first_name, + :last_name) + SENSITIVE = [] + include Aws::Structure + end + # No user with the specified credentials was found in the Amazon Connect # instance. # @@ -10199,6 +10477,201 @@ class UserQuickConnectConfig < Struct.new( include Aws::Structure end + # The search criteria to be used to return users. + # + # @note When making an API call, you may pass UserSearchCriteria + # data as a hash: + # + # { + # or_conditions: [ + # { + # or_conditions: { + # # recursive UserSearchConditionList + # }, + # and_conditions: { + # # recursive UserSearchConditionList + # }, + # string_condition: { + # field_name: "String", + # value: "String", + # comparison_type: "STARTS_WITH", # accepts STARTS_WITH, CONTAINS, EXACT + # }, + # hierarchy_group_condition: { + # value: "String", + # hierarchy_group_match_type: "EXACT", # accepts EXACT, WITH_CHILD_GROUPS + # }, + # }, + # ], + # and_conditions: [ + # { + # or_conditions: { + # # recursive UserSearchConditionList + # }, + # and_conditions: { + # # recursive UserSearchConditionList + # }, + # string_condition: { + # field_name: "String", + # value: "String", + # comparison_type: "STARTS_WITH", # accepts STARTS_WITH, CONTAINS, EXACT + # }, + # hierarchy_group_condition: { + # value: "String", + # hierarchy_group_match_type: "EXACT", # accepts EXACT, WITH_CHILD_GROUPS + # }, + # }, + # ], + # string_condition: { + # field_name: "String", + # value: "String", + # comparison_type: "STARTS_WITH", # accepts STARTS_WITH, CONTAINS, EXACT + # }, + # hierarchy_group_condition: { + # value: "String", + # hierarchy_group_match_type: "EXACT", # accepts EXACT, WITH_CHILD_GROUPS + # }, + # } + # + # @!attribute [rw] or_conditions + # A list of conditions which would be applied together with an `OR` + # condition. + # @return [Array] + # + # @!attribute [rw] and_conditions + # A list of conditions which would be applied together with an `AND` + # condition. + # @return [Array] + # + # @!attribute [rw] string_condition + # A leaf node condition which can be used to specify a string + # condition. + # @return [Types::StringCondition] + # + # @!attribute [rw] hierarchy_group_condition + # A leaf node condition which can be used to specify a hierarchy group + # condition. + # @return [Types::HierarchyGroupCondition] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UserSearchCriteria AWS API Documentation + # + class UserSearchCriteria < Struct.new( + :or_conditions, + :and_conditions, + :string_condition, + :hierarchy_group_condition) + SENSITIVE = [] + include Aws::Structure + end + + # Filters to be applied to search results. + # + # @note When making an API call, you may pass UserSearchFilter + # data as a hash: + # + # { + # tag_filter: { + # or_conditions: [ + # [ + # { + # tag_key: "String", + # tag_value: "String", + # }, + # ], + # ], + # and_conditions: [ + # { + # tag_key: "String", + # tag_value: "String", + # }, + # ], + # tag_condition: { + # tag_key: "String", + # tag_value: "String", + # }, + # }, + # } + # + # @!attribute [rw] tag_filter + # 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. + # @return [Types::ControlPlaneTagFilter] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UserSearchFilter AWS API Documentation + # + class UserSearchFilter < Struct.new( + :tag_filter) + SENSITIVE = [] + include Aws::Structure + end + + # Information about the returned users. + # + # @!attribute [rw] arn + # The Amazon Resource Name (ARN) of the user. + # @return [String] + # + # @!attribute [rw] directory_user_id + # The directory identifier of the user. + # @return [String] + # + # @!attribute [rw] hierarchy_group_id + # The identifier of the user's hierarchy group. + # @return [String] + # + # @!attribute [rw] id + # The identifier of the user's summary. + # @return [String] + # + # @!attribute [rw] identity_info + # The user's first name and last name. + # @return [Types::UserIdentityInfoLite] + # + # @!attribute [rw] phone_config + # Contains information about the phone configuration settings for a + # user. + # @return [Types::UserPhoneConfig] + # + # @!attribute [rw] routing_profile_id + # The identifier of the user's routing profile. + # @return [String] + # + # @!attribute [rw] security_profile_ids + # The identifiers of the user's security profiles. + # @return [Array] + # + # @!attribute [rw] tags + # The tags used to organize, track, or control access for this + # resource. + # @return [Hash] + # + # @!attribute [rw] username + # The name of the user. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UserSearchSummary AWS API Documentation + # + class UserSearchSummary < Struct.new( + :arn, + :directory_user_id, + :hierarchy_group_id, + :id, + :identity_info, + :phone_config, + :routing_profile_id, + :security_profile_ids, + :tags, + :username) + SENSITIVE = [] + include Aws::Structure + end + # Contains summary information about a user. # # @!attribute [rw] id diff --git a/gems/aws-sdk-gamelift/CHANGELOG.md b/gems/aws-sdk-gamelift/CHANGELOG.md index 0cbabd37517..e2d922a2998 100644 --- a/gems/aws-sdk-gamelift/CHANGELOG.md +++ b/gems/aws-sdk-gamelift/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.57.0 (2022-04-25) +------------------ + +* Feature - Documentation updates for Amazon GameLift. + 1.56.0 (2022-03-02) ------------------ diff --git a/gems/aws-sdk-gamelift/VERSION b/gems/aws-sdk-gamelift/VERSION index 3ebf789f5a8..373aea97570 100644 --- a/gems/aws-sdk-gamelift/VERSION +++ b/gems/aws-sdk-gamelift/VERSION @@ -1 +1 @@ -1.56.0 +1.57.0 diff --git a/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift.rb b/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift.rb index ed000b3c767..462a38762fb 100644 --- a/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift.rb +++ b/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift.rb @@ -48,6 +48,6 @@ # @!group service module Aws::GameLift - GEM_VERSION = '1.56.0' + GEM_VERSION = '1.57.0' end diff --git a/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/client.rb b/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/client.rb index be6eea4cd3b..dae9bdb8580 100644 --- a/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/client.rb +++ b/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/client.rb @@ -381,11 +381,11 @@ def initialize(*args) # 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. + # 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** # @@ -547,12 +547,12 @@ def claim_game_server(params = {}, options = {}) # 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. + # 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, @@ -638,9 +638,9 @@ def create_alias(params = {}, options = {}) req.send_request(options) end - # Creates a new Amazon Web Services build resource for your game server + # 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. + # for use with Amazon GameLift. # # When setting up a new game build for GameLift, we recommend using the # Amazon Web Services CLI command ] :player_data_map # 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. + # 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. # # @return [Types::CreatePlayerSessionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # @@ -2369,21 +2368,21 @@ def create_player_sessions(params = {}, options = {}) # * 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. + # (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 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. + # 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 Web Services Realtime Servers][1] + # [Amazon GameLift Realtime Servers][1] # - # [Set Up a Role for Amazon Web Services Access][2] + # [Set Up a Role for Amazon GameLift Access][2] # # **Related actions** # @@ -2410,12 +2409,11 @@ def create_player_sessions(params = {}, options = {}) # 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. + # 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. # # @option params [String, StringIO, File] :zip_file # A data object containing your Realtime scripts and dependencies as a @@ -2489,35 +2487,32 @@ def create_script(params = {}, options = {}) end # Requests authorization to create or delete a peer connection between - # the VPC for your Amazon Web Services fleet and a virtual private cloud + # 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 Web Services - # Fleets][1]. + # more information, see [VPC Peering with Amazon GameLift Fleets][1]. # # 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. + # 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 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. + # 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 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. + # 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 @@ -2582,13 +2577,12 @@ def create_vpc_peering_authorization(params = {}, options = {}) # 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][1]. + # 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][1]. # # Before calling this operation to establish the peering connection, you # first need to call CreateVpcPeeringAuthorization and identify the VPC @@ -2598,12 +2592,12 @@ def create_vpc_peering_authorization(params = {}, options = {}) # 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 + # 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. @@ -2622,14 +2616,13 @@ def create_vpc_peering_authorization(params = {}, options = {}) # # @option params [required, String] :fleet_id # 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. + # ARN value. This tells Amazon GameLift which GameLift VPC to peer with. # # @option params [required, String] :peer_vpc_aws_account_id # 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. + # 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. # # @option params [required, String] :peer_vpc_id # A unique identifier for a VPC with resources to be accessed by your @@ -3149,7 +3142,7 @@ def delete_scaling_policy(params = {}, options = {}) # # **Learn more** # - # [Amazon Web Services Realtime Servers][1] + # [Amazon GameLift Realtime Servers][1] # # **Related actions** # @@ -3239,7 +3232,7 @@ def delete_vpc_peering_authorization(params = {}, options = {}) # CreateVpcPeeringAuthorization. # # Once a valid authorization exists, call this operation from the Amazon - # Web Services account that is used to manage the Amazon Web Services + # 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. # @@ -4856,7 +4849,7 @@ def describe_game_session_queues(params = {}, options = {}) # 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** # @@ -5343,7 +5336,7 @@ def describe_matchmaking_rule_sets(params = {}, options = {}) # 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** # @@ -5618,7 +5611,7 @@ def describe_scaling_policies(params = {}, options = {}) # # **Learn more** # - # [Amazon Web Services Realtime Servers][1] + # [Amazon GameLift Realtime Servers][1] # # **Related actions** # @@ -5709,11 +5702,11 @@ def describe_vpc_peering_authorizations(params = {}, options = {}) # 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. + # 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** # @@ -6327,7 +6320,7 @@ def list_game_servers(params = {}, options = {}) # # **Learn more** # - # [Amazon Web Services Realtime Servers][1] + # [Amazon GameLift Realtime Servers][1] # # **Related actions** # @@ -6465,13 +6458,13 @@ def list_tags_for_resource(params = {}, options = {}) # 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. + # 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 @@ -6496,15 +6489,15 @@ def list_tags_for_resource(params = {}, options = {}) # 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. + # 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 Web Services to take action whenever the fleet's + # policy tells Amazon GameLift 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 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 @@ -6600,9 +6593,9 @@ def list_tags_for_resource(params = {}, options = {}) # threshold before a scaling event is triggered. # # @option params [required, String] :metric_name - # 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][1]. + # 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][1]. # # * **ActivatingGameSessions** -- Game sessions in the process of being # created. @@ -6787,8 +6780,8 @@ def register_game_server(params = {}, options = {}) end # 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. + # 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 @@ -7274,26 +7267,26 @@ def start_fleet_actions(params = {}, options = {}) # 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 + # 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 + # 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 Web Services tries each + # 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 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 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: # @@ -7504,7 +7497,7 @@ def start_game_session_placement(params = {}, options = {}) # # @option params [String] :ticket_id # 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 + # 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. # @@ -7644,7 +7637,7 @@ def start_match_backfill(params = {}, options = {}) # # @option params [String] :ticket_id # 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 + # 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. # @@ -8714,7 +8707,7 @@ def update_game_server(params = {}, options = {}) # # @option params [String] :role_arn # The Amazon Resource Name ([ARN][1]) for an IAM role that allows Amazon - # Web Services to access your Amazon EC2 Auto Scaling groups. + # GameLift to access your Amazon EC2 Auto Scaling groups. # # # @@ -9339,13 +9332,13 @@ def update_runtime_configuration(params = {}, options = {}) # 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. + # 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 Web Services Realtime Servers][1] + # [Amazon GameLift Realtime Servers][1] # # **Related actions** # @@ -9373,12 +9366,11 @@ def update_runtime_configuration(params = {}, options = {}) # 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. + # 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. # # @option params [String, StringIO, File] :zip_file # A data object containing your Realtime scripts and dependencies as a @@ -9495,7 +9487,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-gamelift' - context[:gem_version] = '1.56.0' + context[:gem_version] = '1.57.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb b/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb index 3d10b673243..257cd1879c7 100644 --- a/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb +++ b/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb @@ -166,16 +166,16 @@ class AttributeValue < Struct.new( end # Temporary access credentials used for uploading game build files to - # Amazon Web Services. They are valid for a limited time. If they expire + # 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. # # @!attribute [rw] access_key_id - # Temporary key allowing access to the Amazon Web Services S3 account. + # Temporary key allowing access to the Amazon GameLift S3 account. # @return [String] # # @!attribute [rw] secret_access_key - # Temporary secret key allowing access to the Amazon Web Services S3 + # Temporary secret key allowing access to the Amazon GameLift S3 # account. # @return [String] # @@ -505,12 +505,12 @@ class CreateAliasOutput < Struct.new( # 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. + # 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 Web Services will report a + # found in your Amazon S3 bucket. Amazon GameLift will report a # `SizeOnDisk` of 0. # @return [Types::S3Location] # @@ -563,8 +563,8 @@ class CreateBuildInput < Struct.new( # 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. + # Amazon GameLift. Credentials have a limited life span. To refresh + # these credentials, call RequestUploadCredentials. # @return [Types::AwsCredentials] # # @!attribute [rw] storage_location @@ -1009,7 +1009,7 @@ class CreateFleetOutput < Struct.new( # # @!attribute [rw] role_arn # The Amazon Resource Name ([ARN][1]) for an IAM role that allows - # Amazon Web Services to access your Amazon EC2 Auto Scaling groups. + # Amazon GameLift to access your Amazon EC2 Auto Scaling groups. # # # @@ -1814,10 +1814,10 @@ class CreatePlayerSessionOutput < Struct.new( # # @!attribute [rw] player_data_map # 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. + # 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. # @return [Hash] # # @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreatePlayerSessionsInput AWS API Documentation @@ -1882,12 +1882,12 @@ class CreatePlayerSessionsOutput < Struct.new( # 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. + # 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. # @return [Types::S3Location] # # @!attribute [rw] zip_file @@ -1936,7 +1936,7 @@ class CreateScriptInput < Struct.new( # 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. # @return [Types::Script] # # @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateScriptOutput AWS API Documentation @@ -2013,15 +2013,15 @@ class CreateVpcPeeringAuthorizationOutput < Struct.new( # # @!attribute [rw] fleet_id # 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. + # or ARN value. This tells Amazon GameLift which GameLift VPC to peer + # with. # @return [String] # # @!attribute [rw] peer_vpc_aws_account_id # 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. + # 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. # @return [String] # # @!attribute [rw] peer_vpc_id @@ -5006,7 +5006,7 @@ class GameServer < Struct.new( # # @!attribute [rw] role_arn # The Amazon Resource Name ([ARN][1]) for an IAM role that allows - # Amazon Web Services to access your Amazon EC2 Auto Scaling groups. + # Amazon GameLift to access your Amazon EC2 Auto Scaling groups. # # # @@ -6247,18 +6247,16 @@ class InvalidRequestException < Struct.new( # @!attribute [rw] from_port # 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. # @return [Integer] # # @!attribute [rw] to_port # 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. # @return [Integer] # # @!attribute [rw] ip_range @@ -6285,10 +6283,10 @@ class IpPermission < Struct.new( # **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. # # @note When making an API call, you may pass LaunchTemplateSpecification # data as a hash: @@ -6309,9 +6307,9 @@ class IpPermission < Struct.new( # # @!attribute [rw] version # 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. + # 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. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/LaunchTemplateSpecification AWS API Documentation @@ -7565,9 +7563,8 @@ class PlayerLatencyPolicy < Struct.new( # @return [String] # # @!attribute [rw] 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. + # Port number for the game session. To connect to a Amazon GameLift + # server process, an app needs both the IP address and port number. # @return [Integer] # # @!attribute [rw] player_data @@ -7729,10 +7726,9 @@ class PriorityConfiguration < Struct.new( # @return [Integer] # # @!attribute [rw] metric_name - # 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][1]. + # 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][1]. # # * **ActivatingGameSessions** -- Game sessions in the process of # being created. @@ -8172,8 +8168,8 @@ class RuntimeConfiguration < Struct.new( end # 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. + # access by Amazon GameLift. This location is specified in CreateBuild, + # CreateScript, and UpdateScript requests. # # @note When making an API call, you may pass S3Location # data as a hash: @@ -8201,7 +8197,7 @@ class RuntimeConfiguration < Struct.new( # # @!attribute [rw] role_arn # The Amazon Resource Name ([ARN][1]) for an IAM role that allows - # Amazon Web Services to access the S3 bucket. + # Amazon GameLift to access the S3 bucket. # # # @@ -8210,10 +8206,10 @@ class RuntimeConfiguration < Struct.new( # # @!attribute [rw] object_version # 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. + # 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. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/S3Location AWS API Documentation @@ -8323,10 +8319,9 @@ class S3Location < Struct.new( # @return [Integer] # # @!attribute [rw] metric_name - # 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][1]. + # 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][1]. # # * **ActivatingGameSessions** -- Game sessions in the process of # being created. @@ -8466,7 +8461,7 @@ class ScalingPolicy < Struct.new( # # @!attribute [rw] storage_location # The location in Amazon S3 where build or script files are stored for - # access by Amazon Web Services. This location is specified in + # access by Amazon GameLift. This location is specified in # CreateBuild, CreateScript, and UpdateScript requests. # @return [Types::S3Location] # @@ -8886,9 +8881,9 @@ class StartGameSessionPlacementOutput < Struct.new( # # @!attribute [rw] ticket_id # 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. + # 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. # @return [String] # # @!attribute [rw] configuration_name @@ -8979,9 +8974,9 @@ class StartMatchBackfillOutput < Struct.new( # # @!attribute [rw] ticket_id # 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. + # 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. # @return [String] # # @!attribute [rw] configuration_name @@ -9300,10 +9295,9 @@ class TaggingFailedException < Struct.new( # 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. + # 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** # @@ -9818,7 +9812,7 @@ class UpdateFleetPortSettingsOutput < Struct.new( # # @!attribute [rw] role_arn # The Amazon Resource Name ([ARN][1]) for an IAM role that allows - # Amazon Web Services to access your Amazon EC2 Auto Scaling groups. + # Amazon GameLift to access your Amazon EC2 Auto Scaling groups. # # # @@ -10443,12 +10437,12 @@ class UpdateRuntimeConfigurationOutput < Struct.new( # 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. + # 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. # @return [Types::S3Location] # # @!attribute [rw] zip_file @@ -10481,7 +10475,7 @@ class UpdateScriptInput < Struct.new( # 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. # @return [Types::Script] # # @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateScriptOutput AWS API Documentation @@ -10529,7 +10523,7 @@ class ValidateMatchmakingRuleSetOutput < Struct.new( end # Represents an authorization for a VPC peering connection between the - # VPC for an Amazon Web Services fleet and another VPC on an account you + # 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. @@ -10592,7 +10586,7 @@ class VpcPeeringAuthorization < Struct.new( end # Represents a peering connection between a VPC on one of your Amazon - # Web Services accounts and the VPC for your Amazon Web Services fleets. + # 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. # @@ -10609,7 +10603,7 @@ class VpcPeeringAuthorization < Struct.new( # # @!attribute [rw] fleet_id # A unique identifier for the fleet. This ID determines the ID of the - # Amazon Web Services VPC for your fleet. + # Amazon GameLift VPC for your fleet. # @return [String] # # @!attribute [rw] fleet_arn @@ -10653,10 +10647,9 @@ class VpcPeeringAuthorization < Struct.new( # @return [String] # # @!attribute [rw] game_lift_vpc_id - # 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. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/VpcPeeringConnection AWS API Documentation diff --git a/gems/aws-sdk-mq/CHANGELOG.md b/gems/aws-sdk-mq/CHANGELOG.md index 0729047856d..74870ab0f2b 100644 --- a/gems/aws-sdk-mq/CHANGELOG.md +++ b/gems/aws-sdk-mq/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.47.0 (2022-04-25) +------------------ + +* Feature - 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. + 1.46.0 (2022-02-24) ------------------ diff --git a/gems/aws-sdk-mq/VERSION b/gems/aws-sdk-mq/VERSION index 0a3db35b241..21998d3c2d9 100644 --- a/gems/aws-sdk-mq/VERSION +++ b/gems/aws-sdk-mq/VERSION @@ -1 +1 @@ -1.46.0 +1.47.0 diff --git a/gems/aws-sdk-mq/lib/aws-sdk-mq.rb b/gems/aws-sdk-mq/lib/aws-sdk-mq.rb index dd07df9fec4..e76b14e0819 100644 --- a/gems/aws-sdk-mq/lib/aws-sdk-mq.rb +++ b/gems/aws-sdk-mq/lib/aws-sdk-mq.rb @@ -48,6 +48,6 @@ # @!group service module Aws::MQ - GEM_VERSION = '1.46.0' + GEM_VERSION = '1.47.0' end diff --git a/gems/aws-sdk-mq/lib/aws-sdk-mq/client.rb b/gems/aws-sdk-mq/lib/aws-sdk-mq/client.rb index 00bf3ba17b7..0382accf7fb 100644 --- a/gems/aws-sdk-mq/lib/aws-sdk-mq/client.rb +++ b/gems/aws-sdk-mq/lib/aws-sdk-mq/client.rb @@ -731,6 +731,7 @@ def delete_user(params = {}, options = {}) # # @return [Types::DescribeBrokerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # + # * {Types::DescribeBrokerResponse#actions_required #actions_required} => Array<Types::ActionRequired> # * {Types::DescribeBrokerResponse#authentication_strategy #authentication_strategy} => String # * {Types::DescribeBrokerResponse#auto_minor_version_upgrade #auto_minor_version_upgrade} => Boolean # * {Types::DescribeBrokerResponse#broker_arn #broker_arn} => String @@ -768,6 +769,9 @@ def delete_user(params = {}, options = {}) # # @example Response structure # + # resp.actions_required #=> Array + # resp.actions_required[0].action_required_code #=> String + # resp.actions_required[0].action_required_info #=> String # resp.authentication_strategy #=> String, one of "SIMPLE", "LDAP" # resp.auto_minor_version_upgrade #=> Boolean # resp.broker_arn #=> String @@ -778,7 +782,7 @@ def delete_user(params = {}, options = {}) # resp.broker_instances[0].endpoints[0] #=> String # resp.broker_instances[0].ip_address #=> String # resp.broker_name #=> String - # resp.broker_state #=> String, one of "CREATION_IN_PROGRESS", "CREATION_FAILED", "DELETION_IN_PROGRESS", "RUNNING", "REBOOT_IN_PROGRESS" + # resp.broker_state #=> String, one of "CREATION_IN_PROGRESS", "CREATION_FAILED", "DELETION_IN_PROGRESS", "RUNNING", "REBOOT_IN_PROGRESS", "CRITICAL_ACTION_REQUIRED" # resp.configurations.current.id #=> String # resp.configurations.current.revision #=> Integer # resp.configurations.history #=> Array @@ -1095,7 +1099,7 @@ def describe_user(params = {}, options = {}) # resp.broker_summaries[0].broker_arn #=> String # resp.broker_summaries[0].broker_id #=> String # resp.broker_summaries[0].broker_name #=> String - # resp.broker_summaries[0].broker_state #=> String, one of "CREATION_IN_PROGRESS", "CREATION_FAILED", "DELETION_IN_PROGRESS", "RUNNING", "REBOOT_IN_PROGRESS" + # resp.broker_summaries[0].broker_state #=> String, one of "CREATION_IN_PROGRESS", "CREATION_FAILED", "DELETION_IN_PROGRESS", "RUNNING", "REBOOT_IN_PROGRESS", "CRITICAL_ACTION_REQUIRED" # resp.broker_summaries[0].created #=> Time # resp.broker_summaries[0].deployment_mode #=> String, one of "SINGLE_INSTANCE", "ACTIVE_STANDBY_MULTI_AZ", "CLUSTER_MULTI_AZ" # resp.broker_summaries[0].engine_type #=> String, one of "ACTIVEMQ", "RABBITMQ" @@ -1506,7 +1510,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-mq' - context[:gem_version] = '1.46.0' + context[:gem_version] = '1.47.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-mq/lib/aws-sdk-mq/client_api.rb b/gems/aws-sdk-mq/lib/aws-sdk-mq/client_api.rb index 836bf0913e0..3f7af202906 100644 --- a/gems/aws-sdk-mq/lib/aws-sdk-mq/client_api.rb +++ b/gems/aws-sdk-mq/lib/aws-sdk-mq/client_api.rb @@ -13,6 +13,7 @@ module ClientApi include Seahorse::Model + ActionRequired = Shapes::StructureShape.new(name: 'ActionRequired') AuthenticationStrategy = Shapes::StringShape.new(name: 'AuthenticationStrategy') AvailabilityZone = Shapes::StructureShape.new(name: 'AvailabilityZone') BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException') @@ -117,6 +118,7 @@ module ClientApi __double = Shapes::FloatShape.new(name: '__double') __integer = Shapes::IntegerShape.new(name: '__integer') __integerMin5Max100 = Shapes::IntegerShape.new(name: '__integerMin5Max100') + __listOfActionRequired = Shapes::ListShape.new(name: '__listOfActionRequired') __listOfAvailabilityZone = Shapes::ListShape.new(name: '__listOfAvailabilityZone') __listOfBrokerEngineType = Shapes::ListShape.new(name: '__listOfBrokerEngineType') __listOfBrokerInstance = Shapes::ListShape.new(name: '__listOfBrokerInstance') @@ -137,6 +139,10 @@ module ClientApi __timestampIso8601 = Shapes::TimestampShape.new(name: '__timestampIso8601', timestampFormat: "iso8601") __timestampUnix = Shapes::TimestampShape.new(name: '__timestampUnix', timestampFormat: "unixTimestamp") + ActionRequired.add_member(:action_required_code, Shapes::ShapeRef.new(shape: __string, location_name: "actionRequiredCode")) + ActionRequired.add_member(:action_required_info, Shapes::ShapeRef.new(shape: __string, location_name: "actionRequiredInfo")) + ActionRequired.struct_class = Types::ActionRequired + AvailabilityZone.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name")) AvailabilityZone.struct_class = Types::AvailabilityZone @@ -350,6 +356,7 @@ module ClientApi DescribeBrokerInstanceOptionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken")) DescribeBrokerInstanceOptionsResponse.struct_class = Types::DescribeBrokerInstanceOptionsResponse + DescribeBrokerOutput.add_member(:actions_required, Shapes::ShapeRef.new(shape: __listOfActionRequired, location_name: "actionsRequired")) DescribeBrokerOutput.add_member(:authentication_strategy, Shapes::ShapeRef.new(shape: AuthenticationStrategy, location_name: "authenticationStrategy")) DescribeBrokerOutput.add_member(:auto_minor_version_upgrade, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "autoMinorVersionUpgrade")) DescribeBrokerOutput.add_member(:broker_arn, Shapes::ShapeRef.new(shape: __string, location_name: "brokerArn")) @@ -383,6 +390,7 @@ module ClientApi DescribeBrokerRequest.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "broker-id")) DescribeBrokerRequest.struct_class = Types::DescribeBrokerRequest + DescribeBrokerResponse.add_member(:actions_required, Shapes::ShapeRef.new(shape: __listOfActionRequired, location_name: "actionsRequired")) DescribeBrokerResponse.add_member(:authentication_strategy, Shapes::ShapeRef.new(shape: AuthenticationStrategy, location_name: "authenticationStrategy")) DescribeBrokerResponse.add_member(:auto_minor_version_upgrade, Shapes::ShapeRef.new(shape: __boolean, location_name: "autoMinorVersionUpgrade")) DescribeBrokerResponse.add_member(:broker_arn, Shapes::ShapeRef.new(shape: __string, location_name: "brokerArn")) @@ -714,6 +722,8 @@ module ClientApi WeeklyStartTime.add_member(:time_zone, Shapes::ShapeRef.new(shape: __string, location_name: "timeZone")) WeeklyStartTime.struct_class = Types::WeeklyStartTime + __listOfActionRequired.member = Shapes::ShapeRef.new(shape: ActionRequired) + __listOfAvailabilityZone.member = Shapes::ShapeRef.new(shape: AvailabilityZone) __listOfBrokerEngineType.member = Shapes::ShapeRef.new(shape: BrokerEngineType) diff --git a/gems/aws-sdk-mq/lib/aws-sdk-mq/types.rb b/gems/aws-sdk-mq/lib/aws-sdk-mq/types.rb index d879274a611..7320254ceb7 100644 --- a/gems/aws-sdk-mq/lib/aws-sdk-mq/types.rb +++ b/gems/aws-sdk-mq/lib/aws-sdk-mq/types.rb @@ -10,6 +10,36 @@ module Aws::MQ module Types + # The action required to resolve a broker issue when the broker is in a + # CRITICAL\_ACTION\_REQUIRED state. + # + # @!attribute [rw] action_required_code + # 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][1]. Each code references + # a topic with detailed information, instructions, and recommendations + # for how to resolve the issue and prevent future occurrences. + # + # + # + # [1]: https://docs.aws.amazon.com//latest/developer-guide/troubleshooting-action-required-codes.html + # @return [String] + # + # @!attribute [rw] action_required_info + # Information about the action required to resolve your broker issue + # when the broker is in a CRITICAL\_ACTION\_REQUIRED state. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ActionRequired AWS API Documentation + # + class ActionRequired < Struct.new( + :action_required_code, + :action_required_info) + SENSITIVE = [] + include Aws::Structure + end + # Name of the availability zone. # # @!attribute [rw] name @@ -1214,6 +1244,10 @@ class DescribeBrokerInstanceOptionsResponse < Struct.new( # Returns information about the specified broker. # + # @!attribute [rw] actions_required + # A list of actions required for a broker. + # @return [Array] + # # @!attribute [rw] authentication_strategy # The authentication strategy used to secure the broker. The default # is SIMPLE. @@ -1361,6 +1395,7 @@ class DescribeBrokerInstanceOptionsResponse < Struct.new( # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeBrokerOutput AWS API Documentation # class DescribeBrokerOutput < Struct.new( + :actions_required, :authentication_strategy, :auto_minor_version_upgrade, :broker_arn, @@ -1411,6 +1446,9 @@ class DescribeBrokerRequest < Struct.new( include Aws::Structure end + # @!attribute [rw] actions_required + # @return [Array] + # # @!attribute [rw] authentication_strategy # Optional. The authentication strategy used to secure the broker. The # default is SIMPLE. @@ -1520,6 +1558,7 @@ class DescribeBrokerRequest < Struct.new( # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeBrokerResponse AWS API Documentation # class DescribeBrokerResponse < Struct.new( + :actions_required, :authentication_strategy, :auto_minor_version_upgrade, :broker_arn, diff --git a/gems/aws-sdk-rdsdataservice/CHANGELOG.md b/gems/aws-sdk-rdsdataservice/CHANGELOG.md index 1e74134c26c..c9e8312f790 100644 --- a/gems/aws-sdk-rdsdataservice/CHANGELOG.md +++ b/gems/aws-sdk-rdsdataservice/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.35.0 (2022-04-25) +------------------ + +* Feature - Support to receive SQL query results in the form of a simplified JSON string. This enables developers using the new JSON string format to more easily convert it to an object using popular JSON string parsing libraries. + 1.34.0 (2022-02-24) ------------------ diff --git a/gems/aws-sdk-rdsdataservice/VERSION b/gems/aws-sdk-rdsdataservice/VERSION index 2b17ffd5042..2aeaa11ee27 100644 --- a/gems/aws-sdk-rdsdataservice/VERSION +++ b/gems/aws-sdk-rdsdataservice/VERSION @@ -1 +1 @@ -1.34.0 +1.35.0 diff --git a/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice.rb b/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice.rb index d6ba1408fde..96d0d370000 100644 --- a/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice.rb +++ b/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice.rb @@ -48,6 +48,6 @@ # @!group service module Aws::RDSDataService - GEM_VERSION = '1.34.0' + GEM_VERSION = '1.35.0' end diff --git a/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/client.rb b/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/client.rb index bf17d52abac..bf2772a7117 100644 --- a/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/client.rb +++ b/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/client.rb @@ -641,8 +641,8 @@ def execute_sql(params = {}, options = {}) # `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. # # @option params [Boolean] :continue_after_timeout # A value that indicates whether to continue running the statement after @@ -657,6 +657,20 @@ def execute_sql(params = {}, options = {}) # @option params [String] :database # The name of the database. # + # @option params [String] :format_records_as + # 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][1] in the *Amazon Aurora User Guide*. + # + # + # + # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html + # # @option params [Boolean] :include_result_metadata # A value that indicates whether to include metadata in the results. # @@ -697,6 +711,7 @@ def execute_sql(params = {}, options = {}) # @return [Types::ExecuteStatementResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ExecuteStatementResponse#column_metadata #column_metadata} => Array<Types::ColumnMetadata> + # * {Types::ExecuteStatementResponse#formatted_records #formatted_records} => String # * {Types::ExecuteStatementResponse#generated_fields #generated_fields} => Array<Types::Field> # * {Types::ExecuteStatementResponse#number_of_records_updated #number_of_records_updated} => Integer # * {Types::ExecuteStatementResponse#records #records} => Array<Array<Types::Field>> @@ -706,6 +721,7 @@ def execute_sql(params = {}, options = {}) # resp = client.execute_statement({ # continue_after_timeout: false, # database: "DbName", + # format_records_as: "NONE", # accepts NONE, JSON # include_result_metadata: false, # parameters: [ # { @@ -735,6 +751,7 @@ def execute_sql(params = {}, options = {}) # resource_arn: "Arn", # required # result_set_options: { # decimal_return_type: "STRING", # accepts STRING, DOUBLE_OR_LONG + # long_return_type: "STRING", # accepts STRING, LONG # }, # schema: "DbName", # secret_arn: "Arn", # required @@ -759,6 +776,7 @@ def execute_sql(params = {}, options = {}) # resp.column_metadata[0].table_name #=> String # resp.column_metadata[0].type #=> Integer # resp.column_metadata[0].type_name #=> String + # resp.formatted_records #=> String # resp.generated_fields #=> Array # resp.generated_fields[0].array_value.array_values #=> Array # resp.generated_fields[0].array_value.array_values[0] #=> Types::ArrayValue @@ -855,7 +873,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-rdsdataservice' - context[:gem_version] = '1.34.0' + context[:gem_version] = '1.35.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/client_api.rb b/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/client_api.rb index 7abecce5a45..c10b4273e70 100644 --- a/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/client_api.rb +++ b/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/client_api.rb @@ -13,6 +13,7 @@ module ClientApi include Seahorse::Model + AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException') Arn = Shapes::StringShape.new(name: 'Arn') ArrayOfArray = Shapes::ListShape.new(name: 'ArrayOfArray') ArrayValue = Shapes::UnionShape.new(name: 'ArrayValue') @@ -44,16 +45,19 @@ module ClientApi Field = Shapes::UnionShape.new(name: 'Field') FieldList = Shapes::ListShape.new(name: 'FieldList') ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException') + FormattedSqlRecords = Shapes::StringShape.new(name: 'FormattedSqlRecords') Id = Shapes::StringShape.new(name: 'Id') Integer = Shapes::IntegerShape.new(name: 'Integer') InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException') Long = Shapes::IntegerShape.new(name: 'Long') LongArray = Shapes::ListShape.new(name: 'LongArray') + LongReturnType = Shapes::StringShape.new(name: 'LongReturnType') Metadata = Shapes::ListShape.new(name: 'Metadata') NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException') ParameterName = Shapes::StringShape.new(name: 'ParameterName') Record = Shapes::StructureShape.new(name: 'Record') Records = Shapes::ListShape.new(name: 'Records') + RecordsFormatType = Shapes::StringShape.new(name: 'RecordsFormatType') RecordsUpdated = Shapes::IntegerShape.new(name: 'RecordsUpdated') ResultFrame = Shapes::StructureShape.new(name: 'ResultFrame') ResultSetMetadata = Shapes::StructureShape.new(name: 'ResultSetMetadata') @@ -79,6 +83,9 @@ module ClientApi UpdateResults = Shapes::ListShape.new(name: 'UpdateResults') Value = Shapes::UnionShape.new(name: 'Value') + AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message")) + AccessDeniedException.struct_class = Types::AccessDeniedException + ArrayOfArray.member = Shapes::ShapeRef.new(shape: ArrayValue) ArrayValue.add_member(:array_values, Shapes::ShapeRef.new(shape: ArrayOfArray, location_name: "arrayValues")) @@ -161,6 +168,7 @@ module ClientApi ExecuteStatementRequest.add_member(:continue_after_timeout, Shapes::ShapeRef.new(shape: Boolean, location_name: "continueAfterTimeout")) ExecuteStatementRequest.add_member(:database, Shapes::ShapeRef.new(shape: DbName, location_name: "database")) + ExecuteStatementRequest.add_member(:format_records_as, Shapes::ShapeRef.new(shape: RecordsFormatType, location_name: "formatRecordsAs")) ExecuteStatementRequest.add_member(:include_result_metadata, Shapes::ShapeRef.new(shape: Boolean, location_name: "includeResultMetadata")) ExecuteStatementRequest.add_member(:parameters, Shapes::ShapeRef.new(shape: SqlParametersList, location_name: "parameters")) ExecuteStatementRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn")) @@ -172,6 +180,7 @@ module ClientApi ExecuteStatementRequest.struct_class = Types::ExecuteStatementRequest ExecuteStatementResponse.add_member(:column_metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "columnMetadata")) + ExecuteStatementResponse.add_member(:formatted_records, Shapes::ShapeRef.new(shape: FormattedSqlRecords, location_name: "formattedRecords")) ExecuteStatementResponse.add_member(:generated_fields, Shapes::ShapeRef.new(shape: FieldList, location_name: "generatedFields")) ExecuteStatementResponse.add_member(:number_of_records_updated, Shapes::ShapeRef.new(shape: RecordsUpdated, location_name: "numberOfRecordsUpdated")) ExecuteStatementResponse.add_member(:records, Shapes::ShapeRef.new(shape: SqlRecords, location_name: "records")) @@ -223,6 +232,7 @@ module ClientApi ResultSetMetadata.struct_class = Types::ResultSetMetadata ResultSetOptions.add_member(:decimal_return_type, Shapes::ShapeRef.new(shape: DecimalReturnType, location_name: "decimalReturnType")) + ResultSetOptions.add_member(:long_return_type, Shapes::ShapeRef.new(shape: LongReturnType, location_name: "longReturnType")) ResultSetOptions.struct_class = Types::ResultSetOptions RollbackTransactionRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn")) @@ -316,6 +326,7 @@ module ClientApi o.http_request_uri = "/BatchExecute" o.input = Shapes::ShapeRef.new(shape: BatchExecuteStatementRequest) o.output = Shapes::ShapeRef.new(shape: BatchExecuteStatementResponse) + o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: StatementTimeoutException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) @@ -329,6 +340,7 @@ module ClientApi o.http_request_uri = "/BeginTransaction" o.input = Shapes::ShapeRef.new(shape: BeginTransactionRequest) o.output = Shapes::ShapeRef.new(shape: BeginTransactionResponse) + o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: StatementTimeoutException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) @@ -342,6 +354,7 @@ module ClientApi o.http_request_uri = "/CommitTransaction" o.input = Shapes::ShapeRef.new(shape: CommitTransactionRequest) o.output = Shapes::ShapeRef.new(shape: CommitTransactionResponse) + o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: StatementTimeoutException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) @@ -357,6 +370,7 @@ module ClientApi o.deprecated = true o.input = Shapes::ShapeRef.new(shape: ExecuteSqlRequest) o.output = Shapes::ShapeRef.new(shape: ExecuteSqlResponse) + o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) @@ -369,6 +383,7 @@ module ClientApi o.http_request_uri = "/Execute" o.input = Shapes::ShapeRef.new(shape: ExecuteStatementRequest) o.output = Shapes::ShapeRef.new(shape: ExecuteStatementResponse) + o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: StatementTimeoutException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) @@ -382,6 +397,7 @@ module ClientApi o.http_request_uri = "/RollbackTransaction" o.input = Shapes::ShapeRef.new(shape: RollbackTransactionRequest) o.output = Shapes::ShapeRef.new(shape: RollbackTransactionResponse) + o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: StatementTimeoutException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) diff --git a/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/errors.rb b/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/errors.rb index 74b6443a0d7..7d3f364b539 100644 --- a/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/errors.rb +++ b/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/errors.rb @@ -27,6 +27,7 @@ module Aws::RDSDataService # See {Seahorse::Client::RequestContext} for more information. # # ## Error Classes + # * {AccessDeniedException} # * {BadRequestException} # * {ForbiddenException} # * {InternalServerErrorException} @@ -40,6 +41,21 @@ module Errors extend Aws::Errors::DynamicErrors + class AccessDeniedException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::RDSDataService::Types::AccessDeniedException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + class BadRequestException < ServiceError # @param [Seahorse::Client::RequestContext] context diff --git a/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb b/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb index bb3562b3ac3..2069c2ca37b 100644 --- a/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb +++ b/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb @@ -10,6 +10,19 @@ module Aws::RDSDataService module Types + # You do not have sufficient access to perform this action. + # + # @!attribute [rw] message + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/AccessDeniedException AWS API Documentation + # + class AccessDeniedException < Struct.new( + :message) + SENSITIVE = [] + include Aws::Structure + end + # Contains an array. # # @note ArrayValue is a union - when making an API calls you must set exactly one of the members. @@ -25,11 +38,11 @@ module Types # @return [Array] # # @!attribute [rw] double_values - # An array of integers. + # An array of floating-point numbers. # @return [Array] # # @!attribute [rw] long_values - # An array of floating point numbers. + # An array of integers. # @return [Array] # # @!attribute [rw] string_values @@ -446,6 +459,7 @@ class ExecuteSqlResponse < Struct.new( # { # continue_after_timeout: false, # database: "DbName", + # format_records_as: "NONE", # accepts NONE, JSON # include_result_metadata: false, # parameters: [ # { @@ -475,6 +489,7 @@ class ExecuteSqlResponse < Struct.new( # resource_arn: "Arn", # required # result_set_options: { # decimal_return_type: "STRING", # accepts STRING, DOUBLE_OR_LONG + # long_return_type: "STRING", # accepts STRING, LONG # }, # schema: "DbName", # secret_arn: "Arn", # required @@ -497,6 +512,21 @@ class ExecuteSqlResponse < Struct.new( # The name of the database. # @return [String] # + # @!attribute [rw] format_records_as + # 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][1] in the *Amazon Aurora User Guide*. + # + # + # + # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html + # @return [String] + # # @!attribute [rw] include_result_metadata # A value that indicates whether to include metadata in the results. # @return [Boolean] @@ -547,6 +577,7 @@ class ExecuteSqlResponse < Struct.new( class ExecuteStatementRequest < Struct.new( :continue_after_timeout, :database, + :format_records_as, :include_result_metadata, :parameters, :resource_arn, @@ -563,11 +594,22 @@ class ExecuteStatementRequest < Struct.new( # statement against a database. # # @!attribute [rw] column_metadata - # 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`. # @return [Array] # + # @!attribute [rw] formatted_records + # 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. + # @return [String] + # # @!attribute [rw] generated_fields - # Values for fields generated during the request. + # Values for fields generated during a DML request. # #

The generatedFields data isn't supported by Aurora PostgreSQL. To get the values of generated fields, use the RETURNING clause. For more information, see Returning Data From Modified Rows in the PostgreSQL documentation.

# @return [Array] @@ -577,13 +619,15 @@ class ExecuteStatementRequest < Struct.new( # @return [Integer] # # @!attribute [rw] records - # 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`. # @return [Array>] # # @see http://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/ExecuteStatementResponse AWS API Documentation # class ExecuteStatementResponse < Struct.new( :column_metadata, + :formatted_records, :generated_fields, :number_of_records_updated, :records) @@ -687,6 +731,10 @@ class NotFoundException < Struct.new( # A record returned by a call. # + # This data structure is only used with the deprecated `ExecuteSql` + # operation. Use the `BatchExecuteStatement` or `ExecuteStatement` + # operation instead. + # # @!attribute [rw] values # The values returned in the record. # @return [Array] @@ -701,6 +749,10 @@ class Record < Struct.new( # 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. + # # @!attribute [rw] records # The records in the result set. # @return [Array] @@ -744,6 +796,7 @@ class ResultSetMetadata < Struct.new( # # { # decimal_return_type: "STRING", # accepts STRING, DOUBLE_OR_LONG + # long_return_type: "STRING", # accepts STRING, LONG # } # # @!attribute [rw] decimal_return_type @@ -758,10 +811,18 @@ class ResultSetMetadata < Struct.new( # working with currency values. # @return [String] # + # @!attribute [rw] long_return_type + # 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. + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/ResultSetOptions AWS API Documentation # class ResultSetOptions < Struct.new( - :decimal_return_type) + :decimal_return_type, + :long_return_type) SENSITIVE = [] include Aws::Structure end @@ -896,7 +957,7 @@ class SqlParameter < Struct.new( # The result of a SQL statement. # - #

This data type is deprecated.

+ #

This data structure is only used with the deprecated ExecuteSql operation. Use the BatchExecuteStatement or ExecuteStatement operation instead.

# # @!attribute [rw] number_of_records_updated # The number of records updated by a SQL statement. @@ -937,6 +998,10 @@ class StatementTimeoutException < Struct.new( # 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. + # # @!attribute [rw] attributes # The attributes returned in the record. # @return [Array] @@ -965,7 +1030,7 @@ class UpdateResult < Struct.new( # Contains the value of a column. # - #

This data type is deprecated.

+ #

This data structure is only used with the deprecated ExecuteSql operation. Use the BatchExecuteStatement or ExecuteStatement operation instead.

# # @note Value is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Value corresponding to the set member. # diff --git a/gems/aws-sdk-s3/CHANGELOG.md b/gems/aws-sdk-s3/CHANGELOG.md index d3b31d6ebdc..997213eadd5 100644 --- a/gems/aws-sdk-s3/CHANGELOG.md +++ b/gems/aws-sdk-s3/CHANGELOG.md @@ -1,6 +1,9 @@ Unreleased Changes ------------------ +1.113.1 (2022-04-25) +------------------ + * Issue - Rewind the underlying file on a streaming retry that is not a truncated body (#2692). 1.113.0 (2022-02-24) diff --git a/gems/aws-sdk-s3/VERSION b/gems/aws-sdk-s3/VERSION index 7bd0f252f61..d08163123b2 100644 --- a/gems/aws-sdk-s3/VERSION +++ b/gems/aws-sdk-s3/VERSION @@ -1 +1 @@ -1.113.0 +1.113.1 diff --git a/gems/aws-sdk-s3/lib/aws-sdk-s3.rb b/gems/aws-sdk-s3/lib/aws-sdk-s3.rb index a8967388f9d..70752968a33 100644 --- a/gems/aws-sdk-s3/lib/aws-sdk-s3.rb +++ b/gems/aws-sdk-s3/lib/aws-sdk-s3.rb @@ -69,6 +69,6 @@ # @!group service module Aws::S3 - GEM_VERSION = '1.113.0' + GEM_VERSION = '1.113.1' end diff --git a/gems/aws-sdk-s3/lib/aws-sdk-s3/client.rb b/gems/aws-sdk-s3/lib/aws-sdk-s3/client.rb index 3202eb7439f..4b8b46f405c 100644 --- a/gems/aws-sdk-s3/lib/aws-sdk-s3/client.rb +++ b/gems/aws-sdk-s3/lib/aws-sdk-s3/client.rb @@ -15332,7 +15332,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-s3' - context[:gem_version] = '1.113.0' + context[:gem_version] = '1.113.1' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-securityhub/CHANGELOG.md b/gems/aws-sdk-securityhub/CHANGELOG.md index 4ecea4941cd..8e8da140aca 100644 --- a/gems/aws-sdk-securityhub/CHANGELOG.md +++ b/gems/aws-sdk-securityhub/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.64.0 (2022-04-25) +------------------ + +* Feature - Security Hub now lets you opt-out of auto-enabling the defaults standards (CIS and FSBP) in accounts that are auto-enabled with Security Hub via Security Hub's integration with AWS Organizations. + 1.63.0 (2022-04-05) ------------------ diff --git a/gems/aws-sdk-securityhub/VERSION b/gems/aws-sdk-securityhub/VERSION index af92bdd9f58..9405730420f 100644 --- a/gems/aws-sdk-securityhub/VERSION +++ b/gems/aws-sdk-securityhub/VERSION @@ -1 +1 @@ -1.63.0 +1.64.0 diff --git a/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub.rb b/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub.rb index 8d7e0fadced..962163beeec 100644 --- a/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub.rb +++ b/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub.rb @@ -48,6 +48,6 @@ # @!group service module Aws::SecurityHub - GEM_VERSION = '1.63.0' + GEM_VERSION = '1.64.0' end diff --git a/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/client.rb b/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/client.rb index 909ee7e3760..aa3947ca731 100644 --- a/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/client.rb +++ b/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/client.rb @@ -3736,9 +3736,11 @@ def create_action_target(params = {}, options = {}) # aggregation Region. # # For more details about cross-Region replication, see [Configuring - # finding - # aggregation](securityhub/latest/userguide/finding-aggregation.html) in - # the *Security Hub User Guide*. + # finding aggregation][1] in the *Security Hub User Guide*. + # + # + # + # [1]: https://docs.aws.amazon.com/securityhub/latest/userguide/finding-aggregation.html # # @option params [required, String] :region_linking_mode # Indicates whether to aggregate findings from all of the available @@ -4838,11 +4840,13 @@ def describe_hub(params = {}, options = {}) # # * {Types::DescribeOrganizationConfigurationResponse#auto_enable #auto_enable} => Boolean # * {Types::DescribeOrganizationConfigurationResponse#member_account_limit_reached #member_account_limit_reached} => Boolean + # * {Types::DescribeOrganizationConfigurationResponse#auto_enable_standards #auto_enable_standards} => String # # @example Response structure # # resp.auto_enable #=> Boolean # resp.member_account_limit_reached #=> Boolean + # resp.auto_enable_standards #=> String, one of "NONE", "DEFAULT" # # @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeOrganizationConfiguration AWS API Documentation # @@ -10311,12 +10315,28 @@ def update_insight(params = {}, options = {}) # To automatically enable Security Hub for new accounts, set this to # `true`. # + # @option params [String] :auto_enable_standards + # Whether to automatically enable Security Hub [default standards][1] + # 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`. + # + # + # + # [1]: https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards-enable-disable.html + # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # @example Request syntax with placeholder values # # resp = client.update_organization_configuration({ # auto_enable: false, # required + # auto_enable_standards: "NONE", # accepts NONE, DEFAULT # }) # # @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateOrganizationConfiguration AWS API Documentation @@ -10400,7 +10420,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-securityhub' - context[:gem_version] = '1.63.0' + context[:gem_version] = '1.64.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/client_api.rb b/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/client_api.rb index d16b23b1bfc..32c69aedfe3 100644 --- a/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/client_api.rb +++ b/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/client_api.rb @@ -36,6 +36,7 @@ module ClientApi AdminStatus = Shapes::StringShape.new(name: 'AdminStatus') AdminsMaxResults = Shapes::IntegerShape.new(name: 'AdminsMaxResults') ArnList = Shapes::ListShape.new(name: 'ArnList') + AutoEnableStandards = Shapes::StringShape.new(name: 'AutoEnableStandards') AvailabilityZone = Shapes::StructureShape.new(name: 'AvailabilityZone') AvailabilityZones = Shapes::ListShape.new(name: 'AvailabilityZones') AwsApiCallAction = Shapes::StructureShape.new(name: 'AwsApiCallAction') @@ -3614,6 +3615,7 @@ module ClientApi DescribeOrganizationConfigurationResponse.add_member(:auto_enable, Shapes::ShapeRef.new(shape: Boolean, location_name: "AutoEnable")) DescribeOrganizationConfigurationResponse.add_member(:member_account_limit_reached, Shapes::ShapeRef.new(shape: Boolean, location_name: "MemberAccountLimitReached")) + DescribeOrganizationConfigurationResponse.add_member(:auto_enable_standards, Shapes::ShapeRef.new(shape: AutoEnableStandards, location_name: "AutoEnableStandards")) DescribeOrganizationConfigurationResponse.struct_class = Types::DescribeOrganizationConfigurationResponse DescribeProductsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken")) @@ -4497,6 +4499,7 @@ module ClientApi UpdateInsightResponse.struct_class = Types::UpdateInsightResponse UpdateOrganizationConfigurationRequest.add_member(:auto_enable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "AutoEnable")) + UpdateOrganizationConfigurationRequest.add_member(:auto_enable_standards, Shapes::ShapeRef.new(shape: AutoEnableStandards, location_name: "AutoEnableStandards")) UpdateOrganizationConfigurationRequest.struct_class = Types::UpdateOrganizationConfigurationRequest UpdateOrganizationConfigurationResponse.struct_class = Types::UpdateOrganizationConfigurationResponse diff --git a/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb b/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb index fae48cfaf2e..18b0e606709 100644 --- a/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb +++ b/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb @@ -20757,36 +20757,24 @@ class AwsSecretsManagerSecretRotationRules < Struct.new( # 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`. + # finding. You cannot update this attribute with `BatchImportFindings` + # or `BatchUpdateFindings`. The exception to this is a custom + # integration. # - # Security Hub does not synchronize those two attributes. + # When you use the Security Hub console or API to filter findings by + # product name, you use this attribute. # @return [String] # # @!attribute [rw] company_name # 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`. + # finding. You cannot update this attribute with `BatchImportFindings` + # or `BatchUpdateFindings`. The exception to this is a custom + # integration. # - # Security Hub does not synchronize those two attributes. + # When you use the Security Hub console or API to filter findings by + # company name, you use this attribute. # @return [String] # # @!attribute [rw] region @@ -21805,19 +21793,11 @@ class AwsSecurityFinding < Struct.new( # # @!attribute [rw] product_name # 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. # @return [Array] # # @!attribute [rw] company_name # 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. # @return [Array] # # @!attribute [rw] user_defined_fields @@ -28296,11 +28276,28 @@ class DescribeOrganizationConfigurationRequest < Aws::EmptyStructure; end # associated with the Security Hub administrator account. # @return [Boolean] # + # @!attribute [rw] auto_enable_standards + # Whether to automatically enable Security Hub [default standards][1] + # 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. + # + # + # + # [1]: https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards-enable-disable.html + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeOrganizationConfigurationResponse AWS API Documentation # class DescribeOrganizationConfigurationResponse < Struct.new( :auto_enable, - :member_account_limit_reached) + :member_account_limit_reached, + :auto_enable_standards) SENSITIVE = [] include Aws::Structure end @@ -40801,6 +40798,7 @@ class UpdateInsightResponse < Aws::EmptyStructure; end # # { # auto_enable: false, # required + # auto_enable_standards: "NONE", # accepts NONE, DEFAULT # } # # @!attribute [rw] auto_enable @@ -40814,10 +40812,27 @@ class UpdateInsightResponse < Aws::EmptyStructure; end # `true`. # @return [Boolean] # + # @!attribute [rw] auto_enable_standards + # Whether to automatically enable Security Hub [default standards][1] + # 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`. + # + # + # + # [1]: https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards-enable-disable.html + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateOrganizationConfigurationRequest AWS API Documentation # class UpdateOrganizationConfigurationRequest < Struct.new( - :auto_enable) + :auto_enable, + :auto_enable_standards) SENSITIVE = [] include Aws::Structure end