@aws-sdk/client-bedrock-agent-runtime 3.1019.0 → 3.1021.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,15 +4,15 @@ import { CreateInvocationCommand, } from "./commands/CreateInvocationCommand";
4
4
  import { CreateSessionCommand, } from "./commands/CreateSessionCommand";
5
5
  import { DeleteAgentMemoryCommand, } from "./commands/DeleteAgentMemoryCommand";
6
6
  import { DeleteSessionCommand, } from "./commands/DeleteSessionCommand";
7
- import { EndSessionCommand } from "./commands/EndSessionCommand";
7
+ import { EndSessionCommand, } from "./commands/EndSessionCommand";
8
8
  import { GenerateQueryCommand, } from "./commands/GenerateQueryCommand";
9
9
  import { GetAgentMemoryCommand, } from "./commands/GetAgentMemoryCommand";
10
10
  import { GetExecutionFlowSnapshotCommand, } from "./commands/GetExecutionFlowSnapshotCommand";
11
11
  import { GetFlowExecutionCommand, } from "./commands/GetFlowExecutionCommand";
12
12
  import { GetInvocationStepCommand, } from "./commands/GetInvocationStepCommand";
13
- import { GetSessionCommand } from "./commands/GetSessionCommand";
14
- import { InvokeAgentCommand } from "./commands/InvokeAgentCommand";
15
- import { InvokeFlowCommand } from "./commands/InvokeFlowCommand";
13
+ import { GetSessionCommand, } from "./commands/GetSessionCommand";
14
+ import { InvokeAgentCommand, } from "./commands/InvokeAgentCommand";
15
+ import { InvokeFlowCommand, } from "./commands/InvokeFlowCommand";
16
16
  import { InvokeInlineAgentCommand, } from "./commands/InvokeInlineAgentCommand";
17
17
  import { ListFlowExecutionEventsCommand, } from "./commands/ListFlowExecutionEventsCommand";
18
18
  import { ListFlowExecutionsCommand, } from "./commands/ListFlowExecutionsCommand";
@@ -28,7 +28,7 @@ import { RetrieveAndGenerateStreamCommand, } from "./commands/RetrieveAndGenerat
28
28
  import { RetrieveCommand } from "./commands/RetrieveCommand";
29
29
  import { StartFlowExecutionCommand, } from "./commands/StartFlowExecutionCommand";
30
30
  import { StopFlowExecutionCommand, } from "./commands/StopFlowExecutionCommand";
31
- import { TagResourceCommand } from "./commands/TagResourceCommand";
31
+ import { TagResourceCommand, } from "./commands/TagResourceCommand";
32
32
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
33
33
  import { UpdateSessionCommand, } from "./commands/UpdateSessionCommand";
34
34
  import { paginateGetAgentMemory } from "./pagination/GetAgentMemoryPaginator";
@@ -1,36 +1,36 @@
1
1
  import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { BedrockAgentRuntimeClient } from "./BedrockAgentRuntimeClient";
