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 |
Repairs the SSO configuration for a given studio.
If the studio has a valid Amazon Web Services SSO configuration currently associated with it, this operation will fail with a validation error.
If the studio does not have a valid Amazon Web Services SSO configuration currently associated with it, then a new Amazon Web Services SSO application is created for the studio and the studio is changed to the READY state.
After the Amazon Web Services SSO application is repaired, you must use the Amazon Nimble Studio console to add administrators and users to your studio.
Synopsis
- data StartStudioSSOConfigurationRepair = StartStudioSSOConfigurationRepair' {
- clientToken :: Maybe Text
- studioId :: Text
- newStartStudioSSOConfigurationRepair :: Text -> StartStudioSSOConfigurationRepair
- startStudioSSOConfigurationRepair_clientToken :: Lens' StartStudioSSOConfigurationRepair (Maybe Text)
- startStudioSSOConfigurationRepair_studioId :: Lens' StartStudioSSOConfigurationRepair Text
- data StartStudioSSOConfigurationRepairResponse = StartStudioSSOConfigurationRepairResponse' {
- studio :: Maybe Studio
- httpStatus :: Int
- newStartStudioSSOConfigurationRepairResponse :: Int -> StartStudioSSOConfigurationRepairResponse
- startStudioSSOConfigurationRepairResponse_studio :: Lens' StartStudioSSOConfigurationRepairResponse (Maybe Studio)
- startStudioSSOConfigurationRepairResponse_httpStatus :: Lens' StartStudioSSOConfigurationRepairResponse Int
Creating a Request
data StartStudioSSOConfigurationRepair Source #
See: newStartStudioSSOConfigurationRepair
smart constructor.
StartStudioSSOConfigurationRepair' | |
|
Instances
newStartStudioSSOConfigurationRepair Source #
Create a value of StartStudioSSOConfigurationRepair
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:StartStudioSSOConfigurationRepair'
, startStudioSSOConfigurationRepair_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:studioId:StartStudioSSOConfigurationRepair'
, startStudioSSOConfigurationRepair_studioId
- The studio ID.
Request Lenses
startStudioSSOConfigurationRepair_clientToken :: Lens' StartStudioSSOConfigurationRepair (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.
startStudioSSOConfigurationRepair_studioId :: Lens' StartStudioSSOConfigurationRepair Text Source #
The studio ID.
Destructuring the Response
data StartStudioSSOConfigurationRepairResponse Source #
See: newStartStudioSSOConfigurationRepairResponse
smart constructor.
StartStudioSSOConfigurationRepairResponse' | |
|
Instances
newStartStudioSSOConfigurationRepairResponse Source #
Create a value of StartStudioSSOConfigurationRepairResponse
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:StartStudioSSOConfigurationRepairResponse'
, startStudioSSOConfigurationRepairResponse_studio
- Information about a studio.
$sel:httpStatus:StartStudioSSOConfigurationRepairResponse'
, startStudioSSOConfigurationRepairResponse_httpStatus
- The response's http status code.
Response Lenses
startStudioSSOConfigurationRepairResponse_studio :: Lens' StartStudioSSOConfigurationRepairResponse (Maybe Studio) Source #
Information about a studio.
startStudioSSOConfigurationRepairResponse_httpStatus :: Lens' StartStudioSSOConfigurationRepairResponse Int Source #
The response's http status code.