list_sop_recommendations
(**kwargs)¶Lists the standard operating procedure (SOP) recommendations for the AWS Resilience Hub applications.
See also: AWS API Documentation
Request Syntax
response = client.list_sop_recommendations(
assessmentArn='string',
maxResults=123,
nextToken='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn: partition
:resiliencehub: region
: account
:app-assessment/ app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
MaxResults
value, a token is included in the response so that the remaining results can be retrieved.dict
Response Syntax
{
'nextToken': 'string',
'sopRecommendations': [
{
'appComponentName': 'string',
'description': 'string',
'items': [
{
'alreadyImplemented': True|False,
'resourceId': 'string',
'targetAccountId': 'string',
'targetRegion': 'string'
},
],
'name': 'string',
'prerequisite': 'string',
'recommendationId': 'string',
'referenceId': 'string',
'serviceType': 'SSM'
},
]
}
Response Structure
(dict) --
nextToken (string) --
The token for the next set of results, or null if there are no more results.
sopRecommendations (list) --
The standard operating procedure (SOP) recommendations for the AWS Resilience Hub applications.
(dict) --
Defines a standard operating procedure (SOP) recommendation.
appComponentName (string) --
The name of the Application Component.
description (string) --
The description of the SOP recommendation.
items (list) --
The recommendation items.
(dict) --
Defines a recommendation.
alreadyImplemented (boolean) --
Specifies if the recommendation has already been implemented.
resourceId (string) --
The resource identifier.
targetAccountId (string) --
The target account identifier.
targetRegion (string) --
The target region.
name (string) --
The name of the SOP recommendation.
prerequisite (string) --
The prerequisite for the SOP recommendation.
recommendationId (string) --
Identifier for the SOP recommendation.
referenceId (string) --
The reference identifier for the SOP recommendation.
serviceType (string) --
The service type.
Exceptions
ResilienceHub.Client.exceptions.InternalServerException
ResilienceHub.Client.exceptions.ResourceNotFoundException
ResilienceHub.Client.exceptions.ConflictException
ResilienceHub.Client.exceptions.ThrottlingException
ResilienceHub.Client.exceptions.ValidationException
ResilienceHub.Client.exceptions.AccessDeniedException