Lists the configuration check operations performed by AWS Systems Manager for SAP.
Parameters:
-
application_id
(ApplicationId)
–
The ID of the application.
-
list_mode
(Optional[ConfigurationCheckOperationListingMode], default:
None
)
–
The mode for listing configuration check operations. Defaults to "LATEST_PER_CHECK".
-
max_results
(Optional[MaxResults], default:
None
)
–
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
-
next_token
(Optional[NextToken], default:
None
)
–
The token for the next page of results.
-
filters
(Optional[FilterList], default:
None
)
–
The filters of an operation.
Raises:
Source code in docs_src/capo_ssm_sap/_services/async_ssm_sap.py
| async def list_configuration_check_operations(
self,
application_id: "capo_ssm_sap.types.application_id.ApplicationId",
*,
config_overrides: Optional[AsyncSsmSapClientConfig] = None,
list_mode: Optional[
"capo_ssm_sap.types.configuration_check_operation_listing_mode.ConfigurationCheckOperationListingMode"
] = None,
max_results: Optional["capo_ssm_sap.types.max_results.MaxResults"] = None,
next_token: Optional["capo_ssm_sap.types.next_token.NextToken"] = None,
filters: Optional["capo_ssm_sap.types.filter_list.FilterList"] = None,
) -> "capo_ssm_sap.types.list_configuration_check_operations_output.ListConfigurationCheckOperationsOutput":
"""<p>Lists the configuration check operations performed by AWS Systems Manager for SAP.</p>
Args:
application_id: <p>The ID of the application.</p>
list_mode: <p>The mode for listing configuration check operations. Defaults to "LATEST_PER_CHECK".</p> <ul> <li> <p>LATEST_PER_CHECK - Will list the latest configuration check operation per check type.</p> </li> <li> <p>ALL_OPERATIONS - Will list all configuration check operations performed on the application.</p> </li> </ul>
max_results: <p>The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.</p>
next_token: <p>The token for the next page of results.</p>
filters: <p>The filters of an operation.</p>
Raises:
capo_ssm_sap.errors.internal_server_exception.InternalServerException: <p>An internal error has occurred.</p>
capo_ssm_sap.errors.resource_not_found_exception.ResourceNotFoundException: <p>The resource is not available.</p>
capo_ssm_sap.errors.validation_exception.ValidationException: <p>The input fails to satisfy the constraints specified by an AWS service. </p>
capo_ssm_sap.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
async def _handler(
req: "AsyncOperationRequest[capo_ssm_sap.types.list_configuration_check_operations_input.ListConfigurationCheckOperationsInput]",
) -> AsyncOperationResponse[
"capo_ssm_sap.types.list_configuration_check_operations_output.ListConfigurationCheckOperationsOutput"
]:
import capo_ssm_sap._operations.ssm_sap.list_configuration_check_operations
(
output,
http_response,
) = await capo_ssm_sap._operations.ssm_sap.list_configuration_check_operations.async_list_configuration_check_operations(
req.options, req.input
)
return AsyncOperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("ListConfigurationCheckOperations")
)
input_: capo_ssm_sap.types.list_configuration_check_operations_input.ListConfigurationCheckOperationsInput = {
"application_id": application_id
}
if list_mode is not None:
input_["list_mode"] = list_mode
if max_results is not None:
input_["max_results"] = max_results
if next_token is not None:
input_["next_token"] = next_token
if filters is not None:
input_["filters"] = filters
response = await aexecute_pipeline(
AsyncOperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
await response.response.aclose()
return response.output
|