libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CognitoIdentityProvider.UpdateResourceServer

Description

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

Creating a Request

data UpdateResourceServer Source #

See: newUpdateResourceServer smart constructor.

Constructors

UpdateResourceServer' 

Fields

Instances

Instances details
Eq UpdateResourceServer Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateResourceServer

Read UpdateResourceServer Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateResourceServer

Show UpdateResourceServer Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateResourceServer

Generic UpdateResourceServer Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateResourceServer

Associated Types

type Rep UpdateResourceServer :: Type -> Type #

NFData UpdateResourceServer Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateResourceServer

Methods

rnf :: UpdateResourceServer -> () #

Hashable UpdateResourceServer Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateResourceServer

ToJSON UpdateResourceServer Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateResourceServer

AWSRequest UpdateResourceServer Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateResourceServer

Associated Types

type AWSResponse UpdateResourceServer #

ToHeaders UpdateResourceServer Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateResourceServer

ToPath UpdateResourceServer Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateResourceServer

ToQuery UpdateResourceServer Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateResourceServer

type Rep UpdateResourceServer Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateResourceServer

type Rep UpdateResourceServer = D1 ('MetaData "UpdateResourceServer" "Amazonka.CognitoIdentityProvider.UpdateResourceServer" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "UpdateResourceServer'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "scopes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResourceServerScopeType])) :*: S1 ('MetaSel ('Just "userPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateResourceServer Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateResourceServer

newUpdateResourceServer Source #

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_identifier :: Lens' UpdateResourceServer Text Source #

The identifier for the resource server.

Destructuring the Response

data UpdateResourceServerResponse Source #

See: newUpdateResourceServerResponse smart constructor.

Constructors

UpdateResourceServerResponse' 

Fields

Instances

Instances details
Eq UpdateResourceServerResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateResourceServer

Read UpdateResourceServerResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateResourceServer

Show UpdateResourceServerResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateResourceServer

Generic UpdateResourceServerResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateResourceServer

Associated Types

type Rep UpdateResourceServerResponse :: Type -> Type #

NFData UpdateResourceServerResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateResourceServer

type Rep UpdateResourceServerResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateResourceServer

type Rep UpdateResourceServerResponse = D1 ('MetaData "UpdateResourceServerResponse" "Amazonka.CognitoIdentityProvider.UpdateResourceServer" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "UpdateResourceServerResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "resourceServer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceServerType)))

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