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 |
Update a Studio resource.
Currently, this operation only supports updating the displayName of your studio.
Synopsis
- data UpdateStudio = UpdateStudio' {
- clientToken :: Maybe Text
- userRoleArn :: Maybe Text
- displayName :: Maybe Text
- adminRoleArn :: Maybe Text
- studioId :: Text
- newUpdateStudio :: Text -> UpdateStudio
- updateStudio_clientToken :: Lens' UpdateStudio (Maybe Text)
- updateStudio_userRoleArn :: Lens' UpdateStudio (Maybe Text)
- updateStudio_displayName :: Lens' UpdateStudio (Maybe Text)
- updateStudio_adminRoleArn :: Lens' UpdateStudio (Maybe Text)
- updateStudio_studioId :: Lens' UpdateStudio Text
- data UpdateStudioResponse = UpdateStudioResponse' {
- studio :: Maybe Studio
- httpStatus :: Int
- newUpdateStudioResponse :: Int -> UpdateStudioResponse
- updateStudioResponse_studio :: Lens' UpdateStudioResponse (Maybe Studio)
- updateStudioResponse_httpStatus :: Lens' UpdateStudioResponse Int
Creating a Request
data UpdateStudio Source #
The studio ID.
See: newUpdateStudio
smart constructor.
UpdateStudio' | |
|
Instances
Create a value of UpdateStudio
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:UpdateStudio'
, updateStudio_clientToken
- To make an idempotent API request using one of these actions, specify a
client token in the request. You should not reuse the same client token
for other API requests. If you retry a request that completed
successfully using the same client token and the same parameters, the
retry succeeds without performing any further actions. If you retry a
successful request using the same client token, but one or more of the
parameters are different, the retry fails with a ValidationException
error.
$sel:userRoleArn:UpdateStudio'
, updateStudio_userRoleArn
- The IAM role that Studio Users will assume when logging in to the Nimble
Studio portal.
$sel:displayName:UpdateStudio'
, updateStudio_displayName
- A friendly name for the studio.
$sel:adminRoleArn:UpdateStudio'
, updateStudio_adminRoleArn
- The IAM role that Studio Admins will assume when logging in to the
Nimble Studio portal.
$sel:studioId:UpdateStudio'
, updateStudio_studioId
- The studio ID.
Request Lenses
updateStudio_clientToken :: Lens' UpdateStudio (Maybe Text) Source #
To make an idempotent API request using one of these actions, specify a client token in the request. You should not reuse the same client token for other API requests. If you retry a request that completed successfully using the same client token and the same parameters, the retry succeeds without performing any further actions. If you retry a successful request using the same client token, but one or more of the parameters are different, the retry fails with a ValidationException error.
updateStudio_userRoleArn :: Lens' UpdateStudio (Maybe Text) Source #
The IAM role that Studio Users will assume when logging in to the Nimble Studio portal.
updateStudio_displayName :: Lens' UpdateStudio (Maybe Text) Source #
A friendly name for the studio.
updateStudio_adminRoleArn :: Lens' UpdateStudio (Maybe Text) Source #
The IAM role that Studio Admins will assume when logging in to the Nimble Studio portal.
updateStudio_studioId :: Lens' UpdateStudio Text Source #
The studio ID.
Destructuring the Response
data UpdateStudioResponse Source #
See: newUpdateStudioResponse
smart constructor.
UpdateStudioResponse' | |
|
Instances
newUpdateStudioResponse Source #
Create a value of UpdateStudioResponse
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:studio:UpdateStudioResponse'
, updateStudioResponse_studio
- Information about a studio.
$sel:httpStatus:UpdateStudioResponse'
, updateStudioResponse_httpStatus
- The response's http status code.
Response Lenses
updateStudioResponse_studio :: Lens' UpdateStudioResponse (Maybe Studio) Source #
Information about a studio.
updateStudioResponse_httpStatus :: Lens' UpdateStudioResponse Int Source #
The response's http status code.