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 |
Allows you to delete the access specified in the ServerID
and
ExternalID
parameters.
Synopsis
- data DeleteAccess = DeleteAccess' {
- serverId :: Text
- externalId :: Text
- newDeleteAccess :: Text -> Text -> DeleteAccess
- deleteAccess_serverId :: Lens' DeleteAccess Text
- deleteAccess_externalId :: Lens' DeleteAccess Text
- data DeleteAccessResponse = DeleteAccessResponse' {
- newDeleteAccessResponse :: DeleteAccessResponse
Creating a Request
data DeleteAccess Source #
See: newDeleteAccess
smart constructor.
DeleteAccess' | |
|
Instances
Create a value of DeleteAccess
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:serverId:DeleteAccess'
, deleteAccess_serverId
- A system-assigned unique identifier for a server that has this user
assigned.
$sel:externalId:DeleteAccess'
, deleteAccess_externalId
- A unique identifier that is required to identify specific groups within
your directory. The users of the group that you associate have access to
your Amazon S3 or Amazon EFS resources over the enabled protocols using
Amazon Web Services Transfer Family. If you know the group name, you can
view the SID values by running the following command using Windows
PowerShell.
Get-ADGroup -Filter {samAccountName -like "YourGroupName*"} -Properties * | Select SamAccountName,ObjectSid
In that command, replace YourGroupName with the name of your Active Directory group.
The regex used to validate this parameter is a string of characters consisting of uppercase and lowercase alphanumeric characters with no spaces. You can also include underscores or any of the following characters: =,.@:/-
Request Lenses
deleteAccess_serverId :: Lens' DeleteAccess Text Source #
A system-assigned unique identifier for a server that has this user assigned.
deleteAccess_externalId :: Lens' DeleteAccess Text Source #
A unique identifier that is required to identify specific groups within your directory. The users of the group that you associate have access to your Amazon S3 or Amazon EFS resources over the enabled protocols using Amazon Web Services Transfer Family. If you know the group name, you can view the SID values by running the following command using Windows PowerShell.
Get-ADGroup -Filter {samAccountName -like "YourGroupName*"} -Properties * | Select SamAccountName,ObjectSid
In that command, replace YourGroupName with the name of your Active Directory group.
The regex used to validate this parameter is a string of characters consisting of uppercase and lowercase alphanumeric characters with no spaces. You can also include underscores or any of the following characters: =,.@:/-
Destructuring the Response
data DeleteAccessResponse Source #
See: newDeleteAccessResponse
smart constructor.
Instances
Eq DeleteAccessResponse Source # | |
Defined in Amazonka.Transfer.DeleteAccess (==) :: DeleteAccessResponse -> DeleteAccessResponse -> Bool # (/=) :: DeleteAccessResponse -> DeleteAccessResponse -> Bool # | |
Read DeleteAccessResponse Source # | |
Show DeleteAccessResponse Source # | |
Defined in Amazonka.Transfer.DeleteAccess showsPrec :: Int -> DeleteAccessResponse -> ShowS # show :: DeleteAccessResponse -> String # showList :: [DeleteAccessResponse] -> ShowS # | |
Generic DeleteAccessResponse Source # | |
Defined in Amazonka.Transfer.DeleteAccess type Rep DeleteAccessResponse :: Type -> Type # from :: DeleteAccessResponse -> Rep DeleteAccessResponse x # to :: Rep DeleteAccessResponse x -> DeleteAccessResponse # | |
NFData DeleteAccessResponse Source # | |
Defined in Amazonka.Transfer.DeleteAccess rnf :: DeleteAccessResponse -> () # | |
type Rep DeleteAccessResponse Source # | |
newDeleteAccessResponse :: DeleteAccessResponse Source #
Create a value of DeleteAccessResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.