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 |
Update a Studio resource.
Currently, this operation only supports updating the displayName of your studio.
Synopsis
- data UpdateStudio = UpdateStudio' {
- adminRoleArn :: Maybe Text
- clientToken :: Maybe Text
- displayName :: Maybe (Sensitive Text)
- userRoleArn :: Maybe Text
- studioId :: Text
- newUpdateStudio :: Text -> UpdateStudio
- updateStudio_adminRoleArn :: Lens' UpdateStudio (Maybe Text)
- updateStudio_clientToken :: Lens' UpdateStudio (Maybe Text)
- updateStudio_displayName :: Lens' UpdateStudio (Maybe Text)
- updateStudio_userRoleArn :: Lens' UpdateStudio (Maybe Text)
- updateStudio_studioId :: Lens' UpdateStudio Text
- data UpdateStudioResponse = UpdateStudioResponse' {
- httpStatus :: Int
- studio :: Studio
- newUpdateStudioResponse :: Int -> Studio -> UpdateStudioResponse
- updateStudioResponse_httpStatus :: Lens' UpdateStudioResponse Int
- updateStudioResponse_studio :: Lens' UpdateStudioResponse Studio
Creating a Request
data UpdateStudio Source #
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:
UpdateStudio
, updateStudio_adminRoleArn
- The IAM role that Studio Admins will assume when logging in to the
Nimble Studio portal.
$sel:clientToken:UpdateStudio'
, updateStudio_clientToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request. If you don’t specify a client token, the
Amazon Web Services SDK automatically generates a client token and uses
it for the request to ensure idempotency.
UpdateStudio
, updateStudio_displayName
- A friendly name for the studio.
UpdateStudio
, updateStudio_userRoleArn
- The IAM role that Studio Users will assume when logging in to the Nimble
Studio portal.
UpdateStudio
, updateStudio_studioId
- The studio ID.
Request Lenses
updateStudio_adminRoleArn :: Lens' UpdateStudio (Maybe Text) Source #
The IAM role that Studio Admins will assume when logging in to the Nimble Studio portal.
updateStudio_clientToken :: Lens' UpdateStudio (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
updateStudio_displayName :: Lens' UpdateStudio (Maybe Text) Source #
A friendly name for the studio.
updateStudio_userRoleArn :: Lens' UpdateStudio (Maybe Text) Source #
The IAM role that Studio Users 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 #
:: Int | |
-> Studio | |
-> UpdateStudioResponse |
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:httpStatus:UpdateStudioResponse'
, updateStudioResponse_httpStatus
- The response's http status code.
$sel:studio:UpdateStudioResponse'
, updateStudioResponse_studio
- Information about a studio.
Response Lenses
updateStudioResponse_httpStatus :: Lens' UpdateStudioResponse Int Source #
The response's http status code.
updateStudioResponse_studio :: Lens' UpdateStudioResponse Studio Source #
Information about a studio.