delete_distribution_tenant¶
Operation¶
delete_distribution_tenant
¶
delete_distribution_tenant(request: DeleteDistributionTenantInput | DeleteDistributionTenantInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteDistributionTenantInputDict]) -> DeleteDistributionTenantOutput
Deletes a distribution tenant. If you use this API operation to delete a distribution tenant that is currently enabled, the request will fail.
To delete a distribution tenant, you must first disable the distribution
tenant by using the UpdateDistributionTenant API operation.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
DeleteDistributionTenantInput | DeleteDistributionTenantInputDict | 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[DeleteDistributionTenantInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
DeleteDistributionTenantOutput
|
An instance of |
delete_distribution_tenant
async
¶
delete_distribution_tenant(request: DeleteDistributionTenantInput | DeleteDistributionTenantInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteDistributionTenantInputDict]) -> DeleteDistributionTenantOutput
Deletes a distribution tenant. If you use this API operation to delete a distribution tenant that is currently enabled, the request will fail.
To delete a distribution tenant, you must first disable the distribution
tenant by using the UpdateDistributionTenant API operation.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
DeleteDistributionTenantInput | DeleteDistributionTenantInputDict | 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[DeleteDistributionTenantInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
DeleteDistributionTenantOutput
|
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¶
DeleteDistributionTenantOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for DeleteDistributionTenantOutput structure.