Skip to content

list_distributions_by_owned_resource

Operation

list_distributions_by_owned_resource

list_distributions_by_owned_resource(request: ListDistributionsByOwnedResourceInput | ListDistributionsByOwnedResourceInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ListDistributionsByOwnedResourceInputDict]) -> ListDistributionsByOwnedResourceOutput

Lists the CloudFront distributions that are associated with the specified resource that you own.

Parameters:

Name Type Description Default
request ListDistributionsByOwnedResourceInput | ListDistributionsByOwnedResourceInputDict | 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[ListDistributionsByOwnedResourceInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
ListDistributionsByOwnedResourceOutput

An instance of ListDistributionsByOwnedResourceOutput.

list_distributions_by_owned_resource async

list_distributions_by_owned_resource(request: ListDistributionsByOwnedResourceInput | ListDistributionsByOwnedResourceInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ListDistributionsByOwnedResourceInputDict]) -> ListDistributionsByOwnedResourceOutput

Lists the CloudFront distributions that are associated with the specified resource that you own.

Parameters:

Name Type Description Default
request ListDistributionsByOwnedResourceInput | ListDistributionsByOwnedResourceInputDict | 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[ListDistributionsByOwnedResourceInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
ListDistributionsByOwnedResourceOutput

An instance of ListDistributionsByOwnedResourceOutput.

Input

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

ListDistributionsByOwnedResourceInputDict

Bases: TypedDict

Dictionary form of ListDistributionsByOwnedResourceInput.

Attributes

marker instance-attribute
marker: str | None

Use this field when paginating results to indicate where to begin in your list of distributions. The response includes distributions in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

max_items instance-attribute
max_items: int | None

The maximum number of distributions to return.

resource_arn instance-attribute
resource_arn: Required[str]

The ARN of the CloudFront resource that you've shared with other Amazon Web Services accounts.

ListDistributionsByOwnedResourceInput dataclass

Bases: _SerdeShape

Dataclass for ListDistributionsByOwnedResourceInput structure.

Attributes

marker class-attribute instance-attribute
marker: str | None = ...

Use this field when paginating results to indicate where to begin in your list of distributions. The response includes distributions in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

max_items class-attribute instance-attribute
max_items: int | None = ...

The maximum number of distributions to return.

resource_arn class-attribute instance-attribute
resource_arn: str | None = ...

The ARN of the CloudFront resource that you've shared with other Amazon Web Services accounts.

Output

ListDistributionsByOwnedResourceOutput dataclass

Bases: _SerdeShape

Dataclass for ListDistributionsByOwnedResourceOutput structure.

Attributes

distribution_list class-attribute instance-attribute
distribution_list: DistributionIdOwnerList | None = ...

The list of distributions that are using the shared resource.

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.