| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudWatchEvents.DescribeEventSource
Description
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' {
- arn :: Maybe Text
- createdBy :: Maybe Text
- creationTime :: Maybe POSIX
- expirationTime :: Maybe POSIX
- name :: Maybe Text
- state :: Maybe EventSourceState
- httpStatus :: Int
- newDescribeEventSourceResponse :: Int -> DescribeEventSourceResponse
- describeEventSourceResponse_arn :: Lens' DescribeEventSourceResponse (Maybe Text)
- describeEventSourceResponse_createdBy :: Lens' DescribeEventSourceResponse (Maybe Text)
- describeEventSourceResponse_creationTime :: Lens' DescribeEventSourceResponse (Maybe UTCTime)
- describeEventSourceResponse_expirationTime :: Lens' DescribeEventSourceResponse (Maybe UTCTime)
- describeEventSourceResponse_name :: Lens' DescribeEventSourceResponse (Maybe Text)
- describeEventSourceResponse_state :: Lens' DescribeEventSourceResponse (Maybe EventSourceState)
- describeEventSourceResponse_httpStatus :: Lens' DescribeEventSourceResponse Int
Creating a Request
data DescribeEventSource Source #
See: newDescribeEventSource smart constructor.
Constructors
| DescribeEventSource' | |
Instances
newDescribeEventSource Source #
Arguments
| :: Text | |
| -> DescribeEventSource |
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:
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
| |
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:
DescribeEventSourceResponse, describeEventSourceResponse_arn - The ARN of the partner event source.
DescribeEventSourceResponse, describeEventSourceResponse_createdBy - The name of the SaaS partner that created the event source.
DescribeEventSourceResponse, describeEventSourceResponse_creationTime - The date and time that the event source was created.
DescribeEventSourceResponse, describeEventSourceResponse_expirationTime - The date and time that the event source will expire if you do not create
a matching event bus.
DescribeEventSource, describeEventSourceResponse_name - The name of the partner event source.
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:httpStatus:DescribeEventSourceResponse', describeEventSourceResponse_httpStatus - The response's http status code.
Response Lenses
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_creationTime :: Lens' DescribeEventSourceResponse (Maybe UTCTime) Source #
The date and time that the event source was created.
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_name :: Lens' DescribeEventSourceResponse (Maybe Text) Source #
The name of the partner event source.
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_httpStatus :: Lens' DescribeEventSourceResponse Int Source #
The response's http status code.