@aws-sdk/client-bedrock-agent-runtime 3.755.0 → 3.758.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.
- package/README.md +119 -7
- package/dist-cjs/index.js +941 -56
- package/dist-es/BedrockAgentRuntime.js +28 -0
- package/dist-es/commands/CreateInvocationCommand.js +22 -0
- package/dist-es/commands/CreateSessionCommand.js +22 -0
- package/dist-es/commands/DeleteSessionCommand.js +22 -0
- package/dist-es/commands/EndSessionCommand.js +22 -0
- package/dist-es/commands/GetInvocationStepCommand.js +23 -0
- package/dist-es/commands/GetSessionCommand.js +22 -0
- package/dist-es/commands/InvokeAgentCommand.js +2 -1
- package/dist-es/commands/InvokeInlineAgentCommand.js +2 -1
- package/dist-es/commands/ListInvocationStepsCommand.js +22 -0
- package/dist-es/commands/ListInvocationsCommand.js +22 -0
- package/dist-es/commands/ListSessionsCommand.js +22 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/PutInvocationStepCommand.js +23 -0
- package/dist-es/commands/RetrieveAndGenerateCommand.js +2 -1
- package/dist-es/commands/RetrieveAndGenerateStreamCommand.js +2 -1
- package/dist-es/commands/RetrieveCommand.js +2 -1
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/UpdateSessionCommand.js +22 -0
- package/dist-es/commands/index.js +14 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +54 -151
- package/dist-es/models/models_1.js +164 -0
- package/dist-es/pagination/ListInvocationStepsPaginator.js +4 -0
- package/dist-es/pagination/ListInvocationsPaginator.js +4 -0
- package/dist-es/pagination/ListSessionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +532 -8
- package/dist-types/BedrockAgentRuntime.d.ts +100 -0
- package/dist-types/BedrockAgentRuntimeClient.d.ts +16 -2
- package/dist-types/commands/CreateInvocationCommand.d.ts +115 -0
- package/dist-types/commands/CreateSessionCommand.d.ts +133 -0
- package/dist-types/commands/DeleteSessionCommand.d.ts +89 -0
- package/dist-types/commands/EndSessionCommand.d.ts +93 -0
- package/dist-types/commands/GetInvocationStepCommand.d.ts +109 -0
- package/dist-types/commands/GetSessionCommand.d.ts +94 -0
- package/dist-types/commands/InvokeAgentCommand.d.ts +2 -1
- package/dist-types/commands/InvokeInlineAgentCommand.d.ts +2 -1
- package/dist-types/commands/ListInvocationStepsCommand.d.ts +97 -0
- package/dist-types/commands/ListInvocationsCommand.d.ts +95 -0
- package/dist-types/commands/ListSessionsCommand.d.ts +93 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +88 -0
- package/dist-types/commands/PutInvocationStepCommand.d.ts +134 -0
- package/dist-types/commands/RetrieveAndGenerateCommand.d.ts +2 -1
- package/dist-types/commands/RetrieveAndGenerateStreamCommand.d.ts +2 -1
- package/dist-types/commands/RetrieveCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +90 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +87 -0
- package/dist-types/commands/UpdateSessionCommand.d.ts +96 -0
- package/dist-types/commands/index.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +494 -634
- package/dist-types/models/models_1.d.ts +919 -0
- package/dist-types/pagination/ListInvocationStepsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListInvocationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSessionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +126 -0
- package/dist-types/ts3.4/BedrockAgentRuntime.d.ts +240 -0
- package/dist-types/ts3.4/BedrockAgentRuntimeClient.d.ts +86 -2
- package/dist-types/ts3.4/commands/CreateInvocationCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/EndSessionCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetInvocationStepCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/InvokeAgentCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/InvokeInlineAgentCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListInvocationStepsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListInvocationsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutInvocationStepCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RetrieveAndGenerateCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/RetrieveAndGenerateStreamCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateSessionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +14 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +222 -365
- package/dist-types/ts3.4/models/models_1.d.ts +416 -0
- package/dist-types/ts3.4/pagination/ListInvocationStepsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListInvocationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSessionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +168 -0
- package/package.json +12 -12
|
@@ -6967,870 +6967,762 @@ export interface RetrieveResponse {
|
|
|
6967
6967
|
nextToken?: string | undefined;
|
|
6968
6968
|
}
|
|
6969
6969
|
/**
|
|
6970
|
-
* <p>Specifies the filters to use on the metadata attributes in the knowledge base data sources before returning results. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html">Query configurations</a>. See the examples below to see how to use these filters.</p>
|
|
6971
|
-
* <p>This data type is used in the following API operations:</p>
|
|
6972
|
-
* <ul>
|
|
6973
|
-
* <li>
|
|
6974
|
-
* <p>
|
|
6975
|
-
* <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_RequestSyntax">Retrieve request</a> – in the <code>filter</code> field</p>
|
|
6976
|
-
* </li>
|
|
6977
|
-
* <li>
|
|
6978
|
-
* <p>
|
|
6979
|
-
* <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax">RetrieveAndGenerate request</a> – in the <code>filter</code> field</p>
|
|
6980
|
-
* </li>
|
|
6981
|
-
* </ul>
|
|
6982
6970
|
* @public
|
|
6983
6971
|
*/
|
|
6984
|
-
export
|
|
6972
|
+
export interface CreateSessionRequest {
|
|
6973
|
+
/**
|
|
6974
|
+
* <p>A map of key-value pairs containing attributes to be persisted across the session. For example, the user's ID, their language preference,
|
|
6975
|
+
* and the type of device they are using.</p>
|
|
6976
|
+
* @public
|
|
6977
|
+
*/
|
|
6978
|
+
sessionMetadata?: Record<string, string> | undefined;
|
|
6979
|
+
/**
|
|
6980
|
+
* <p>The Amazon Resource Name (ARN) of the KMS key to use to encrypt the session data. The user or role creating the session must have permission to use the key.
|
|
6981
|
+
* For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/session-encryption.html">Amazon Bedrock session encryption</a>.
|
|
6982
|
+
* </p>
|
|
6983
|
+
* @public
|
|
6984
|
+
*/
|
|
6985
|
+
encryptionKeyArn?: string | undefined;
|
|
6986
|
+
/**
|
|
6987
|
+
* <p>Specify the key-value pairs for the tags that you want to attach to the session.</p>
|
|
6988
|
+
* @public
|
|
6989
|
+
*/
|
|
6990
|
+
tags?: Record<string, string> | undefined;
|
|
6991
|
+
}
|
|
6985
6992
|
/**
|
|
6986
6993
|
* @public
|
|
6994
|
+
* @enum
|
|
6987
6995
|
*/
|
|
6988
|
-
export declare
|
|
6996
|
+
export declare const SessionStatus: {
|
|
6997
|
+
readonly ACTIVE: "ACTIVE";
|
|
6998
|
+
readonly ENDED: "ENDED";
|
|
6999
|
+
readonly EXPIRED: "EXPIRED";
|
|
7000
|
+
};
|
|
7001
|
+
/**
|
|
7002
|
+
* @public
|
|
7003
|
+
*/
|
|
7004
|
+
export type SessionStatus = (typeof SessionStatus)[keyof typeof SessionStatus];
|
|
7005
|
+
/**
|
|
7006
|
+
* @public
|
|
7007
|
+
*/
|
|
7008
|
+
export interface CreateSessionResponse {
|
|
6989
7009
|
/**
|
|
6990
|
-
* <p>
|
|
6991
|
-
* <p>The following example would return data sources with an <code>animal</code> attribute whose value is <code>cat</code>:</p>
|
|
6992
|
-
* <p>
|
|
6993
|
-
* <code>"equals": \{ "key": "animal", "value": "cat" \}</code>
|
|
6994
|
-
* </p>
|
|
7010
|
+
* <p>The unique identifier for the session.</p>
|
|
6995
7011
|
* @public
|
|
6996
7012
|
*/
|
|
6997
|
-
|
|
6998
|
-
equals: FilterAttribute;
|
|
6999
|
-
notEquals?: never;
|
|
7000
|
-
greaterThan?: never;
|
|
7001
|
-
greaterThanOrEquals?: never;
|
|
7002
|
-
lessThan?: never;
|
|
7003
|
-
lessThanOrEquals?: never;
|
|
7004
|
-
in?: never;
|
|
7005
|
-
notIn?: never;
|
|
7006
|
-
startsWith?: never;
|
|
7007
|
-
listContains?: never;
|
|
7008
|
-
stringContains?: never;
|
|
7009
|
-
andAll?: never;
|
|
7010
|
-
orAll?: never;
|
|
7011
|
-
$unknown?: never;
|
|
7012
|
-
}
|
|
7013
|
+
sessionId: string | undefined;
|
|
7013
7014
|
/**
|
|
7014
|
-
* <p>
|
|
7015
|
-
*
|
|
7016
|
-
|
|
7017
|
-
|
|
7018
|
-
* </p>
|
|
7019
|
-
* @public
|
|
7020
|
-
*/
|
|
7021
|
-
interface NotEqualsMember {
|
|
7022
|
-
equals?: never;
|
|
7023
|
-
notEquals: FilterAttribute;
|
|
7024
|
-
greaterThan?: never;
|
|
7025
|
-
greaterThanOrEquals?: never;
|
|
7026
|
-
lessThan?: never;
|
|
7027
|
-
lessThanOrEquals?: never;
|
|
7028
|
-
in?: never;
|
|
7029
|
-
notIn?: never;
|
|
7030
|
-
startsWith?: never;
|
|
7031
|
-
listContains?: never;
|
|
7032
|
-
stringContains?: never;
|
|
7033
|
-
andAll?: never;
|
|
7034
|
-
orAll?: never;
|
|
7035
|
-
$unknown?: never;
|
|
7036
|
-
}
|
|
7015
|
+
* <p>The Amazon Resource Name (ARN) of the created session.</p>
|
|
7016
|
+
* @public
|
|
7017
|
+
*/
|
|
7018
|
+
sessionArn: string | undefined;
|
|
7037
7019
|
/**
|
|
7038
|
-
* <p>
|
|
7039
|
-
*
|
|
7040
|
-
|
|
7041
|
-
|
|
7042
|
-
* </p>
|
|
7043
|
-
* @public
|
|
7044
|
-
*/
|
|
7045
|
-
interface GreaterThanMember {
|
|
7046
|
-
equals?: never;
|
|
7047
|
-
notEquals?: never;
|
|
7048
|
-
greaterThan: FilterAttribute;
|
|
7049
|
-
greaterThanOrEquals?: never;
|
|
7050
|
-
lessThan?: never;
|
|
7051
|
-
lessThanOrEquals?: never;
|
|
7052
|
-
in?: never;
|
|
7053
|
-
notIn?: never;
|
|
7054
|
-
startsWith?: never;
|
|
7055
|
-
listContains?: never;
|
|
7056
|
-
stringContains?: never;
|
|
7057
|
-
andAll?: never;
|
|
7058
|
-
orAll?: never;
|
|
7059
|
-
$unknown?: never;
|
|
7060
|
-
}
|
|
7020
|
+
* <p>The current status of the session.</p>
|
|
7021
|
+
* @public
|
|
7022
|
+
*/
|
|
7023
|
+
sessionStatus: SessionStatus | undefined;
|
|
7061
7024
|
/**
|
|
7062
|
-
* <p>
|
|
7063
|
-
*
|
|
7064
|
-
|
|
7065
|
-
|
|
7066
|
-
|
|
7067
|
-
|
|
7068
|
-
|
|
7069
|
-
|
|
7070
|
-
|
|
7071
|
-
notEquals?: never;
|
|
7072
|
-
greaterThan?: never;
|
|
7073
|
-
greaterThanOrEquals: FilterAttribute;
|
|
7074
|
-
lessThan?: never;
|
|
7075
|
-
lessThanOrEquals?: never;
|
|
7076
|
-
in?: never;
|
|
7077
|
-
notIn?: never;
|
|
7078
|
-
startsWith?: never;
|
|
7079
|
-
listContains?: never;
|
|
7080
|
-
stringContains?: never;
|
|
7081
|
-
andAll?: never;
|
|
7082
|
-
orAll?: never;
|
|
7083
|
-
$unknown?: never;
|
|
7084
|
-
}
|
|
7025
|
+
* <p>The timestamp for when the session was created.</p>
|
|
7026
|
+
* @public
|
|
7027
|
+
*/
|
|
7028
|
+
createdAt: Date | undefined;
|
|
7029
|
+
}
|
|
7030
|
+
/**
|
|
7031
|
+
* @public
|
|
7032
|
+
*/
|
|
7033
|
+
export interface DeleteSessionRequest {
|
|
7085
7034
|
/**
|
|
7086
|
-
* <p>
|
|
7087
|
-
*
|
|
7088
|
-
|
|
7089
|
-
|
|
7090
|
-
|
|
7091
|
-
|
|
7092
|
-
|
|
7093
|
-
|
|
7094
|
-
|
|
7095
|
-
|
|
7096
|
-
|
|
7097
|
-
|
|
7098
|
-
|
|
7099
|
-
|
|
7100
|
-
in?: never;
|
|
7101
|
-
notIn?: never;
|
|
7102
|
-
startsWith?: never;
|
|
7103
|
-
listContains?: never;
|
|
7104
|
-
stringContains?: never;
|
|
7105
|
-
andAll?: never;
|
|
7106
|
-
orAll?: never;
|
|
7107
|
-
$unknown?: never;
|
|
7108
|
-
}
|
|
7035
|
+
* <p>The unique identifier for the session to be deleted. You can specify either the session's <code>sessionId</code> or its Amazon Resource Name (ARN).</p>
|
|
7036
|
+
* @public
|
|
7037
|
+
*/
|
|
7038
|
+
sessionIdentifier: string | undefined;
|
|
7039
|
+
}
|
|
7040
|
+
/**
|
|
7041
|
+
* @public
|
|
7042
|
+
*/
|
|
7043
|
+
export interface DeleteSessionResponse {
|
|
7044
|
+
}
|
|
7045
|
+
/**
|
|
7046
|
+
* @public
|
|
7047
|
+
*/
|
|
7048
|
+
export interface EndSessionRequest {
|
|
7109
7049
|
/**
|
|
7110
|
-
* <p>
|
|
7111
|
-
*
|
|
7112
|
-
|
|
7113
|
-
|
|
7114
|
-
|
|
7115
|
-
|
|
7116
|
-
|
|
7117
|
-
|
|
7118
|
-
|
|
7119
|
-
notEquals?: never;
|
|
7120
|
-
greaterThan?: never;
|
|
7121
|
-
greaterThanOrEquals?: never;
|
|
7122
|
-
lessThan?: never;
|
|
7123
|
-
lessThanOrEquals: FilterAttribute;
|
|
7124
|
-
in?: never;
|
|
7125
|
-
notIn?: never;
|
|
7126
|
-
startsWith?: never;
|
|
7127
|
-
listContains?: never;
|
|
7128
|
-
stringContains?: never;
|
|
7129
|
-
andAll?: never;
|
|
7130
|
-
orAll?: never;
|
|
7131
|
-
$unknown?: never;
|
|
7132
|
-
}
|
|
7050
|
+
* <p>The unique identifier for the session to end. You can specify either the session's <code>sessionId</code> or its Amazon Resource Name (ARN).</p>
|
|
7051
|
+
* @public
|
|
7052
|
+
*/
|
|
7053
|
+
sessionIdentifier: string | undefined;
|
|
7054
|
+
}
|
|
7055
|
+
/**
|
|
7056
|
+
* @public
|
|
7057
|
+
*/
|
|
7058
|
+
export interface EndSessionResponse {
|
|
7133
7059
|
/**
|
|
7134
|
-
* <p>
|
|
7135
|
-
*
|
|
7136
|
-
|
|
7137
|
-
|
|
7138
|
-
* </p>
|
|
7139
|
-
* @public
|
|
7140
|
-
*/
|
|
7141
|
-
interface InMember {
|
|
7142
|
-
equals?: never;
|
|
7143
|
-
notEquals?: never;
|
|
7144
|
-
greaterThan?: never;
|
|
7145
|
-
greaterThanOrEquals?: never;
|
|
7146
|
-
lessThan?: never;
|
|
7147
|
-
lessThanOrEquals?: never;
|
|
7148
|
-
in: FilterAttribute;
|
|
7149
|
-
notIn?: never;
|
|
7150
|
-
startsWith?: never;
|
|
7151
|
-
listContains?: never;
|
|
7152
|
-
stringContains?: never;
|
|
7153
|
-
andAll?: never;
|
|
7154
|
-
orAll?: never;
|
|
7155
|
-
$unknown?: never;
|
|
7156
|
-
}
|
|
7060
|
+
* <p>The unique identifier of the session you ended.</p>
|
|
7061
|
+
* @public
|
|
7062
|
+
*/
|
|
7063
|
+
sessionId: string | undefined;
|
|
7157
7064
|
/**
|
|
7158
|
-
* <p>
|
|
7159
|
-
*
|
|
7160
|
-
|
|
7161
|
-
|
|
7162
|
-
* </p>
|
|
7163
|
-
* @public
|
|
7164
|
-
*/
|
|
7165
|
-
interface NotInMember {
|
|
7166
|
-
equals?: never;
|
|
7167
|
-
notEquals?: never;
|
|
7168
|
-
greaterThan?: never;
|
|
7169
|
-
greaterThanOrEquals?: never;
|
|
7170
|
-
lessThan?: never;
|
|
7171
|
-
lessThanOrEquals?: never;
|
|
7172
|
-
in?: never;
|
|
7173
|
-
notIn: FilterAttribute;
|
|
7174
|
-
startsWith?: never;
|
|
7175
|
-
listContains?: never;
|
|
7176
|
-
stringContains?: never;
|
|
7177
|
-
andAll?: never;
|
|
7178
|
-
orAll?: never;
|
|
7179
|
-
$unknown?: never;
|
|
7180
|
-
}
|
|
7065
|
+
* <p>The Amazon Resource Name (ARN) of the session you ended.</p>
|
|
7066
|
+
* @public
|
|
7067
|
+
*/
|
|
7068
|
+
sessionArn: string | undefined;
|
|
7181
7069
|
/**
|
|
7182
|
-
* <p>
|
|
7183
|
-
*
|
|
7184
|
-
|
|
7185
|
-
|
|
7186
|
-
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
|
|
7190
|
-
|
|
7191
|
-
notEquals?: never;
|
|
7192
|
-
greaterThan?: never;
|
|
7193
|
-
greaterThanOrEquals?: never;
|
|
7194
|
-
lessThan?: never;
|
|
7195
|
-
lessThanOrEquals?: never;
|
|
7196
|
-
in?: never;
|
|
7197
|
-
notIn?: never;
|
|
7198
|
-
startsWith: FilterAttribute;
|
|
7199
|
-
listContains?: never;
|
|
7200
|
-
stringContains?: never;
|
|
7201
|
-
andAll?: never;
|
|
7202
|
-
orAll?: never;
|
|
7203
|
-
$unknown?: never;
|
|
7204
|
-
}
|
|
7070
|
+
* <p>The current status of the session you ended.</p>
|
|
7071
|
+
* @public
|
|
7072
|
+
*/
|
|
7073
|
+
sessionStatus: SessionStatus | undefined;
|
|
7074
|
+
}
|
|
7075
|
+
/**
|
|
7076
|
+
* @public
|
|
7077
|
+
*/
|
|
7078
|
+
export interface GetSessionRequest {
|
|
7205
7079
|
/**
|
|
7206
|
-
* <p>
|
|
7207
|
-
*
|
|
7208
|
-
|
|
7209
|
-
|
|
7210
|
-
|
|
7211
|
-
|
|
7212
|
-
|
|
7213
|
-
|
|
7214
|
-
|
|
7215
|
-
notEquals?: never;
|
|
7216
|
-
greaterThan?: never;
|
|
7217
|
-
greaterThanOrEquals?: never;
|
|
7218
|
-
lessThan?: never;
|
|
7219
|
-
lessThanOrEquals?: never;
|
|
7220
|
-
in?: never;
|
|
7221
|
-
notIn?: never;
|
|
7222
|
-
startsWith?: never;
|
|
7223
|
-
listContains: FilterAttribute;
|
|
7224
|
-
stringContains?: never;
|
|
7225
|
-
andAll?: never;
|
|
7226
|
-
orAll?: never;
|
|
7227
|
-
$unknown?: never;
|
|
7228
|
-
}
|
|
7080
|
+
* <p>A unique identifier for the session to retrieve. You can specify either the session's <code>sessionId</code> or its Amazon Resource Name (ARN).</p>
|
|
7081
|
+
* @public
|
|
7082
|
+
*/
|
|
7083
|
+
sessionIdentifier: string | undefined;
|
|
7084
|
+
}
|
|
7085
|
+
/**
|
|
7086
|
+
* @public
|
|
7087
|
+
*/
|
|
7088
|
+
export interface GetSessionResponse {
|
|
7229
7089
|
/**
|
|
7230
|
-
* <p>
|
|
7231
|
-
* <ul>
|
|
7232
|
-
* <li>
|
|
7233
|
-
* <p>A string that contains the <code>value</code> as a substring. The following example would return data sources with an <code>animal</code> attribute that contains the substring <code>at</code> (for example <code>cat</code>).</p>
|
|
7234
|
-
* <p>
|
|
7235
|
-
* <code>"stringContains": \{ "key": "animal", "value": "at" \}</code>
|
|
7236
|
-
* </p>
|
|
7237
|
-
* </li>
|
|
7238
|
-
* <li>
|
|
7239
|
-
* <p>A list with a member that contains the <code>value</code> as a substring. The following example would return data sources with an <code>animals</code> attribute that is a list containing a member that contains the substring <code>at</code> (for example <code>["dog", "cat"]</code>).</p>
|
|
7240
|
-
* <p>
|
|
7241
|
-
* <code>"stringContains": \{ "key": "animals", "value": "at" \}</code>
|
|
7242
|
-
* </p>
|
|
7243
|
-
* </li>
|
|
7244
|
-
* </ul>
|
|
7090
|
+
* <p>The unique identifier for the session in UUID format.</p>
|
|
7245
7091
|
* @public
|
|
7246
7092
|
*/
|
|
7247
|
-
|
|
7248
|
-
equals?: never;
|
|
7249
|
-
notEquals?: never;
|
|
7250
|
-
greaterThan?: never;
|
|
7251
|
-
greaterThanOrEquals?: never;
|
|
7252
|
-
lessThan?: never;
|
|
7253
|
-
lessThanOrEquals?: never;
|
|
7254
|
-
in?: never;
|
|
7255
|
-
notIn?: never;
|
|
7256
|
-
startsWith?: never;
|
|
7257
|
-
listContains?: never;
|
|
7258
|
-
stringContains: FilterAttribute;
|
|
7259
|
-
andAll?: never;
|
|
7260
|
-
orAll?: never;
|
|
7261
|
-
$unknown?: never;
|
|
7262
|
-
}
|
|
7093
|
+
sessionId: string | undefined;
|
|
7263
7094
|
/**
|
|
7264
|
-
* <p>
|
|
7095
|
+
* <p>The Amazon Resource Name (ARN) of the session.</p>
|
|
7265
7096
|
* @public
|
|
7266
7097
|
*/
|
|
7267
|
-
|
|
7268
|
-
equals?: never;
|
|
7269
|
-
notEquals?: never;
|
|
7270
|
-
greaterThan?: never;
|
|
7271
|
-
greaterThanOrEquals?: never;
|
|
7272
|
-
lessThan?: never;
|
|
7273
|
-
lessThanOrEquals?: never;
|
|
7274
|
-
in?: never;
|
|
7275
|
-
notIn?: never;
|
|
7276
|
-
startsWith?: never;
|
|
7277
|
-
listContains?: never;
|
|
7278
|
-
stringContains?: never;
|
|
7279
|
-
andAll: RetrievalFilter[];
|
|
7280
|
-
orAll?: never;
|
|
7281
|
-
$unknown?: never;
|
|
7282
|
-
}
|
|
7098
|
+
sessionArn: string | undefined;
|
|
7283
7099
|
/**
|
|
7284
|
-
* <p>
|
|
7100
|
+
* <p>The current status of the session.</p>
|
|
7285
7101
|
* @public
|
|
7286
7102
|
*/
|
|
7287
|
-
|
|
7288
|
-
equals?: never;
|
|
7289
|
-
notEquals?: never;
|
|
7290
|
-
greaterThan?: never;
|
|
7291
|
-
greaterThanOrEquals?: never;
|
|
7292
|
-
lessThan?: never;
|
|
7293
|
-
lessThanOrEquals?: never;
|
|
7294
|
-
in?: never;
|
|
7295
|
-
notIn?: never;
|
|
7296
|
-
startsWith?: never;
|
|
7297
|
-
listContains?: never;
|
|
7298
|
-
stringContains?: never;
|
|
7299
|
-
andAll?: never;
|
|
7300
|
-
orAll: RetrievalFilter[];
|
|
7301
|
-
$unknown?: never;
|
|
7302
|
-
}
|
|
7103
|
+
sessionStatus: SessionStatus | undefined;
|
|
7303
7104
|
/**
|
|
7105
|
+
* <p>The timestamp for when the session was created.</p>
|
|
7304
7106
|
* @public
|
|
7305
7107
|
*/
|
|
7306
|
-
|
|
7307
|
-
|
|
7308
|
-
|
|
7309
|
-
|
|
7310
|
-
|
|
7311
|
-
|
|
7312
|
-
|
|
7313
|
-
|
|
7314
|
-
|
|
7315
|
-
|
|
7316
|
-
|
|
7317
|
-
|
|
7318
|
-
|
|
7319
|
-
|
|
7320
|
-
|
|
7321
|
-
|
|
7322
|
-
|
|
7323
|
-
equals: (value: FilterAttribute) => T;
|
|
7324
|
-
notEquals: (value: FilterAttribute) => T;
|
|
7325
|
-
greaterThan: (value: FilterAttribute) => T;
|
|
7326
|
-
greaterThanOrEquals: (value: FilterAttribute) => T;
|
|
7327
|
-
lessThan: (value: FilterAttribute) => T;
|
|
7328
|
-
lessThanOrEquals: (value: FilterAttribute) => T;
|
|
7329
|
-
in: (value: FilterAttribute) => T;
|
|
7330
|
-
notIn: (value: FilterAttribute) => T;
|
|
7331
|
-
startsWith: (value: FilterAttribute) => T;
|
|
7332
|
-
listContains: (value: FilterAttribute) => T;
|
|
7333
|
-
stringContains: (value: FilterAttribute) => T;
|
|
7334
|
-
andAll: (value: RetrievalFilter[]) => T;
|
|
7335
|
-
orAll: (value: RetrievalFilter[]) => T;
|
|
7336
|
-
_: (name: string, value: any) => T;
|
|
7337
|
-
}
|
|
7338
|
-
const visit: <T>(value: RetrievalFilter, visitor: Visitor<T>) => T;
|
|
7108
|
+
createdAt: Date | undefined;
|
|
7109
|
+
/**
|
|
7110
|
+
* <p>The timestamp for when the session was last modified.</p>
|
|
7111
|
+
* @public
|
|
7112
|
+
*/
|
|
7113
|
+
lastUpdatedAt: Date | undefined;
|
|
7114
|
+
/**
|
|
7115
|
+
* <p>A map of key-value pairs containing attributes persisted across the session.</p>
|
|
7116
|
+
* @public
|
|
7117
|
+
*/
|
|
7118
|
+
sessionMetadata?: Record<string, string> | undefined;
|
|
7119
|
+
/**
|
|
7120
|
+
* <p>The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the session data.
|
|
7121
|
+
* For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/session-encryption.html">Amazon Bedrock session encryption</a>.</p>
|
|
7122
|
+
* @public
|
|
7123
|
+
*/
|
|
7124
|
+
encryptionKeyArn?: string | undefined;
|
|
7339
7125
|
}
|
|
7340
7126
|
/**
|
|
7341
|
-
* <p>Configurations for how to perform the search query and return results. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html">Query configurations</a>.</p>
|
|
7342
|
-
* <p>This data type is used in the following API operations:</p>
|
|
7343
|
-
* <ul>
|
|
7344
|
-
* <li>
|
|
7345
|
-
* <p>
|
|
7346
|
-
* <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_RequestSyntax">Retrieve request</a> – in the <code>vectorSearchConfiguration</code> field</p>
|
|
7347
|
-
* </li>
|
|
7348
|
-
* <li>
|
|
7349
|
-
* <p>
|
|
7350
|
-
* <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax">RetrieveAndGenerate request</a> – in the <code>vectorSearchConfiguration</code> field</p>
|
|
7351
|
-
* </li>
|
|
7352
|
-
* </ul>
|
|
7353
7127
|
* @public
|
|
7354
7128
|
*/
|
|
7355
|
-
export interface
|
|
7129
|
+
export interface CreateInvocationRequest {
|
|
7356
7130
|
/**
|
|
7357
|
-
* <p>
|
|
7131
|
+
* <p>A unique identifier for the invocation in UUID format.</p>
|
|
7358
7132
|
* @public
|
|
7359
7133
|
*/
|
|
7360
|
-
|
|
7134
|
+
invocationId?: string | undefined;
|
|
7361
7135
|
/**
|
|
7362
|
-
* <p>
|
|
7136
|
+
* <p>A description for the interactions in the invocation. For example, "User asking about weather in Seattle".</p>
|
|
7363
7137
|
* @public
|
|
7364
7138
|
*/
|
|
7365
|
-
|
|
7139
|
+
description?: string | undefined;
|
|
7366
7140
|
/**
|
|
7367
|
-
* <p>
|
|
7141
|
+
* <p>The unique identifier for the associated session for the invocation. You can specify either the session's <code>sessionId</code> or its Amazon Resource Name (ARN).
|
|
7142
|
+
* </p>
|
|
7368
7143
|
* @public
|
|
7369
7144
|
*/
|
|
7370
|
-
|
|
7145
|
+
sessionIdentifier: string | undefined;
|
|
7146
|
+
}
|
|
7147
|
+
/**
|
|
7148
|
+
* @public
|
|
7149
|
+
*/
|
|
7150
|
+
export interface CreateInvocationResponse {
|
|
7371
7151
|
/**
|
|
7372
|
-
* <p>
|
|
7152
|
+
* <p>The unique identifier for the session associated with the invocation.</p>
|
|
7373
7153
|
* @public
|
|
7374
7154
|
*/
|
|
7375
|
-
|
|
7155
|
+
sessionId: string | undefined;
|
|
7156
|
+
/**
|
|
7157
|
+
* <p>The unique identifier for the invocation.</p>
|
|
7158
|
+
* @public
|
|
7159
|
+
*/
|
|
7160
|
+
invocationId: string | undefined;
|
|
7376
7161
|
/**
|
|
7377
|
-
* <p>
|
|
7162
|
+
* <p>The timestamp for when the invocation was created.</p>
|
|
7378
7163
|
* @public
|
|
7379
7164
|
*/
|
|
7380
|
-
|
|
7165
|
+
createdAt: Date | undefined;
|
|
7381
7166
|
}
|
|
7382
7167
|
/**
|
|
7383
|
-
* <p>Contains configurations for knowledge base query. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html">Query configurations</a>.</p>
|
|
7384
|
-
* <p>This data type is used in the following API operations:</p>
|
|
7385
|
-
* <ul>
|
|
7386
|
-
* <li>
|
|
7387
|
-
* <p>
|
|
7388
|
-
* <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_RequestSyntax">Retrieve request</a> – in the <code>retrievalConfiguration</code> field</p>
|
|
7389
|
-
* </li>
|
|
7390
|
-
* <li>
|
|
7391
|
-
* <p>
|
|
7392
|
-
* <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax">RetrieveAndGenerate request</a> – in the <code>retrievalConfiguration</code> field</p>
|
|
7393
|
-
* </li>
|
|
7394
|
-
* </ul>
|
|
7395
7168
|
* @public
|
|
7396
7169
|
*/
|
|
7397
|
-
export interface
|
|
7170
|
+
export interface ListInvocationsRequest {
|
|
7398
7171
|
/**
|
|
7399
|
-
* <p>
|
|
7172
|
+
* <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the
|
|
7173
|
+
* token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.
|
|
7174
|
+
* </p>
|
|
7400
7175
|
* @public
|
|
7401
7176
|
*/
|
|
7402
|
-
|
|
7177
|
+
nextToken?: string | undefined;
|
|
7178
|
+
/**
|
|
7179
|
+
* <p>The maximum number of results to return in the response. If the total number of results is greater than this value,
|
|
7180
|
+
* use the token returned in the response in the <code>nextToken</code> field when making another request to return the next
|
|
7181
|
+
* batch of results.</p>
|
|
7182
|
+
* @public
|
|
7183
|
+
*/
|
|
7184
|
+
maxResults?: number | undefined;
|
|
7185
|
+
/**
|
|
7186
|
+
* <p>The unique identifier for the session to list invocations for. You can specify either the session's <code>sessionId</code> or its Amazon Resource Name (ARN).</p>
|
|
7187
|
+
* @public
|
|
7188
|
+
*/
|
|
7189
|
+
sessionIdentifier: string | undefined;
|
|
7403
7190
|
}
|
|
7404
7191
|
/**
|
|
7405
|
-
* <p>
|
|
7406
|
-
* Details of the knowledge base associated withe inline agent.
|
|
7407
|
-
* </p>
|
|
7192
|
+
* <p>Contains details about an invocation in a session. For more information about sessions, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html">Store and retrieve conversation history and context with Amazon Bedrock sessions</a>.</p>
|
|
7408
7193
|
* @public
|
|
7409
7194
|
*/
|
|
7410
|
-
export interface
|
|
7195
|
+
export interface InvocationSummary {
|
|
7411
7196
|
/**
|
|
7412
|
-
* <p>
|
|
7413
|
-
* The unique identifier for a knowledge base associated with the inline agent.
|
|
7414
|
-
* </p>
|
|
7197
|
+
* <p>The unique identifier for the session associated with the invocation.</p>
|
|
7415
7198
|
* @public
|
|
7416
7199
|
*/
|
|
7417
|
-
|
|
7200
|
+
sessionId: string | undefined;
|
|
7418
7201
|
/**
|
|
7419
|
-
* <p>
|
|
7420
|
-
* The description of the knowledge base associated with the inline agent.
|
|
7421
|
-
* </p>
|
|
7202
|
+
* <p>A unique identifier for the invocation in UUID format.</p>
|
|
7422
7203
|
* @public
|
|
7423
7204
|
*/
|
|
7424
|
-
|
|
7205
|
+
invocationId: string | undefined;
|
|
7425
7206
|
/**
|
|
7426
|
-
* <p>
|
|
7427
|
-
* The configurations to apply to the knowledge base during query. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html">Query configurations</a>.
|
|
7428
|
-
* </p>
|
|
7207
|
+
* <p>The timestamp for when the invocation was created.</p>
|
|
7429
7208
|
* @public
|
|
7430
7209
|
*/
|
|
7431
|
-
|
|
7210
|
+
createdAt: Date | undefined;
|
|
7432
7211
|
}
|
|
7433
7212
|
/**
|
|
7434
|
-
* <p>Configurations to apply to a knowledge base attached to the agent during query. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html#session-state-kb">Knowledge base retrieval configurations</a>.</p>
|
|
7435
7213
|
* @public
|
|
7436
7214
|
*/
|
|
7437
|
-
export interface
|
|
7215
|
+
export interface ListInvocationsResponse {
|
|
7438
7216
|
/**
|
|
7439
|
-
* <p>
|
|
7217
|
+
* <p>A list of invocation summaries associated with the session.</p>
|
|
7440
7218
|
* @public
|
|
7441
7219
|
*/
|
|
7442
|
-
|
|
7220
|
+
invocationSummaries: InvocationSummary[] | undefined;
|
|
7443
7221
|
/**
|
|
7444
|
-
* <p>
|
|
7222
|
+
* <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.</p>
|
|
7445
7223
|
* @public
|
|
7446
7224
|
*/
|
|
7447
|
-
|
|
7225
|
+
nextToken?: string | undefined;
|
|
7448
7226
|
}
|
|
7449
7227
|
/**
|
|
7450
|
-
* <p>Contains details about the resource being queried.</p>
|
|
7451
|
-
* <p>This data type is used in the following API operations:</p>
|
|
7452
|
-
* <ul>
|
|
7453
|
-
* <li>
|
|
7454
|
-
* <p>
|
|
7455
|
-
* <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_RequestSyntax">Retrieve request</a> – in the <code>knowledgeBaseConfiguration</code> field</p>
|
|
7456
|
-
* </li>
|
|
7457
|
-
* <li>
|
|
7458
|
-
* <p>
|
|
7459
|
-
* <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax">RetrieveAndGenerate request</a> – in the <code>knowledgeBaseConfiguration</code> field</p>
|
|
7460
|
-
* </li>
|
|
7461
|
-
* </ul>
|
|
7462
7228
|
* @public
|
|
7463
7229
|
*/
|
|
7464
|
-
export interface
|
|
7465
|
-
/**
|
|
7466
|
-
* <p>The unique identifier of the knowledge base that is queried.</p>
|
|
7467
|
-
* @public
|
|
7468
|
-
*/
|
|
7469
|
-
knowledgeBaseId: string | undefined;
|
|
7230
|
+
export interface GetInvocationStepRequest {
|
|
7470
7231
|
/**
|
|
7471
|
-
* <p>The
|
|
7232
|
+
* <p>The unique identifier for the invocation in UUID format.</p>
|
|
7472
7233
|
* @public
|
|
7473
7234
|
*/
|
|
7474
|
-
|
|
7235
|
+
invocationIdentifier: string | undefined;
|
|
7475
7236
|
/**
|
|
7476
|
-
* <p>
|
|
7237
|
+
* <p>The unique identifier (in UUID format) for the specific invocation step to retrieve.</p>
|
|
7477
7238
|
* @public
|
|
7478
7239
|
*/
|
|
7479
|
-
|
|
7240
|
+
invocationStepId: string | undefined;
|
|
7480
7241
|
/**
|
|
7481
|
-
* <p>
|
|
7242
|
+
* <p>The unique identifier for the invocation step's associated session. You can specify either the session's <code>sessionId</code> or its Amazon Resource Name (ARN).</p>
|
|
7482
7243
|
* @public
|
|
7483
7244
|
*/
|
|
7484
|
-
|
|
7245
|
+
sessionIdentifier: string | undefined;
|
|
7246
|
+
}
|
|
7247
|
+
/**
|
|
7248
|
+
* @public
|
|
7249
|
+
* @enum
|
|
7250
|
+
*/
|
|
7251
|
+
export declare const ImageFormat: {
|
|
7252
|
+
readonly GIF: "gif";
|
|
7253
|
+
readonly JPEG: "jpeg";
|
|
7254
|
+
readonly PNG: "png";
|
|
7255
|
+
readonly WEBP: "webp";
|
|
7256
|
+
};
|
|
7257
|
+
/**
|
|
7258
|
+
* @public
|
|
7259
|
+
*/
|
|
7260
|
+
export type ImageFormat = (typeof ImageFormat)[keyof typeof ImageFormat];
|
|
7261
|
+
/**
|
|
7262
|
+
* <p>Information about the Amazon S3 bucket where the image is stored.</p>
|
|
7263
|
+
* @public
|
|
7264
|
+
*/
|
|
7265
|
+
export interface S3Location {
|
|
7485
7266
|
/**
|
|
7486
|
-
* <p>
|
|
7267
|
+
* <p>The path to the Amazon S3 bucket where the image is stored.</p>
|
|
7487
7268
|
* @public
|
|
7488
7269
|
*/
|
|
7489
|
-
|
|
7270
|
+
uri: string | undefined;
|
|
7490
7271
|
}
|
|
7272
|
+
/**
|
|
7273
|
+
* <p>The source for an image.</p>
|
|
7274
|
+
* @public
|
|
7275
|
+
*/
|
|
7276
|
+
export type ImageSource = ImageSource.BytesMember | ImageSource.S3LocationMember | ImageSource.$UnknownMember;
|
|
7491
7277
|
/**
|
|
7492
7278
|
* @public
|
|
7493
7279
|
*/
|
|
7494
|
-
export
|
|
7280
|
+
export declare namespace ImageSource {
|
|
7495
7281
|
/**
|
|
7496
|
-
* <p>The
|
|
7282
|
+
* <p> The raw image bytes for the image. If you use an Amazon Web Services SDK, you don't need to encode the image bytes in base64.</p>
|
|
7497
7283
|
* @public
|
|
7498
7284
|
*/
|
|
7499
|
-
|
|
7285
|
+
interface BytesMember {
|
|
7286
|
+
bytes: Uint8Array;
|
|
7287
|
+
s3Location?: never;
|
|
7288
|
+
$unknown?: never;
|
|
7289
|
+
}
|
|
7500
7290
|
/**
|
|
7501
|
-
* <p>
|
|
7291
|
+
* <p>The path to the Amazon S3 bucket where the image is stored.</p>
|
|
7502
7292
|
* @public
|
|
7503
7293
|
*/
|
|
7504
|
-
|
|
7294
|
+
interface S3LocationMember {
|
|
7295
|
+
bytes?: never;
|
|
7296
|
+
s3Location: S3Location;
|
|
7297
|
+
$unknown?: never;
|
|
7298
|
+
}
|
|
7505
7299
|
/**
|
|
7506
|
-
* <p>Contains configurations for the knowledge base query and retrieval process. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html">Query configurations</a>.</p>
|
|
7507
7300
|
* @public
|
|
7508
7301
|
*/
|
|
7509
|
-
|
|
7302
|
+
interface $UnknownMember {
|
|
7303
|
+
bytes?: never;
|
|
7304
|
+
s3Location?: never;
|
|
7305
|
+
$unknown: [string, any];
|
|
7306
|
+
}
|
|
7307
|
+
interface Visitor<T> {
|
|
7308
|
+
bytes: (value: Uint8Array) => T;
|
|
7309
|
+
s3Location: (value: S3Location) => T;
|
|
7310
|
+
_: (name: string, value: any) => T;
|
|
7311
|
+
}
|
|
7312
|
+
const visit: <T>(value: ImageSource, visitor: Visitor<T>) => T;
|
|
7313
|
+
}
|
|
7314
|
+
/**
|
|
7315
|
+
* <p>Image content for an invocation step.</p>
|
|
7316
|
+
* @public
|
|
7317
|
+
*/
|
|
7318
|
+
export interface ImageBlock {
|
|
7510
7319
|
/**
|
|
7511
|
-
* <p>
|
|
7320
|
+
* <p>The format of the image.</p>
|
|
7512
7321
|
* @public
|
|
7513
7322
|
*/
|
|
7514
|
-
|
|
7323
|
+
format: ImageFormat | undefined;
|
|
7515
7324
|
/**
|
|
7516
|
-
* <p>
|
|
7325
|
+
* <p>The source for the image.</p>
|
|
7517
7326
|
* @public
|
|
7518
7327
|
*/
|
|
7519
|
-
|
|
7328
|
+
source: ImageSource | undefined;
|
|
7520
7329
|
}
|
|
7521
7330
|
/**
|
|
7522
|
-
* <p>
|
|
7523
|
-
*
|
|
7524
|
-
* <
|
|
7525
|
-
*
|
|
7526
|
-
* <p>
|
|
7527
|
-
* <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax">RetrieveAndGenerate request</a> – in the <code>retrieveAndGenerateConfiguration</code> field</p>
|
|
7528
|
-
* </li>
|
|
7529
|
-
* </ul>
|
|
7331
|
+
* <p>A block of content that you pass to, or receive from, a Amazon Bedrock session in an invocation step. You pass the content to a
|
|
7332
|
+
* session in the <code>payLoad</code> of the <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_PutInvocationStep.html">PutInvocationStep</a> API operation.
|
|
7333
|
+
* You retrieve the content with the <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_GetInvocationStep.html">GetInvocationStep</a> API operation.</p>
|
|
7334
|
+
* <p>For more information about sessions, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html">Store and retrieve conversation history and context with Amazon Bedrock sessions</a>.</p>
|
|
7530
7335
|
* @public
|
|
7531
7336
|
*/
|
|
7532
|
-
export
|
|
7337
|
+
export type BedrockSessionContentBlock = BedrockSessionContentBlock.ImageMember | BedrockSessionContentBlock.TextMember | BedrockSessionContentBlock.$UnknownMember;
|
|
7338
|
+
/**
|
|
7339
|
+
* @public
|
|
7340
|
+
*/
|
|
7341
|
+
export declare namespace BedrockSessionContentBlock {
|
|
7533
7342
|
/**
|
|
7534
|
-
* <p>The
|
|
7535
|
-
* <p>If you choose ot use <code>EXTERNAL_SOURCES</code>, then currently only Claude 3 Sonnet models for knowledge bases are supported.</p>
|
|
7343
|
+
* <p>The text in the invocation step.</p>
|
|
7536
7344
|
* @public
|
|
7537
7345
|
*/
|
|
7538
|
-
|
|
7346
|
+
interface TextMember {
|
|
7347
|
+
text: string;
|
|
7348
|
+
image?: never;
|
|
7349
|
+
$unknown?: never;
|
|
7350
|
+
}
|
|
7539
7351
|
/**
|
|
7540
|
-
* <p>
|
|
7352
|
+
* <p>The image in the invocation step.</p>
|
|
7541
7353
|
* @public
|
|
7542
7354
|
*/
|
|
7543
|
-
|
|
7355
|
+
interface ImageMember {
|
|
7356
|
+
text?: never;
|
|
7357
|
+
image: ImageBlock;
|
|
7358
|
+
$unknown?: never;
|
|
7359
|
+
}
|
|
7544
7360
|
/**
|
|
7545
|
-
* <p>The configuration for the external source wrapper object in the <code>retrieveAndGenerate</code> function.</p>
|
|
7546
7361
|
* @public
|
|
7547
7362
|
*/
|
|
7548
|
-
|
|
7363
|
+
interface $UnknownMember {
|
|
7364
|
+
text?: never;
|
|
7365
|
+
image?: never;
|
|
7366
|
+
$unknown: [string, any];
|
|
7367
|
+
}
|
|
7368
|
+
interface Visitor<T> {
|
|
7369
|
+
text: (value: string) => T;
|
|
7370
|
+
image: (value: ImageBlock) => T;
|
|
7371
|
+
_: (name: string, value: any) => T;
|
|
7372
|
+
}
|
|
7373
|
+
const visit: <T>(value: BedrockSessionContentBlock, visitor: Visitor<T>) => T;
|
|
7549
7374
|
}
|
|
7550
7375
|
/**
|
|
7376
|
+
* <p>Payload content, such as text and images, for the invocation step.</p>
|
|
7551
7377
|
* @public
|
|
7552
7378
|
*/
|
|
7553
|
-
export
|
|
7379
|
+
export type InvocationStepPayload = InvocationStepPayload.ContentBlocksMember | InvocationStepPayload.$UnknownMember;
|
|
7380
|
+
/**
|
|
7381
|
+
* @public
|
|
7382
|
+
*/
|
|
7383
|
+
export declare namespace InvocationStepPayload {
|
|
7554
7384
|
/**
|
|
7555
|
-
* <p>
|
|
7556
|
-
*
|
|
7557
|
-
|
|
7385
|
+
* <p>The content for the invocation step.</p>
|
|
7386
|
+
* @public
|
|
7387
|
+
*/
|
|
7388
|
+
interface ContentBlocksMember {
|
|
7389
|
+
contentBlocks: BedrockSessionContentBlock[];
|
|
7390
|
+
$unknown?: never;
|
|
7391
|
+
}
|
|
7392
|
+
/**
|
|
7393
|
+
* @public
|
|
7394
|
+
*/
|
|
7395
|
+
interface $UnknownMember {
|
|
7396
|
+
contentBlocks?: never;
|
|
7397
|
+
$unknown: [string, any];
|
|
7398
|
+
}
|
|
7399
|
+
interface Visitor<T> {
|
|
7400
|
+
contentBlocks: (value: BedrockSessionContentBlock[]) => T;
|
|
7401
|
+
_: (name: string, value: any) => T;
|
|
7402
|
+
}
|
|
7403
|
+
const visit: <T>(value: InvocationStepPayload, visitor: Visitor<T>) => T;
|
|
7404
|
+
}
|
|
7405
|
+
/**
|
|
7406
|
+
* <p>Stores fine-grained state checkpoints, including text and images, for each interaction in an invocation in a session. For more information about sessions, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html">Store and retrieve conversation history and context with Amazon Bedrock sessions</a>. </p>
|
|
7407
|
+
* @public
|
|
7408
|
+
*/
|
|
7409
|
+
export interface InvocationStep {
|
|
7410
|
+
/**
|
|
7411
|
+
* <p>The unique identifier of the session containing the invocation step.</p>
|
|
7558
7412
|
* @public
|
|
7559
7413
|
*/
|
|
7560
7414
|
sessionId: string | undefined;
|
|
7561
7415
|
/**
|
|
7562
|
-
* <p>
|
|
7563
|
-
* The Amazon Resource Name (ARN) of the Amazon Web Services KMS key to use to encrypt your inline agent.
|
|
7564
|
-
* </p>
|
|
7416
|
+
* <p>The unique identifier (in UUID format) for the invocation that includes the invocation step.</p>
|
|
7565
7417
|
* @public
|
|
7566
7418
|
*/
|
|
7567
|
-
|
|
7419
|
+
invocationId: string | undefined;
|
|
7568
7420
|
/**
|
|
7569
|
-
* <p>
|
|
7570
|
-
* Specifies whether to end the session with the inline agent or not.
|
|
7571
|
-
* </p>
|
|
7421
|
+
* <p>The unique identifier (in UUID format) for the invocation step.</p>
|
|
7572
7422
|
* @public
|
|
7573
7423
|
*/
|
|
7574
|
-
|
|
7424
|
+
invocationStepId: string | undefined;
|
|
7575
7425
|
/**
|
|
7576
|
-
* <p>
|
|
7577
|
-
* Specifies whether to turn on the trace or not to track the agent's reasoning process. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/trace-events.html">Using trace</a>.
|
|
7578
|
-
*
|
|
7579
|
-
* </p>
|
|
7426
|
+
* <p>The timestamp for when the invocation step was created.</p>
|
|
7580
7427
|
* @public
|
|
7581
7428
|
*/
|
|
7582
|
-
|
|
7429
|
+
invocationStepTime: Date | undefined;
|
|
7583
7430
|
/**
|
|
7584
|
-
* <p>
|
|
7585
|
-
* The prompt text to send to the agent.
|
|
7586
|
-
* </p>
|
|
7587
|
-
* <note>
|
|
7588
|
-
* <p>If you include <code>returnControlInvocationResults</code> in the <code>sessionState</code> field, the <code>inputText</code> field will be ignored.</p>
|
|
7589
|
-
* </note>
|
|
7431
|
+
* <p>Payload content, such as text and images, for the invocation step.</p>
|
|
7590
7432
|
* @public
|
|
7591
7433
|
*/
|
|
7592
|
-
|
|
7434
|
+
payload: InvocationStepPayload | undefined;
|
|
7435
|
+
}
|
|
7436
|
+
/**
|
|
7437
|
+
* @public
|
|
7438
|
+
*/
|
|
7439
|
+
export interface GetInvocationStepResponse {
|
|
7593
7440
|
/**
|
|
7594
|
-
* <p>
|
|
7595
|
-
* Parameters that specify the various attributes of a sessions. You can include attributes for the session or prompt or, if you configured an
|
|
7596
|
-
* action group to return control, results from invocation of the action group. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html">Control session context</a>.
|
|
7597
|
-
* </p>
|
|
7598
|
-
* <note>
|
|
7599
|
-
* <p>If you include <code>returnControlInvocationResults</code> in the <code>sessionState</code> field, the <code>inputText</code> field will be ignored.</p>
|
|
7600
|
-
* </note>
|
|
7441
|
+
* <p>The complete details of the requested invocation step.</p>
|
|
7601
7442
|
* @public
|
|
7602
7443
|
*/
|
|
7603
|
-
|
|
7444
|
+
invocationStep: InvocationStep | undefined;
|
|
7445
|
+
}
|
|
7446
|
+
/**
|
|
7447
|
+
* @public
|
|
7448
|
+
*/
|
|
7449
|
+
export interface ListInvocationStepsRequest {
|
|
7604
7450
|
/**
|
|
7605
|
-
* <p>
|
|
7606
|
-
* The <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns">model identifier (ID)</a> of the model to use for orchestration by the inline agent. For example, <code>meta.llama3-1-70b-instruct-v1:0</code>.
|
|
7607
|
-
* </p>
|
|
7451
|
+
* <p>The unique identifier (in UUID format) for the invocation to list invocation steps for.</p>
|
|
7608
7452
|
* @public
|
|
7609
7453
|
*/
|
|
7610
|
-
|
|
7454
|
+
invocationIdentifier?: string | undefined;
|
|
7611
7455
|
/**
|
|
7612
|
-
* <p>
|
|
7613
|
-
*
|
|
7614
|
-
*
|
|
7456
|
+
* <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the
|
|
7457
|
+
* token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.
|
|
7458
|
+
* </p>
|
|
7615
7459
|
* @public
|
|
7616
7460
|
*/
|
|
7617
|
-
|
|
7461
|
+
nextToken?: string | undefined;
|
|
7618
7462
|
/**
|
|
7619
|
-
* <p>
|
|
7620
|
-
*
|
|
7621
|
-
*
|
|
7622
|
-
* <p>A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and the data provided before the timeout is deleted.</p>
|
|
7463
|
+
* <p>The maximum number of results to return in the response. If the total number of results is greater than this value,
|
|
7464
|
+
* use the token returned in the response in the <code>nextToken</code> field when making another request to return the next
|
|
7465
|
+
* batch of results.</p>
|
|
7623
7466
|
* @public
|
|
7624
7467
|
*/
|
|
7625
|
-
|
|
7468
|
+
maxResults?: number | undefined;
|
|
7626
7469
|
/**
|
|
7627
|
-
* <p>
|
|
7628
|
-
* A list of action groups with each action group defining the action the inline agent needs to carry out.
|
|
7629
|
-
* </p>
|
|
7470
|
+
* <p>The unique identifier for the session associated with the invocation steps. You can specify either the session's <code>sessionId</code> or its Amazon Resource Name (ARN).</p>
|
|
7630
7471
|
* @public
|
|
7631
7472
|
*/
|
|
7632
|
-
|
|
7473
|
+
sessionIdentifier: string | undefined;
|
|
7474
|
+
}
|
|
7475
|
+
/**
|
|
7476
|
+
* <p>Contains details about an invocation step within an invocation in a session. For more information about sessions, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html">Store and retrieve conversation history and context with Amazon Bedrock sessions</a>.</p>
|
|
7477
|
+
* @public
|
|
7478
|
+
*/
|
|
7479
|
+
export interface InvocationStepSummary {
|
|
7633
7480
|
/**
|
|
7634
|
-
* <p>
|
|
7635
|
-
* Contains information of the knowledge bases to associate with.
|
|
7636
|
-
* </p>
|
|
7481
|
+
* <p>The unique identifier for the session associated with the invocation step.</p>
|
|
7637
7482
|
* @public
|
|
7638
7483
|
*/
|
|
7639
|
-
|
|
7484
|
+
sessionId: string | undefined;
|
|
7640
7485
|
/**
|
|
7641
|
-
* <p>
|
|
7642
|
-
* The <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html">guardrails</a> to assign to the inline agent.
|
|
7643
|
-
* </p>
|
|
7486
|
+
* <p>A unique identifier for the invocation in UUID format.</p>
|
|
7644
7487
|
* @public
|
|
7645
7488
|
*/
|
|
7646
|
-
|
|
7489
|
+
invocationId: string | undefined;
|
|
7647
7490
|
/**
|
|
7648
|
-
* <p>
|
|
7649
|
-
* Configurations for advanced prompts used to override the default prompts to enhance the accuracy of the inline agent.
|
|
7650
|
-
* </p>
|
|
7491
|
+
* <p>The unique identifier (in UUID format) for the invocation step.</p>
|
|
7651
7492
|
* @public
|
|
7652
7493
|
*/
|
|
7653
|
-
|
|
7494
|
+
invocationStepId: string | undefined;
|
|
7654
7495
|
/**
|
|
7655
|
-
* <p>
|
|
7496
|
+
* <p>The timestamp for when the invocation step was created.</p>
|
|
7656
7497
|
* @public
|
|
7657
7498
|
*/
|
|
7658
|
-
|
|
7499
|
+
invocationStepTime: Date | undefined;
|
|
7500
|
+
}
|
|
7501
|
+
/**
|
|
7502
|
+
* @public
|
|
7503
|
+
*/
|
|
7504
|
+
export interface ListInvocationStepsResponse {
|
|
7659
7505
|
/**
|
|
7660
|
-
* <p>
|
|
7661
|
-
* Specifies the configurations for streaming.
|
|
7662
|
-
* </p>
|
|
7663
|
-
* <note>
|
|
7664
|
-
* <p>To use agent streaming, you need permissions to perform the <code>bedrock:InvokeModelWithResponseStream</code> action.</p>
|
|
7665
|
-
* </note>
|
|
7506
|
+
* <p>A list of summaries for each invocation step associated with a session and if you specified it, an invocation within the session.</p>
|
|
7666
7507
|
* @public
|
|
7667
7508
|
*/
|
|
7668
|
-
|
|
7509
|
+
invocationStepSummaries: InvocationStepSummary[] | undefined;
|
|
7510
|
+
/**
|
|
7511
|
+
* <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.</p>
|
|
7512
|
+
* @public
|
|
7513
|
+
*/
|
|
7514
|
+
nextToken?: string | undefined;
|
|
7669
7515
|
}
|
|
7670
7516
|
/**
|
|
7671
7517
|
* @public
|
|
7672
7518
|
*/
|
|
7673
|
-
export interface
|
|
7519
|
+
export interface PutInvocationStepRequest {
|
|
7674
7520
|
/**
|
|
7675
|
-
* <p>The unique identifier
|
|
7521
|
+
* <p>The unique identifier for the session to add the invocation step to. You can specify either the session's <code>sessionId</code> or its Amazon Resource Name (ARN).</p>
|
|
7676
7522
|
* @public
|
|
7677
7523
|
*/
|
|
7678
|
-
|
|
7524
|
+
sessionIdentifier: string | undefined;
|
|
7525
|
+
/**
|
|
7526
|
+
* <p>The unique identifier (in UUID format) of the invocation to add the invocation step to.</p>
|
|
7527
|
+
* @public
|
|
7528
|
+
*/
|
|
7529
|
+
invocationIdentifier: string | undefined;
|
|
7679
7530
|
/**
|
|
7680
|
-
* <p>
|
|
7531
|
+
* <p>The timestamp for when the invocation step occurred.</p>
|
|
7681
7532
|
* @public
|
|
7682
7533
|
*/
|
|
7683
|
-
|
|
7534
|
+
invocationStepTime: Date | undefined;
|
|
7684
7535
|
/**
|
|
7685
|
-
* <p>
|
|
7536
|
+
* <p>The payload for the invocation step, including text and images for the interaction.</p>
|
|
7686
7537
|
* @public
|
|
7687
7538
|
*/
|
|
7688
|
-
|
|
7539
|
+
payload: InvocationStepPayload | undefined;
|
|
7689
7540
|
/**
|
|
7690
|
-
* <p>
|
|
7541
|
+
* <p>The unique identifier of the invocation step in UUID format.</p>
|
|
7691
7542
|
* @public
|
|
7692
7543
|
*/
|
|
7693
|
-
|
|
7544
|
+
invocationStepId?: string | undefined;
|
|
7694
7545
|
}
|
|
7695
7546
|
/**
|
|
7696
7547
|
* @public
|
|
7697
7548
|
*/
|
|
7698
|
-
export interface
|
|
7549
|
+
export interface PutInvocationStepResponse {
|
|
7699
7550
|
/**
|
|
7700
|
-
* <p>The unique identifier of the
|
|
7551
|
+
* <p>The unique identifier of the invocation step in UUID format.</p>
|
|
7701
7552
|
* @public
|
|
7702
7553
|
*/
|
|
7703
|
-
|
|
7704
|
-
|
|
7705
|
-
|
|
7706
|
-
|
|
7707
|
-
|
|
7708
|
-
|
|
7554
|
+
invocationStepId: string | undefined;
|
|
7555
|
+
}
|
|
7556
|
+
/**
|
|
7557
|
+
* @public
|
|
7558
|
+
*/
|
|
7559
|
+
export interface ListSessionsRequest {
|
|
7709
7560
|
/**
|
|
7710
|
-
* <p>
|
|
7561
|
+
* <p>The maximum number of results to return in the response. If the total number of results is greater than this value,
|
|
7562
|
+
* use the token returned in the response in the <code>nextToken</code> field when making another request to return the next
|
|
7563
|
+
* batch of results.</p>
|
|
7711
7564
|
* @public
|
|
7712
7565
|
*/
|
|
7713
|
-
|
|
7566
|
+
maxResults?: number | undefined;
|
|
7714
7567
|
/**
|
|
7715
|
-
* <p>
|
|
7568
|
+
* <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the
|
|
7569
|
+
* token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.
|
|
7570
|
+
* </p>
|
|
7716
7571
|
* @public
|
|
7717
7572
|
*/
|
|
7718
|
-
|
|
7573
|
+
nextToken?: string | undefined;
|
|
7719
7574
|
}
|
|
7720
7575
|
/**
|
|
7721
|
-
* <p>Contains
|
|
7576
|
+
* <p>Contains details about a session. For more information about sessions, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html">Store and retrieve conversation history and context with Amazon Bedrock sessions</a>.</p>
|
|
7722
7577
|
* @public
|
|
7723
7578
|
*/
|
|
7724
|
-
export interface
|
|
7579
|
+
export interface SessionSummary {
|
|
7725
7580
|
/**
|
|
7726
|
-
* <p>
|
|
7581
|
+
* <p>The unique identifier for the session.</p>
|
|
7727
7582
|
* @public
|
|
7728
7583
|
*/
|
|
7729
|
-
|
|
7584
|
+
sessionId: string | undefined;
|
|
7730
7585
|
/**
|
|
7731
|
-
* <p>
|
|
7586
|
+
* <p>The Amazon Resource Name (ARN) of the session.</p>
|
|
7732
7587
|
* @public
|
|
7733
7588
|
*/
|
|
7734
|
-
|
|
7589
|
+
sessionArn: string | undefined;
|
|
7735
7590
|
/**
|
|
7736
|
-
* <p>
|
|
7737
|
-
* <note>
|
|
7738
|
-
* <p>If you include this field, the <code>inputText</code> field will be ignored.</p>
|
|
7739
|
-
* </note>
|
|
7591
|
+
* <p>The current status of the session.</p>
|
|
7740
7592
|
* @public
|
|
7741
7593
|
*/
|
|
7742
|
-
|
|
7594
|
+
sessionStatus: SessionStatus | undefined;
|
|
7743
7595
|
/**
|
|
7744
|
-
* <p>The
|
|
7596
|
+
* <p>The timestamp for when the session was created.</p>
|
|
7745
7597
|
* @public
|
|
7746
7598
|
*/
|
|
7747
|
-
|
|
7599
|
+
createdAt: Date | undefined;
|
|
7748
7600
|
/**
|
|
7749
|
-
* <p>
|
|
7601
|
+
* <p>The timestamp for when the session was last modified.</p>
|
|
7750
7602
|
* @public
|
|
7751
7603
|
*/
|
|
7752
|
-
|
|
7604
|
+
lastUpdatedAt: Date | undefined;
|
|
7605
|
+
}
|
|
7606
|
+
/**
|
|
7607
|
+
* @public
|
|
7608
|
+
*/
|
|
7609
|
+
export interface ListSessionsResponse {
|
|
7753
7610
|
/**
|
|
7754
|
-
* <p>
|
|
7611
|
+
* <p>A list of summaries for each session in your Amazon Web Services account.</p>
|
|
7755
7612
|
* @public
|
|
7756
7613
|
*/
|
|
7757
|
-
|
|
7614
|
+
sessionSummaries: SessionSummary[] | undefined;
|
|
7758
7615
|
/**
|
|
7759
|
-
* <p>
|
|
7616
|
+
* <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.</p>
|
|
7760
7617
|
* @public
|
|
7761
7618
|
*/
|
|
7762
|
-
|
|
7619
|
+
nextToken?: string | undefined;
|
|
7763
7620
|
}
|
|
7764
7621
|
/**
|
|
7765
7622
|
* @public
|
|
7766
7623
|
*/
|
|
7767
|
-
export interface
|
|
7624
|
+
export interface UpdateSessionRequest {
|
|
7768
7625
|
/**
|
|
7769
|
-
* <p>
|
|
7770
|
-
*
|
|
7771
|
-
* <p>If you include <code>returnControlInvocationResults</code> in the <code>sessionState</code> field, the <code>inputText</code> field will be ignored.</p>
|
|
7772
|
-
* </note>
|
|
7626
|
+
* <p>A map of key-value pairs containing attributes to be persisted across the session. For example the user's ID, their language preference,
|
|
7627
|
+
* and the type of device they are using.</p>
|
|
7773
7628
|
* @public
|
|
7774
7629
|
*/
|
|
7775
|
-
|
|
7630
|
+
sessionMetadata?: Record<string, string> | undefined;
|
|
7776
7631
|
/**
|
|
7777
|
-
* <p>The unique identifier of the
|
|
7632
|
+
* <p>The unique identifier of the session to modify. You can specify either the session's <code>sessionId</code> or its Amazon Resource Name (ARN).</p>
|
|
7778
7633
|
* @public
|
|
7779
7634
|
*/
|
|
7780
|
-
|
|
7635
|
+
sessionIdentifier: string | undefined;
|
|
7636
|
+
}
|
|
7637
|
+
/**
|
|
7638
|
+
* @public
|
|
7639
|
+
*/
|
|
7640
|
+
export interface UpdateSessionResponse {
|
|
7781
7641
|
/**
|
|
7782
|
-
* <p>The
|
|
7642
|
+
* <p>The unique identifier of the session you updated.</p>
|
|
7783
7643
|
* @public
|
|
7784
7644
|
*/
|
|
7785
|
-
|
|
7645
|
+
sessionId: string | undefined;
|
|
7786
7646
|
/**
|
|
7787
|
-
* <p>The
|
|
7647
|
+
* <p>The Amazon Resource Name (ARN) of the session that was updated.</p>
|
|
7788
7648
|
* @public
|
|
7789
7649
|
*/
|
|
7790
|
-
|
|
7650
|
+
sessionArn: string | undefined;
|
|
7791
7651
|
/**
|
|
7792
|
-
* <p>
|
|
7652
|
+
* <p>The status of the session you updated.</p>
|
|
7793
7653
|
* @public
|
|
7794
7654
|
*/
|
|
7795
|
-
|
|
7655
|
+
sessionStatus: SessionStatus | undefined;
|
|
7796
7656
|
/**
|
|
7797
|
-
* <p>
|
|
7657
|
+
* <p>The timestamp for when the session was created.</p>
|
|
7798
7658
|
* @public
|
|
7799
7659
|
*/
|
|
7800
|
-
|
|
7660
|
+
createdAt: Date | undefined;
|
|
7801
7661
|
/**
|
|
7802
|
-
* <p>The
|
|
7803
|
-
* <note>
|
|
7804
|
-
* <p>If you include <code>returnControlInvocationResults</code> in the <code>sessionState</code> field, the <code>inputText</code> field will be ignored.</p>
|
|
7805
|
-
* </note>
|
|
7662
|
+
* <p>The timestamp for when the session was last modified.</p>
|
|
7806
7663
|
* @public
|
|
7807
7664
|
*/
|
|
7808
|
-
|
|
7665
|
+
lastUpdatedAt: Date | undefined;
|
|
7666
|
+
}
|
|
7667
|
+
/**
|
|
7668
|
+
* @public
|
|
7669
|
+
*/
|
|
7670
|
+
export interface ListTagsForResourceRequest {
|
|
7809
7671
|
/**
|
|
7810
|
-
* <p>The
|
|
7672
|
+
* <p>The Amazon Resource Name (ARN) of the resource for which to list tags.</p>
|
|
7811
7673
|
* @public
|
|
7812
7674
|
*/
|
|
7813
|
-
|
|
7675
|
+
resourceArn: string | undefined;
|
|
7676
|
+
}
|
|
7677
|
+
/**
|
|
7678
|
+
* @public
|
|
7679
|
+
*/
|
|
7680
|
+
export interface ListTagsForResourceResponse {
|
|
7814
7681
|
/**
|
|
7815
|
-
* <p>
|
|
7682
|
+
* <p>The key-value pairs for the tags associated with the resource.</p>
|
|
7816
7683
|
* @public
|
|
7817
7684
|
*/
|
|
7818
|
-
|
|
7685
|
+
tags?: Record<string, string> | undefined;
|
|
7686
|
+
}
|
|
7687
|
+
/**
|
|
7688
|
+
* @public
|
|
7689
|
+
*/
|
|
7690
|
+
export interface TagResourceRequest {
|
|
7819
7691
|
/**
|
|
7820
|
-
* <p>
|
|
7821
|
-
*
|
|
7822
|
-
|
|
7823
|
-
|
|
7824
|
-
|
|
7825
|
-
*
|
|
7692
|
+
* <p>The Amazon Resource Name (ARN) of the resource to tag.</p>
|
|
7693
|
+
* @public
|
|
7694
|
+
*/
|
|
7695
|
+
resourceArn: string | undefined;
|
|
7696
|
+
/**
|
|
7697
|
+
* <p>An object containing key-value pairs that define the tags to attach to the resource.</p>
|
|
7826
7698
|
* @public
|
|
7827
7699
|
*/
|
|
7828
|
-
|
|
7700
|
+
tags: Record<string, string> | undefined;
|
|
7701
|
+
}
|
|
7702
|
+
/**
|
|
7703
|
+
* @public
|
|
7704
|
+
*/
|
|
7705
|
+
export interface TagResourceResponse {
|
|
7706
|
+
}
|
|
7707
|
+
/**
|
|
7708
|
+
* @public
|
|
7709
|
+
*/
|
|
7710
|
+
export interface UntagResourceRequest {
|
|
7711
|
+
/**
|
|
7712
|
+
* <p>The Amazon Resource Name (ARN) of the resource from which to remove tags.</p>
|
|
7713
|
+
* @public
|
|
7714
|
+
*/
|
|
7715
|
+
resourceArn: string | undefined;
|
|
7829
7716
|
/**
|
|
7830
|
-
* <p>
|
|
7717
|
+
* <p>A list of keys of the tags to remove from the resource.</p>
|
|
7831
7718
|
* @public
|
|
7832
7719
|
*/
|
|
7833
|
-
|
|
7720
|
+
tagKeys: string[] | undefined;
|
|
7721
|
+
}
|
|
7722
|
+
/**
|
|
7723
|
+
* @public
|
|
7724
|
+
*/
|
|
7725
|
+
export interface UntagResourceResponse {
|
|
7834
7726
|
}
|
|
7835
7727
|
/**
|
|
7836
7728
|
* @internal
|
|
@@ -8411,52 +8303,20 @@ export declare const RetrieveResponseFilterSensitiveLog: (obj: RetrieveResponse)
|
|
|
8411
8303
|
/**
|
|
8412
8304
|
* @internal
|
|
8413
8305
|
*/
|
|
8414
|
-
export declare const
|
|
8415
|
-
/**
|
|
8416
|
-
* @internal
|
|
8417
|
-
*/
|
|
8418
|
-
export declare const KnowledgeBaseVectorSearchConfigurationFilterSensitiveLog: (obj: KnowledgeBaseVectorSearchConfiguration) => any;
|
|
8419
|
-
/**
|
|
8420
|
-
* @internal
|
|
8421
|
-
*/
|
|
8422
|
-
export declare const KnowledgeBaseRetrievalConfigurationFilterSensitiveLog: (obj: KnowledgeBaseRetrievalConfiguration) => any;
|
|
8423
|
-
/**
|
|
8424
|
-
* @internal
|
|
8425
|
-
*/
|
|
8426
|
-
export declare const KnowledgeBaseFilterSensitiveLog: (obj: KnowledgeBase) => any;
|
|
8427
|
-
/**
|
|
8428
|
-
* @internal
|
|
8429
|
-
*/
|
|
8430
|
-
export declare const KnowledgeBaseConfigurationFilterSensitiveLog: (obj: KnowledgeBaseConfiguration) => any;
|
|
8431
|
-
/**
|
|
8432
|
-
* @internal
|
|
8433
|
-
*/
|
|
8434
|
-
export declare const KnowledgeBaseRetrieveAndGenerateConfigurationFilterSensitiveLog: (obj: KnowledgeBaseRetrieveAndGenerateConfiguration) => any;
|
|
8435
|
-
/**
|
|
8436
|
-
* @internal
|
|
8437
|
-
*/
|
|
8438
|
-
export declare const RetrieveRequestFilterSensitiveLog: (obj: RetrieveRequest) => any;
|
|
8439
|
-
/**
|
|
8440
|
-
* @internal
|
|
8441
|
-
*/
|
|
8442
|
-
export declare const RetrieveAndGenerateConfigurationFilterSensitiveLog: (obj: RetrieveAndGenerateConfiguration) => any;
|
|
8443
|
-
/**
|
|
8444
|
-
* @internal
|
|
8445
|
-
*/
|
|
8446
|
-
export declare const InvokeInlineAgentRequestFilterSensitiveLog: (obj: InvokeInlineAgentRequest) => any;
|
|
8306
|
+
export declare const BedrockSessionContentBlockFilterSensitiveLog: (obj: BedrockSessionContentBlock) => any;
|
|
8447
8307
|
/**
|
|
8448
8308
|
* @internal
|
|
8449
8309
|
*/
|
|
8450
|
-
export declare const
|
|
8310
|
+
export declare const InvocationStepPayloadFilterSensitiveLog: (obj: InvocationStepPayload) => any;
|
|
8451
8311
|
/**
|
|
8452
8312
|
* @internal
|
|
8453
8313
|
*/
|
|
8454
|
-
export declare const
|
|
8314
|
+
export declare const InvocationStepFilterSensitiveLog: (obj: InvocationStep) => any;
|
|
8455
8315
|
/**
|
|
8456
8316
|
* @internal
|
|
8457
8317
|
*/
|
|
8458
|
-
export declare const
|
|
8318
|
+
export declare const GetInvocationStepResponseFilterSensitiveLog: (obj: GetInvocationStepResponse) => any;
|
|
8459
8319
|
/**
|
|
8460
8320
|
* @internal
|
|
8461
8321
|
*/
|
|
8462
|
-
export declare const
|
|
8322
|
+
export declare const PutInvocationStepRequestFilterSensitiveLog: (obj: PutInvocationStepRequest) => any;
|