FlexCostAllocationOperationFailure - Amazon Elastic Compute Cloud
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

FlexCostAllocationOperationFailure

Describes a policy, association, or network resource that a Networking Flexible Cost Allocation operation failed to process.

Contents

failureCode

The code that identifies the type of failure. Possible values are:

  • ResourceNotFound - (DeleteNetworkingFlexCostAllocationPolicies) The policy doesn't exist or isn't owned by your account.

  • InvalidResourceState - (DeleteNetworkingFlexCostAllocationPolicies) The policy has active associations.

  • InvalidResource - (AssociateNetworkingFlexCostAllocationPolicy) The resource ID is malformed, the resource type doesn't match the policy, or the scope is an account other than yours. (DisassociateNetworkingFlexCostAllocationPolicy) The association doesn't exist or was already removed.

  • ResourceAlreadyAssociated - (AssociateNetworkingFlexCostAllocationPolicy) The resource already has an active association.

  • InternalError - An internal error occurred. Retry the request.

Type: String

Required: No

failureReason

The reason for the failure.

Type: String

Required: No

resourceId

The ID of the resource that could not be processed.

Type: String

Required: No

See Also

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