Returns a configuration manager.
Parameters:
-
manager_arn
(str)
–
The ARN of the configuration manager.
Raises:
Source code in docs_src/capo_ssm_quicksetup/_services/ssm_quick_setup.py
| def get_configuration_manager(
self,
manager_arn: str,
*,
config_overrides: Optional[SSMQuickSetupClientConfig] = None,
) -> "capo_ssm_quicksetup.types.get_configuration_manager_output.GetConfigurationManagerOutput":
"""<p>Returns a configuration manager.</p>
Args:
manager_arn: <p>The ARN of the configuration manager.</p>
Raises:
capo_ssm_quicksetup.errors.access_denied_exception.AccessDeniedException: <p>The requester has insufficient permissions to perform the operation.</p>
capo_ssm_quicksetup.errors.conflict_exception.ConflictException: <p>Another request is being processed. Wait a few minutes and try again.</p>
capo_ssm_quicksetup.errors.internal_server_exception.InternalServerException: <p>An error occurred on the server side.</p>
capo_ssm_quicksetup.errors.resource_not_found_exception.ResourceNotFoundException: <p>The resource couldn't be found. Check the ID or name and try again.</p>
capo_ssm_quicksetup.errors.throttling_exception.ThrottlingException: <p>The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.</p>
capo_ssm_quicksetup.errors.validation_exception.ValidationException: <p>The request is invalid. Verify the values provided for the request parameters are accurate.</p>
capo_ssm_quicksetup.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
def _handler(
req: "OperationRequest[capo_ssm_quicksetup.types.get_configuration_manager_input.GetConfigurationManagerInput]",
) -> OperationResponse[
"capo_ssm_quicksetup.types.get_configuration_manager_output.GetConfigurationManagerOutput"
]:
import capo_ssm_quicksetup._operations.quick_setup.get_configuration_manager
output, http_response = (
capo_ssm_quicksetup._operations.quick_setup.get_configuration_manager.get_configuration_manager(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
def _redact_output(
output: "capo_ssm_quicksetup.types.get_configuration_manager_output.GetConfigurationManagerOutput",
) -> dict[str, Any]:
import capo_ssm_quicksetup.types.get_configuration_manager_output
return capo_ssm_quicksetup.types.get_configuration_manager_output.redact_sensitive(
output
)
interceptors_, options_ = self.operation_options(
config_overrides,
OperationLogging("GetConfigurationManager", redact_output=_redact_output),
)
input_: capo_ssm_quicksetup.types.get_configuration_manager_input.GetConfigurationManagerInput = {
"manager_arn": manager_arn
}
response = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|