libZSservicesZSamazonka-servicecatalog-appregistryZSamazonka-servicecatalog-appregistry
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.ServiceCatalogAppRegistry.AssociateResource

Description

Associates a resource with an application. Both the resource and the application can be specified either by ID or name.

Synopsis

Creating a Request

data AssociateResource Source #

See: newAssociateResource smart constructor.

Constructors

AssociateResource' 

Fields

Instances

Instances details
Eq AssociateResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.AssociateResource

Read AssociateResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.AssociateResource

Show AssociateResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.AssociateResource

Generic AssociateResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.AssociateResource

Associated Types

type Rep AssociateResource :: Type -> Type #

NFData AssociateResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.AssociateResource

Methods

rnf :: AssociateResource -> () #

Hashable AssociateResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.AssociateResource

ToJSON AssociateResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.AssociateResource

AWSRequest AssociateResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.AssociateResource

Associated Types

type AWSResponse AssociateResource #

ToHeaders AssociateResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.AssociateResource

ToPath AssociateResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.AssociateResource

ToQuery AssociateResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.AssociateResource

type Rep AssociateResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.AssociateResource

type Rep AssociateResource = D1 ('MetaData "AssociateResource" "Amazonka.ServiceCatalogAppRegistry.AssociateResource" "libZSservicesZSamazonka-servicecatalog-appregistryZSamazonka-servicecatalog-appregistry" 'False) (C1 ('MetaCons "AssociateResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "application") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceType) :*: S1 ('MetaSel ('Just "resource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse AssociateResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.AssociateResource

newAssociateResource Source #

Create a value of AssociateResource 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:application:AssociateResource', associateResource_application - The name or ID of the application.

$sel:resourceType:AssociateResource', associateResource_resourceType - The type of resource of which the application will be associated.

$sel:resource:AssociateResource', associateResource_resource - The name or ID of the resource of which the application will be associated.

Request Lenses

associateResource_application :: Lens' AssociateResource Text Source #

The name or ID of the application.

associateResource_resourceType :: Lens' AssociateResource ResourceType Source #

The type of resource of which the application will be associated.

associateResource_resource :: Lens' AssociateResource Text Source #

The name or ID of the resource of which the application will be associated.

Destructuring the Response

data AssociateResourceResponse Source #

See: newAssociateResourceResponse smart constructor.

Constructors

AssociateResourceResponse' 

Fields

Instances

Instances details
Eq AssociateResourceResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.AssociateResource

Read AssociateResourceResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.AssociateResource

Show AssociateResourceResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.AssociateResource

Generic AssociateResourceResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.AssociateResource

Associated Types

type Rep AssociateResourceResponse :: Type -> Type #

NFData AssociateResourceResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.AssociateResource

type Rep AssociateResourceResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.AssociateResource

type Rep AssociateResourceResponse = D1 ('MetaData "AssociateResourceResponse" "Amazonka.ServiceCatalogAppRegistry.AssociateResource" "libZSservicesZSamazonka-servicecatalog-appregistryZSamazonka-servicecatalog-appregistry" 'False) (C1 ('MetaCons "AssociateResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "applicationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newAssociateResourceResponse Source #

Create a value of AssociateResourceResponse 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:applicationArn:AssociateResourceResponse', associateResourceResponse_applicationArn - The Amazon resource name (ARN) of the application that was augmented with attributes.

$sel:resourceArn:AssociateResourceResponse', associateResourceResponse_resourceArn - The Amazon resource name (ARN) that specifies the resource.

$sel:httpStatus:AssociateResourceResponse', associateResourceResponse_httpStatus - The response's http status code.

Response Lenses

associateResourceResponse_applicationArn :: Lens' AssociateResourceResponse (Maybe Text) Source #

The Amazon resource name (ARN) of the application that was augmented with attributes.

associateResourceResponse_resourceArn :: Lens' AssociateResourceResponse (Maybe Text) Source #

The Amazon resource name (ARN) that specifies the resource.