Skip to content

update_registry_record_status

Operation

update_registry_record_status

update_registry_record_status(request: UpdateRegistryRecordStatusInput | UpdateRegistryRecordStatusInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateRegistryRecordStatusInputDict]) -> UpdateRegistryRecordStatusOutput

Updates the status of a registry record. Use this operation to approve, reject, or deprecate a registry record.

Parameters:

Name Type Description Default
request UpdateRegistryRecordStatusInput | UpdateRegistryRecordStatusInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[UpdateRegistryRecordStatusInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
UpdateRegistryRecordStatusOutput

An instance of UpdateRegistryRecordStatusOutput.

update_registry_record_status async

update_registry_record_status(request: UpdateRegistryRecordStatusInput | UpdateRegistryRecordStatusInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateRegistryRecordStatusInputDict]) -> UpdateRegistryRecordStatusOutput

Updates the status of a registry record. Use this operation to approve, reject, or deprecate a registry record.

Parameters:

Name Type Description Default
request UpdateRegistryRecordStatusInput | UpdateRegistryRecordStatusInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[UpdateRegistryRecordStatusInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
UpdateRegistryRecordStatusOutput

An instance of UpdateRegistryRecordStatusOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

UpdateRegistryRecordStatusInputDict

Bases: TypedDict

Dictionary form of UpdateRegistryRecordStatusInput.

Attributes

record_id instance-attribute
record_id: Required[str]

The identifier of the registry record to update the status for. You can specify either the Amazon Resource Name (ARN) or the ID of the record.

registry_id instance-attribute
registry_id: Required[str]

The identifier of the registry containing the record. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.

status instance-attribute
status: Required[str]

The target status for the registry record.

status_reason instance-attribute
status_reason: Required[str]

The reason for the status change, such as why the record was approved or rejected.

UpdateRegistryRecordStatusInput dataclass

Bases: _SerdeShape

Dataclass for UpdateRegistryRecordStatusInput structure.

Attributes

record_id class-attribute instance-attribute
record_id: str | None = ...

The identifier of the registry record to update the status for. You can specify either the Amazon Resource Name (ARN) or the ID of the record.

registry_id class-attribute instance-attribute
registry_id: str | None = ...

The identifier of the registry containing the record. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.

status class-attribute instance-attribute
status: str | None = ...

The target status for the registry record.

status_reason class-attribute instance-attribute
status_reason: str | None = ...

The reason for the status change, such as why the record was approved or rejected.

Output

UpdateRegistryRecordStatusOutput dataclass

Bases: _SerdeShape

Dataclass for UpdateRegistryRecordStatusOutput structure.

Attributes

record_arn instance-attribute
record_arn: str

The Amazon Resource Name (ARN) of the registry record.

record_id instance-attribute
record_id: str

The unique identifier of the registry record.

registry_arn instance-attribute
registry_arn: str

The Amazon Resource Name (ARN) of the registry that contains the record.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.

status instance-attribute
status: str

The resulting status of the registry record.

status_reason instance-attribute
status_reason: str

The reason for the status change.

updated_at instance-attribute
updated_at: datetime

The timestamp when the record was last updated.