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 |
Amazonka.Connect.DescribeRoutingProfile
Description
Describes the specified routing profile.
Synopsis
- data DescribeRoutingProfile = DescribeRoutingProfile' {}
- newDescribeRoutingProfile :: Text -> Text -> DescribeRoutingProfile
- describeRoutingProfile_instanceId :: Lens' DescribeRoutingProfile Text
- describeRoutingProfile_routingProfileId :: Lens' DescribeRoutingProfile Text
- data DescribeRoutingProfileResponse = DescribeRoutingProfileResponse' {}
- newDescribeRoutingProfileResponse :: Int -> DescribeRoutingProfileResponse
- describeRoutingProfileResponse_routingProfile :: Lens' DescribeRoutingProfileResponse (Maybe RoutingProfile)
- describeRoutingProfileResponse_httpStatus :: Lens' DescribeRoutingProfileResponse Int
Creating a Request
data DescribeRoutingProfile Source #
See: newDescribeRoutingProfile
smart constructor.
Constructors
DescribeRoutingProfile' | |
Fields
|
Instances
newDescribeRoutingProfile Source #
Arguments
:: Text | |
-> Text | |
-> DescribeRoutingProfile |
Create a value of DescribeRoutingProfile
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:instanceId:DescribeRoutingProfile'
, describeRoutingProfile_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
$sel:routingProfileId:DescribeRoutingProfile'
, describeRoutingProfile_routingProfileId
- The identifier of the routing profile.
Request Lenses
describeRoutingProfile_instanceId :: Lens' DescribeRoutingProfile Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
describeRoutingProfile_routingProfileId :: Lens' DescribeRoutingProfile Text Source #
The identifier of the routing profile.
Destructuring the Response
data DescribeRoutingProfileResponse Source #
See: newDescribeRoutingProfileResponse
smart constructor.
Constructors
DescribeRoutingProfileResponse' | |
Fields
|
Instances
newDescribeRoutingProfileResponse Source #
Create a value of DescribeRoutingProfileResponse
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:routingProfile:DescribeRoutingProfileResponse'
, describeRoutingProfileResponse_routingProfile
- The routing profile.
$sel:httpStatus:DescribeRoutingProfileResponse'
, describeRoutingProfileResponse_httpStatus
- The response's http status code.
Response Lenses
describeRoutingProfileResponse_routingProfile :: Lens' DescribeRoutingProfileResponse (Maybe RoutingProfile) Source #
The routing profile.
describeRoutingProfileResponse_httpStatus :: Lens' DescribeRoutingProfileResponse Int Source #
The response's http status code.