amazonka-servicecatalog-appregistry-2.0: Amazon Service Catalog App Registry 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.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
ToJSON SyncResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.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

AWSRequest SyncResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

Associated Types

type AWSResponse SyncResource #

Generic SyncResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

Associated Types

type Rep SyncResource :: Type -> Type #

Read SyncResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

Show SyncResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

NFData SyncResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

Methods

rnf :: SyncResource -> () #

Eq SyncResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

Hashable SyncResource Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

type AWSResponse 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" "amazonka-servicecatalog-appregistry-2.0-KYx3j6twc2kJRq31A1B5os" 'False) (C1 ('MetaCons "SyncResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceType) :*: S1 ('MetaSel ('Just "resource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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
Generic SyncResourceResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

Associated Types

type Rep SyncResourceResponse :: Type -> Type #

Read SyncResourceResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

Show SyncResourceResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

NFData SyncResourceResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

Methods

rnf :: SyncResourceResponse -> () #

Eq SyncResourceResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

type Rep SyncResourceResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalogAppRegistry.SyncResource

type Rep SyncResourceResponse = D1 ('MetaData "SyncResourceResponse" "Amazonka.ServiceCatalogAppRegistry.SyncResource" "amazonka-servicecatalog-appregistry-2.0-KYx3j6twc2kJRq31A1B5os" 'False) (C1 ('MetaCons "SyncResourceResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "actionTaken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SyncAction)) :*: 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))))

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

$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_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_applicationArn :: Lens' SyncResourceResponse (Maybe Text) Source #

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

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

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