amazonka-servicecatalog-2.0: Amazon Service Catalog 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.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
ToJSON 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

AWSRequest 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 #

Read AssociateBudgetWithResource Source # 
Instance details

Defined in Amazonka.ServiceCatalog.AssociateBudgetWithResource

Show AssociateBudgetWithResource Source # 
Instance details

Defined in Amazonka.ServiceCatalog.AssociateBudgetWithResource

NFData AssociateBudgetWithResource Source # 
Instance details

Defined in Amazonka.ServiceCatalog.AssociateBudgetWithResource

Eq AssociateBudgetWithResource Source # 
Instance details

Defined in Amazonka.ServiceCatalog.AssociateBudgetWithResource

Hashable AssociateBudgetWithResource Source # 
Instance details

Defined in Amazonka.ServiceCatalog.AssociateBudgetWithResource

type AWSResponse 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" "amazonka-servicecatalog-2.0-HQc7wwDA1XY4nlo6issXoI" 'False) (C1 ('MetaCons "AssociateBudgetWithResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "budgetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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
Generic 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

NFData AssociateBudgetWithResourceResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.AssociateBudgetWithResource

Eq 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" "amazonka-servicecatalog-2.0-HQc7wwDA1XY4nlo6issXoI" '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