libZSservicesZSamazonka-opensearchZSamazonka-opensearch
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.OpenSearch.AssociatePackage

Description

Associates a package with an Amazon OpenSearch Service domain.

Synopsis

Creating a Request

data AssociatePackage Source #

Container for the request parameters to the AssociatePackage operation.

See: newAssociatePackage smart constructor.

Constructors

AssociatePackage' 

Fields

  • packageID :: Text

    Internal ID of the package to associate with a domain. Use DescribePackages to find this value.

  • domainName :: Text

    The name of the domain to associate the package with.

Instances

Instances details
Eq AssociatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.AssociatePackage

Read AssociatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.AssociatePackage

Show AssociatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.AssociatePackage

Generic AssociatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.AssociatePackage

Associated Types

type Rep AssociatePackage :: Type -> Type #

NFData AssociatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.AssociatePackage

Methods

rnf :: AssociatePackage -> () #

Hashable AssociatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.AssociatePackage

ToJSON AssociatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.AssociatePackage

AWSRequest AssociatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.AssociatePackage

Associated Types

type AWSResponse AssociatePackage #

ToHeaders AssociatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.AssociatePackage

ToPath AssociatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.AssociatePackage

ToQuery AssociatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.AssociatePackage

type Rep AssociatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.AssociatePackage

type Rep AssociatePackage = D1 ('MetaData "AssociatePackage" "Amazonka.OpenSearch.AssociatePackage" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" 'False) (C1 ('MetaCons "AssociatePackage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "packageID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse AssociatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.AssociatePackage

newAssociatePackage Source #

Create a value of AssociatePackage 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:packageID:AssociatePackage', associatePackage_packageID - Internal ID of the package to associate with a domain. Use DescribePackages to find this value.

$sel:domainName:AssociatePackage', associatePackage_domainName - The name of the domain to associate the package with.

Request Lenses

associatePackage_packageID :: Lens' AssociatePackage Text Source #

Internal ID of the package to associate with a domain. Use DescribePackages to find this value.

associatePackage_domainName :: Lens' AssociatePackage Text Source #

The name of the domain to associate the package with.

Destructuring the Response

data AssociatePackageResponse Source #

Container for the response returned by AssociatePackage operation.

See: newAssociatePackageResponse smart constructor.

Constructors

AssociatePackageResponse' 

Fields

Instances

Instances details
Eq AssociatePackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.AssociatePackage

Read AssociatePackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.AssociatePackage

Show AssociatePackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.AssociatePackage

Generic AssociatePackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.AssociatePackage

Associated Types

type Rep AssociatePackageResponse :: Type -> Type #

NFData AssociatePackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.AssociatePackage

type Rep AssociatePackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.AssociatePackage

type Rep AssociatePackageResponse = D1 ('MetaData "AssociatePackageResponse" "Amazonka.OpenSearch.AssociatePackage" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" 'False) (C1 ('MetaCons "AssociatePackageResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainPackageDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DomainPackageDetails)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAssociatePackageResponse Source #

Create a value of AssociatePackageResponse 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:domainPackageDetails:AssociatePackageResponse', associatePackageResponse_domainPackageDetails - DomainPackageDetails

$sel:httpStatus:AssociatePackageResponse', associatePackageResponse_httpStatus - The response's http status code.

Response Lenses