| 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.UpdateSecurityProfile
Description
This API is in preview release for Amazon Connect and is subject to change.
Updates a security profile.
Synopsis
- data UpdateSecurityProfile = UpdateSecurityProfile' {}
- newUpdateSecurityProfile :: Text -> Text -> UpdateSecurityProfile
- updateSecurityProfile_allowedAccessControlTags :: Lens' UpdateSecurityProfile (Maybe (HashMap Text Text))
- updateSecurityProfile_description :: Lens' UpdateSecurityProfile (Maybe Text)
- updateSecurityProfile_permissions :: Lens' UpdateSecurityProfile (Maybe [Text])
- updateSecurityProfile_tagRestrictedResources :: Lens' UpdateSecurityProfile (Maybe [Text])
- updateSecurityProfile_securityProfileId :: Lens' UpdateSecurityProfile Text
- updateSecurityProfile_instanceId :: Lens' UpdateSecurityProfile Text
- data UpdateSecurityProfileResponse = UpdateSecurityProfileResponse' {
- newUpdateSecurityProfileResponse :: UpdateSecurityProfileResponse
Creating a Request
data UpdateSecurityProfile Source #
See: newUpdateSecurityProfile smart constructor.
Constructors
| UpdateSecurityProfile' | |
Fields
| |
Instances
newUpdateSecurityProfile Source #
Arguments
| :: Text | |
| -> Text | |
| -> UpdateSecurityProfile |
Create a value of UpdateSecurityProfile 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:
UpdateSecurityProfile, updateSecurityProfile_allowedAccessControlTags - The list of tags that a security profile uses to restrict access to
resources in Amazon Connect.
UpdateSecurityProfile, updateSecurityProfile_description - The description of the security profile.
$sel:permissions:UpdateSecurityProfile', updateSecurityProfile_permissions - The permissions granted to a security profile. For a list of valid
permissions, see
List of security profile permissions.
UpdateSecurityProfile, updateSecurityProfile_tagRestrictedResources - The list of resources that a security profile applies tag restrictions
to in Amazon Connect.
$sel:securityProfileId:UpdateSecurityProfile', updateSecurityProfile_securityProfileId - The identifier for the security profle.
UpdateSecurityProfile, updateSecurityProfile_instanceId - The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
Request Lenses
updateSecurityProfile_allowedAccessControlTags :: Lens' UpdateSecurityProfile (Maybe (HashMap Text Text)) Source #
The list of tags that a security profile uses to restrict access to resources in Amazon Connect.
updateSecurityProfile_description :: Lens' UpdateSecurityProfile (Maybe Text) Source #
The description of the security profile.
updateSecurityProfile_permissions :: Lens' UpdateSecurityProfile (Maybe [Text]) Source #
The permissions granted to a security profile. For a list of valid permissions, see List of security profile permissions.
updateSecurityProfile_tagRestrictedResources :: Lens' UpdateSecurityProfile (Maybe [Text]) Source #
The list of resources that a security profile applies tag restrictions to in Amazon Connect.
updateSecurityProfile_securityProfileId :: Lens' UpdateSecurityProfile Text Source #
The identifier for the security profle.
updateSecurityProfile_instanceId :: Lens' UpdateSecurityProfile Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
Destructuring the Response
data UpdateSecurityProfileResponse Source #
See: newUpdateSecurityProfileResponse smart constructor.
Constructors
| UpdateSecurityProfileResponse' | |
Instances
| Generic UpdateSecurityProfileResponse Source # | |
Defined in Amazonka.Connect.UpdateSecurityProfile Associated Types type Rep UpdateSecurityProfileResponse :: Type -> Type # | |
| Read UpdateSecurityProfileResponse Source # | |
| Show UpdateSecurityProfileResponse Source # | |
Defined in Amazonka.Connect.UpdateSecurityProfile Methods showsPrec :: Int -> UpdateSecurityProfileResponse -> ShowS # show :: UpdateSecurityProfileResponse -> String # showList :: [UpdateSecurityProfileResponse] -> ShowS # | |
| NFData UpdateSecurityProfileResponse Source # | |
Defined in Amazonka.Connect.UpdateSecurityProfile Methods rnf :: UpdateSecurityProfileResponse -> () # | |
| Eq UpdateSecurityProfileResponse Source # | |
Defined in Amazonka.Connect.UpdateSecurityProfile | |
| type Rep UpdateSecurityProfileResponse Source # | |
Defined in Amazonka.Connect.UpdateSecurityProfile | |
newUpdateSecurityProfileResponse :: UpdateSecurityProfileResponse Source #
Create a value of UpdateSecurityProfileResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.