disassociate_application_status_check¶
Operation¶
disassociate_application_status_check
async
¶
disassociate_application_status_check(request: DisassociateApplicationStatusCheckInput | DisassociateApplicationStatusCheckInputDict, /, *, plugins: list[Plugin] | None = None) -> DisassociateApplicationStatusCheckOutput
disassociate_application_status_check(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[DisassociateApplicationStatusCheckInputDict]) -> DisassociateApplicationStatusCheckOutput
Disassociates an application status check from instances or tags. After disassociation, health monitoring stops for the affected instances. The following rules apply:
-
You must specify either
TargetTagAssociationsorInstanceIds, but not both. Specifying both results in anInvalidParameterCombinationerror. -
The application status check must already exist and belong to your account.
-
Tag keys must not be blank.
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 |
|---|---|
DisassociateApplicationStatusCheckOutput
|
An instance of |
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¶
DisassociateApplicationStatusCheckInput
dataclass
¶
Bases: _SerdeShape
Dataclass for DisassociateApplicationStatusCheckInput structure.
Attributes¶
application_status_check_id
class-attribute
instance-attribute
¶
application_status_check_id: str | None = ...
The ID of the application status check to disassociate.
client_token
class-attribute
instance-attribute
¶
client_token: str | None = ...
A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry a request with the same token, the service ignores the request but does not return an error. For more information, see Ensuring idempotency.
This field is autopopulated if not provided.
dry_run
class-attribute
instance-attribute
¶
dry_run: bool | None = ...
Checks whether you have the required permissions for the operation,
without actually making the request, and provides an error response. If
you have the required permissions, the error response is
DryRunOperation. Otherwise, it is UnauthorizedOperation.
instance_ids
class-attribute
instance-attribute
¶
The IDs of the instances to disassociate from the application status check.
target_tag_associations
class-attribute
instance-attribute
¶
target_tag_associations: list[CustomTagKeyValueRequestPair] | None = ...
The tags to disassociate from the application status check. Specify the same key-value pairs that were used during association.
Dictionaries¶
DisassociateApplicationStatusCheckInputDict
¶
Bases: TypedDict
Dictionary form of DisassociateApplicationStatusCheckInput.
Attributes¶
application_status_check_id
instance-attribute
¶
The ID of the application status check to disassociate.
client_token
instance-attribute
¶
client_token: str | None
A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry a request with the same token, the service ignores the request but does not return an error. For more information, see Ensuring idempotency.
This field is autopopulated if not provided.
dry_run
instance-attribute
¶
dry_run: bool | None
Checks whether you have the required permissions for the operation,
without actually making the request, and provides an error response. If
you have the required permissions, the error response is
DryRunOperation. Otherwise, it is UnauthorizedOperation.
instance_ids
instance-attribute
¶
The IDs of the instances to disassociate from the application status check.
target_tag_associations
instance-attribute
¶
target_tag_associations: Sequence[CustomTagKeyValueRequestPair | CustomTagKeyValueRequestPairDict] | None
The tags to disassociate from the application status check. Specify the same key-value pairs that were used during association.
Output¶
DisassociateApplicationStatusCheckOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for DisassociateApplicationStatusCheckOutput structure.
Attributes¶
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.
successful_results
class-attribute
instance-attribute
¶
successful_results: list[SuccessfulAssociationResponseObject] | None = ...
The associations that were successfully removed.
unsuccessful_results
class-attribute
instance-attribute
¶
unsuccessful_results: list[UnsuccessfulAssociationResponseObject] | None = ...
The associations that failed to be removed.