delete_method
async
¶
delete_method(
rest_api_id: String,
resource_id: String,
http_method: String,
*,
config_overrides: Optional[AsyncAPIGatewayClientConfig] = None,
) -> None
Deletes an existing Method resource.
Parameters:
-
rest_api_id(String) –The string identifier of the associated RestApi.
-
resource_id(String) –The Resource identifier for the Method resource.
-
http_method(String) –The HTTP verb of the Method resource.
Raises:
-
ConflictException–The request configuration has conflicts. For details, see the accompanying error message.
-
NotFoundException–The requested resource is not found. Make sure that the request URI is correct.
-
TooManyRequestsException–The request has reached its throttling limit. Retry after the specified time period.
-
UnauthorizedException–The request is denied because the caller has insufficient permissions.
-
UnknownServiceError–The service returned an error code this client does not model.