Skip to content

copy_blueprint_stage

Operation

copy_blueprint_stage

copy_blueprint_stage(request: CopyBlueprintStageInput | CopyBlueprintStageInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[CopyBlueprintStageInputDict]) -> CopyBlueprintStageOutput

Copies a Blueprint from one stage to another

Parameters:

Name Type Description Default
request CopyBlueprintStageInput | CopyBlueprintStageInputDict | 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[CopyBlueprintStageInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
CopyBlueprintStageOutput

An instance of CopyBlueprintStageOutput.

copy_blueprint_stage async

copy_blueprint_stage(request: CopyBlueprintStageInput | CopyBlueprintStageInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[CopyBlueprintStageInputDict]) -> CopyBlueprintStageOutput

Copies a Blueprint from one stage to another

Parameters:

Name Type Description Default
request CopyBlueprintStageInput | CopyBlueprintStageInputDict | 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[CopyBlueprintStageInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
CopyBlueprintStageOutput

An instance of CopyBlueprintStageOutput.

Input

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

CopyBlueprintStageInputDict

Bases: TypedDict

Dictionary form of CopyBlueprintStageInput.

Attributes

blueprint_arn instance-attribute
blueprint_arn: Required[str]

Blueprint to be copied

client_token instance-attribute
client_token: str | None

Client token for idempotency This field is autopopulated if not provided.

source_stage instance-attribute
source_stage: Required[str]

Source stage to copy from

target_stage instance-attribute
target_stage: Required[str]

Target stage to copy to

CopyBlueprintStageInput dataclass

Bases: _SerdeShape

CopyBlueprintStage Request

Attributes

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

Blueprint to be copied

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

Client token for idempotency This field is autopopulated if not provided.

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

Source stage to copy from

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

Target stage to copy to

Output

CopyBlueprintStageOutput dataclass

Bases: _SerdeShape

CopyBlueprintStage Response

Attributes

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.