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.Connect.DescribeSecurityProfile
Description
This API is in preview release for Amazon Connect and is subject to change.
Gets basic information about the security profle.
Synopsis
- data DescribeSecurityProfile = DescribeSecurityProfile' {}
- newDescribeSecurityProfile :: Text -> Text -> DescribeSecurityProfile
- describeSecurityProfile_securityProfileId :: Lens' DescribeSecurityProfile Text
- describeSecurityProfile_instanceId :: Lens' DescribeSecurityProfile Text
- data DescribeSecurityProfileResponse = DescribeSecurityProfileResponse' {}
- newDescribeSecurityProfileResponse :: Int -> DescribeSecurityProfileResponse
- describeSecurityProfileResponse_securityProfile :: Lens' DescribeSecurityProfileResponse (Maybe SecurityProfile)
- describeSecurityProfileResponse_httpStatus :: Lens' DescribeSecurityProfileResponse Int
Creating a Request
data DescribeSecurityProfile Source #
See: newDescribeSecurityProfile
smart constructor.
Constructors
DescribeSecurityProfile' | |
Fields
|
Instances
newDescribeSecurityProfile Source #
Arguments
:: Text | |
-> Text | |
-> DescribeSecurityProfile |
Create a value of DescribeSecurityProfile
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:securityProfileId:DescribeSecurityProfile'
, describeSecurityProfile_securityProfileId
- The identifier for the security profle.
DescribeSecurityProfile
, describeSecurityProfile_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
Request Lenses
describeSecurityProfile_securityProfileId :: Lens' DescribeSecurityProfile Text Source #
The identifier for the security profle.
describeSecurityProfile_instanceId :: Lens' DescribeSecurityProfile Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
Destructuring the Response
data DescribeSecurityProfileResponse Source #
See: newDescribeSecurityProfileResponse
smart constructor.
Constructors
DescribeSecurityProfileResponse' | |
Fields
|
Instances
newDescribeSecurityProfileResponse Source #
Create a value of DescribeSecurityProfileResponse
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:securityProfile:DescribeSecurityProfileResponse'
, describeSecurityProfileResponse_securityProfile
- The security profile.
$sel:httpStatus:DescribeSecurityProfileResponse'
, describeSecurityProfileResponse_httpStatus
- The response's http status code.
Response Lenses
describeSecurityProfileResponse_securityProfile :: Lens' DescribeSecurityProfileResponse (Maybe SecurityProfile) Source #
The security profile.
describeSecurityProfileResponse_httpStatus :: Lens' DescribeSecurityProfileResponse Int Source #
The response's http status code.