libZSservicesZSamazonka-redshiftZSamazonka-redshift
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Redshift.RevokeEndpointAccess

Description

Revokes access to a cluster.

Synopsis

Creating a Request

data RevokeEndpointAccess Source #

See: newRevokeEndpointAccess smart constructor.

Constructors

RevokeEndpointAccess' 

Fields

  • force :: Maybe Bool

    Indicates whether to force the revoke action. If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted.

  • clusterIdentifier :: Maybe Text

    The cluster to revoke access from.

  • account :: Maybe Text

    The Amazon Web Services account ID whose access is to be revoked.

  • vpcIds :: Maybe [Text]

    The virtual private cloud (VPC) identifiers for which access is to be revoked.

Instances

Instances details
Eq RevokeEndpointAccess Source # 
Instance details

Defined in Amazonka.Redshift.RevokeEndpointAccess

Read RevokeEndpointAccess Source # 
Instance details

Defined in Amazonka.Redshift.RevokeEndpointAccess

Show RevokeEndpointAccess Source # 
Instance details

Defined in Amazonka.Redshift.RevokeEndpointAccess

Generic RevokeEndpointAccess Source # 
Instance details

Defined in Amazonka.Redshift.RevokeEndpointAccess

Associated Types

type Rep RevokeEndpointAccess :: Type -> Type #

NFData RevokeEndpointAccess Source # 
Instance details

Defined in Amazonka.Redshift.RevokeEndpointAccess

Methods

rnf :: RevokeEndpointAccess -> () #

Hashable RevokeEndpointAccess Source # 
Instance details

Defined in Amazonka.Redshift.RevokeEndpointAccess

AWSRequest RevokeEndpointAccess Source # 
Instance details

Defined in Amazonka.Redshift.RevokeEndpointAccess

Associated Types

type AWSResponse RevokeEndpointAccess #

ToHeaders RevokeEndpointAccess Source # 
Instance details

Defined in Amazonka.Redshift.RevokeEndpointAccess

ToPath RevokeEndpointAccess Source # 
Instance details

Defined in Amazonka.Redshift.RevokeEndpointAccess

ToQuery RevokeEndpointAccess Source # 
Instance details

Defined in Amazonka.Redshift.RevokeEndpointAccess

type Rep RevokeEndpointAccess Source # 
Instance details

Defined in Amazonka.Redshift.RevokeEndpointAccess

type Rep RevokeEndpointAccess = D1 ('MetaData "RevokeEndpointAccess" "Amazonka.Redshift.RevokeEndpointAccess" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "RevokeEndpointAccess'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "force") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "clusterIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "account") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "vpcIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))
type AWSResponse RevokeEndpointAccess Source # 
Instance details

Defined in Amazonka.Redshift.RevokeEndpointAccess

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_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.

Constructors

EndpointAuthorization' 

Fields

Instances

Instances details
Eq EndpointAuthorization Source # 
Instance details

Defined in Amazonka.Redshift.Types.EndpointAuthorization

Read EndpointAuthorization Source # 
Instance details

Defined in Amazonka.Redshift.Types.EndpointAuthorization

Show EndpointAuthorization Source # 
Instance details

Defined in Amazonka.Redshift.Types.EndpointAuthorization

Generic EndpointAuthorization Source # 
Instance details

Defined in Amazonka.Redshift.Types.EndpointAuthorization

Associated Types

type Rep EndpointAuthorization :: Type -> Type #

NFData EndpointAuthorization Source # 
Instance details

Defined in Amazonka.Redshift.Types.EndpointAuthorization

Methods

rnf :: EndpointAuthorization -> () #

Hashable EndpointAuthorization Source # 
Instance details

Defined in Amazonka.Redshift.Types.EndpointAuthorization

FromXML EndpointAuthorization Source # 
Instance details

Defined in Amazonka.Redshift.Types.EndpointAuthorization

type Rep EndpointAuthorization Source # 
Instance details

Defined in Amazonka.Redshift.Types.EndpointAuthorization

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_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_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_authorizeTime :: Lens' EndpointAuthorization (Maybe UTCTime) Source #

The time (UTC) when the authorization was created.