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 |
Revokes access to a cluster.
Synopsis
- data RevokeEndpointAccess = RevokeEndpointAccess' {}
- newRevokeEndpointAccess :: RevokeEndpointAccess
- revokeEndpointAccess_force :: Lens' RevokeEndpointAccess (Maybe Bool)
- revokeEndpointAccess_clusterIdentifier :: Lens' RevokeEndpointAccess (Maybe Text)
- revokeEndpointAccess_account :: Lens' RevokeEndpointAccess (Maybe Text)
- revokeEndpointAccess_vpcIds :: Lens' RevokeEndpointAccess (Maybe [Text])
- data EndpointAuthorization = EndpointAuthorization' {}
- newEndpointAuthorization :: EndpointAuthorization
- endpointAuthorization_status :: Lens' EndpointAuthorization (Maybe AuthorizationStatus)
- endpointAuthorization_allowedAllVPCs :: Lens' EndpointAuthorization (Maybe Bool)
- endpointAuthorization_endpointCount :: Lens' EndpointAuthorization (Maybe Int)
- endpointAuthorization_grantor :: Lens' EndpointAuthorization (Maybe Text)
- endpointAuthorization_clusterIdentifier :: Lens' EndpointAuthorization (Maybe Text)
- endpointAuthorization_grantee :: Lens' EndpointAuthorization (Maybe Text)
- endpointAuthorization_allowedVPCs :: Lens' EndpointAuthorization (Maybe [Text])
- endpointAuthorization_clusterStatus :: Lens' EndpointAuthorization (Maybe Text)
- endpointAuthorization_authorizeTime :: Lens' EndpointAuthorization (Maybe UTCTime)
Creating a Request
data RevokeEndpointAccess Source #
See: newRevokeEndpointAccess
smart constructor.
RevokeEndpointAccess' | |
|
Instances
newRevokeEndpointAccess :: RevokeEndpointAccess Source #
Create a value of RevokeEndpointAccess
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:force:RevokeEndpointAccess'
, revokeEndpointAccess_force
- Indicates whether to force the revoke action. If true, the
Redshift-managed VPC endpoints associated with the endpoint
authorization are also deleted.
$sel:clusterIdentifier:RevokeEndpointAccess'
, revokeEndpointAccess_clusterIdentifier
- The cluster to revoke access from.
$sel:account:RevokeEndpointAccess'
, revokeEndpointAccess_account
- The Amazon Web Services account ID whose access is to be revoked.
$sel:vpcIds:RevokeEndpointAccess'
, revokeEndpointAccess_vpcIds
- The virtual private cloud (VPC) identifiers for which access is to be
revoked.
Request Lenses
revokeEndpointAccess_force :: Lens' RevokeEndpointAccess (Maybe Bool) Source #
Indicates whether to force the revoke action. If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted.
revokeEndpointAccess_clusterIdentifier :: Lens' RevokeEndpointAccess (Maybe Text) Source #
The cluster to revoke access from.
revokeEndpointAccess_account :: Lens' RevokeEndpointAccess (Maybe Text) Source #
The Amazon Web Services account ID whose access is to be revoked.
revokeEndpointAccess_vpcIds :: Lens' RevokeEndpointAccess (Maybe [Text]) Source #
The virtual private cloud (VPC) identifiers for which access is to be revoked.
Destructuring the Response
data EndpointAuthorization Source #
Describes an endpoint authorization for authorizing Redshift-managed VPC endpoint access to a cluster across Amazon Web Services accounts.
See: newEndpointAuthorization
smart constructor.
EndpointAuthorization' | |
|
Instances
newEndpointAuthorization :: EndpointAuthorization Source #
Create a value of EndpointAuthorization
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:status:EndpointAuthorization'
, endpointAuthorization_status
- The status of the authorization action.
$sel:allowedAllVPCs:EndpointAuthorization'
, endpointAuthorization_allowedAllVPCs
- Indicates whether all VPCs in the grantee account are allowed access to
the cluster.
$sel:endpointCount:EndpointAuthorization'
, endpointAuthorization_endpointCount
- The number of Redshift-managed VPC endpoints created for the
authorization.
$sel:grantor:EndpointAuthorization'
, endpointAuthorization_grantor
- The Amazon Web Services account ID of the cluster owner.
$sel:clusterIdentifier:EndpointAuthorization'
, endpointAuthorization_clusterIdentifier
- The cluster identifier.
$sel:grantee:EndpointAuthorization'
, endpointAuthorization_grantee
- The Amazon Web Services account ID of the grantee of the cluster.
$sel:allowedVPCs:EndpointAuthorization'
, endpointAuthorization_allowedVPCs
- The VPCs allowed access to the cluster.
$sel:clusterStatus:EndpointAuthorization'
, endpointAuthorization_clusterStatus
- The status of the cluster.
$sel:authorizeTime:EndpointAuthorization'
, endpointAuthorization_authorizeTime
- The time (UTC) when the authorization was created.
Response Lenses
endpointAuthorization_status :: Lens' EndpointAuthorization (Maybe AuthorizationStatus) Source #
The status of the authorization action.
endpointAuthorization_allowedAllVPCs :: Lens' EndpointAuthorization (Maybe Bool) Source #
Indicates whether all VPCs in the grantee account are allowed access to the cluster.
endpointAuthorization_endpointCount :: Lens' EndpointAuthorization (Maybe Int) Source #
The number of Redshift-managed VPC endpoints created for the authorization.
endpointAuthorization_grantor :: Lens' EndpointAuthorization (Maybe Text) Source #
The Amazon Web Services account ID of the cluster owner.
endpointAuthorization_clusterIdentifier :: Lens' EndpointAuthorization (Maybe Text) Source #
The cluster identifier.
endpointAuthorization_grantee :: Lens' EndpointAuthorization (Maybe Text) Source #
The Amazon Web Services account ID of the grantee of the cluster.
endpointAuthorization_allowedVPCs :: Lens' EndpointAuthorization (Maybe [Text]) Source #
The VPCs allowed access to the cluster.
endpointAuthorization_clusterStatus :: Lens' EndpointAuthorization (Maybe Text) Source #
The status of the cluster.
endpointAuthorization_authorizeTime :: Lens' EndpointAuthorization (Maybe UTCTime) Source #
The time (UTC) when the authorization was created.