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

Description

Updates settings for a connection.

Synopsis

Creating a Request

data UpdateConnection Source #

See: newUpdateConnection smart constructor.

Constructors

UpdateConnection' 

Fields

Instances

Instances details
Eq UpdateConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateConnection

Read UpdateConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateConnection

Show UpdateConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateConnection

Generic UpdateConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateConnection

Associated Types

type Rep UpdateConnection :: Type -> Type #

NFData UpdateConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateConnection

Methods

rnf :: UpdateConnection -> () #

Hashable UpdateConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateConnection

ToJSON UpdateConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateConnection

AWSRequest UpdateConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateConnection

Associated Types

type AWSResponse UpdateConnection #

ToHeaders UpdateConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateConnection

ToPath UpdateConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateConnection

ToQuery UpdateConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateConnection

type Rep UpdateConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateConnection

type Rep UpdateConnection = D1 ('MetaData "UpdateConnection" "Amazonka.CloudWatchEvents.UpdateConnection" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "UpdateConnection'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "authParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UpdateConnectionAuthRequestParameters)) :*: S1 ('MetaSel ('Just "authorizationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectionAuthorizationType))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateConnection Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateConnection

newUpdateConnection Source #

Create a value of UpdateConnection 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:authParameters:UpdateConnection', updateConnection_authParameters - The authorization parameters to use for the connection.

$sel:authorizationType:UpdateConnection', updateConnection_authorizationType - The type of authorization to use for the connection.

$sel:description:UpdateConnection', updateConnection_description - A description for the connection.

$sel:name:UpdateConnection', updateConnection_name - The name of the connection to update.

Request Lenses

updateConnection_authorizationType :: Lens' UpdateConnection (Maybe ConnectionAuthorizationType) Source #

The type of authorization to use for the connection.

updateConnection_description :: Lens' UpdateConnection (Maybe Text) Source #

A description for the connection.

updateConnection_name :: Lens' UpdateConnection Text Source #

The name of the connection to update.

Destructuring the Response

data UpdateConnectionResponse Source #

See: newUpdateConnectionResponse smart constructor.

Constructors

UpdateConnectionResponse' 

Fields

Instances

Instances details
Eq UpdateConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateConnection

Read UpdateConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateConnection

Show UpdateConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateConnection

Generic UpdateConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateConnection

Associated Types

type Rep UpdateConnectionResponse :: Type -> Type #

NFData UpdateConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateConnection

type Rep UpdateConnectionResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.UpdateConnection

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

newUpdateConnectionResponse Source #

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

$sel:lastModifiedTime:UpdateConnectionResponse', updateConnectionResponse_lastModifiedTime - A time stamp for the time that the connection was last modified.

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

$sel:connectionArn:UpdateConnectionResponse', updateConnectionResponse_connectionArn - The ARN of the connection that was updated.

$sel:connectionState:UpdateConnectionResponse', updateConnectionResponse_connectionState - The state of the connection that was updated.

$sel:httpStatus:UpdateConnectionResponse', updateConnectionResponse_httpStatus - The response's http status code.

Response Lenses

updateConnectionResponse_creationTime :: Lens' UpdateConnectionResponse (Maybe UTCTime) Source #

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

updateConnectionResponse_lastModifiedTime :: Lens' UpdateConnectionResponse (Maybe UTCTime) Source #

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

updateConnectionResponse_lastAuthorizedTime :: Lens' UpdateConnectionResponse (Maybe UTCTime) Source #

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