amazonka-ssm-2.0: Amazon Simple Systems Manager (SSM) 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.SSM.ListResourceDataSync

Description

Lists your resource data sync configurations. Includes information about the last time a sync attempted to start, the last sync status, and the last time a sync successfully completed.

The number of sync configurations might be too large to return using a single call to ListResourceDataSync. You can limit the number of sync configurations returned by using the MaxResults parameter. To determine whether there are more sync configurations to list, check the value of NextToken in the output. If there are more sync configurations to list, you can request them by specifying the NextToken returned in the call to the parameter of a subsequent call.

This operation returns paginated results.

Synopsis

Creating a Request

data ListResourceDataSync Source #

See: newListResourceDataSync smart constructor.

Constructors

ListResourceDataSync' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

  • nextToken :: Maybe Text

    A token to start the list. Use this token to get the next set of results.

  • syncType :: Maybe Text

    View a list of resource data syncs according to the sync type. Specify SyncToDestination to view resource data syncs that synchronize data to an Amazon S3 bucket. Specify SyncFromSource to view resource data syncs from Organizations or from multiple Amazon Web Services Regions.

Instances

Instances details
ToJSON ListResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

ToHeaders ListResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

ToPath ListResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

ToQuery ListResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

AWSPager ListResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

AWSRequest ListResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

Associated Types

type AWSResponse ListResourceDataSync #

Generic ListResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

Associated Types

type Rep ListResourceDataSync :: Type -> Type #

Read ListResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

Show ListResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

NFData ListResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

Methods

rnf :: ListResourceDataSync -> () #

Eq ListResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

Hashable ListResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

type AWSResponse ListResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

type Rep ListResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

type Rep ListResourceDataSync = D1 ('MetaData "ListResourceDataSync" "Amazonka.SSM.ListResourceDataSync" "amazonka-ssm-2.0-Ak65QSGRhJDC5x7UvsCpi8" 'False) (C1 ('MetaCons "ListResourceDataSync'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "syncType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newListResourceDataSync :: ListResourceDataSync Source #

Create a value of ListResourceDataSync 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:maxResults:ListResourceDataSync', listResourceDataSync_maxResults - The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

ListResourceDataSync, listResourceDataSync_nextToken - A token to start the list. Use this token to get the next set of results.

ListResourceDataSync, listResourceDataSync_syncType - View a list of resource data syncs according to the sync type. Specify SyncToDestination to view resource data syncs that synchronize data to an Amazon S3 bucket. Specify SyncFromSource to view resource data syncs from Organizations or from multiple Amazon Web Services Regions.

Request Lenses

listResourceDataSync_maxResults :: Lens' ListResourceDataSync (Maybe Natural) Source #

The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

listResourceDataSync_nextToken :: Lens' ListResourceDataSync (Maybe Text) Source #

A token to start the list. Use this token to get the next set of results.

listResourceDataSync_syncType :: Lens' ListResourceDataSync (Maybe Text) Source #

View a list of resource data syncs according to the sync type. Specify SyncToDestination to view resource data syncs that synchronize data to an Amazon S3 bucket. Specify SyncFromSource to view resource data syncs from Organizations or from multiple Amazon Web Services Regions.

Destructuring the Response

data ListResourceDataSyncResponse Source #

See: newListResourceDataSyncResponse smart constructor.

Constructors

ListResourceDataSyncResponse' 

Fields

Instances

Instances details
Generic ListResourceDataSyncResponse Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

Associated Types

type Rep ListResourceDataSyncResponse :: Type -> Type #

Read ListResourceDataSyncResponse Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

Show ListResourceDataSyncResponse Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

NFData ListResourceDataSyncResponse Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

Eq ListResourceDataSyncResponse Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

type Rep ListResourceDataSyncResponse Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

type Rep ListResourceDataSyncResponse = D1 ('MetaData "ListResourceDataSyncResponse" "Amazonka.SSM.ListResourceDataSync" "amazonka-ssm-2.0-Ak65QSGRhJDC5x7UvsCpi8" 'False) (C1 ('MetaCons "ListResourceDataSyncResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceDataSyncItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResourceDataSyncItem])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListResourceDataSyncResponse Source #

Create a value of ListResourceDataSyncResponse 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:

ListResourceDataSync, listResourceDataSyncResponse_nextToken - The token for the next set of items to return. Use this token to get the next set of results.

$sel:resourceDataSyncItems:ListResourceDataSyncResponse', listResourceDataSyncResponse_resourceDataSyncItems - A list of your current resource data sync configurations and their statuses.

$sel:httpStatus:ListResourceDataSyncResponse', listResourceDataSyncResponse_httpStatus - The response's http status code.

Response Lenses

listResourceDataSyncResponse_nextToken :: Lens' ListResourceDataSyncResponse (Maybe Text) Source #

The token for the next set of items to return. Use this token to get the next set of results.

listResourceDataSyncResponse_resourceDataSyncItems :: Lens' ListResourceDataSyncResponse (Maybe [ResourceDataSyncItem]) Source #

A list of your current resource data sync configurations and their statuses.