| 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.DescribePartnerEventSource
Description
An SaaS partner can use this operation to list details about a partner event source that they have created. Amazon Web Services customers do not use this operation. Instead, Amazon Web Services customers can use DescribeEventSource to see details about a partner event source that is shared with them.
Synopsis
- data DescribePartnerEventSource = DescribePartnerEventSource' {}
- newDescribePartnerEventSource :: Text -> DescribePartnerEventSource
- describePartnerEventSource_name :: Lens' DescribePartnerEventSource Text
- data DescribePartnerEventSourceResponse = DescribePartnerEventSourceResponse' {}
- newDescribePartnerEventSourceResponse :: Int -> DescribePartnerEventSourceResponse
- describePartnerEventSourceResponse_arn :: Lens' DescribePartnerEventSourceResponse (Maybe Text)
- describePartnerEventSourceResponse_name :: Lens' DescribePartnerEventSourceResponse (Maybe Text)
- describePartnerEventSourceResponse_httpStatus :: Lens' DescribePartnerEventSourceResponse Int
Creating a Request
data DescribePartnerEventSource Source #
See: newDescribePartnerEventSource smart constructor.
Constructors
| DescribePartnerEventSource' | |
Instances
newDescribePartnerEventSource Source #
Arguments
| :: Text | |
| -> DescribePartnerEventSource |
Create a value of DescribePartnerEventSource 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:
DescribePartnerEventSource, describePartnerEventSource_name - The name of the event source to display.
Request Lenses
describePartnerEventSource_name :: Lens' DescribePartnerEventSource Text Source #
The name of the event source to display.
Destructuring the Response
data DescribePartnerEventSourceResponse Source #
See: newDescribePartnerEventSourceResponse smart constructor.
Constructors
| DescribePartnerEventSourceResponse' | |
Instances
newDescribePartnerEventSourceResponse Source #
Arguments
| :: Int | |
| -> DescribePartnerEventSourceResponse |
Create a value of DescribePartnerEventSourceResponse 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:
DescribePartnerEventSourceResponse, describePartnerEventSourceResponse_arn - The ARN of the event source.
DescribePartnerEventSource, describePartnerEventSourceResponse_name - The name of the event source.
$sel:httpStatus:DescribePartnerEventSourceResponse', describePartnerEventSourceResponse_httpStatus - The response's http status code.
Response Lenses
describePartnerEventSourceResponse_arn :: Lens' DescribePartnerEventSourceResponse (Maybe Text) Source #
The ARN of the event source.
describePartnerEventSourceResponse_name :: Lens' DescribePartnerEventSourceResponse (Maybe Text) Source #
The name of the event source.
describePartnerEventSourceResponse_httpStatus :: Lens' DescribePartnerEventSourceResponse Int Source #
The response's http status code.