Skip to content

CloudFront  >  Operations  >  list_distributions_by_connection_mode

list_distributions_by_connection_mode

Operation

list_distributions_by_connection_mode async

list_distributions_by_connection_mode(request: ListDistributionsByConnectionModeInput | ListDistributionsByConnectionModeInputDict, /, *, plugins: list[Plugin] | None = None) -> ListDistributionsByConnectionModeOutput
list_distributions_by_connection_mode(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[ListDistributionsByConnectionModeInputDict]) -> ListDistributionsByConnectionModeOutput

Lists the distributions by the connection mode that you specify.

Parameters:

Name Type Description Default
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

Returns:

Type Description
ListDistributionsByConnectionModeOutput

An instance of ListDistributionsByConnectionModeOutput.

Input

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

Model

ListDistributionsByConnectionModeInput dataclass

Bases: _SerdeShape

Dataclass for ListDistributionsByConnectionModeInput structure.

Attributes
connection_mode class-attribute instance-attribute
connection_mode: str | None = ...

This field specifies whether the connection mode is through a standard distribution (direct) or a multi-tenant distribution with distribution tenants (tenant-only).

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

The marker for the next set of distributions to retrieve.

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

The maximum number of distributions to return.

Dictionaries

ListDistributionsByConnectionModeInputDict

Bases: TypedDict

Dictionary form of ListDistributionsByConnectionModeInput.

Attributes
connection_mode instance-attribute
connection_mode: Required[str]

This field specifies whether the connection mode is through a standard distribution (direct) or a multi-tenant distribution with distribution tenants (tenant-only).

marker instance-attribute
marker: str | None

The marker for the next set of distributions to retrieve.

max_items instance-attribute
max_items: int | None

The maximum number of distributions to return.

Output

ListDistributionsByConnectionModeOutput dataclass

Bases: _SerdeShape

Dataclass for ListDistributionsByConnectionModeOutput structure.

Attributes

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

A distribution list.

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.