NetworkSecurityManagerCustomerAPI / Paginator / ListResourceSynchronizationStatuses
ListResourceSynchronizationStatuses¶
- class NetworkSecurityManagerCustomerAPI.Paginator.ListResourceSynchronizationStatuses¶
paginator = client.get_paginator('list_resource_synchronization_statuses')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
NetworkSecurityManagerCustomerAPI.Client.list_resource_synchronization_statuses().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( deploymentIdentifier='string', synchronizationStatus='IN_SYNC'|'OUT_OF_SYNC'|'NOT_APPLICABLE', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
deploymentIdentifier (string) –
[REQUIRED]
The identifier of the deployment to list synchronization statuses for. This is the deployment’s Amazon Resource Name (ARN).
synchronizationStatus (string) – Filters the results by synchronization status, such as
IN_SYNCorOUT_OF_SYNC.PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextTokenwill be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextTokenfrom a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'resourceSynchronizationStatuses': [ { 'synchronizationStatus': 'IN_SYNC'|'OUT_OF_SYNC'|'NOT_APPLICABLE', 'accountId': 'string', 'resourceArn': 'string', 'deploymentArn': 'string', 'resourceType': 'AWS::ApiGateway::Stage'|'AWS::CloudFront::Distribution'|'AWS::EC2::EIP'|'AWS::ElasticLoadBalancingV2::LoadBalancer::application'|'AWS::ElasticLoadBalancing::LoadBalancer'|'AWS::WAFv2::WebACL'|'AWS::Shield::Protection'|'AWS::ShieldRegional::Protection', 'updatedAt': datetime(2015, 1, 1), 'outOfSyncReasons': { 'reasons': { 'string': { 'missingFirewall': 'string', 'invalidFirewall': { 'incorrectSingleValueConfigurations': [ { 'configurationName': 'string', 'expectedValue': 'string', 'actualValue': 'string' }, ], 'missingAppendableConfigurationValues': [ { 'configurationName': 'string', 'expectedValue': 'string', 'actualValue': 'string' }, ], 'unexpectedAppendableConfigurationValues': [ { 'configurationName': 'string', 'expectedValue': 'string', 'actualValue': 'string' }, ], 'incorrectAppendableConfigurationOrder': [ { 'configurationName': 'string', 'expectedValue': 'string', 'actualValue': 'string' }, ], 'missingMergeableConfigurationValues': [ { 'configurationName': 'string', 'expectedValue': 'string', 'actualValue': 'string' }, ], 'unexpectedMergeableConfigurationValues': [ { 'configurationName': 'string', 'expectedValue': 'string', 'actualValue': 'string' }, ] } } }, 'notVisible': { 'reason': 'string' } }, 'remediationIssues': { 'issues': { 'string': { 'issueType': 'string', 'message': 'string', 'correctiveAction': 'string' } }, 'notVisible': { 'reason': 'string' } }, 'evaluatedAt': datetime(2015, 1, 1) }, ], 'NextToken': 'string' }
Response Structure
(dict) –
resourceSynchronizationStatuses (list) –
The list of resource synchronization statuses.
(dict) –
The synchronization status of a resource covered by a deployment.
synchronizationStatus (string) –
The synchronization status of the resource, such as
IN_SYNCorOUT_OF_SYNC.accountId (string) –
The AWS account ID that owns the resource.
resourceArn (string) –
The ARN of the resource whose synchronization status is reported.
deploymentArn (string) –
The ARN of the deployment that the synchronization status is associated with. This is absent for aggregate (cross-deployment) statuses.
resourceType (string) –
The type of the resource, in AWS CloudFormation format.
updatedAt (datetime) –
The time when the resource was last updated.
outOfSyncReasons (dict) –
The reasons the resource is out of sync, keyed by firewall type. This is null when the resource is in sync.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set:
reasons,notVisible. If a client receives an unknown member it will setSDK_UNKNOWN_MEMBERas the top level key, which maps to the name or tag of the unknown member. The structure ofSDK_UNKNOWN_MEMBERis as follows:'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
reasons (dict) –
The out-of-sync reasons, keyed by firewall type.
(string) –
(dict) –
Describes why a firewall is out of sync. Exactly one of
missingFirewallorinvalidFirewallis set.Note
This is a Tagged Union structure. Only one of the following top level keys will be set:
missingFirewall,invalidFirewall. If a client receives an unknown member it will setSDK_UNKNOWN_MEMBERas the top level key, which maps to the name or tag of the unknown member. The structure ofSDK_UNKNOWN_MEMBERis as follows:'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
missingFirewall (string) –
Indicates that an expected firewall is missing. The value describes the missing firewall.
invalidFirewall (dict) –
Details about a firewall whose configuration does not match the intended configuration.
incorrectSingleValueConfigurations (list) –
Single-value configuration settings whose values do not match the expected values.
(dict) –
Describes a single configuration value that does not match the intended configuration.
configurationName (string) –
The name of the configuration setting that is in conflict.
expectedValue (string) –
The configuration value that AWS Network Security Manager expected.
actualValue (string) –
The configuration value that was found on the resource.
missingAppendableConfigurationValues (list) –
Appendable configuration values that are expected but missing.
(dict) –
Describes a single configuration value that does not match the intended configuration.
configurationName (string) –
The name of the configuration setting that is in conflict.
expectedValue (string) –
The configuration value that AWS Network Security Manager expected.
actualValue (string) –
The configuration value that was found on the resource.
unexpectedAppendableConfigurationValues (list) –
Appendable configuration values that are present but not expected.
(dict) –
Describes a single configuration value that does not match the intended configuration.
configurationName (string) –
The name of the configuration setting that is in conflict.
expectedValue (string) –
The configuration value that AWS Network Security Manager expected.
actualValue (string) –
The configuration value that was found on the resource.
incorrectAppendableConfigurationOrder (list) –
Appendable configuration values that are present but in the wrong order.
(dict) –
Describes a single configuration value that does not match the intended configuration.
configurationName (string) –
The name of the configuration setting that is in conflict.
expectedValue (string) –
The configuration value that AWS Network Security Manager expected.
actualValue (string) –
The configuration value that was found on the resource.
missingMergeableConfigurationValues (list) –
Mergeable configuration values that are expected but missing.
(dict) –
Describes a single configuration value that does not match the intended configuration.
configurationName (string) –
The name of the configuration setting that is in conflict.
expectedValue (string) –
The configuration value that AWS Network Security Manager expected.
actualValue (string) –
The configuration value that was found on the resource.
unexpectedMergeableConfigurationValues (list) –
Mergeable configuration values that are present but not expected.
(dict) –
Describes a single configuration value that does not match the intended configuration.
configurationName (string) –
The name of the configuration setting that is in conflict.
expectedValue (string) –
The configuration value that AWS Network Security Manager expected.
actualValue (string) –
The configuration value that was found on the resource.
notVisible (dict) –
Indicates that the details are not visible because of cross-account restrictions.
reason (string) –
The reason the details are not visible.
remediationIssues (dict) –
Details about remediation issues, keyed by firewall type. This is null when there are no remediation issues.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set:
issues,notVisible. If a client receives an unknown member it will setSDK_UNKNOWN_MEMBERas the top level key, which maps to the name or tag of the unknown member. The structure ofSDK_UNKNOWN_MEMBERis as follows:'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
issues (dict) –
The remediation issues, keyed by firewall type.
(string) –
(dict) –
Details about a remediation issue for a firewall type.
issueType (string) –
The type of remediation issue.
message (string) –
A human-readable description of the remediation issue.
correctiveAction (string) –
A recommended action for resolving the remediation issue.
notVisible (dict) –
Indicates that the details are not visible because of cross-account restrictions.
reason (string) –
The reason the details are not visible.
evaluatedAt (datetime) –
The time when the synchronization status was last evaluated.
NextToken (string) –
A token to resume pagination.