Class: Aws::EC2::Types::FlexCostAllocationOperationFailure

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#failure_code ⇒ String

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.

Returns:

  • (String)


46715
46716
46717
46718
46719
46720
46721
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46715

class FlexCostAllocationOperationFailure < Struct.new(
  :resource_id,
  :failure_code,
  :failure_reason)
  SENSITIVE = []
  include Aws::Structure
end

#failure_reason ⇒ String

The reason for the failure.

Returns:

  • (String)


46715
46716
46717
46718
46719
46720
46721
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46715

class FlexCostAllocationOperationFailure < Struct.new(
  :resource_id,
  :failure_code,
  :failure_reason)
  SENSITIVE = []
  include Aws::Structure
end

#resource_id ⇒ String

The ID of the resource that could not be processed.

Returns:

  • (String)


46715
46716
46717
46718
46719
46720
46721
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46715

class FlexCostAllocationOperationFailure < Struct.new(
  :resource_id,
  :failure_code,
  :failure_reason)
  SENSITIVE = []
  include Aws::Structure
end