get_invocation_step
async
¶
get_invocation_step(
invocation_identifier: InvocationIdentifier,
invocation_step_id: Uuid,
session_identifier: SessionIdentifier,
*,
config_overrides: Optional[AsyncBedrockAgentRuntimeClientConfig] = None,
) -> GetInvocationStepResponse
Retrieves the details of a specific invocation step within an invocation in a session. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.
Parameters:
-
invocation_identifier(InvocationIdentifier) –The unique identifier for the invocation in UUID format.
-
invocation_step_id(Uuid) –The unique identifier (in UUID format) for the specific invocation step to retrieve.
-
session_identifier(SessionIdentifier) –The unique identifier for the invocation step's associated session. You can specify either the session's
sessionIdor its Amazon Resource Name (ARN).
Raises:
-
AccessDeniedException–The request is denied because of missing access permissions. Check your permissions and retry your request.
-
InternalServerException–An internal server error occurred. Retry your request.
-
ResourceNotFoundException–The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.
-
ThrottlingException–The number of requests exceeds the limit. Resubmit your request later.
-
ValidationException–Input validation failed. Check your request parameters and retry the request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_bedrock_agent_runtime/_services/async_bedrock_agent_runtime.py
3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 | |