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 |
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.
Instances
newDescribePartnerEventSource Source #
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:
$sel:name: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.
Instances
newDescribePartnerEventSourceResponse Source #
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:
$sel:arn:DescribePartnerEventSourceResponse'
, describePartnerEventSourceResponse_arn
- The ARN of the event source.
$sel:name: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.