ResilienceHubV2 / Client / delete_service_function_resources

delete_service_function_resources

ResilienceHubV2.Client.delete_service_function_resources(**kwargs)

Removes resources from a service function.

See also: AWS API Documentation

Request Syntax

response = client.delete_service_function_resources(
    serviceArn='string',
    serviceFunctionId='string',
    resources=[
        'string',
    ]
)
Parameters:
  • serviceArn (string) –

    [REQUIRED]

    ARN identifier.

  • serviceFunctionId (string) –

    [REQUIRED]

    The identifier of the service function to remove resources from.

  • resources (list) –

    [REQUIRED]

    The list of resources to remove from the service function.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'serviceArn': 'string',
    'serviceFunctionId': 'string',
    'resources': [
        'string',
    ]
}

Response Structure

  • (dict) –

    • serviceArn (string) –

      ARN identifier.

    • serviceFunctionId (string) –

      The identifier of the service function.

    • resources (list) –

      The list of resources that were removed.

      • (string) –

Exceptions

  • ResilienceHubV2.Client.exceptions.InternalServerException

  • ResilienceHubV2.Client.exceptions.ResourceNotFoundException

  • ResilienceHubV2.Client.exceptions.ValidationException

  • ResilienceHubV2.Client.exceptions.ConflictException

  • ResilienceHubV2.Client.exceptions.AccessDeniedException