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 |
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 #
See: newAuthorizeVpcEndpointAccess
smart constructor.
AuthorizeVpcEndpointAccess' | |
|
Instances
newAuthorizeVpcEndpointAccess Source #
:: 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 Amazon Web Services 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 Amazon Web Services account ID to grant access to.
Destructuring the Response
data AuthorizeVpcEndpointAccessResponse Source #
See: newAuthorizeVpcEndpointAccessResponse
smart constructor.
AuthorizeVpcEndpointAccessResponse' | |
|
Instances
Generic AuthorizeVpcEndpointAccessResponse Source # | |
Read AuthorizeVpcEndpointAccessResponse Source # | |
Show AuthorizeVpcEndpointAccessResponse Source # | |
NFData AuthorizeVpcEndpointAccessResponse Source # | |
Defined in Amazonka.OpenSearch.AuthorizeVpcEndpointAccess rnf :: AuthorizeVpcEndpointAccessResponse -> () # | |
Eq AuthorizeVpcEndpointAccessResponse Source # | |
type Rep AuthorizeVpcEndpointAccessResponse Source # | |
Defined in Amazonka.OpenSearch.AuthorizeVpcEndpointAccess type Rep AuthorizeVpcEndpointAccessResponse = D1 ('MetaData "AuthorizeVpcEndpointAccessResponse" "Amazonka.OpenSearch.AuthorizeVpcEndpointAccess" "amazonka-opensearch-2.0-GNoaWlqGXH04P8GBIHM78L" 'False) (C1 ('MetaCons "AuthorizeVpcEndpointAccessResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "authorizedPrincipal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AuthorizedPrincipal))) |
newAuthorizeVpcEndpointAccessResponse Source #
:: 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 Amazon Web Services 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 Amazon Web Services account or service that was provided access to the domain.