delete_publishing_destination¶
Operation¶
delete_publishing_destination
¶
delete_publishing_destination(request: DeletePublishingDestinationInput | DeletePublishingDestinationInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeletePublishingDestinationInputDict]) -> DeletePublishingDestinationOutput
Deletes the publishing definition with the specified destinationId.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
DeletePublishingDestinationInput | DeletePublishingDestinationInputDict | 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[DeletePublishingDestinationInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
DeletePublishingDestinationOutput
|
An instance of |
delete_publishing_destination
async
¶
delete_publishing_destination(request: DeletePublishingDestinationInput | DeletePublishingDestinationInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeletePublishingDestinationInputDict]) -> DeletePublishingDestinationOutput
Deletes the publishing definition with the specified destinationId.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
DeletePublishingDestinationInput | DeletePublishingDestinationInputDict | 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[DeletePublishingDestinationInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
DeletePublishingDestinationOutput
|
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.
DeletePublishingDestinationInputDict
¶
Bases: TypedDict
Dictionary form of DeletePublishingDestinationInput.
Attributes¶
destination_id
instance-attribute
¶
The ID of the publishing destination to delete.
detector_id
instance-attribute
¶
The unique ID of the detector associated with the publishing destination to delete.
To find the detectorId in the current Region, see the Settings page in
the GuardDuty console, or run the
ListDetectors
API.
DeletePublishingDestinationInput
dataclass
¶
Bases: _SerdeShape
Dataclass for DeletePublishingDestinationInput structure.
Attributes¶
destination_id
class-attribute
instance-attribute
¶
destination_id: str | None = ...
The ID of the publishing destination to delete.
detector_id
class-attribute
instance-attribute
¶
detector_id: str | None = ...
The unique ID of the detector associated with the publishing destination to delete.
To find the detectorId in the current Region, see the Settings page in
the GuardDuty console, or run the
ListDetectors
API.
Output¶
DeletePublishingDestinationOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for DeletePublishingDestinationOutput structure.