amazonka-cloudwatch-events-2.0: Amazon EventBridge 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.CloudWatchEvents.DeauthorizeConnection

Description

Removes all authorization parameters from the connection. This lets you remove the secret from the connection so you can reuse it without having to create a new connection.

Synopsis

Creating a Request

data DeauthorizeConnection Source #

See: newDeauthorizeConnection smart constructor.

Constructors

DeauthorizeConnection' 

Fields

  • name :: Text

    The name of the connection to remove authorization from.

Instances

Instances details
ToJSON DeauthorizeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

ToHeaders DeauthorizeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

ToPath DeauthorizeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

ToQuery DeauthorizeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

AWSRequest DeauthorizeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

Associated Types

type AWSResponse DeauthorizeConnection #

Generic DeauthorizeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

Associated Types

type Rep DeauthorizeConnection :: Type -> Type #

Read DeauthorizeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

Show DeauthorizeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

NFData DeauthorizeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

Methods

rnf :: DeauthorizeConnection -> () #

Eq DeauthorizeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

Hashable DeauthorizeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

type AWSResponse DeauthorizeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

type Rep DeauthorizeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

type Rep DeauthorizeConnection = D1 ('MetaData "DeauthorizeConnection" "Amazonka.CloudWatchEvents.DeauthorizeConnection" "amazonka-cloudwatch-events-2.0-GJzRBos1CnlE3BT39axMc5" 'False) (C1 ('MetaCons "DeauthorizeConnection'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeauthorizeConnection Source #

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

DeauthorizeConnection, deauthorizeConnection_name - The name of the connection to remove authorization from.

Request Lenses

deauthorizeConnection_name :: Lens' DeauthorizeConnection Text Source #

The name of the connection to remove authorization from.

Destructuring the Response

data DeauthorizeConnectionResponse Source #

See: newDeauthorizeConnectionResponse smart constructor.

Constructors

DeauthorizeConnectionResponse' 

Fields

Instances

Instances details
Generic DeauthorizeConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

Associated Types

type Rep DeauthorizeConnectionResponse :: Type -> Type #

Read DeauthorizeConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

Show DeauthorizeConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

NFData DeauthorizeConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

Eq DeauthorizeConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

type Rep DeauthorizeConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

type Rep DeauthorizeConnectionResponse = D1 ('MetaData "DeauthorizeConnectionResponse" "Amazonka.CloudWatchEvents.DeauthorizeConnection" "amazonka-cloudwatch-events-2.0-GJzRBos1CnlE3BT39axMc5" 'False) (C1 ('MetaCons "DeauthorizeConnectionResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "connectionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "connectionState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectionState)) :*: S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "lastAuthorizedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newDeauthorizeConnectionResponse Source #

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

DeauthorizeConnectionResponse, deauthorizeConnectionResponse_connectionArn - The ARN of the connection that authorization was removed from.

DeauthorizeConnectionResponse, deauthorizeConnectionResponse_connectionState - The state of the connection.

DeauthorizeConnectionResponse, deauthorizeConnectionResponse_creationTime - A time stamp for the time that the connection was created.

DeauthorizeConnectionResponse, deauthorizeConnectionResponse_lastAuthorizedTime - A time stamp for the time that the connection was last authorized.

DeauthorizeConnectionResponse, deauthorizeConnectionResponse_lastModifiedTime - A time stamp for the time that the connection was last updated.

$sel:httpStatus:DeauthorizeConnectionResponse', deauthorizeConnectionResponse_httpStatus - The response's http status code.

Response Lenses

deauthorizeConnectionResponse_connectionArn :: Lens' DeauthorizeConnectionResponse (Maybe Text) Source #

The ARN of the connection that authorization was removed from.

deauthorizeConnectionResponse_creationTime :: Lens' DeauthorizeConnectionResponse (Maybe UTCTime) Source #

A time stamp for the time that the connection was created.

deauthorizeConnectionResponse_lastAuthorizedTime :: Lens' DeauthorizeConnectionResponse (Maybe UTCTime) Source #

A time stamp for the time that the connection was last authorized.

deauthorizeConnectionResponse_lastModifiedTime :: Lens' DeauthorizeConnectionResponse (Maybe UTCTime) Source #

A time stamp for the time that the connection was last updated.