Inspector2 / Waiter / ConnectorEnabled
ConnectorEnabled¶
- class Inspector2.Waiter.ConnectorEnabled¶
waiter = client.get_waiter('connector_enabled')
- wait(**kwargs)¶
Polls
Inspector2.Client.list_connectors()every 30 seconds until a successful state is reached. An error is raised after 5 failed checks.See also: AWS API Documentation
Request Syntax
waiter.wait( maxResults=123, nextToken='string', filterCriteria={ 'connectorArns': [ { 'comparison': 'EQUALS', 'value': 'string' }, ], 'accounts': [ { 'comparison': 'EQUALS'|'PREFIX'|'NOT_EQUALS', 'value': 'string' }, ], 'awsConfigConnectorArns': [ { 'comparison': 'EQUALS', 'value': 'string' }, ], 'connectorType': [ { 'comparison': 'EQUALS', 'value': 'CUSTOMER_MANAGED'|'SERVICE_LINKED' }, ], 'provider': [ { 'comparison': 'EQUALS', 'value': 'AZURE' }, ] }, WaiterConfig={ 'Delay': 123, 'MaxAttempts': 123 } )
- Parameters:
maxResults (integer) – The maximum number of results to return in a single call. To retrieve the remaining results, make another request with the
nextTokenvalue returned from this request.nextToken (string) – A token to use for paginating results. Set this value to null for the first request. For subsequent calls, use the
nextTokenvalue returned from the previous request.filterCriteria (dict) –
The filter criteria to apply to the list of connectors.
connectorArns (list) –
Filter by connector ARNs.
(dict) –
A filter that matches connectors by connector ARN.
comparison (string) – [REQUIRED]
The comparison operator for the connector ARN filter.
value (string) – [REQUIRED]
The connector ARN value to filter by.
accounts (list) –
Filter by Amazon Web Services account IDs.
(dict) –
An object that describes the details of a string filter.
comparison (string) – [REQUIRED]
The operator to use when comparing values in the filter.
value (string) – [REQUIRED]
The value to filter on.
awsConfigConnectorArns (list) –
Filter by Amazon Web Services Config connector ARNs.
(dict) –
A filter that matches connectors by the ARN of the associated Amazon Web Services Config connector.
comparison (string) – [REQUIRED]
The comparison operator for the Amazon Web Services Config connector ARN filter.
value (string) – [REQUIRED]
The Amazon Web Services Config connector ARN value to filter by.
connectorType (list) –
Filter by connector type.
(dict) –
A filter that matches connectors by connector type.
comparison (string) – [REQUIRED]
The comparison operator for the connector type filter.
value (string) – [REQUIRED]
The connector type value to filter by.
provider (list) –
Filter by cloud provider.
(dict) –
A filter that matches connectors by cloud provider.
comparison (string) – [REQUIRED]
The comparison operator for the provider filter.
value (string) – [REQUIRED]
The cloud provider value to filter by.
WaiterConfig (dict) –
A dictionary that provides parameters to control waiting behavior.
Delay (integer) –
The amount of time in seconds to wait between attempts. Default: 30
MaxAttempts (integer) –
The maximum number of attempts to be made. Default: 5
- Returns:
None