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.DeleteConnection

Description

Deletes a connection.

Synopsis

Creating a Request

data DeleteConnection Source #

See: newDeleteConnection smart constructor.

Constructors

DeleteConnection' 

Fields

  • name :: Text

    The name of the connection to delete.

Instances

Instances details
Eq DeleteConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteConnection

Read DeleteConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteConnection

Show DeleteConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteConnection

Generic DeleteConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteConnection

Associated Types

type Rep DeleteConnection :: Type -> Type #

NFData DeleteConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteConnection

Methods

rnf :: DeleteConnection -> () #

Hashable DeleteConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteConnection

ToJSON DeleteConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteConnection

AWSRequest DeleteConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteConnection

Associated Types

type AWSResponse DeleteConnection #

ToHeaders DeleteConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteConnection

ToPath DeleteConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteConnection

ToQuery DeleteConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteConnection

type Rep DeleteConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteConnection

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

Defined in Amazonka.CloudWatchEvents.DeleteConnection

newDeleteConnection Source #

Create a value of DeleteConnection 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:DeleteConnection', deleteConnection_name - The name of the connection to delete.

Request Lenses

deleteConnection_name :: Lens' DeleteConnection Text Source #

The name of the connection to delete.

Destructuring the Response

data DeleteConnectionResponse Source #

See: newDeleteConnectionResponse smart constructor.

Constructors

DeleteConnectionResponse' 

Fields

Instances

Instances details
Eq DeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteConnection

Read DeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteConnection

Show DeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteConnection

Generic DeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteConnection

Associated Types

type Rep DeleteConnectionResponse :: Type -> Type #

NFData DeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteConnection

type Rep DeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteConnection

type Rep DeleteConnectionResponse = D1 ('MetaData "DeleteConnectionResponse" "Amazonka.CloudWatchEvents.DeleteConnection" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "DeleteConnectionResponse'" '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)))))

newDeleteConnectionResponse Source #

Create a value of DeleteConnectionResponse 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:DeleteConnectionResponse', deleteConnectionResponse_creationTime - A time stamp for the time that the connection was created.

$sel:lastModifiedTime:DeleteConnectionResponse', deleteConnectionResponse_lastModifiedTime - A time stamp for the time that the connection was last modified before it was deleted.

$sel:lastAuthorizedTime:DeleteConnectionResponse', deleteConnectionResponse_lastAuthorizedTime - A time stamp for the time that the connection was last authorized before it wa deleted.

$sel:connectionArn:DeleteConnectionResponse', deleteConnectionResponse_connectionArn - The ARN of the connection that was deleted.

$sel:connectionState:DeleteConnectionResponse', deleteConnectionResponse_connectionState - The state of the connection before it was deleted.

$sel:httpStatus:DeleteConnectionResponse', deleteConnectionResponse_httpStatus - The response's http status code.

Response Lenses

deleteConnectionResponse_creationTime :: Lens' DeleteConnectionResponse (Maybe UTCTime) Source #

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

deleteConnectionResponse_lastModifiedTime :: Lens' DeleteConnectionResponse (Maybe UTCTime) Source #

A time stamp for the time that the connection was last modified before it was deleted.

deleteConnectionResponse_lastAuthorizedTime :: Lens' DeleteConnectionResponse (Maybe UTCTime) Source #

A time stamp for the time that the connection was last authorized before it wa deleted.