Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
This operation lists details about a partner event source that is shared with your account.
Synopsis
- data DescribeEventSource = DescribeEventSource' {}
- newDescribeEventSource :: Text -> DescribeEventSource
- describeEventSource_name :: Lens' DescribeEventSource Text
- data DescribeEventSourceResponse = DescribeEventSourceResponse' {
- creationTime :: Maybe POSIX
- state :: Maybe EventSourceState
- arn :: Maybe Text
- createdBy :: Maybe Text
- name :: Maybe Text
- expirationTime :: Maybe POSIX
- httpStatus :: Int
- newDescribeEventSourceResponse :: Int -> DescribeEventSourceResponse
- describeEventSourceResponse_creationTime :: Lens' DescribeEventSourceResponse (Maybe UTCTime)
- describeEventSourceResponse_state :: Lens' DescribeEventSourceResponse (Maybe EventSourceState)
- describeEventSourceResponse_arn :: Lens' DescribeEventSourceResponse (Maybe Text)
- describeEventSourceResponse_createdBy :: Lens' DescribeEventSourceResponse (Maybe Text)
- describeEventSourceResponse_name :: Lens' DescribeEventSourceResponse (Maybe Text)
- describeEventSourceResponse_expirationTime :: Lens' DescribeEventSourceResponse (Maybe UTCTime)
- describeEventSourceResponse_httpStatus :: Lens' DescribeEventSourceResponse Int
Creating a Request
data DescribeEventSource Source #
See: newDescribeEventSource
smart constructor.
Instances
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.
DescribeEventSourceResponse' | |
|
Instances
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_arn :: Lens' DescribeEventSourceResponse (Maybe Text) Source #
The ARN of the partner event source.
describeEventSourceResponse_createdBy :: Lens' DescribeEventSourceResponse (Maybe Text) Source #
The name of the SaaS partner that created the event source.
describeEventSourceResponse_name :: Lens' DescribeEventSourceResponse (Maybe Text) Source #
The name of the partner 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.
describeEventSourceResponse_httpStatus :: Lens' DescribeEventSourceResponse Int Source #
The response's http status code.