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 the name and scopes of resource server. All other fields are read-only.
If you don't provide a value for an attribute, it will be set to the default value.
Synopsis
- data UpdateResourceServer = UpdateResourceServer' {
- scopes :: Maybe [ResourceServerScopeType]
- userPoolId :: Text
- identifier :: Text
- name :: Text
- newUpdateResourceServer :: Text -> Text -> Text -> UpdateResourceServer
- updateResourceServer_scopes :: Lens' UpdateResourceServer (Maybe [ResourceServerScopeType])
- updateResourceServer_userPoolId :: Lens' UpdateResourceServer Text
- updateResourceServer_identifier :: Lens' UpdateResourceServer Text
- updateResourceServer_name :: Lens' UpdateResourceServer Text
- data UpdateResourceServerResponse = UpdateResourceServerResponse' {}
- newUpdateResourceServerResponse :: Int -> ResourceServerType -> UpdateResourceServerResponse
- updateResourceServerResponse_httpStatus :: Lens' UpdateResourceServerResponse Int
- updateResourceServerResponse_resourceServer :: Lens' UpdateResourceServerResponse ResourceServerType
Creating a Request
data UpdateResourceServer Source #
See: newUpdateResourceServer
smart constructor.
UpdateResourceServer' | |
|
Instances
newUpdateResourceServer Source #
:: Text | |
-> Text | |
-> Text | |
-> UpdateResourceServer |
Create a value of UpdateResourceServer
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:scopes:UpdateResourceServer'
, updateResourceServer_scopes
- The scope values to be set for the resource server.
$sel:userPoolId:UpdateResourceServer'
, updateResourceServer_userPoolId
- The user pool ID for the user pool.
$sel:identifier:UpdateResourceServer'
, updateResourceServer_identifier
- The identifier for the resource server.
$sel:name:UpdateResourceServer'
, updateResourceServer_name
- The name of the resource server.
Request Lenses
updateResourceServer_scopes :: Lens' UpdateResourceServer (Maybe [ResourceServerScopeType]) Source #
The scope values to be set for the resource server.
updateResourceServer_userPoolId :: Lens' UpdateResourceServer Text Source #
The user pool ID for the user pool.
updateResourceServer_identifier :: Lens' UpdateResourceServer Text Source #
The identifier for the resource server.
updateResourceServer_name :: Lens' UpdateResourceServer Text Source #
The name of the resource server.
Destructuring the Response
data UpdateResourceServerResponse Source #
See: newUpdateResourceServerResponse
smart constructor.
UpdateResourceServerResponse' | |
|
Instances
newUpdateResourceServerResponse Source #
Create a value of UpdateResourceServerResponse
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:UpdateResourceServerResponse'
, updateResourceServerResponse_httpStatus
- The response's http status code.
$sel:resourceServer:UpdateResourceServerResponse'
, updateResourceServerResponse_resourceServer
- The resource server.
Response Lenses
updateResourceServerResponse_httpStatus :: Lens' UpdateResourceServerResponse Int Source #
The response's http status code.
updateResourceServerResponse_resourceServer :: Lens' UpdateResourceServerResponse ResourceServerType Source #
The resource server.