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 |
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.
DescribeRoutingProfile' | |
|
Instances
newDescribeRoutingProfile Source #
:: 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.
DescribeRoutingProfileResponse' | |
|
Instances
Eq DescribeRoutingProfileResponse Source # | |
Read DescribeRoutingProfileResponse Source # | |
Show DescribeRoutingProfileResponse Source # | |
Defined in Amazonka.Connect.DescribeRoutingProfile | |
Generic DescribeRoutingProfileResponse Source # | |
NFData DescribeRoutingProfileResponse Source # | |
Defined in Amazonka.Connect.DescribeRoutingProfile rnf :: DescribeRoutingProfileResponse -> () # | |
type Rep DescribeRoutingProfileResponse Source # | |
Defined in Amazonka.Connect.DescribeRoutingProfile type Rep DescribeRoutingProfileResponse = D1 ('MetaData "DescribeRoutingProfileResponse" "Amazonka.Connect.DescribeRoutingProfile" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "DescribeRoutingProfileResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "routingProfile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RoutingProfile)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.