View a markdown version of this page

DescribeNetworkingFlexCostAllocationPolicyAssociations - Amazon Elastic Compute Cloud

DescribeNetworkingFlexCostAllocationPolicyAssociations

Describes the associations between your flex cost allocation policies and network resources. We recommend using pagination to ensure that the operation returns quickly and successfully.

Request Parameters

The following parameters are for this specific action. For more information about required and optional parameters that are common to all actions, see Common Query Parameters.

DryRun

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Type: Boolean

Required: No

FcaPolicyAssociationIds.N

The IDs of the policy associations to describe.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 1000 items.

Length Constraints: Fixed length of 27.

Pattern: fcapassoc-[a-f0-9]{17}

Required: No

Filters.N

The filters.

  • fca-policy-id - The ID of the policy.

  • managed-by - The entity that manages the association (account | declarative-policy).

  • resource-id - The ID of the associated network resource.

Type: Array of Filter objects

Required: No

MaxResults

The maximum number of results to return in a single call. The range is 5 to 1000. To retrieve the remaining results, make another call with the returned nextToken value.

Default: 100

Type: Integer

Valid Range: Minimum value of 5. Maximum value of 1000.

Required: No

NextToken

The token for the next page of results.

Type: String

Required: No

Response Elements

The following elements are returned by the service.

fcaPolicyAssociations

Information about the policy associations.

Type: Array of FlexCostAllocationPolicyAssociationDescription objects

nextToken

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

Type: String

requestId

The ID of the request.

Type: String

Errors

For information about the errors that are common to all actions, see Common Error Types.

Examples

Example 1

This example describes the specified policy association.

Sample Request

https://ec2.amazonaws.com/?Action=DescribeNetworkingFlexCostAllocationPolicyAssociations &FcaPolicyAssociationIds.1=fcapassoc-1234567890abcdef0 &AUTHPARAMS

Sample Response

<DescribeNetworkingFlexCostAllocationPolicyAssociationsResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/"> <requestId>a1b2c3d4-5678-90ab-cdef-EXAMPLE88888</requestId> <fcaPolicyAssociations> <item> <fcaPolicyAssociationId>fcapassoc-1234567890abcdef0</fcaPolicyAssociationId> <fcaPolicyId>fcap-1234567890abcdef0</fcaPolicyId> <networkResourceId>nat-1234567890abcdef0</networkResourceId> <ownerAccount>111122223333</ownerAccount> <associatedAt>2026-11-03T08:00:00.000Z</associatedAt> <expectedEffectiveAt>2026-11-03T09:00:00.000Z</expectedEffectiveAt> <associationMode>direct</associationMode> <managedBy>account</managedBy> </item> </fcaPolicyAssociations> </DescribeNetworkingFlexCostAllocationPolicyAssociationsResponse>

See Also

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