libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events
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.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
Eq DeauthorizeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

Read DeauthorizeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

Show DeauthorizeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

Generic DeauthorizeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

Associated Types

type Rep DeauthorizeConnection :: Type -> Type #

NFData DeauthorizeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

Methods

rnf :: DeauthorizeConnection -> () #

Hashable DeauthorizeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

ToJSON DeauthorizeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

AWSRequest DeauthorizeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

Associated Types

type AWSResponse 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

type Rep DeauthorizeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

type Rep DeauthorizeConnection = D1 ('MetaData "DeauthorizeConnection" "Amazonka.CloudWatchEvents.DeauthorizeConnection" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "DeauthorizeConnection'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeauthorizeConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

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:

$sel:name: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
Eq DeauthorizeConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

Read DeauthorizeConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

Show DeauthorizeConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

Generic DeauthorizeConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeauthorizeConnection

Associated Types

type Rep DeauthorizeConnectionResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "DeauthorizeConnectionResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "lastAuthorizedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "connectionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "connectionState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectionState)) :*: 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:

$sel:creationTime:DeauthorizeConnectionResponse', deauthorizeConnectionResponse_creationTime - A time stamp for the time that the connection was created.

$sel:lastModifiedTime:DeauthorizeConnectionResponse', deauthorizeConnectionResponse_lastModifiedTime - A time stamp for the time that the connection was last updated.

$sel:lastAuthorizedTime:DeauthorizeConnectionResponse', deauthorizeConnectionResponse_lastAuthorizedTime - A time stamp for the time that the connection was last authorized.

$sel:connectionArn:DeauthorizeConnectionResponse', deauthorizeConnectionResponse_connectionArn - The ARN of the connection that authorization was removed from.

$sel:connectionState:DeauthorizeConnectionResponse', deauthorizeConnectionResponse_connectionState - The state of the connection.

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

Response Lenses

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

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

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

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

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

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

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

The ARN of the connection that authorization was removed from.