SSMClient.get_parameter
rboto-ssm==0.4.0 · Service index · Types
Model summary (excerpt): Get information about a single parameter by specifying the parameter name. Parameter names can't contain spaces. The service removes any spaces specified for the beginning or end of a parameter name. If the specified name for a parameter contains spaces between characters, the request fails with a ValidationException error. To get information about more than one parameter at a time, use the...
Install and imports
Signature
async def get_parameter(
*,
name: str,
with_decryption: bool | None = None,
) -> GetParameterOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
name |
Yes | The name or Amazon Resource Name (ARN) of the parameter that you want to query. For parameters shared with you from another account, you must use the full ARN. To query by parameter label, use "Name": "name:label" . To query by parameter version, use "Name": "name:version" . For more information about shared parameters, see Working with shared parameters in the Amazon Web Services Systems... |
with_decryption |
No | Return decrypted values for secure string parameters. This flag is ignored for String and StringList parameter types. |
Output
GetParameterOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
parameter |
ParameterOutput | None |
Always present | ParameterOutput |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_ssm.exceptions:
InternalServerError, InvalidKeyIdError, ParameterNotFoundError, ParameterVersionNotFoundError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.
Example
Complete, type-checked service example. Replace its placeholders and configure credentials before running it.