Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Creates a Standby WorkSpace in a secondary region.
Synopsis
- data CreateStandbyWorkspaces = CreateStandbyWorkspaces' {}
- newCreateStandbyWorkspaces :: Text -> CreateStandbyWorkspaces
- createStandbyWorkspaces_primaryRegion :: Lens' CreateStandbyWorkspaces Text
- createStandbyWorkspaces_standbyWorkspaces :: Lens' CreateStandbyWorkspaces [StandbyWorkspace]
- data CreateStandbyWorkspacesResponse = CreateStandbyWorkspacesResponse' {}
- newCreateStandbyWorkspacesResponse :: Int -> CreateStandbyWorkspacesResponse
- createStandbyWorkspacesResponse_failedStandbyRequests :: Lens' CreateStandbyWorkspacesResponse (Maybe [FailedCreateStandbyWorkspacesRequest])
- createStandbyWorkspacesResponse_pendingStandbyRequests :: Lens' CreateStandbyWorkspacesResponse (Maybe [PendingCreateStandbyWorkspacesRequest])
- createStandbyWorkspacesResponse_httpStatus :: Lens' CreateStandbyWorkspacesResponse Int
Creating a Request
data CreateStandbyWorkspaces Source #
See: newCreateStandbyWorkspaces
smart constructor.
CreateStandbyWorkspaces' | |
|
Instances
newCreateStandbyWorkspaces Source #
Create a value of CreateStandbyWorkspaces
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:primaryRegion:CreateStandbyWorkspaces'
, createStandbyWorkspaces_primaryRegion
- The Region of the primary WorkSpace.
$sel:standbyWorkspaces:CreateStandbyWorkspaces'
, createStandbyWorkspaces_standbyWorkspaces
- Information about the Standby WorkSpace to be created.
Request Lenses
createStandbyWorkspaces_primaryRegion :: Lens' CreateStandbyWorkspaces Text Source #
The Region of the primary WorkSpace.
createStandbyWorkspaces_standbyWorkspaces :: Lens' CreateStandbyWorkspaces [StandbyWorkspace] Source #
Information about the Standby WorkSpace to be created.
Destructuring the Response
data CreateStandbyWorkspacesResponse Source #
See: newCreateStandbyWorkspacesResponse
smart constructor.
CreateStandbyWorkspacesResponse' | |
|
Instances
newCreateStandbyWorkspacesResponse Source #
Create a value of CreateStandbyWorkspacesResponse
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:failedStandbyRequests:CreateStandbyWorkspacesResponse'
, createStandbyWorkspacesResponse_failedStandbyRequests
- Information about the Standby WorkSpace that could not be created.
$sel:pendingStandbyRequests:CreateStandbyWorkspacesResponse'
, createStandbyWorkspacesResponse_pendingStandbyRequests
- Information about the Standby WorkSpace that was created.
$sel:httpStatus:CreateStandbyWorkspacesResponse'
, createStandbyWorkspacesResponse_httpStatus
- The response's http status code.
Response Lenses
createStandbyWorkspacesResponse_failedStandbyRequests :: Lens' CreateStandbyWorkspacesResponse (Maybe [FailedCreateStandbyWorkspacesRequest]) Source #
Information about the Standby WorkSpace that could not be created.
createStandbyWorkspacesResponse_pendingStandbyRequests :: Lens' CreateStandbyWorkspacesResponse (Maybe [PendingCreateStandbyWorkspacesRequest]) Source #
Information about the Standby WorkSpace that was created.
createStandbyWorkspacesResponse_httpStatus :: Lens' CreateStandbyWorkspacesResponse Int Source #
The response's http status code.