| 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.Redshift.AuthorizeEndpointAccess
Description
Grants access to a cluster.
Synopsis
- data AuthorizeEndpointAccess = AuthorizeEndpointAccess' {}
- newAuthorizeEndpointAccess :: Text -> AuthorizeEndpointAccess
- authorizeEndpointAccess_clusterIdentifier :: Lens' AuthorizeEndpointAccess (Maybe Text)
- authorizeEndpointAccess_vpcIds :: Lens' AuthorizeEndpointAccess (Maybe [Text])
- authorizeEndpointAccess_account :: Lens' AuthorizeEndpointAccess Text
- data EndpointAuthorization = EndpointAuthorization' {}
- newEndpointAuthorization :: EndpointAuthorization
- endpointAuthorization_allowedAllVPCs :: Lens' EndpointAuthorization (Maybe Bool)
- endpointAuthorization_allowedVPCs :: Lens' EndpointAuthorization (Maybe [Text])
- endpointAuthorization_authorizeTime :: Lens' EndpointAuthorization (Maybe UTCTime)
- endpointAuthorization_clusterIdentifier :: Lens' EndpointAuthorization (Maybe Text)
- endpointAuthorization_clusterStatus :: Lens' EndpointAuthorization (Maybe Text)
- endpointAuthorization_endpointCount :: Lens' EndpointAuthorization (Maybe Int)
- endpointAuthorization_grantee :: Lens' EndpointAuthorization (Maybe Text)
- endpointAuthorization_grantor :: Lens' EndpointAuthorization (Maybe Text)
- endpointAuthorization_status :: Lens' EndpointAuthorization (Maybe AuthorizationStatus)
Creating a Request
data AuthorizeEndpointAccess Source #
See: newAuthorizeEndpointAccess smart constructor.
Constructors
| AuthorizeEndpointAccess' | |
Instances
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:
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
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:allowedAllVPCs:EndpointAuthorization', endpointAuthorization_allowedAllVPCs - Indicates whether all VPCs in the grantee account are allowed access to
the cluster.
$sel:allowedVPCs:EndpointAuthorization', endpointAuthorization_allowedVPCs - The VPCs allowed access to the cluster.
$sel:authorizeTime:EndpointAuthorization', endpointAuthorization_authorizeTime - The time (UTC) when the authorization was created.
$sel:clusterIdentifier:EndpointAuthorization', endpointAuthorization_clusterIdentifier - The cluster identifier.
$sel:clusterStatus:EndpointAuthorization', endpointAuthorization_clusterStatus - The status of the cluster.
$sel:endpointCount:EndpointAuthorization', endpointAuthorization_endpointCount - The number of Redshift-managed VPC endpoints created for the
authorization.
$sel:grantee:EndpointAuthorization', endpointAuthorization_grantee - The Amazon Web Services account ID of the grantee of the cluster.
$sel:grantor:EndpointAuthorization', endpointAuthorization_grantor - The Amazon Web Services account ID of the cluster owner.
$sel:status:EndpointAuthorization', endpointAuthorization_status - The status of the authorization action.
Response Lenses
endpointAuthorization_allowedAllVPCs :: Lens' EndpointAuthorization (Maybe Bool) Source #
Indicates whether all VPCs in the grantee account are allowed access to 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.
endpointAuthorization_clusterIdentifier :: Lens' EndpointAuthorization (Maybe Text) Source #
The cluster identifier.
endpointAuthorization_clusterStatus :: Lens' EndpointAuthorization (Maybe Text) Source #
The status of the cluster.
endpointAuthorization_endpointCount :: Lens' EndpointAuthorization (Maybe Int) Source #
The number of Redshift-managed VPC endpoints created for the authorization.
endpointAuthorization_grantee :: Lens' EndpointAuthorization (Maybe Text) Source #
The Amazon Web Services account ID of the grantee of the cluster.
endpointAuthorization_grantor :: Lens' EndpointAuthorization (Maybe Text) Source #
The Amazon Web Services account ID of the cluster owner.
endpointAuthorization_status :: Lens' EndpointAuthorization (Maybe AuthorizationStatus) Source #
The status of the authorization action.