Skip to content

submit_registry_record_for_approval

Operation

submit_registry_record_for_approval

submit_registry_record_for_approval(request: SubmitRegistryRecordForApprovalInput | SubmitRegistryRecordForApprovalInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[SubmitRegistryRecordForApprovalInputDict]) -> SubmitRegistryRecordForApprovalOutput

Submits a registry record for approval. This transitions the record from DRAFT status to PENDING_APPROVAL status. If the registry has auto-approval enabled, the record is automatically approved.

Parameters:

Name Type Description Default
request SubmitRegistryRecordForApprovalInput | SubmitRegistryRecordForApprovalInputDict | 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[SubmitRegistryRecordForApprovalInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
SubmitRegistryRecordForApprovalOutput

An instance of SubmitRegistryRecordForApprovalOutput.

submit_registry_record_for_approval async

submit_registry_record_for_approval(request: SubmitRegistryRecordForApprovalInput | SubmitRegistryRecordForApprovalInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[SubmitRegistryRecordForApprovalInputDict]) -> SubmitRegistryRecordForApprovalOutput

Submits a registry record for approval. This transitions the record from DRAFT status to PENDING_APPROVAL status. If the registry has auto-approval enabled, the record is automatically approved.

Parameters:

Name Type Description Default
request SubmitRegistryRecordForApprovalInput | SubmitRegistryRecordForApprovalInputDict | 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[SubmitRegistryRecordForApprovalInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
SubmitRegistryRecordForApprovalOutput

An instance of SubmitRegistryRecordForApprovalOutput.

Input

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

SubmitRegistryRecordForApprovalInputDict

Bases: TypedDict

Dictionary form of SubmitRegistryRecordForApprovalInput.

Attributes

record_id instance-attribute
record_id: Required[str]

The identifier of the registry record to submit for approval. 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.

SubmitRegistryRecordForApprovalInput dataclass

Bases: _SerdeShape

Dataclass for SubmitRegistryRecordForApprovalInput structure.

Attributes

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

The identifier of the registry record to submit for approval. 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.

Output

SubmitRegistryRecordForApprovalOutput dataclass

Bases: _SerdeShape

Dataclass for SubmitRegistryRecordForApprovalOutput 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 after submission.

updated_at instance-attribute
updated_at: datetime

The timestamp when the record was last updated.