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 existing permission set.
Synopsis
- data UpdatePermissionSet = UpdatePermissionSet' {}
- newUpdatePermissionSet :: Text -> Text -> UpdatePermissionSet
- updatePermissionSet_relayState :: Lens' UpdatePermissionSet (Maybe Text)
- updatePermissionSet_sessionDuration :: Lens' UpdatePermissionSet (Maybe Text)
- updatePermissionSet_description :: Lens' UpdatePermissionSet (Maybe Text)
- updatePermissionSet_instanceArn :: Lens' UpdatePermissionSet Text
- updatePermissionSet_permissionSetArn :: Lens' UpdatePermissionSet Text
- data UpdatePermissionSetResponse = UpdatePermissionSetResponse' {
- httpStatus :: Int
- newUpdatePermissionSetResponse :: Int -> UpdatePermissionSetResponse
- updatePermissionSetResponse_httpStatus :: Lens' UpdatePermissionSetResponse Int
Creating a Request
data UpdatePermissionSet Source #
See: newUpdatePermissionSet
smart constructor.
UpdatePermissionSet' | |
|
Instances
newUpdatePermissionSet Source #
:: Text | |
-> Text | |
-> UpdatePermissionSet |
Create a value of UpdatePermissionSet
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:relayState:UpdatePermissionSet'
, updatePermissionSet_relayState
- Used to redirect users within the application during the federation
authentication process.
$sel:sessionDuration:UpdatePermissionSet'
, updatePermissionSet_sessionDuration
- The length of time that the application user sessions are valid for in
the ISO-8601 standard.
$sel:description:UpdatePermissionSet'
, updatePermissionSet_description
- The description of the PermissionSet.
$sel:instanceArn:UpdatePermissionSet'
, updatePermissionSet_instanceArn
- The ARN of the SSO instance under which the operation will be executed.
For more information about ARNs, see
Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces
in the Amazon Web Services General Reference.
$sel:permissionSetArn:UpdatePermissionSet'
, updatePermissionSet_permissionSetArn
- The ARN of the permission set.
Request Lenses
updatePermissionSet_relayState :: Lens' UpdatePermissionSet (Maybe Text) Source #
Used to redirect users within the application during the federation authentication process.
updatePermissionSet_sessionDuration :: Lens' UpdatePermissionSet (Maybe Text) Source #
The length of time that the application user sessions are valid for in the ISO-8601 standard.
updatePermissionSet_description :: Lens' UpdatePermissionSet (Maybe Text) Source #
The description of the PermissionSet.
updatePermissionSet_instanceArn :: Lens' UpdatePermissionSet Text Source #
The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
updatePermissionSet_permissionSetArn :: Lens' UpdatePermissionSet Text Source #
The ARN of the permission set.
Destructuring the Response
data UpdatePermissionSetResponse Source #
See: newUpdatePermissionSetResponse
smart constructor.
UpdatePermissionSetResponse' | |
|
Instances
newUpdatePermissionSetResponse Source #
Create a value of UpdatePermissionSetResponse
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:UpdatePermissionSetResponse'
, updatePermissionSetResponse_httpStatus
- The response's http status code.
Response Lenses
updatePermissionSetResponse_httpStatus :: Lens' UpdatePermissionSetResponse Int Source #
The response's http status code.