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

Description

This operation lists details about a partner event source that is shared with your account.

Synopsis

Creating a Request

data DescribeEventSource Source #

See: newDescribeEventSource smart constructor.

Constructors

DescribeEventSource' 

Fields

  • name :: Text

    The name of the partner event source to display the details of.

Instances

Instances details
Eq DescribeEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeEventSource

Read DescribeEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeEventSource

Show DescribeEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeEventSource

Generic DescribeEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeEventSource

Associated Types

type Rep DescribeEventSource :: Type -> Type #

NFData DescribeEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeEventSource

Methods

rnf :: DescribeEventSource -> () #

Hashable DescribeEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeEventSource

ToJSON DescribeEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeEventSource

AWSRequest DescribeEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeEventSource

Associated Types

type AWSResponse DescribeEventSource #

ToHeaders DescribeEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeEventSource

ToPath DescribeEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeEventSource

ToQuery DescribeEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeEventSource

type Rep DescribeEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeEventSource

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

Defined in Amazonka.CloudWatchEvents.DescribeEventSource

newDescribeEventSource Source #

Create a value of DescribeEventSource 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:DescribeEventSource', describeEventSource_name - The name of the partner event source to display the details of.

Request Lenses

describeEventSource_name :: Lens' DescribeEventSource Text Source #

The name of the partner event source to display the details of.

Destructuring the Response

data DescribeEventSourceResponse Source #

See: newDescribeEventSourceResponse smart constructor.

Constructors

DescribeEventSourceResponse' 

Fields

  • creationTime :: Maybe POSIX

    The date and time that the event source was created.

  • state :: Maybe EventSourceState

    The state of the event source. If it is ACTIVE, you have already created a matching event bus for this event source, and that event bus is active. If it is PENDING, either you haven't yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have created a matching event bus, but the event source has since been deleted.

  • arn :: Maybe Text

    The ARN of the partner event source.

  • createdBy :: Maybe Text

    The name of the SaaS partner that created the event source.

  • name :: Maybe Text

    The name of the partner event source.

  • expirationTime :: Maybe POSIX

    The date and time that the event source will expire if you do not create a matching event bus.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeEventSourceResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeEventSource

Read DescribeEventSourceResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeEventSource

Show DescribeEventSourceResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeEventSource

Generic DescribeEventSourceResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeEventSource

Associated Types

type Rep DescribeEventSourceResponse :: Type -> Type #

NFData DescribeEventSourceResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeEventSource

type Rep DescribeEventSourceResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DescribeEventSource

type Rep DescribeEventSourceResponse = D1 ('MetaData "DescribeEventSourceResponse" "Amazonka.CloudWatchEvents.DescribeEventSource" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "DescribeEventSourceResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventSourceState)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "createdBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "expirationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newDescribeEventSourceResponse Source #

Create a value of DescribeEventSourceResponse 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:DescribeEventSourceResponse', describeEventSourceResponse_creationTime - The date and time that the event source was created.

$sel:state:DescribeEventSourceResponse', describeEventSourceResponse_state - The state of the event source. If it is ACTIVE, you have already created a matching event bus for this event source, and that event bus is active. If it is PENDING, either you haven't yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have created a matching event bus, but the event source has since been deleted.

$sel:arn:DescribeEventSourceResponse', describeEventSourceResponse_arn - The ARN of the partner event source.

$sel:createdBy:DescribeEventSourceResponse', describeEventSourceResponse_createdBy - The name of the SaaS partner that created the event source.

$sel:name:DescribeEventSource', describeEventSourceResponse_name - The name of the partner event source.

$sel:expirationTime:DescribeEventSourceResponse', describeEventSourceResponse_expirationTime - The date and time that the event source will expire if you do not create a matching event bus.

$sel:httpStatus:DescribeEventSourceResponse', describeEventSourceResponse_httpStatus - The response's http status code.

Response Lenses

describeEventSourceResponse_creationTime :: Lens' DescribeEventSourceResponse (Maybe UTCTime) Source #

The date and time that the event source was created.

describeEventSourceResponse_state :: Lens' DescribeEventSourceResponse (Maybe EventSourceState) Source #

The state of the event source. If it is ACTIVE, you have already created a matching event bus for this event source, and that event bus is active. If it is PENDING, either you haven't yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have created a matching event bus, but the event source has since been deleted.

describeEventSourceResponse_createdBy :: Lens' DescribeEventSourceResponse (Maybe Text) Source #

The name of the SaaS partner that created the event source.

describeEventSourceResponse_expirationTime :: Lens' DescribeEventSourceResponse (Maybe UTCTime) Source #

The date and time that the event source will expire if you do not create a matching event bus.