3
- import { CreateInvocationCommandInput, CreateInvocationCommandOutput } from "./commands/CreateInvocationCommand";
4
- import { CreateSessionCommandInput, CreateSessionCommandOutput } from "./commands/CreateSessionCommand";
5
- import { DeleteAgentMemoryCommandInput, DeleteAgentMemoryCommandOutput } from "./commands/DeleteAgentMemoryCommand";
6
- import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
7
- import { EndSessionCommandInput, EndSessionCommandOutput } from "./commands/EndSessionCommand";
8
- import { GenerateQueryCommandInput, GenerateQueryCommandOutput } from "./commands/GenerateQueryCommand";
9
- import { GetAgentMemoryCommandInput, GetAgentMemoryCommandOutput } from "./commands/GetAgentMemoryCommand";
10
- import { GetExecutionFlowSnapshotCommandInput, GetExecutionFlowSnapshotCommandOutput } from "./commands/GetExecutionFlowSnapshotCommand";
11
- import { GetFlowExecutionCommandInput, GetFlowExecutionCommandOutput } from "./commands/GetFlowExecutionCommand";
12
- import { GetInvocationStepCommandInput, GetInvocationStepCommandOutput } from "./commands/GetInvocationStepCommand";
13
- import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
14
- import { InvokeAgentCommandInput, InvokeAgentCommandOutput } from "./commands/InvokeAgentCommand";
15
- import { InvokeFlowCommandInput, InvokeFlowCommandOutput } from "./commands/InvokeFlowCommand";
16
- import { InvokeInlineAgentCommandInput, InvokeInlineAgentCommandOutput } from "./commands/InvokeInlineAgentCommand";
17
- import { ListFlowExecutionEventsCommandInput, ListFlowExecutionEventsCommandOutput } from "./commands/ListFlowExecutionEventsCommand";
18
- import { ListFlowExecutionsCommandInput, ListFlowExecutionsCommandOutput } from "./commands/ListFlowExecutionsCommand";
19
- import { ListInvocationsCommandInput, ListInvocationsCommandOutput } from "./commands/ListInvocationsCommand";
20
- import { ListInvocationStepsCommandInput, ListInvocationStepsCommandOutput } from "./commands/ListInvocationStepsCommand";
21
- import { ListSessionsCommandInput, ListSessionsCommandOutput } from "./commands/ListSessionsCommand";
22
- import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
23
- import { OptimizePromptCommandInput, OptimizePromptCommandOutput } from "./commands/OptimizePromptCommand";
24
- import { PutInvocationStepCommandInput, PutInvocationStepCommandOutput } from "./commands/PutInvocationStepCommand";
25
- import { RerankCommandInput, RerankCommandOutput } from "./commands/RerankCommand";
26
- import { RetrieveAndGenerateCommandInput, RetrieveAndGenerateCommandOutput } from "./commands/RetrieveAndGenerateCommand";
27
- import { RetrieveAndGenerateStreamCommandInput, RetrieveAndGenerateStreamCommandOutput } from "./commands/RetrieveAndGenerateStreamCommand";
28
- import { RetrieveCommandInput, RetrieveCommandOutput } from "./commands/RetrieveCommand";
29
- import { StartFlowExecutionCommandInput, StartFlowExecutionCommandOutput } from "./commands/StartFlowExecutionCommand";
30
- import { StopFlowExecutionCommandInput, StopFlowExecutionCommandOutput } from "./commands/StopFlowExecutionCommand";
31
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
32
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
33
- import { UpdateSessionCommandInput, UpdateSessionCommandOutput } from "./commands/UpdateSessionCommand";
3
+ import { type CreateInvocationCommandInput, type CreateInvocationCommandOutput } from "./commands/CreateInvocationCommand";
4
+ import { type CreateSessionCommandInput, type CreateSessionCommandOutput } from "./commands/CreateSessionCommand";
5
+ import { type DeleteAgentMemoryCommandInput, type DeleteAgentMemoryCommandOutput } from "./commands/DeleteAgentMemoryCommand";
6
+ import { type DeleteSessionCommandInput, type DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
7
+ import { type EndSessionCommandInput, type EndSessionCommandOutput } from "./commands/EndSessionCommand";
8
+ import { type GenerateQueryCommandInput, type GenerateQueryCommandOutput } from "./commands/GenerateQueryCommand";
9
+ import { type GetAgentMemoryCommandInput, type GetAgentMemoryCommandOutput } from "./commands/GetAgentMemoryCommand";
10
+ import { type GetExecutionFlowSnapshotCommandInput, type GetExecutionFlowSnapshotCommandOutput } from "./commands/GetExecutionFlowSnapshotCommand";
11
+ import { type GetFlowExecutionCommandInput, type GetFlowExecutionCommandOutput } from "./commands/GetFlowExecutionCommand";
12
+ import { type GetInvocationStepCommandInput, type GetInvocationStepCommandOutput } from "./commands/GetInvocationStepCommand";
13
+ import { type GetSessionCommandInput, type GetSessionCommandOutput } from "./commands/GetSessionCommand";
14
+ import { type InvokeAgentCommandInput, type InvokeAgentCommandOutput } from "./commands/InvokeAgentCommand";
15
+ import { type InvokeFlowCommandInput, type InvokeFlowCommandOutput } from "./commands/InvokeFlowCommand";
16
+ import { type InvokeInlineAgentCommandInput, type InvokeInlineAgentCommandOutput } from "./commands/InvokeInlineAgentCommand";
17
+ import { type ListFlowExecutionEventsCommandInput, type ListFlowExecutionEventsCommandOutput } from "./commands/ListFlowExecutionEventsCommand";
18
+ import { type ListFlowExecutionsCommandInput, type ListFlowExecutionsCommandOutput } from "./commands/ListFlowExecutionsCommand";
19
+ import { type ListInvocationsCommandInput, type ListInvocationsCommandOutput } from "./commands/ListInvocationsCommand";
20
+ import { type ListInvocationStepsCommandInput, type ListInvocationStepsCommandOutput } from "./commands/ListInvocationStepsCommand";
21
+ import { type ListSessionsCommandInput, type ListSessionsCommandOutput } from "./commands/ListSessionsCommand";
22
+ import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
23
+ import { type OptimizePromptCommandInput, type OptimizePromptCommandOutput } from "./commands/OptimizePromptCommand";
24
+ import { type PutInvocationStepCommandInput, type PutInvocationStepCommandOutput } from "./commands/PutInvocationStepCommand";
25
+ import { type RerankCommandInput, type RerankCommandOutput } from "./commands/RerankCommand";
26
+ import { type RetrieveAndGenerateCommandInput, type RetrieveAndGenerateCommandOutput } from "./commands/RetrieveAndGenerateCommand";
27
+ import { type RetrieveAndGenerateStreamCommandInput, type RetrieveAndGenerateStreamCommandOutput } from "./commands/RetrieveAndGenerateStreamCommand";
28
+ import { type RetrieveCommandInput, type RetrieveCommandOutput } from "./commands/RetrieveCommand";
29
+ import { type StartFlowExecutionCommandInput, type StartFlowExecutionCommandOutput } from "./commands/StartFlowExecutionCommand";
30
+ import { type StopFlowExecutionCommandInput, type StopFlowExecutionCommandOutput } from "./commands/StopFlowExecutionCommand";
31
+ import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
32
+ import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
33
+ import { type UpdateSessionCommandInput, type UpdateSessionCommandOutput } from "./commands/UpdateSessionCommand";
34
34
  export interface BedrockAgentRuntime {
35
35
  /**
36
36
  * @see {@link CreateInvocationCommand}
@@ -6,40 +6,40 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
6
6
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
7
7
  import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
8
8
  import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
9
- import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type EventStreamSerdeProvider as __EventStreamSerdeProvider, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
+ import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
10
10
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
11
- import { CreateInvocationCommandInput, CreateInvocationCommandOutput } from "./commands/CreateInvocationCommand";
12
- import { CreateSessionCommandInput, CreateSessionCommandOutput } from "./commands/CreateSessionCommand";
13
- import { DeleteAgentMemoryCommandInput, DeleteAgentMemoryCommandOutput } from "./commands/DeleteAgentMemoryCommand";
14
- import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
15
- import { EndSessionCommandInput, EndSessionCommandOutput } from "./commands/EndSessionCommand";
16
- import { GenerateQueryCommandInput, GenerateQueryCommandOutput } from "./commands/GenerateQueryCommand";
17
- import { GetAgentMemoryCommandInput, GetAgentMemoryCommandOutput } from "./commands/GetAgentMemoryCommand";
18
- import { GetExecutionFlowSnapshotCommandInput, GetExecutionFlowSnapshotCommandOutput } from "./commands/GetExecutionFlowSnapshotCommand";
19
- import { GetFlowExecutionCommandInput, GetFlowExecutionCommandOutput } from "./commands/GetFlowExecutionCommand";
20
- import { GetInvocationStepCommandInput, GetInvocationStepCommandOutput } from "./commands/GetInvocationStepCommand";
21
- import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
22
- import { InvokeAgentCommandInput, InvokeAgentCommandOutput } from "./commands/InvokeAgentCommand";
23
- import { InvokeFlowCommandInput, InvokeFlowCommandOutput } from "./commands/InvokeFlowCommand";
24
- import { InvokeInlineAgentCommandInput, InvokeInlineAgentCommandOutput } from "./commands/InvokeInlineAgentCommand";
25
- import { ListFlowExecutionEventsCommandInput, ListFlowExecutionEventsCommandOutput } from "./commands/ListFlowExecutionEventsCommand";
26
- import { ListFlowExecutionsCommandInput, ListFlowExecutionsCommandOutput } from "./commands/ListFlowExecutionsCommand";
27
- import { ListInvocationsCommandInput, ListInvocationsCommandOutput } from "./commands/ListInvocationsCommand";
28
- import { ListInvocationStepsCommandInput, ListInvocationStepsCommandOutput } from "./commands/ListInvocationStepsCommand";
29
- import { ListSessionsCommandInput, ListSessionsCommandOutput } from "./commands/ListSessionsCommand";
30
- import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
31
- import { OptimizePromptCommandInput, OptimizePromptCommandOutput } from "./commands/OptimizePromptCommand";
32
- import { PutInvocationStepCommandInput, PutInvocationStepCommandOutput } from "./commands/PutInvocationStepCommand";
33
- import { RerankCommandInput, RerankCommandOutput } from "./commands/RerankCommand";
34
- import { RetrieveAndGenerateCommandInput, RetrieveAndGenerateCommandOutput } from "./commands/RetrieveAndGenerateCommand";
35
- import { RetrieveAndGenerateStreamCommandInput, RetrieveAndGenerateStreamCommandOutput } from "./commands/RetrieveAndGenerateStreamCommand";
36
- import { RetrieveCommandInput, RetrieveCommandOutput } from "./commands/RetrieveCommand";
37
- import { StartFlowExecutionCommandInput, StartFlowExecutionCommandOutput } from "./commands/StartFlowExecutionCommand";
38
- import { StopFlowExecutionCommandInput, StopFlowExecutionCommandOutput } from "./commands/StopFlowExecutionCommand";
39
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
40
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
41
- import { UpdateSessionCommandInput, UpdateSessionCommandOutput } from "./commands/UpdateSessionCommand";
42
- import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
11
+ import type { CreateInvocationCommandInput, CreateInvocationCommandOutput } from "./commands/CreateInvocationCommand";
12
+ import type { CreateSessionCommandInput, CreateSessionCommandOutput } from "./commands/CreateSessionCommand";
13
+ import type { DeleteAgentMemoryCommandInput, DeleteAgentMemoryCommandOutput } from "./commands/DeleteAgentMemoryCommand";
14
+ import type { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
15
+ import type { EndSessionCommandInput, EndSessionCommandOutput } from "./commands/EndSessionCommand";
16
+ import type { GenerateQueryCommandInput, GenerateQueryCommandOutput } from "./commands/GenerateQueryCommand";
17
+ import type { GetAgentMemoryCommandInput, GetAgentMemoryCommandOutput } from "./commands/GetAgentMemoryCommand";
18
+ import type { GetExecutionFlowSnapshotCommandInput, GetExecutionFlowSnapshotCommandOutput } from "./commands/GetExecutionFlowSnapshotCommand";
19
+ import type { GetFlowExecutionCommandInput, GetFlowExecutionCommandOutput } from "./commands/GetFlowExecutionCommand";
20
+ import type { GetInvocationStepCommandInput, GetInvocationStepCommandOutput } from "./commands/GetInvocationStepCommand";
21
+ import type { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
22
+ import type { InvokeAgentCommandInput, InvokeAgentCommandOutput } from "./commands/InvokeAgentCommand";
23
+ import type { InvokeFlowCommandInput, InvokeFlowCommandOutput } from "./commands/InvokeFlowCommand";
24
+ import type { InvokeInlineAgentCommandInput, InvokeInlineAgentCommandOutput } from "./commands/InvokeInlineAgentCommand";
25
+ import type { ListFlowExecutionEventsCommandInput, ListFlowExecutionEventsCommandOutput } from "./commands/ListFlowExecutionEventsCommand";
26
+ import type { ListFlowExecutionsCommandInput, ListFlowExecutionsCommandOutput } from "./commands/ListFlowExecutionsCommand";
27
+ import type { ListInvocationsCommandInput, ListInvocationsCommandOutput } from "./commands/ListInvocationsCommand";
28
+ import type { ListInvocationStepsCommandInput, ListInvocationStepsCommandOutput } from "./commands/ListInvocationStepsCommand";
29
+ import type { ListSessionsCommandInput, ListSessionsCommandOutput } from "./commands/ListSessionsCommand";
30
+ import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
31
+ import type { OptimizePromptCommandInput, OptimizePromptCommandOutput } from "./commands/OptimizePromptCommand";
32
+ import type { PutInvocationStepCommandInput, PutInvocationStepCommandOutput } from "./commands/PutInvocationStepCommand";
33
+ import type { RerankCommandInput, RerankCommandOutput } from "./commands/RerankCommand";
34
+ import type { RetrieveAndGenerateCommandInput, RetrieveAndGenerateCommandOutput } from "./commands/RetrieveAndGenerateCommand";
35
+ import type { RetrieveAndGenerateStreamCommandInput, RetrieveAndGenerateStreamCommandOutput } from "./commands/RetrieveAndGenerateStreamCommand";
36
+ import type { RetrieveCommandInput, RetrieveCommandOutput } from "./commands/RetrieveCommand";
37
+ import type { StartFlowExecutionCommandInput, StartFlowExecutionCommandOutput } from "./commands/StartFlowExecutionCommand";
38
+ import type { StopFlowExecutionCommandInput, StopFlowExecutionCommandOutput } from "./commands/StopFlowExecutionCommand";
39
+ import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
40
+ import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
41
+ import type { UpdateSessionCommandInput, UpdateSessionCommandOutput } from "./commands/UpdateSessionCommand";
42
+ import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
43
43
  import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
44
44
  export { __Client };
45
45
  /**
@@ -148,7 +148,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
148
148
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
149
149
  * @internal
150
150
  */
151
- defaultUserAgentProvider?: Provider<__UserAgent>;
151
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
152
152
  /**
153
153
  * Default credentials provider; Not available in browser runtime.
154
154
  * @deprecated
@@ -1,4 +1,4 @@
1
- import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
1
+ import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
2
  import type { BedrockAgentRuntimeHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
3
  /**
4
4
  * @internal
@@ -5,7 +5,7 @@
5
5
  */
6
6
  export * from "./BedrockAgentRuntimeClient";
7
7
  export * from "./BedrockAgentRuntime";
8
- export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
8
+ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
9
  export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { BedrockAgentRuntimeExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
@@ -1,6 +1,6 @@
1
- import { DocumentType as __DocumentType } from "@smithy/types";
2
- import { ActionGroupSignature, ActionInvocationType, AgentCollaboration, AttributeType, ConfirmationState, ConversationRole, CreationMode, CustomControlMethod, ExecutionType, ExternalSourceType, FileSourceType, FileUseCase, FlowCompletionReason, FlowControlNodeType, FlowErrorCode, FlowExecutionErrorType, FlowExecutionEventType, FlowExecutionStatus, FlowNodeInputCategory, FlowNodeIODataType, GeneratedQueryType, GuadrailAction, GuardrailAction, GuardrailContentFilterConfidence, GuardrailContentFilterType, GuardrailContentPolicyAction, GuardrailManagedWordType, GuardrailPiiEntityType, GuardrailSensitiveInformationPolicyAction, GuardrailTopicPolicyAction, GuardrailTopicType, GuardrailWordPolicyAction, ImageFormat, ImageInputFormat, InputImageFormat, InputQueryType, InvocationType, KnowledgeBaseQueryType, MemoryType, NodeErrorCode, NodeType, ParameterType, PayloadType, PerformanceConfigLatency, PromptState, PromptType, QueryTransformationMode, QueryTransformationType, RelayConversationHistory, RequireConfirmation, RerankDocumentType, RerankingConfigurationType, RerankingMetadataSelectionMode, RerankQueryContentType, RerankSourceType, ResponseState, RetrievalResultContentColumnType, RetrievalResultContentType, RetrievalResultLocationType, RetrieveAndGenerateType, SearchType, SessionStatus, Source, TextToSqlConfigurationType, Type, VectorSearchRerankingConfigurationType } from "./enums";
3
- import { AccessDeniedException, BadGatewayException, ConflictException, DependencyFailedException, InternalServerException, ModelNotReadyException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException } from "./errors";
1
+ import type { DocumentType as __DocumentType } from "@smithy/types";
2
+ import type { ActionGroupSignature, ActionInvocationType, AgentCollaboration, AttributeType, ConfirmationState, ConversationRole, CreationMode, CustomControlMethod, ExecutionType, ExternalSourceType, FileSourceType, FileUseCase, FlowCompletionReason, FlowControlNodeType, FlowErrorCode, FlowExecutionErrorType, FlowExecutionEventType, FlowExecutionStatus, FlowNodeInputCategory, FlowNodeIODataType, GeneratedQueryType, GuadrailAction, GuardrailAction, GuardrailContentFilterConfidence, GuardrailContentFilterType, GuardrailContentPolicyAction, GuardrailManagedWordType, GuardrailPiiEntityType, GuardrailSensitiveInformationPolicyAction, GuardrailTopicPolicyAction, GuardrailTopicType, GuardrailWordPolicyAction, ImageFormat, ImageInputFormat, InputImageFormat, InputQueryType, InvocationType, KnowledgeBaseQueryType, MemoryType, NodeErrorCode, NodeType, ParameterType, PayloadType, PerformanceConfigLatency, PromptState, PromptType, QueryTransformationMode, QueryTransformationType, RelayConversationHistory, RequireConfirmation, RerankDocumentType, RerankingConfigurationType, RerankingMetadataSelectionMode, RerankQueryContentType, RerankSourceType, ResponseState, RetrievalResultContentColumnType, RetrievalResultContentType, RetrievalResultLocationType, RetrieveAndGenerateType, SearchType, SessionStatus, Source, TextToSqlConfigurationType, Type, VectorSearchRerankingConfigurationType } from "./enums";
3
+ import type { AccessDeniedException, BadGatewayException, ConflictException, DependencyFailedException, InternalServerException, ModelNotReadyException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException } from "./errors";
4
4
  /**
5
5
  * <p> Contains details about the Lambda function containing the business logic that is carried out upon invoking the action or the custom control method for handling the information elicited from the user. </p>
6
6
  * @public
@@ -1,5 +1,5 @@
1
- import { AgentCollaboration, OrchestrationType } from "./enums";
2
- import { type CustomOrchestration, type GuardrailConfigurationWithArn, type InlineBedrockModelConfigurations, type InlineSessionState, type PromptCreationConfigurations, type PromptOverrideConfiguration, type StreamingConfigurations, AgentActionGroup, Collaborator, CollaboratorConfiguration, KnowledgeBase } from "./models_0";
1
+ import type { AgentCollaboration, OrchestrationType } from "./enums";
2
+ import type { AgentActionGroup, Collaborator, CollaboratorConfiguration, CustomOrchestration, GuardrailConfigurationWithArn, InlineBedrockModelConfigurations, InlineSessionState, KnowledgeBase, PromptCreationConfigurations, PromptOverrideConfiguration, StreamingConfigurations } from "./models_0";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { GetAgentMemoryCommandInput, GetAgentMemoryCommandOutput } from "../commands/GetAgentMemoryCommand";
3
- import { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
3
+ import type { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListFlowExecutionEventsCommandInput, ListFlowExecutionEventsCommandOutput } from "../commands/ListFlowExecutionEventsCommand";
3
- import { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
3
+ import type { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListFlowExecutionsCommandInput, ListFlowExecutionsCommandOutput } from "../commands/ListFlowExecutionsCommand";
3
- import { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
3
+ import type { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListInvocationStepsCommandInput, ListInvocationStepsCommandOutput } from "../commands/ListInvocationStepsCommand";
3
- import { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
3
+ import type { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListInvocationsCommandInput, ListInvocationsCommandOutput } from "../commands/ListInvocationsCommand";
3
- import { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
3
+ import type { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListSessionsCommandInput, ListSessionsCommandOutput } from "../commands/ListSessionsCommand";
3
- import { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
3
+ import type { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { RerankCommandInput, RerankCommandOutput } from "../commands/RerankCommand";
3
- import { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
3
+ import type { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { RetrieveCommandInput, RetrieveCommandOutput } from "../commands/RetrieveCommand";
3
- import { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
3
+ import type { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -30,6 +30,7 @@ import {
30
30
  Client as __Client,
31
31
  } from "@smithy/smithy-client";
32
32
  import {
33
+ AwsCredentialIdentityProvider,
33
34
  BodyLengthCalculator as __BodyLengthCalculator,
34
35
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
35
36
  ChecksumConstructor as __ChecksumConstructor,
@@ -42,8 +43,6 @@ import {
42
43
  Provider as __Provider,
43
44
  StreamCollector as __StreamCollector,
44
45
  UrlParser as __UrlParser,
45
- AwsCredentialIdentityProvider,
46
- Provider,
47
46
  UserAgent as __UserAgent,
48
47
  } from "@smithy/types";
49
48
  import {
@@ -263,7 +262,7 @@ export interface ClientDefaults
263
262
  useFipsEndpoint?: boolean | __Provider<boolean>;
264
263
  region?: string | __Provider<string>;
265
264
  profile?: string;
266
- defaultUserAgentProvider?: Provider<__UserAgent>;
265
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
267
266
  credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
268
267
  maxAttempts?: number | __Provider<number>;
269
268
  retryMode?: string | __Provider<string>;
@@ -1,7 +1,7 @@
1
1
  import {
2
- HttpAuthScheme,
3
2
  AwsCredentialIdentity,
4
3
  AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
5
  } from "@smithy/types";
6
6
  import { BedrockAgentRuntimeHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
@@ -1,16 +1,16 @@
1
1
  import { AgentCollaboration, OrchestrationType } from "./enums";
2
2
  import {
3
+ AgentActionGroup,
4
+ Collaborator,
5
+ CollaboratorConfiguration,
3
6
  CustomOrchestration,
4
7
  GuardrailConfigurationWithArn,
5
8
  InlineBedrockModelConfigurations,
6
9
  InlineSessionState,
10
+ KnowledgeBase,
7
11
  PromptCreationConfigurations,
8
12
  PromptOverrideConfiguration,
9
13
  StreamingConfigurations,
10
- AgentActionGroup,
11
- Collaborator,
12
- CollaboratorConfiguration,
13
- KnowledgeBase,
14
14
  } from "./models_0";
15
15
  export interface InvokeInlineAgentRequest {
16
16
  customerEncryptionKeyArn?: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-agent-runtime",
3
3
  "description": "AWS SDK for JavaScript Bedrock Agent Runtime Client for Node.js, Browser and React Native",
4
- "version": "3.1019.0",
4
+ "version": "3.1021.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-bedrock-agent-runtime",
@@ -21,19 +21,19 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.25",
25
- "@aws-sdk/credential-provider-node": "^3.972.27",
24
+ "@aws-sdk/core": "^3.973.26",
25
+ "@aws-sdk/credential-provider-node": "^3.972.29",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.8",
27
27
  "@aws-sdk/middleware-logger": "^3.972.8",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.9",
29
- "@aws-sdk/middleware-user-agent": "^3.972.26",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.28",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.10",
31
31
  "@aws-sdk/types": "^3.973.6",
32
32
  "@aws-sdk/util-endpoints": "^3.996.5",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.8",
34
- "@aws-sdk/util-user-agent-node": "^3.973.12",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.14",
35
35
  "@smithy/config-resolver": "^4.4.13",
36
- "@smithy/core": "^3.23.12",
36
+ "@smithy/core": "^3.23.13",
37
37
  "@smithy/eventstream-serde-browser": "^4.2.12",
38
38
  "@smithy/eventstream-serde-config-resolver": "^4.3.12",
39
39
  "@smithy/eventstream-serde-node": "^4.2.12",
@@ -41,24 +41,24 @@
41
41
  "@smithy/hash-node": "^4.2.12",
42
42
  "@smithy/invalid-dependency": "^4.2.12",
43
43
  "@smithy/middleware-content-length": "^4.2.12",
44
- "@smithy/middleware-endpoint": "^4.4.27",
45
- "@smithy/middleware-retry": "^4.4.44",
46
- "@smithy/middleware-serde": "^4.2.15",
44
+ "@smithy/middleware-endpoint": "^4.4.28",
45
+ "@smithy/middleware-retry": "^4.4.46",
46
+ "@smithy/middleware-serde": "^4.2.16",
47
47
  "@smithy/middleware-stack": "^4.2.12",
48
48
  "@smithy/node-config-provider": "^4.3.12",
49
- "@smithy/node-http-handler": "^4.5.0",
49
+ "@smithy/node-http-handler": "^4.5.1",
50
50
  "@smithy/protocol-http": "^5.3.12",
51
- "@smithy/smithy-client": "^4.12.7",
51
+ "@smithy/smithy-client": "^4.12.8",
52
52
  "@smithy/types": "^4.13.1",
53
53
  "@smithy/url-parser": "^4.2.12",
54
54
  "@smithy/util-base64": "^4.3.2",
55
55
  "@smithy/util-body-length-browser": "^4.2.2",
56
56
  "@smithy/util-body-length-node": "^4.2.3",
57
- "@smithy/util-defaults-mode-browser": "^4.3.43",
58
- "@smithy/util-defaults-mode-node": "^4.2.47",
57
+ "@smithy/util-defaults-mode-browser": "^4.3.44",
58
+ "@smithy/util-defaults-mode-node": "^4.2.48",
59
59
  "@smithy/util-endpoints": "^3.3.3",
60
60
  "@smithy/util-middleware": "^4.2.12",
61
- "@smithy/util-retry": "^4.2.12",
61
+ "@smithy/util-retry": "^4.2.13",
62
62
  "@smithy/util-utf8": "^4.2.2",
63
63
  "tslib": "^2.6.2"
64
64
  },