amazonka-elasticsearch-2.0: Amazon Elasticsearch Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ElasticSearch.AuthorizeVpcEndpointAccess

Description

Provides access to an Amazon OpenSearch Service domain through the use of an interface VPC endpoint.

Synopsis

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

  • domainName :: Text

    The name of the OpenSearch Service domain to provide access to.

  • account :: Text

    The account ID to grant access to.

Instances

Instances details
ToJSON AuthorizeVpcEndpointAccess Source # 
Instance details

Defined in Amazonka.ElasticSearch.AuthorizeVpcEndpointAccess

ToHeaders AuthorizeVpcEndpointAccess Source # 
Instance details

Defined in Amazonka.ElasticSearch.AuthorizeVpcEndpointAccess

ToPath AuthorizeVpcEndpointAccess Source # 
Instance details

Defined in Amazonka.ElasticSearch.AuthorizeVpcEndpointAccess

ToQuery AuthorizeVpcEndpointAccess Source # 
Instance details

Defined in Amazonka.ElasticSearch.AuthorizeVpcEndpointAccess

AWSRequest AuthorizeVpcEndpointAccess Source # 
Instance details

Defined in Amazonka.ElasticSearch.AuthorizeVpcEndpointAccess

Generic AuthorizeVpcEndpointAccess Source # 
Instance details

Defined in Amazonka.ElasticSearch.AuthorizeVpcEndpointAccess

Associated Types

type Rep AuthorizeVpcEndpointAccess :: Type -> Type #

Read AuthorizeVpcEndpointAccess Source # 
Instance details

Defined in Amazonka.ElasticSearch.AuthorizeVpcEndpointAccess

Show AuthorizeVpcEndpointAccess Source # 
Instance details

Defined in Amazonka.ElasticSearch.AuthorizeVpcEndpointAccess

NFData AuthorizeVpcEndpointAccess Source # 
Instance details

Defined in Amazonka.ElasticSearch.AuthorizeVpcEndpointAccess

Eq AuthorizeVpcEndpointAccess Source # 
Instance details

Defined in Amazonka.ElasticSearch.AuthorizeVpcEndpointAccess

Hashable AuthorizeVpcEndpointAccess Source # 
Instance details

Defined in Amazonka.ElasticSearch.AuthorizeVpcEndpointAccess

type AWSResponse AuthorizeVpcEndpointAccess Source # 
Instance details

Defined in Amazonka.ElasticSearch.AuthorizeVpcEndpointAccess

type Rep AuthorizeVpcEndpointAccess Source # 
Instance details

Defined in Amazonka.ElasticSearch.AuthorizeVpcEndpointAccess

type Rep AuthorizeVpcEndpointAccess = D1 ('MetaData "AuthorizeVpcEndpointAccess" "Amazonka.ElasticSearch.AuthorizeVpcEndpointAccess" "amazonka-elasticsearch-2.0-BmZjovliTfgJWgrJ3fCf5z" 'False) (C1 ('MetaCons "AuthorizeVpcEndpointAccess'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "account") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newAuthorizeVpcEndpointAccess Source #

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.

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

Instances details
Generic AuthorizeVpcEndpointAccessResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.AuthorizeVpcEndpointAccess

Associated Types

type Rep AuthorizeVpcEndpointAccessResponse :: Type -> Type #

Read AuthorizeVpcEndpointAccessResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.AuthorizeVpcEndpointAccess

Show AuthorizeVpcEndpointAccessResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.AuthorizeVpcEndpointAccess

NFData AuthorizeVpcEndpointAccessResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.AuthorizeVpcEndpointAccess

Eq AuthorizeVpcEndpointAccessResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.AuthorizeVpcEndpointAccess

type Rep AuthorizeVpcEndpointAccessResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.AuthorizeVpcEndpointAccess

type Rep AuthorizeVpcEndpointAccessResponse = D1 ('MetaData "AuthorizeVpcEndpointAccessResponse" "Amazonka.ElasticSearch.AuthorizeVpcEndpointAccess" "amazonka-elasticsearch-2.0-BmZjovliTfgJWgrJ3fCf5z" '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 #

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_authorizedPrincipal :: Lens' AuthorizeVpcEndpointAccessResponse AuthorizedPrincipal Source #

Information about the account or service that was provided access to the domain.