Skip to content

delete_networking_flex_cost_allocation_policies

Operation

delete_networking_flex_cost_allocation_policies

Deletes one or more flex cost allocation policies.

Parameters:

Name Type Description Default
request DeleteNetworkingFlexCostAllocationPoliciesInput | DeleteNetworkingFlexCostAllocationPoliciesInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[DeleteNetworkingFlexCostAllocationPoliciesInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
DeleteNetworkingFlexCostAllocationPoliciesOutput

An instance of DeleteNetworkingFlexCostAllocationPoliciesOutput.

delete_networking_flex_cost_allocation_policies async

Deletes one or more flex cost allocation policies.

Parameters:

Name Type Description Default
request DeleteNetworkingFlexCostAllocationPoliciesInput | DeleteNetworkingFlexCostAllocationPoliciesInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[DeleteNetworkingFlexCostAllocationPoliciesInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
DeleteNetworkingFlexCostAllocationPoliciesOutput

An instance of DeleteNetworkingFlexCostAllocationPoliciesOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

DeleteNetworkingFlexCostAllocationPoliciesInputDict

Bases: TypedDict

Dictionary form of DeleteNetworkingFlexCostAllocationPoliciesInput.

Attributes

dry_run instance-attribute
dry_run: bool | None

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.

fca_policy_ids instance-attribute
fca_policy_ids: Required[Sequence[str]]

The IDs of the flex cost allocation policies to delete. You can specify up to 50 policy IDs. This parameter is required.

DeleteNetworkingFlexCostAllocationPoliciesInput dataclass

Bases: _SerdeShape

Dataclass for DeleteNetworkingFlexCostAllocationPoliciesInput structure.

Attributes

dry_run class-attribute instance-attribute
dry_run: bool | None = ...

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.

fca_policy_ids class-attribute instance-attribute
fca_policy_ids: list[str] | None = ...

The IDs of the flex cost allocation policies to delete. You can specify up to 50 policy IDs. This parameter is required.

Output

DeleteNetworkingFlexCostAllocationPoliciesOutput dataclass

Bases: _SerdeShape

Dataclass for DeleteNetworkingFlexCostAllocationPoliciesOutput structure.

Attributes

failed class-attribute instance-attribute

Information about the policies that could not be deleted.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.

successful class-attribute instance-attribute
successful: list[str] | None = ...

The IDs of the policies that were successfully deleted.