ResilienceHubV2 / Client / list_service_functions
list_service_functions¶
- ResilienceHubV2.Client.list_service_functions(**kwargs)¶
Lists service functions for a service.
See also: AWS API Documentation
Request Syntax
response = client.list_service_functions( serviceArn='string', maxResults=123, nextToken='string' )
- Parameters:
serviceArn (string) –
[REQUIRED]
ARN identifier.
maxResults (integer) – Pagination page size.
nextToken (string) – Pagination token.
- Return type:
dict
- Returns:
Response Syntax
{ 'serviceFunctions': [ { 'serviceArn': 'string', 'serviceFunctionId': 'string', 'name': 'string', 'description': 'string', 'criticality': 'PRIMARY'|'SUPPLEMENTAL', 'resourceCount': 123, 'source': 'AI_GENERATED'|'USER', 'createdAt': datetime(2015, 1, 1), 'updatedAt': datetime(2015, 1, 1) }, ], 'nextToken': 'string' }
Response Structure
(dict) –
serviceFunctions (list) –
The list of service functions.
(dict) –
Represents a logical component of a service.
serviceArn (string) –
ARN identifier.
serviceFunctionId (string) –
The unique identifier of the service function.
name (string) –
Entity label (not part of ARN — spaces allowed).
description (string) –
Resource description.
criticality (string) –
The criticality level of the service function.
resourceCount (integer) –
The number of resources associated with the service function.
source (string) –
The source of the service function.
createdAt (datetime) –
The timestamp when the service function was created.
updatedAt (datetime) –
The timestamp when the service function was last updated.
nextToken (string) –
Pagination token.
Exceptions
ResilienceHubV2.Client.exceptions.InternalServerExceptionResilienceHubV2.Client.exceptions.ResourceNotFoundExceptionResilienceHubV2.Client.exceptions.ValidationExceptionResilienceHubV2.Client.exceptions.AccessDeniedException