amazonka-iot-2.0: Amazon IoT 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.IoT.SetDefaultAuthorizer

Description

Sets the default authorizer. This will be used if a websocket connection is made without specifying an authorizer.

Requires permission to access the SetDefaultAuthorizer action.

Synopsis

Creating a Request

data SetDefaultAuthorizer Source #

See: newSetDefaultAuthorizer smart constructor.

Constructors

SetDefaultAuthorizer' 

Fields

Instances

Instances details
ToJSON SetDefaultAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.SetDefaultAuthorizer

ToHeaders SetDefaultAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.SetDefaultAuthorizer

ToPath SetDefaultAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.SetDefaultAuthorizer

ToQuery SetDefaultAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.SetDefaultAuthorizer

AWSRequest SetDefaultAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.SetDefaultAuthorizer

Associated Types

type AWSResponse SetDefaultAuthorizer #

Generic SetDefaultAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.SetDefaultAuthorizer

Associated Types

type Rep SetDefaultAuthorizer :: Type -> Type #

Read SetDefaultAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.SetDefaultAuthorizer

Show SetDefaultAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.SetDefaultAuthorizer

NFData SetDefaultAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.SetDefaultAuthorizer

Methods

rnf :: SetDefaultAuthorizer -> () #

Eq SetDefaultAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.SetDefaultAuthorizer

Hashable SetDefaultAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.SetDefaultAuthorizer

type AWSResponse SetDefaultAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.SetDefaultAuthorizer

type Rep SetDefaultAuthorizer Source # 
Instance details

Defined in Amazonka.IoT.SetDefaultAuthorizer

type Rep SetDefaultAuthorizer = D1 ('MetaData "SetDefaultAuthorizer" "Amazonka.IoT.SetDefaultAuthorizer" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "SetDefaultAuthorizer'" 'PrefixI 'True) (S1 ('MetaSel ('Just "authorizerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newSetDefaultAuthorizer Source #

Create a value of SetDefaultAuthorizer 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:

SetDefaultAuthorizer, setDefaultAuthorizer_authorizerName - The authorizer name.

Request Lenses

Destructuring the Response

data SetDefaultAuthorizerResponse Source #

See: newSetDefaultAuthorizerResponse smart constructor.

Constructors

SetDefaultAuthorizerResponse' 

Fields

Instances

Instances details
Generic SetDefaultAuthorizerResponse Source # 
Instance details

Defined in Amazonka.IoT.SetDefaultAuthorizer

Associated Types

type Rep SetDefaultAuthorizerResponse :: Type -> Type #

Read SetDefaultAuthorizerResponse Source # 
Instance details

Defined in Amazonka.IoT.SetDefaultAuthorizer

Show SetDefaultAuthorizerResponse Source # 
Instance details

Defined in Amazonka.IoT.SetDefaultAuthorizer

NFData SetDefaultAuthorizerResponse Source # 
Instance details

Defined in Amazonka.IoT.SetDefaultAuthorizer

Eq SetDefaultAuthorizerResponse Source # 
Instance details

Defined in Amazonka.IoT.SetDefaultAuthorizer

type Rep SetDefaultAuthorizerResponse Source # 
Instance details

Defined in Amazonka.IoT.SetDefaultAuthorizer

type Rep SetDefaultAuthorizerResponse = D1 ('MetaData "SetDefaultAuthorizerResponse" "Amazonka.IoT.SetDefaultAuthorizer" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "SetDefaultAuthorizerResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "authorizerArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "authorizerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newSetDefaultAuthorizerResponse Source #

Create a value of SetDefaultAuthorizerResponse 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:

SetDefaultAuthorizerResponse, setDefaultAuthorizerResponse_authorizerArn - The authorizer ARN.

SetDefaultAuthorizer, setDefaultAuthorizerResponse_authorizerName - The authorizer name.

$sel:httpStatus:SetDefaultAuthorizerResponse', setDefaultAuthorizerResponse_httpStatus - The response's http status code.

Response Lenses