FailedAssociationResult - Inspector
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

FailedAssociationResult

Details about a failed attempt to associate or disassociate a code repository with a scan configuration.

Contents

resource

Identifies a specific resource in a code repository that will be scanned.

Type: CodeSecurityResource object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: No

scanConfigurationArn

The Amazon Resource Name (ARN) of the scan configuration that failed to be associated or disassociated.

Type: String

Pattern: arn:(aws[a-zA-Z-]*)?:inspector2:[a-z]{2}(-gov)?-[a-z]+-\d{1}:\d{12}:owner/(\d{12}|o-[a-z0-9]{10,32})/codesecurity-configuration/[a-f0-9-]{36}

Required: No

statusCode

The status code indicating why the association or disassociation failed.

Type: String

Valid Values: INTERNAL_ERROR | ACCESS_DENIED | SCAN_CONFIGURATION_NOT_FOUND | INVALID_INPUT | RESOURCE_NOT_FOUND | QUOTA_EXCEEDED

Required: No

statusMessage

A message explaining why the association or disassociation failed.

Type: String

Length Constraints: Minimum length of 1.

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: