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 |
This API is in preview release for Amazon Connect and is subject to change.
Creates a security profile.
Synopsis
- data CreateSecurityProfile = CreateSecurityProfile' {
- allowedAccessControlTags :: Maybe (HashMap Text Text)
- description :: Maybe Text
- permissions :: Maybe [Text]
- tagRestrictedResources :: Maybe [Text]
- tags :: Maybe (HashMap Text Text)
- securityProfileName :: Text
- instanceId :: Text
- newCreateSecurityProfile :: Text -> Text -> CreateSecurityProfile
- createSecurityProfile_allowedAccessControlTags :: Lens' CreateSecurityProfile (Maybe (HashMap Text Text))
- createSecurityProfile_description :: Lens' CreateSecurityProfile (Maybe Text)
- createSecurityProfile_permissions :: Lens' CreateSecurityProfile (Maybe [Text])
- createSecurityProfile_tagRestrictedResources :: Lens' CreateSecurityProfile (Maybe [Text])
- createSecurityProfile_tags :: Lens' CreateSecurityProfile (Maybe (HashMap Text Text))
- createSecurityProfile_securityProfileName :: Lens' CreateSecurityProfile Text
- createSecurityProfile_instanceId :: Lens' CreateSecurityProfile Text
- data CreateSecurityProfileResponse = CreateSecurityProfileResponse' {}
- newCreateSecurityProfileResponse :: Int -> CreateSecurityProfileResponse
- createSecurityProfileResponse_securityProfileArn :: Lens' CreateSecurityProfileResponse (Maybe Text)
- createSecurityProfileResponse_securityProfileId :: Lens' CreateSecurityProfileResponse (Maybe Text)
- createSecurityProfileResponse_httpStatus :: Lens' CreateSecurityProfileResponse Int
Creating a Request
data CreateSecurityProfile Source #
See: newCreateSecurityProfile
smart constructor.
CreateSecurityProfile' | |
|
Instances
newCreateSecurityProfile Source #
Create a value of CreateSecurityProfile
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:
CreateSecurityProfile
, createSecurityProfile_allowedAccessControlTags
- The list of tags that a security profile uses to restrict access to
resources in Amazon Connect.
CreateSecurityProfile
, createSecurityProfile_description
- The description of the security profile.
$sel:permissions:CreateSecurityProfile'
, createSecurityProfile_permissions
- Permissions assigned to the security profile. For a list of valid
permissions, see
List of security profile permissions.
CreateSecurityProfile
, createSecurityProfile_tagRestrictedResources
- The list of resources that a security profile applies tag restrictions
to in Amazon Connect. Following are acceptable ResourceNames: User
|
SecurityProfile
| Queue
| RoutingProfile
CreateSecurityProfile
, createSecurityProfile_tags
- The tags used to organize, track, or control access for this resource.
For example, { "tags": {"key1":"value1", "key2":"value2"} }.
CreateSecurityProfile
, createSecurityProfile_securityProfileName
- The name of the security profile.
CreateSecurityProfile
, createSecurityProfile_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
Request Lenses
createSecurityProfile_allowedAccessControlTags :: Lens' CreateSecurityProfile (Maybe (HashMap Text Text)) Source #
The list of tags that a security profile uses to restrict access to resources in Amazon Connect.
createSecurityProfile_description :: Lens' CreateSecurityProfile (Maybe Text) Source #
The description of the security profile.
createSecurityProfile_permissions :: Lens' CreateSecurityProfile (Maybe [Text]) Source #
Permissions assigned to the security profile. For a list of valid permissions, see List of security profile permissions.
createSecurityProfile_tagRestrictedResources :: Lens' CreateSecurityProfile (Maybe [Text]) Source #
The list of resources that a security profile applies tag restrictions
to in Amazon Connect. Following are acceptable ResourceNames: User
|
SecurityProfile
| Queue
| RoutingProfile
createSecurityProfile_tags :: Lens' CreateSecurityProfile (Maybe (HashMap Text Text)) Source #
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
createSecurityProfile_securityProfileName :: Lens' CreateSecurityProfile Text Source #
The name of the security profile.
createSecurityProfile_instanceId :: Lens' CreateSecurityProfile Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
Destructuring the Response
data CreateSecurityProfileResponse Source #
See: newCreateSecurityProfileResponse
smart constructor.
CreateSecurityProfileResponse' | |
|
Instances
newCreateSecurityProfileResponse Source #
Create a value of CreateSecurityProfileResponse
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:securityProfileArn:CreateSecurityProfileResponse'
, createSecurityProfileResponse_securityProfileArn
- The Amazon Resource Name (ARN) for the security profile.
$sel:securityProfileId:CreateSecurityProfileResponse'
, createSecurityProfileResponse_securityProfileId
- The identifier for the security profle.
$sel:httpStatus:CreateSecurityProfileResponse'
, createSecurityProfileResponse_httpStatus
- The response's http status code.
Response Lenses
createSecurityProfileResponse_securityProfileArn :: Lens' CreateSecurityProfileResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) for the security profile.
createSecurityProfileResponse_securityProfileId :: Lens' CreateSecurityProfileResponse (Maybe Text) Source #
The identifier for the security profle.
createSecurityProfileResponse_httpStatus :: Lens' CreateSecurityProfileResponse Int Source #
The response's http status code.