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

Description

Grants access to a cluster.

Synopsis

Creating a Request

data AuthorizeEndpointAccess Source #

See: newAuthorizeEndpointAccess smart constructor.

Constructors

AuthorizeEndpointAccess' 

Fields

Instances

Instances details
Eq AuthorizeEndpointAccess Source # 
Instance details

Defined in Amazonka.Redshift.AuthorizeEndpointAccess

Read AuthorizeEndpointAccess Source # 
Instance details

Defined in Amazonka.Redshift.AuthorizeEndpointAccess

Show AuthorizeEndpointAccess Source # 
Instance details

Defined in Amazonka.Redshift.AuthorizeEndpointAccess

Generic AuthorizeEndpointAccess Source # 
Instance details

Defined in Amazonka.Redshift.AuthorizeEndpointAccess

Associated Types

type Rep AuthorizeEndpointAccess :: Type -> Type #

NFData AuthorizeEndpointAccess Source # 
Instance details

Defined in Amazonka.Redshift.AuthorizeEndpointAccess

Methods

rnf :: AuthorizeEndpointAccess -> () #

Hashable AuthorizeEndpointAccess Source # 
Instance details

Defined in Amazonka.Redshift.AuthorizeEndpointAccess

AWSRequest AuthorizeEndpointAccess Source # 
Instance details

Defined in Amazonka.Redshift.AuthorizeEndpointAccess

ToHeaders AuthorizeEndpointAccess Source # 
Instance details

Defined in Amazonka.Redshift.AuthorizeEndpointAccess

ToPath AuthorizeEndpointAccess Source # 
Instance details

Defined in Amazonka.Redshift.AuthorizeEndpointAccess

ToQuery AuthorizeEndpointAccess Source # 
Instance details

Defined in Amazonka.Redshift.AuthorizeEndpointAccess

type Rep AuthorizeEndpointAccess Source # 
Instance details

Defined in Amazonka.Redshift.AuthorizeEndpointAccess

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

Defined in Amazonka.Redshift.AuthorizeEndpointAccess

newAuthorizeEndpointAccess Source #

Create a value of AuthorizeEndpointAccess 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:clusterIdentifier:AuthorizeEndpointAccess', authorizeEndpointAccess_clusterIdentifier - The cluster identifier of the cluster to grant access to.

$sel:vpcIds:AuthorizeEndpointAccess', authorizeEndpointAccess_vpcIds - The virtual private cloud (VPC) identifiers to grant access to.

$sel:account:AuthorizeEndpointAccess', authorizeEndpointAccess_account - The Amazon Web Services account ID to grant access to.

Request Lenses

authorizeEndpointAccess_clusterIdentifier :: Lens' AuthorizeEndpointAccess (Maybe Text) Source #

The cluster identifier of the cluster to grant access to.

authorizeEndpointAccess_vpcIds :: Lens' AuthorizeEndpointAccess (Maybe [Text]) Source #

The virtual private cloud (VPC) identifiers to grant access to.

authorizeEndpointAccess_account :: Lens' AuthorizeEndpointAccess Text Source #

The Amazon Web Services account ID to grant access to.

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.