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 |
Updates an AMP workspace alias.
Synopsis
- data UpdateWorkspaceAlias = UpdateWorkspaceAlias' {
- clientToken :: Maybe Text
- alias :: Maybe Text
- workspaceId :: Text
- newUpdateWorkspaceAlias :: Text -> UpdateWorkspaceAlias
- updateWorkspaceAlias_clientToken :: Lens' UpdateWorkspaceAlias (Maybe Text)
- updateWorkspaceAlias_alias :: Lens' UpdateWorkspaceAlias (Maybe Text)
- updateWorkspaceAlias_workspaceId :: Lens' UpdateWorkspaceAlias Text
- data UpdateWorkspaceAliasResponse = UpdateWorkspaceAliasResponse' {
- newUpdateWorkspaceAliasResponse :: UpdateWorkspaceAliasResponse
Creating a Request
data UpdateWorkspaceAlias Source #
Represents the input of an UpdateWorkspaceAlias operation.
See: newUpdateWorkspaceAlias
smart constructor.
UpdateWorkspaceAlias' | |
|
Instances
newUpdateWorkspaceAlias Source #
Create a value of UpdateWorkspaceAlias
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:clientToken:UpdateWorkspaceAlias'
, updateWorkspaceAlias_clientToken
- Optional, unique, case-sensitive, user-provided identifier to ensure the
idempotency of the request.
$sel:alias:UpdateWorkspaceAlias'
, updateWorkspaceAlias_alias
- The new alias of the workspace.
$sel:workspaceId:UpdateWorkspaceAlias'
, updateWorkspaceAlias_workspaceId
- The ID of the workspace being updated.
Request Lenses
updateWorkspaceAlias_clientToken :: Lens' UpdateWorkspaceAlias (Maybe Text) Source #
Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
updateWorkspaceAlias_alias :: Lens' UpdateWorkspaceAlias (Maybe Text) Source #
The new alias of the workspace.
updateWorkspaceAlias_workspaceId :: Lens' UpdateWorkspaceAlias Text Source #
The ID of the workspace being updated.
Destructuring the Response
data UpdateWorkspaceAliasResponse Source #
See: newUpdateWorkspaceAliasResponse
smart constructor.
Instances
newUpdateWorkspaceAliasResponse :: UpdateWorkspaceAliasResponse Source #
Create a value of UpdateWorkspaceAliasResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.