| 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.ElasticSearch.AuthorizeVpcEndpointAccess
Description
Provides access to an Amazon OpenSearch Service domain through the use of an interface VPC endpoint.
Synopsis
- data AuthorizeVpcEndpointAccess = AuthorizeVpcEndpointAccess' {
- domainName :: Text
- account :: Text
- newAuthorizeVpcEndpointAccess :: Text -> Text -> AuthorizeVpcEndpointAccess
- authorizeVpcEndpointAccess_domainName :: Lens' AuthorizeVpcEndpointAccess Text
- authorizeVpcEndpointAccess_account :: Lens' AuthorizeVpcEndpointAccess Text
- data AuthorizeVpcEndpointAccessResponse = AuthorizeVpcEndpointAccessResponse' {}
- newAuthorizeVpcEndpointAccessResponse :: Int -> AuthorizedPrincipal -> AuthorizeVpcEndpointAccessResponse
- authorizeVpcEndpointAccessResponse_httpStatus :: Lens' AuthorizeVpcEndpointAccessResponse Int
- authorizeVpcEndpointAccessResponse_authorizedPrincipal :: Lens' AuthorizeVpcEndpointAccessResponse AuthorizedPrincipal
Creating a Request
data AuthorizeVpcEndpointAccess Source #
Container for request parameters to the AuthorizeVpcEndpointAccess
operation. Specifies the account to be permitted to manage VPC endpoints
against the domain.
See: newAuthorizeVpcEndpointAccess smart constructor.
Constructors
| AuthorizeVpcEndpointAccess' | |
Fields
| |
Instances
newAuthorizeVpcEndpointAccess Source #
Arguments
| :: Text | |
| -> Text | |
| -> AuthorizeVpcEndpointAccess |
Create a value of AuthorizeVpcEndpointAccess 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:
AuthorizeVpcEndpointAccess, authorizeVpcEndpointAccess_domainName - The name of the OpenSearch Service domain to provide access to.
$sel:account:AuthorizeVpcEndpointAccess', authorizeVpcEndpointAccess_account - The account ID to grant access to.
Request Lenses
authorizeVpcEndpointAccess_domainName :: Lens' AuthorizeVpcEndpointAccess Text Source #
The name of the OpenSearch Service domain to provide access to.
authorizeVpcEndpointAccess_account :: Lens' AuthorizeVpcEndpointAccess Text Source #
The account ID to grant access to.
Destructuring the Response
data AuthorizeVpcEndpointAccessResponse Source #
Container for response parameters to the AuthorizeVpcEndpointAccess
operation. Contains the account ID and the type of the account being
authorized to access the VPC endpoint.
See: newAuthorizeVpcEndpointAccessResponse smart constructor.
Constructors
| AuthorizeVpcEndpointAccessResponse' | |
Fields
| |
Instances
newAuthorizeVpcEndpointAccessResponse Source #
Arguments
| :: Int | |
| -> AuthorizedPrincipal |
|
| -> AuthorizeVpcEndpointAccessResponse |
Create a value of AuthorizeVpcEndpointAccessResponse 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:httpStatus:AuthorizeVpcEndpointAccessResponse', authorizeVpcEndpointAccessResponse_httpStatus - The response's http status code.
$sel:authorizedPrincipal:AuthorizeVpcEndpointAccessResponse', authorizeVpcEndpointAccessResponse_authorizedPrincipal - Information about the account or service that was provided access to the
domain.
Response Lenses
authorizeVpcEndpointAccessResponse_httpStatus :: Lens' AuthorizeVpcEndpointAccessResponse Int Source #
The response's http status code.
authorizeVpcEndpointAccessResponse_authorizedPrincipal :: Lens' AuthorizeVpcEndpointAccessResponse AuthorizedPrincipal Source #
Information about the account or service that was provided access to the domain.