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 |
This API is in preview release for Amazon Connect and is subject to change.
Describes the specified instance attribute.
Synopsis
- data DescribeInstanceAttribute = DescribeInstanceAttribute' {}
- newDescribeInstanceAttribute :: Text -> InstanceAttributeType -> DescribeInstanceAttribute
- describeInstanceAttribute_instanceId :: Lens' DescribeInstanceAttribute Text
- describeInstanceAttribute_attributeType :: Lens' DescribeInstanceAttribute InstanceAttributeType
- data DescribeInstanceAttributeResponse = DescribeInstanceAttributeResponse' {
- attribute :: Maybe Attribute
- httpStatus :: Int
- newDescribeInstanceAttributeResponse :: Int -> DescribeInstanceAttributeResponse
- describeInstanceAttributeResponse_attribute :: Lens' DescribeInstanceAttributeResponse (Maybe Attribute)
- describeInstanceAttributeResponse_httpStatus :: Lens' DescribeInstanceAttributeResponse Int
Creating a Request
data DescribeInstanceAttribute Source #
See: newDescribeInstanceAttribute
smart constructor.
DescribeInstanceAttribute' | |
|
Instances
newDescribeInstanceAttribute Source #
Create a value of DescribeInstanceAttribute
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:DescribeInstanceAttribute'
, describeInstanceAttribute_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
$sel:attributeType:DescribeInstanceAttribute'
, describeInstanceAttribute_attributeType
- The type of attribute.
Request Lenses
describeInstanceAttribute_instanceId :: Lens' DescribeInstanceAttribute Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
describeInstanceAttribute_attributeType :: Lens' DescribeInstanceAttribute InstanceAttributeType Source #
The type of attribute.
Destructuring the Response
data DescribeInstanceAttributeResponse Source #
See: newDescribeInstanceAttributeResponse
smart constructor.
DescribeInstanceAttributeResponse' | |
|
Instances
Eq DescribeInstanceAttributeResponse Source # | |
Read DescribeInstanceAttributeResponse Source # | |
Show DescribeInstanceAttributeResponse Source # | |
Generic DescribeInstanceAttributeResponse Source # | |
NFData DescribeInstanceAttributeResponse Source # | |
Defined in Amazonka.Connect.DescribeInstanceAttribute rnf :: DescribeInstanceAttributeResponse -> () # | |
type Rep DescribeInstanceAttributeResponse Source # | |
Defined in Amazonka.Connect.DescribeInstanceAttribute type Rep DescribeInstanceAttributeResponse = D1 ('MetaData "DescribeInstanceAttributeResponse" "Amazonka.Connect.DescribeInstanceAttribute" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "DescribeInstanceAttributeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attribute") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Attribute)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDescribeInstanceAttributeResponse Source #
Create a value of DescribeInstanceAttributeResponse
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:attribute:DescribeInstanceAttributeResponse'
, describeInstanceAttributeResponse_attribute
- The type of attribute.
$sel:httpStatus:DescribeInstanceAttributeResponse'
, describeInstanceAttributeResponse_httpStatus
- The response's http status code.
Response Lenses
describeInstanceAttributeResponse_attribute :: Lens' DescribeInstanceAttributeResponse (Maybe Attribute) Source #
The type of attribute.
describeInstanceAttributeResponse_httpStatus :: Lens' DescribeInstanceAttributeResponse Int Source #
The response's http status code.