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 |
Associate the specified TagOption with the specified portfolio or product.
Synopsis
- data AssociateTagOptionWithResource = AssociateTagOptionWithResource' {
- resourceId :: Text
- tagOptionId :: Text
- newAssociateTagOptionWithResource :: Text -> Text -> AssociateTagOptionWithResource
- associateTagOptionWithResource_resourceId :: Lens' AssociateTagOptionWithResource Text
- associateTagOptionWithResource_tagOptionId :: Lens' AssociateTagOptionWithResource Text
- data AssociateTagOptionWithResourceResponse = AssociateTagOptionWithResourceResponse' {
- httpStatus :: Int
- newAssociateTagOptionWithResourceResponse :: Int -> AssociateTagOptionWithResourceResponse
- associateTagOptionWithResourceResponse_httpStatus :: Lens' AssociateTagOptionWithResourceResponse Int
Creating a Request
data AssociateTagOptionWithResource Source #
See: newAssociateTagOptionWithResource
smart constructor.
AssociateTagOptionWithResource' | |
|
Instances
newAssociateTagOptionWithResource Source #
Create a value of AssociateTagOptionWithResource
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:resourceId:AssociateTagOptionWithResource'
, associateTagOptionWithResource_resourceId
- The resource identifier.
$sel:tagOptionId:AssociateTagOptionWithResource'
, associateTagOptionWithResource_tagOptionId
- The TagOption identifier.
Request Lenses
associateTagOptionWithResource_resourceId :: Lens' AssociateTagOptionWithResource Text Source #
The resource identifier.
associateTagOptionWithResource_tagOptionId :: Lens' AssociateTagOptionWithResource Text Source #
The TagOption identifier.
Destructuring the Response
data AssociateTagOptionWithResourceResponse Source #
See: newAssociateTagOptionWithResourceResponse
smart constructor.
AssociateTagOptionWithResourceResponse' | |
|
Instances
Generic AssociateTagOptionWithResourceResponse Source # | |
Defined in Amazonka.ServiceCatalog.AssociateTagOptionWithResource type Rep AssociateTagOptionWithResourceResponse :: Type -> Type # | |
Read AssociateTagOptionWithResourceResponse Source # | |
Show AssociateTagOptionWithResourceResponse Source # | |
NFData AssociateTagOptionWithResourceResponse Source # | |
Eq AssociateTagOptionWithResourceResponse Source # | |
type Rep AssociateTagOptionWithResourceResponse Source # | |
Defined in Amazonka.ServiceCatalog.AssociateTagOptionWithResource type Rep AssociateTagOptionWithResourceResponse = D1 ('MetaData "AssociateTagOptionWithResourceResponse" "Amazonka.ServiceCatalog.AssociateTagOptionWithResource" "amazonka-servicecatalog-2.0-HQc7wwDA1XY4nlo6issXoI" 'False) (C1 ('MetaCons "AssociateTagOptionWithResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newAssociateTagOptionWithResourceResponse Source #
Create a value of AssociateTagOptionWithResourceResponse
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:AssociateTagOptionWithResourceResponse'
, associateTagOptionWithResourceResponse_httpStatus
- The response's http status code.
Response Lenses
associateTagOptionWithResourceResponse_httpStatus :: Lens' AssociateTagOptionWithResourceResponse Int Source #
The response's http status code.