Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
__This operation is used with the GameLift FleetIQ solution and game server groups.__
Reinstates activity on a game server group after it has been suspended. A game server group might be suspended by theSuspendGameServerGroup operation, or it might be suspended involuntarily due to a configuration problem. In the second case, you can manually resume activity on the group once the configuration problem has been resolved. Refer to the game server group status and status reason for more information on why group activity is suspended.
To resume activity, specify a game server group ARN and the type of
activity to be resumed. If successful, a GameServerGroup object is
returned showing that the resumed activity is no longer listed in
SuspendedActions
.
Learn more
Related actions
CreateGameServerGroup | ListGameServerGroups | DescribeGameServerGroup | UpdateGameServerGroup | DeleteGameServerGroup | ResumeGameServerGroup | SuspendGameServerGroup | DescribeGameServerInstances | All APIs by task
Synopsis
- data ResumeGameServerGroup = ResumeGameServerGroup' {}
- newResumeGameServerGroup :: Text -> NonEmpty GameServerGroupAction -> ResumeGameServerGroup
- resumeGameServerGroup_gameServerGroupName :: Lens' ResumeGameServerGroup Text
- resumeGameServerGroup_resumeActions :: Lens' ResumeGameServerGroup (NonEmpty GameServerGroupAction)
- data ResumeGameServerGroupResponse = ResumeGameServerGroupResponse' {}
- newResumeGameServerGroupResponse :: Int -> ResumeGameServerGroupResponse
- resumeGameServerGroupResponse_gameServerGroup :: Lens' ResumeGameServerGroupResponse (Maybe GameServerGroup)
- resumeGameServerGroupResponse_httpStatus :: Lens' ResumeGameServerGroupResponse Int
Creating a Request
data ResumeGameServerGroup Source #
See: newResumeGameServerGroup
smart constructor.
ResumeGameServerGroup' | |
|
Instances
newResumeGameServerGroup Source #
Create a value of ResumeGameServerGroup
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:gameServerGroupName:ResumeGameServerGroup'
, resumeGameServerGroup_gameServerGroupName
- A unique identifier for the game server group. Use either the
GameServerGroup name or ARN value.
$sel:resumeActions:ResumeGameServerGroup'
, resumeGameServerGroup_resumeActions
- The activity to resume for this game server group.
Request Lenses
resumeGameServerGroup_gameServerGroupName :: Lens' ResumeGameServerGroup Text Source #
A unique identifier for the game server group. Use either the GameServerGroup name or ARN value.
resumeGameServerGroup_resumeActions :: Lens' ResumeGameServerGroup (NonEmpty GameServerGroupAction) Source #
The activity to resume for this game server group.
Destructuring the Response
data ResumeGameServerGroupResponse Source #
See: newResumeGameServerGroupResponse
smart constructor.
ResumeGameServerGroupResponse' | |
|
Instances
newResumeGameServerGroupResponse Source #
Create a value of ResumeGameServerGroupResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:gameServerGroup:ResumeGameServerGroupResponse'
, resumeGameServerGroupResponse_gameServerGroup
- An object that describes the game server group resource, with the
SuspendedActions
property updated to reflect the resumed activity.
$sel:httpStatus:ResumeGameServerGroupResponse'
, resumeGameServerGroupResponse_httpStatus
- The response's http status code.
Response Lenses
resumeGameServerGroupResponse_gameServerGroup :: Lens' ResumeGameServerGroupResponse (Maybe GameServerGroup) Source #
An object that describes the game server group resource, with the
SuspendedActions
property updated to reflect the resumed activity.
resumeGameServerGroupResponse_httpStatus :: Lens' ResumeGameServerGroupResponse Int Source #
The response's http status code.