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.SyncResource

Description

Syncs the resource with current AppRegistry records.

Specifically, the resource’s AppRegistry system tags sync with its associated application. We remove the resource's AppRegistry system tags if it does not associate with the application. The caller must have permissions to read and update the resource.

Synopsis

Creating a Request

data SyncResource Source #

See: newSyncResource smart constructor.

Constructors

SyncResource' 

Fields

  • resourceType :: ResourceType

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

  • resource :: Text

    An entity you can work with and specify with a name or ID. Examples include an Amazon EC2 instance, an Amazon Web Services CloudFormation stack, or an Amazon S3 bucket.

Instances

Instances details
Eq SyncResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

Read SyncResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

Show SyncResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

Generic SyncResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

Associated Types

type Rep SyncResource :: Type -> Type #

NFData SyncResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

Methods

rnf :: SyncResource -> () #

Hashable SyncResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

ToJSON SyncResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

AWSRequest SyncResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

Associated Types

type AWSResponse SyncResource #

ToHeaders SyncResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

ToPath SyncResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

ToQuery SyncResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

type Rep SyncResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

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

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

newSyncResource Source #

Create a value of SyncResource 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:resourceType:SyncResource', syncResource_resourceType - The type of resource of which the application will be associated.

$sel:resource:SyncResource', syncResource_resource - An entity you can work with and specify with a name or ID. Examples include an Amazon EC2 instance, an Amazon Web Services CloudFormation stack, or an Amazon S3 bucket.

Request Lenses

syncResource_resourceType :: Lens' SyncResource ResourceType Source #

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

syncResource_resource :: Lens' SyncResource Text Source #

An entity you can work with and specify with a name or ID. Examples include an Amazon EC2 instance, an Amazon Web Services CloudFormation stack, or an Amazon S3 bucket.

Destructuring the Response

data SyncResourceResponse Source #

See: newSyncResourceResponse smart constructor.

Constructors

SyncResourceResponse' 

Fields

Instances

Instances details
Eq SyncResourceResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

Read SyncResourceResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

Show SyncResourceResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

Generic SyncResourceResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

Associated Types

type Rep SyncResourceResponse :: Type -> Type #

NFData SyncResourceResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

Methods

rnf :: SyncResourceResponse -> () #

type Rep SyncResourceResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

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

newSyncResourceResponse Source #

Create a value of SyncResourceResponse 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:SyncResourceResponse', syncResourceResponse_applicationArn - The Amazon resource name (ARN) that specifies the application.

$sel:actionTaken:SyncResourceResponse', syncResourceResponse_actionTaken - The results of the output if an application is associated with an ARN value, which could be syncStarted or None.

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

$sel:httpStatus:SyncResourceResponse', syncResourceResponse_httpStatus - The response's http status code.

Response Lenses

syncResourceResponse_applicationArn :: Lens' SyncResourceResponse (Maybe Text) Source #

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

syncResourceResponse_actionTaken :: Lens' SyncResourceResponse (Maybe SyncAction) Source #

The results of the output if an application is associated with an ARN value, which could be syncStarted or None.

syncResourceResponse_resourceArn :: Lens' SyncResourceResponse (Maybe Text) Source #

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