amazonka-cognito-idp-2.0: Amazon Cognito Identity Provider SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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 is set to the default value.

Synopsis

Creating a Request

data UpdateResourceServer Source #

See: newUpdateResourceServer smart constructor.

Constructors

UpdateResourceServer' 

Fields

Instances

Instances details
ToJSON UpdateResourceServer Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.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

AWSRequest UpdateResourceServer Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateResourceServer

Associated Types

type AWSResponse UpdateResourceServer #

Generic UpdateResourceServer Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateResourceServer

Associated Types

type Rep UpdateResourceServer :: Type -> Type #

Read UpdateResourceServer Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateResourceServer

Show UpdateResourceServer Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateResourceServer

NFData UpdateResourceServer Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateResourceServer

Methods

rnf :: UpdateResourceServer -> () #

Eq UpdateResourceServer Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateResourceServer

Hashable UpdateResourceServer Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateResourceServer

type AWSResponse 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" "amazonka-cognito-idp-2.0-D1ERgMvEVPG9z8cOLXdU2" '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))))

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:

UpdateResourceServer, updateResourceServer_scopes - The scope values to be set for the resource server.

UpdateResourceServer, updateResourceServer_userPoolId - The user pool ID for the user pool.

UpdateResourceServer, updateResourceServer_identifier - The identifier for the resource server.

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
Generic UpdateResourceServerResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateResourceServer

Associated Types

type Rep UpdateResourceServerResponse :: Type -> Type #

Read UpdateResourceServerResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateResourceServer

Show UpdateResourceServerResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateResourceServer

NFData UpdateResourceServerResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateResourceServer

Eq 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" "amazonka-cognito-idp-2.0-D1ERgMvEVPG9z8cOLXdU2" '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