Lists all configuration check types supported by AWS Systems Manager for SAP.
Parameters:
-
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.
Raises:
Source code in docs_src/capo_ssm_sap/_services/ssm_sap.py
| def list_configuration_check_definitions(
self,
*,
config_overrides: Optional[SsmSapClientConfig] = None,
max_results: Optional["capo_ssm_sap.types.max_results.MaxResults"] = None,
next_token: Optional["capo_ssm_sap.types.next_token.NextToken"] = None,
) -> "capo_ssm_sap.types.list_configuration_check_definitions_output.ListConfigurationCheckDefinitionsOutput":
"""<p>Lists all configuration check types supported by AWS Systems Manager for SAP.</p>
Args:
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>
Raises:
capo_ssm_sap.errors.internal_server_exception.InternalServerException: <p>An internal error has occurred.</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.
"""
def _handler(
req: "OperationRequest[capo_ssm_sap.types.list_configuration_check_definitions_input.ListConfigurationCheckDefinitionsInput]",
) -> OperationResponse[
"capo_ssm_sap.types.list_configuration_check_definitions_output.ListConfigurationCheckDefinitionsOutput"
]:
import capo_ssm_sap._operations.ssm_sap.list_configuration_check_definitions
output, http_response = (
capo_ssm_sap._operations.ssm_sap.list_configuration_check_definitions.list_configuration_check_definitions(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("ListConfigurationCheckDefinitions")
)
input_: capo_ssm_sap.types.list_configuration_check_definitions_input.ListConfigurationCheckDefinitionsInput = {}
if max_results is not None:
input_["max_results"] = max_results
if next_token is not None:
input_["next_token"] = next_token
response = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|