SSMClient.create_ops_metadata
rboto-ssm==0.4.0 · Service index · Types
Model summary (excerpt): If you create a new application in Application Manager, Amazon Web Services Systems Manager calls this API operation to specify information about the new application, including the application type.
Install and imports
from rboto import SSMClient
from collections.abc import Sequence
from rboto_ssm.types import (
CreateOpsMetadataOutput,
MetadataValue,
Tag,
)
Signature
async def create_ops_metadata(
*,
resource_id: str,
metadata: dict[str, MetadataValue] | None = None,
tags: Sequence[Tag] | None = None,
) -> CreateOpsMetadataOutput: ...
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) |
|---|---|---|
resource_id |
Yes | A resource ID for a new Application Manager application. |
metadata |
No | Metadata for a new Application Manager application. |
tags |
No | Optional metadata that you assign to a resource. You can specify a maximum of five tags for an OpsMetadata object. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag an OpsMetadata object to identify an environment or target Amazon Web Services Region. In this case, you could specify the following key-value... |
Output
CreateOpsMetadataOutput.
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 |
|---|---|---|---|
ops_metadata_arn |
str | None |
Always present | — |
| 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
CreateOpsMetadataOutput, MetadataValue, Tag
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, OpsMetadataAlreadyExistsError, OpsMetadataInvalidArgumentError, OpsMetadataLimitExceededError, OpsMetadataTooManyUpdatesError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.