Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
Eq AssociateTagOptionWithResourceResponse Source # | |
Read AssociateTagOptionWithResourceResponse Source # | |
Show AssociateTagOptionWithResourceResponse Source # | |
Generic AssociateTagOptionWithResourceResponse Source # | |
Defined in Amazonka.ServiceCatalog.AssociateTagOptionWithResource type Rep AssociateTagOptionWithResourceResponse :: Type -> Type # | |
NFData AssociateTagOptionWithResourceResponse Source # | |
type Rep AssociateTagOptionWithResourceResponse Source # | |
Defined in Amazonka.ServiceCatalog.AssociateTagOptionWithResource type Rep AssociateTagOptionWithResourceResponse = D1 ('MetaData "AssociateTagOptionWithResourceResponse" "Amazonka.ServiceCatalog.AssociateTagOptionWithResource" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" '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.