libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog
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.ServiceCatalog.AssociateBudgetWithResource

Description

Associates the specified budget with the specified resource.

Synopsis

Creating a Request

data AssociateBudgetWithResource Source #

See: newAssociateBudgetWithResource smart constructor.

Constructors

AssociateBudgetWithResource' 

Fields

  • budgetName :: Text

    The name of the budget you want to associate.

  • resourceId :: Text

    The resource identifier. Either a portfolio-id or a product-id.

Instances

Instances details
Eq AssociateBudgetWithResource Source # 
Instance details

Defined in Amazonka.ServiceCatalog.AssociateBudgetWithResource

Read AssociateBudgetWithResource Source # 
Instance details

Defined in Amazonka.ServiceCatalog.AssociateBudgetWithResource

Show AssociateBudgetWithResource Source # 
Instance details

Defined in Amazonka.ServiceCatalog.AssociateBudgetWithResource

Generic AssociateBudgetWithResource Source # 
Instance details

Defined in Amazonka.ServiceCatalog.AssociateBudgetWithResource

Associated Types

type Rep AssociateBudgetWithResource :: Type -> Type #

NFData AssociateBudgetWithResource Source # 
Instance details

Defined in Amazonka.ServiceCatalog.AssociateBudgetWithResource

Hashable AssociateBudgetWithResource Source # 
Instance details

Defined in Amazonka.ServiceCatalog.AssociateBudgetWithResource

ToJSON AssociateBudgetWithResource Source # 
Instance details

Defined in Amazonka.ServiceCatalog.AssociateBudgetWithResource

AWSRequest AssociateBudgetWithResource Source # 
Instance details

Defined in Amazonka.ServiceCatalog.AssociateBudgetWithResource

ToHeaders AssociateBudgetWithResource Source # 
Instance details

Defined in Amazonka.ServiceCatalog.AssociateBudgetWithResource

ToPath AssociateBudgetWithResource Source # 
Instance details

Defined in Amazonka.ServiceCatalog.AssociateBudgetWithResource

ToQuery AssociateBudgetWithResource Source # 
Instance details

Defined in Amazonka.ServiceCatalog.AssociateBudgetWithResource

type Rep AssociateBudgetWithResource Source # 
Instance details

Defined in Amazonka.ServiceCatalog.AssociateBudgetWithResource

type Rep AssociateBudgetWithResource = D1 ('MetaData "AssociateBudgetWithResource" "Amazonka.ServiceCatalog.AssociateBudgetWithResource" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" 'False) (C1 ('MetaCons "AssociateBudgetWithResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "budgetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse AssociateBudgetWithResource Source # 
Instance details

Defined in Amazonka.ServiceCatalog.AssociateBudgetWithResource

newAssociateBudgetWithResource Source #

Create a value of AssociateBudgetWithResource 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:budgetName:AssociateBudgetWithResource', associateBudgetWithResource_budgetName - The name of the budget you want to associate.

$sel:resourceId:AssociateBudgetWithResource', associateBudgetWithResource_resourceId - The resource identifier. Either a portfolio-id or a product-id.

Request Lenses

associateBudgetWithResource_resourceId :: Lens' AssociateBudgetWithResource Text Source #

The resource identifier. Either a portfolio-id or a product-id.

Destructuring the Response

data AssociateBudgetWithResourceResponse Source #

Constructors

AssociateBudgetWithResourceResponse' 

Fields

Instances

Instances details
Eq AssociateBudgetWithResourceResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.AssociateBudgetWithResource

Read AssociateBudgetWithResourceResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.AssociateBudgetWithResource

Show AssociateBudgetWithResourceResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.AssociateBudgetWithResource

Generic AssociateBudgetWithResourceResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.AssociateBudgetWithResource

NFData AssociateBudgetWithResourceResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.AssociateBudgetWithResource

type Rep AssociateBudgetWithResourceResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.AssociateBudgetWithResource

type Rep AssociateBudgetWithResourceResponse = D1 ('MetaData "AssociateBudgetWithResourceResponse" "Amazonka.ServiceCatalog.AssociateBudgetWithResource" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" 'False) (C1 ('MetaCons "AssociateBudgetWithResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAssociateBudgetWithResourceResponse Source #

Create a value of AssociateBudgetWithResourceResponse 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:AssociateBudgetWithResourceResponse', associateBudgetWithResourceResponse_httpStatus - The response's http status code.

Response Lenses