libZSservicesZSamazonka-ssmZSamazonka-ssm
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.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

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

  • nextToken :: Maybe Text

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

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

Instances

Instances details
Eq ListResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

Read ListResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

Show ListResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

Generic ListResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

Associated Types

type Rep ListResourceDataSync :: Type -> Type #

NFData ListResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

Methods

rnf :: ListResourceDataSync -> () #

Hashable ListResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

ToJSON 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 #

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

type Rep ListResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

type Rep ListResourceDataSync = D1 ('MetaData "ListResourceDataSync" "Amazonka.SSM.ListResourceDataSync" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "ListResourceDataSync'" 'PrefixI 'True) (S1 ('MetaSel ('Just "syncType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

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:syncType: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.

$sel:nextToken:ListResourceDataSync', listResourceDataSync_nextToken - A token to start the list. Use this token to get the next set of results.

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

Request Lenses

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.

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

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

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.

Destructuring the Response

data ListResourceDataSyncResponse Source #

See: newListResourceDataSyncResponse smart constructor.

Constructors

ListResourceDataSyncResponse' 

Fields

Instances

Instances details
Eq ListResourceDataSyncResponse Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

Read ListResourceDataSyncResponse Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

Show ListResourceDataSyncResponse Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

Generic ListResourceDataSyncResponse Source # 
Instance details

Defined in Amazonka.SSM.ListResourceDataSync

Associated Types

type Rep ListResourceDataSyncResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "ListResourceDataSyncResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceDataSyncItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResourceDataSyncItem])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:

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

$sel:nextToken:ListResourceDataSync', listResourceDataSyncResponse_nextToken - The token for the next set of items to return. Use this token to get the next set of results.

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

Response Lenses

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

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

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.