SSM / Client / validate_cloud_connector

validate_cloud_connector

SSM.Client.validate_cloud_connector(**kwargs)

Validates the configuration and connectivity of a cloud connector.

See also: AWS API Documentation

Request Syntax

response = client.validate_cloud_connector(
    CloudConnectorId='string',
    MaxResults=123,
    NextToken='string'
)
Parameters:
  • CloudConnectorId (string) –

    [REQUIRED]

    The ID of the cloud connector to validate.

  • MaxResults (integer) – The maximum number of validation findings to return.

  • NextToken (string) – The token for the next set of items to return. (You received this token from a previous call.)

Return type:

dict

Returns:

Response Syntax

{
    'ValidationFindings': [
        {
            'Type': 'INFO'|'WARN'|'ERROR',
            'Code': 'TargetInaccessible'|'TargetUnusable'|'TargetStateWarning'|'AwsRoleAssumptionFailed'|'WebIdentityTokenFailed'|'OutboundWebIdentityFederationDisabled'|'ProviderCredentialCreationFailed'|'TenantSummary'|'SubscriptionAccessible',
            'Message': 'string',
            'ProviderMessage': 'string',
            'Scope': {
                'Type': 'azure:tenant'|'azure:subscription',
                'Id': 'string'
            }
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • ValidationFindings (list) –

      A list of validation findings for the cloud connector.

      • (dict) –

        A validation finding from a cloud connector validation check.

        • Type (string) –

          The type of the validation finding.

        • Code (string) –

          A code that identifies the specific validation finding.

        • Message (string) –

          A message that describes the validation finding.

        • ProviderMessage (string) –

          A message from the third-party cloud provider related to the validation finding.

        • Scope (dict) –

          The scope of the validation finding, identifying the specific resource affected.

          • Type (string) –

            The type of the resource scope.

          • Id (string) –

            The ID of the resource within the scope.

    • NextToken (string) –

      The token to use when requesting the next set of items.

Exceptions

  • SSM.Client.exceptions.InternalServerError

  • SSM.Client.exceptions.ResourceNotFoundException