disassociate_gateway_from_cluster¶
Operation¶
disassociate_gateway_from_cluster
¶
disassociate_gateway_from_cluster(request: DisassociateGatewayFromClusterInput | DisassociateGatewayFromClusterInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DisassociateGatewayFromClusterInputDict]) -> DisassociateGatewayFromClusterOutput
Removes the association between a gateway and an Amazon ECS cluster. The
association remains in the DISASSOCIATING state until you remove all
of the gateway routes for the cluster by updating the associated
services. You can use ListGatewayRoutes with a cluster filter to
determine which routes are preventing disassociation. No infrastructure
changes are made until the affected services are updated.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
DisassociateGatewayFromClusterInput | DisassociateGatewayFromClusterInputDict | 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[DisassociateGatewayFromClusterInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
DisassociateGatewayFromClusterOutput
|
An instance of |
disassociate_gateway_from_cluster
async
¶
disassociate_gateway_from_cluster(request: DisassociateGatewayFromClusterInput | DisassociateGatewayFromClusterInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DisassociateGatewayFromClusterInputDict]) -> DisassociateGatewayFromClusterOutput
Removes the association between a gateway and an Amazon ECS cluster. The
association remains in the DISASSOCIATING state until you remove all
of the gateway routes for the cluster by updating the associated
services. You can use ListGatewayRoutes with a cluster filter to
determine which routes are preventing disassociation. No infrastructure
changes are made until the affected services are updated.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
DisassociateGatewayFromClusterInput | DisassociateGatewayFromClusterInputDict | 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[DisassociateGatewayFromClusterInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
DisassociateGatewayFromClusterOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
Output¶
DisassociateGatewayFromClusterOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for DisassociateGatewayFromClusterOutput structure.
Attributes¶
cluster_arn
class-attribute
instance-attribute
¶
cluster_arn: str | None = ...
The Amazon Resource Name (ARN) of the cluster.
gateway_arn
class-attribute
instance-attribute
¶
gateway_arn: str | None = ...
The Amazon Resource Name (ARN) of the gateway.
response_metadata
class-attribute
instance-attribute
¶
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.