@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.
Files changed (92) hide show
  1. package/README.md +119 -7
  2. package/dist-cjs/index.js +941 -56
  3. package/dist-es/BedrockAgentRuntime.js +28 -0
  4. package/dist-es/commands/CreateInvocationCommand.js +22 -0
  5. package/dist-es/commands/CreateSessionCommand.js +22 -0
  6. package/dist-es/commands/DeleteSessionCommand.js +22 -0
  7. package/dist-es/commands/EndSessionCommand.js +22 -0
  8. package/dist-es/commands/GetInvocationStepCommand.js +23 -0
  9. package/dist-es/commands/GetSessionCommand.js +22 -0
  10. package/dist-es/commands/InvokeAgentCommand.js +2 -1
  11. package/dist-es/commands/InvokeInlineAgentCommand.js +2 -1
  12. package/dist-es/commands/ListInvocationStepsCommand.js +22 -0
  13. package/dist-es/commands/ListInvocationsCommand.js +22 -0
  14. package/dist-es/commands/ListSessionsCommand.js +22 -0
  15. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  16. package/dist-es/commands/PutInvocationStepCommand.js +23 -0
  17. package/dist-es/commands/RetrieveAndGenerateCommand.js +2 -1
  18. package/dist-es/commands/RetrieveAndGenerateStreamCommand.js +2 -1
  19. package/dist-es/commands/RetrieveCommand.js +2 -1
  20. package/dist-es/commands/TagResourceCommand.js +22 -0
  21. package/dist-es/commands/UntagResourceCommand.js +22 -0
  22. package/dist-es/commands/UpdateSessionCommand.js +22 -0
  23. package/dist-es/commands/index.js +14 -0
  24. package/dist-es/models/index.js +1 -0
  25. package/dist-es/models/models_0.js +54 -151
  26. package/dist-es/models/models_1.js +164 -0
  27. package/dist-es/pagination/ListInvocationStepsPaginator.js +4 -0
  28. package/dist-es/pagination/ListInvocationsPaginator.js +4 -0
  29. package/dist-es/pagination/ListSessionsPaginator.js +4 -0
  30. package/dist-es/pagination/index.js +3 -0
  31. package/dist-es/protocols/Aws_restJson1.js +532 -8
  32. package/dist-types/BedrockAgentRuntime.d.ts +100 -0
  33. package/dist-types/BedrockAgentRuntimeClient.d.ts +16 -2
  34. package/dist-types/commands/CreateInvocationCommand.d.ts +115 -0
  35. package/dist-types/commands/CreateSessionCommand.d.ts +133 -0
  36. package/dist-types/commands/DeleteSessionCommand.d.ts +89 -0
  37. package/dist-types/commands/EndSessionCommand.d.ts +93 -0
  38. package/dist-types/commands/GetInvocationStepCommand.d.ts +109 -0
  39. package/dist-types/commands/GetSessionCommand.d.ts +94 -0
  40. package/dist-types/commands/InvokeAgentCommand.d.ts +2 -1
  41. package/dist-types/commands/InvokeInlineAgentCommand.d.ts +2 -1
  42. package/dist-types/commands/ListInvocationStepsCommand.d.ts +97 -0
  43. package/dist-types/commands/ListInvocationsCommand.d.ts +95 -0
  44. package/dist-types/commands/ListSessionsCommand.d.ts +93 -0
  45. package/dist-types/commands/ListTagsForResourceCommand.d.ts +88 -0
  46. package/dist-types/commands/PutInvocationStepCommand.d.ts +134 -0
  47. package/dist-types/commands/RetrieveAndGenerateCommand.d.ts +2 -1
  48. package/dist-types/commands/RetrieveAndGenerateStreamCommand.d.ts +2 -1
  49. package/dist-types/commands/RetrieveCommand.d.ts +2 -1
  50. package/dist-types/commands/TagResourceCommand.d.ts +90 -0
  51. package/dist-types/commands/UntagResourceCommand.d.ts +87 -0
  52. package/dist-types/commands/UpdateSessionCommand.d.ts +96 -0
  53. package/dist-types/commands/index.d.ts +14 -0
  54. package/dist-types/models/index.d.ts +1 -0
  55. package/dist-types/models/models_0.d.ts +494 -634
  56. package/dist-types/models/models_1.d.ts +919 -0
  57. package/dist-types/pagination/ListInvocationStepsPaginator.d.ts +7 -0
  58. package/dist-types/pagination/ListInvocationsPaginator.d.ts +7 -0
  59. package/dist-types/pagination/ListSessionsPaginator.d.ts +7 -0
  60. package/dist-types/pagination/index.d.ts +3 -0
  61. package/dist-types/protocols/Aws_restJson1.d.ts +126 -0
  62. package/dist-types/ts3.4/BedrockAgentRuntime.d.ts +240 -0
  63. package/dist-types/ts3.4/BedrockAgentRuntimeClient.d.ts +86 -2
  64. package/dist-types/ts3.4/commands/CreateInvocationCommand.d.ts +50 -0
  65. package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +50 -0
  66. package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +50 -0
  67. package/dist-types/ts3.4/commands/EndSessionCommand.d.ts +47 -0
  68. package/dist-types/ts3.4/commands/GetInvocationStepCommand.d.ts +51 -0
  69. package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +47 -0
  70. package/dist-types/ts3.4/commands/InvokeAgentCommand.d.ts +2 -1
  71. package/dist-types/ts3.4/commands/InvokeInlineAgentCommand.d.ts +2 -4
  72. package/dist-types/ts3.4/commands/ListInvocationStepsCommand.d.ts +51 -0
  73. package/dist-types/ts3.4/commands/ListInvocationsCommand.d.ts +50 -0
  74. package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +47 -0
  75. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  76. package/dist-types/ts3.4/commands/PutInvocationStepCommand.d.ts +51 -0
  77. package/dist-types/ts3.4/commands/RetrieveAndGenerateCommand.d.ts +2 -4
  78. package/dist-types/ts3.4/commands/RetrieveAndGenerateStreamCommand.d.ts +2 -4
  79. package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +2 -1
  80. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  81. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  82. package/dist-types/ts3.4/commands/UpdateSessionCommand.d.ts +50 -0
  83. package/dist-types/ts3.4/commands/index.d.ts +14 -0
  84. package/dist-types/ts3.4/models/index.d.ts +1 -0
  85. package/dist-types/ts3.4/models/models_0.d.ts +222 -365
  86. package/dist-types/ts3.4/models/models_1.d.ts +416 -0
  87. package/dist-types/ts3.4/pagination/ListInvocationStepsPaginator.d.ts +11 -0
  88. package/dist-types/ts3.4/pagination/ListInvocationsPaginator.d.ts +11 -0
  89. package/dist-types/ts3.4/pagination/ListSessionsPaginator.d.ts +11 -0
  90. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  91. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +168 -0
  92. 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 type RetrievalFilter = RetrievalFilter.AndAllMember | RetrievalFilter.EqualsMember | RetrievalFilter.GreaterThanMember | RetrievalFilter.GreaterThanOrEqualsMember | RetrievalFilter.InMember | RetrievalFilter.LessThanMember | RetrievalFilter.LessThanOrEqualsMember | RetrievalFilter.ListContainsMember | RetrievalFilter.NotEqualsMember | RetrievalFilter.NotInMember | RetrievalFilter.OrAllMember | RetrievalFilter.StartsWithMember | RetrievalFilter.StringContainsMember | RetrievalFilter.$UnknownMember;
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 namespace RetrievalFilter {
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>Knowledge base data sources are returned if they contain a metadata attribute whose name matches the <code>key</code> and whose value matches the <code>value</code> in this object.</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
- interface EqualsMember {
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>Knowledge base data sources that contain a metadata attribute whose name matches the <code>key</code> and whose value doesn't match the <code>value</code> in this object are returned.</p>
7015
- * <p>The following example would return data sources that don't contain an <code>animal</code> attribute whose value is <code>cat</code>.</p>
7016
- * <p>
7017
- * <code>"notEquals": \{ "key": "animal", "value": "cat" \}</code>
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>Knowledge base data sources are returned if they contain a metadata attribute whose name matches the <code>key</code> and whose value is greater than the <code>value</code> in this object.</p>
7039
- * <p>The following example would return data sources with an <code>year</code> attribute whose value is greater than <code>1989</code>:</p>
7040
- * <p>
7041
- * <code>"greaterThan": \{ "key": "year", "value": 1989 \}</code>
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>Knowledge base data sources are returned if they contain a metadata attribute whose name matches the <code>key</code> and whose value is greater than or equal to the <code>value</code> in this object.</p>
7063
- * <p>The following example would return data sources with an <code>year</code> attribute whose value is greater than or equal to <code>1989</code>:</p>
7064
- * <p>
7065
- * <code>"greaterThanOrEquals": \{ "key": "year", "value": 1989 \}</code>
7066
- * </p>
7067
- * @public
7068
- */
7069
- interface GreaterThanOrEqualsMember {
7070
- equals?: never;
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>Knowledge base data sources are returned if they contain a metadata attribute whose name matches the <code>key</code> and whose value is less than the <code>value</code> in this object.</p>
7087
- * <p>The following example would return data sources with an <code>year</code> attribute whose value is less than to <code>1989</code>.</p>
7088
- * <p>
7089
- * <code>"lessThan": \{ "key": "year", "value": 1989 \}</code>
7090
- * </p>
7091
- * @public
7092
- */
7093
- interface LessThanMember {
7094
- equals?: never;
7095
- notEquals?: never;
7096
- greaterThan?: never;
7097
- greaterThanOrEquals?: never;
7098
- lessThan: FilterAttribute;
7099
- lessThanOrEquals?: never;
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>Knowledge base data sources are returned if they contain a metadata attribute whose name matches the <code>key</code> and whose value is less than or equal to the <code>value</code> in this object.</p>
7111
- * <p>The following example would return data sources with an <code>year</code> attribute whose value is less than or equal to <code>1989</code>.</p>
7112
- * <p>
7113
- * <code>"lessThanOrEquals": \{ "key": "year", "value": 1989 \}</code>
7114
- * </p>
7115
- * @public
7116
- */
7117
- interface LessThanOrEqualsMember {
7118
- equals?: never;
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>Knowledge base data sources are returned if they contain a metadata attribute whose name matches the <code>key</code> and whose value is in the list specified in the <code>value</code> in this object.</p>
7135
- * <p>The following example would return data sources with an <code>animal</code> attribute that is either <code>cat</code> or <code>dog</code>:</p>
7136
- * <p>
7137
- * <code>"in": \{ "key": "animal", "value": ["cat", "dog"] \}</code>
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>Knowledge base data sources are returned if they contain a metadata attribute whose name matches the <code>key</code> and whose value isn't in the list specified in the <code>value</code> in this object.</p>
7159
- * <p>The following example would return data sources whose <code>animal</code> attribute is neither <code>cat</code> nor <code>dog</code>.</p>
7160
- * <p>
7161
- * <code>"notIn": \{ "key": "animal", "value": ["cat", "dog"] \}</code>
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>Knowledge base data sources are returned if they contain a metadata attribute whose name matches the <code>key</code> and whose value starts with the <code>value</code> in this object. This filter is currently only supported for Amazon OpenSearch Serverless vector stores.</p>
7183
- * <p>The following example would return data sources with an <code>animal</code> attribute starts with <code>ca</code> (for example, <code>cat</code> or <code>camel</code>).</p>
7184
- * <p>
7185
- * <code>"startsWith": \{ "key": "animal", "value": "ca" \}</code>
7186
- * </p>
7187
- * @public
7188
- */
7189
- interface StartsWithMember {
7190
- equals?: never;
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>Knowledge base data sources are returned if they contain a metadata attribute whose name matches the <code>key</code> and whose value is a list that contains the <code>value</code> as one of its members.</p>
7207
- * <p>The following example would return data sources with an <code>animals</code> attribute that is a list containing a <code>cat</code> member (for example <code>["dog", "cat"]</code>).</p>
7208
- * <p>
7209
- * <code>"listContains": \{ "key": "animals", "value": "cat" \}</code>
7210
- * </p>
7211
- * @public
7212
- */
7213
- interface ListContainsMember {
7214
- equals?: never;
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>Knowledge base data sources are returned if they contain a metadata attribute whose name matches the <code>key</code> and whose value is one of the following:</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
- interface StringContainsMember {
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>Knowledge base data sources are returned if their metadata attributes fulfill all the filter conditions inside this list.</p>
7095
+ * <p>The Amazon Resource Name (ARN) of the session.</p>
7265
7096
  * @public
7266
7097
  */
7267
- interface AndAllMember {
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>Knowledge base data sources are returned if their metadata attributes fulfill at least one of the filter conditions inside this list.</p>
7100
+ * <p>The current status of the session.</p>
7285
7101
  * @public
7286
7102
  */
7287
- interface OrAllMember {
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
- interface $UnknownMember {
7307
- equals?: never;
7308
- notEquals?: never;
7309
- greaterThan?: never;
7310
- greaterThanOrEquals?: never;
7311
- lessThan?: never;
7312
- lessThanOrEquals?: never;
7313
- in?: never;
7314
- notIn?: never;
7315
- startsWith?: never;
7316
- listContains?: never;
7317
- stringContains?: never;
7318
- andAll?: never;
7319
- orAll?: never;
7320
- $unknown: [string, any];
7321
- }
7322
- interface Visitor<T> {
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 KnowledgeBaseVectorSearchConfiguration {
7129
+ export interface CreateInvocationRequest {
7356
7130
  /**
7357
- * <p>The number of source chunks to retrieve.</p>
7131
+ * <p>A unique identifier for the invocation in UUID format.</p>
7358
7132
  * @public
7359
7133
  */
7360
- numberOfResults?: number | undefined;
7134
+ invocationId?: string | undefined;
7361
7135
  /**
7362
- * <p>By default, Amazon Bedrock decides a search strategy for you. If you're using an Amazon OpenSearch Serverless vector store that contains a filterable text field, you can specify whether to query the knowledge base with a <code>HYBRID</code> search using both vector embeddings and raw text, or <code>SEMANTIC</code> search using only vector embeddings. For other vector store configurations, only <code>SEMANTIC</code> search is available. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-test.html">Test a knowledge base</a>.</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
- overrideSearchType?: SearchType | undefined;
7139
+ description?: string | undefined;
7366
7140
  /**
7367
- * <p>Specifies the filters to use on the metadata 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>.</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
- filter?: RetrievalFilter | undefined;
7145
+ sessionIdentifier: string | undefined;
7146
+ }
7147
+ /**
7148
+ * @public
7149
+ */
7150
+ export interface CreateInvocationResponse {
7371
7151
  /**
7372
- * <p>Contains configurations for reranking the retrieved results. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/rerank.html">Improve the relevance of query responses with a reranker model</a>.</p>
7152
+ * <p>The unique identifier for the session associated with the invocation.</p>
7373
7153
  * @public
7374
7154
  */
7375
- rerankingConfiguration?: VectorSearchRerankingConfiguration | undefined;
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>Settings for implicit filtering.</p>
7162
+ * <p>The timestamp for when the invocation was created.</p>
7378
7163
  * @public
7379
7164
  */
7380
- implicitFilterConfiguration?: ImplicitFilterConfiguration | undefined;
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 KnowledgeBaseRetrievalConfiguration {
7170
+ export interface ListInvocationsRequest {
7398
7171
  /**
7399
- * <p>Contains details about how the results from the vector search should be returned. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html">Query configurations</a>.</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
- vectorSearchConfiguration: KnowledgeBaseVectorSearchConfiguration | undefined;
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 KnowledgeBase {
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
- knowledgeBaseId: string | undefined;
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
- description: string | undefined;
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
- retrievalConfiguration?: KnowledgeBaseRetrievalConfiguration | undefined;
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 KnowledgeBaseConfiguration {
7215
+ export interface ListInvocationsResponse {
7438
7216
  /**
7439
- * <p>The unique identifier for a knowledge base attached to the agent.</p>
7217
+ * <p>A list of invocation summaries associated with the session.</p>
7440
7218
  * @public
7441
7219
  */
7442
- knowledgeBaseId: string | undefined;
7220
+ invocationSummaries: InvocationSummary[] | undefined;
7443
7221
  /**
7444
- * <p>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>.</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
- retrievalConfiguration: KnowledgeBaseRetrievalConfiguration | undefined;
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 KnowledgeBaseRetrieveAndGenerateConfiguration {
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 ARN of the foundation model or <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html">inference profile</a> used to generate a response.</p>
7232
+ * <p>The unique identifier for the invocation in UUID format.</p>
7472
7233
  * @public
7473
7234
  */
7474
- modelArn: string | undefined;
7235
+ invocationIdentifier: string | undefined;
7475
7236
  /**
7476
- * <p>Contains configurations for how to retrieve and return the knowledge base query.</p>
7237
+ * <p>The unique identifier (in UUID format) for the specific invocation step to retrieve.</p>
7477
7238
  * @public
7478
7239
  */
7479
- retrievalConfiguration?: KnowledgeBaseRetrievalConfiguration | undefined;
7240
+ invocationStepId: string | undefined;
7480
7241
  /**
7481
- * <p>Contains configurations for response generation based on the knowledge base query results.</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
- generationConfiguration?: GenerationConfiguration | undefined;
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>Settings for how the model processes the prompt prior to retrieval and generation.</p>
7267
+ * <p>The path to the Amazon S3 bucket where the image is stored.</p>
7487
7268
  * @public
7488
7269
  */
7489
- orchestrationConfiguration?: OrchestrationConfiguration | undefined;
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 interface RetrieveRequest {
7280
+ export declare namespace ImageSource {
7495
7281
  /**
7496
- * <p>The unique identifier of the knowledge base to query.</p>
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
- knowledgeBaseId: string | undefined;
7285
+ interface BytesMember {
7286
+ bytes: Uint8Array;
7287
+ s3Location?: never;
7288
+ $unknown?: never;
7289
+ }
7500
7290
  /**
7501
- * <p>Contains the query to send the knowledge base.</p>
7291
+ * <p>The path to the Amazon S3 bucket where the image is stored.</p>
7502
7292
  * @public
7503
7293
  */
7504
- retrievalQuery: KnowledgeBaseQuery | undefined;
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
- retrievalConfiguration?: KnowledgeBaseRetrievalConfiguration | undefined;
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>Guardrail settings.</p>
7320
+ * <p>The format of the image.</p>
7512
7321
  * @public
7513
7322
  */
7514
- guardrailConfiguration?: GuardrailConfiguration | undefined;
7323
+ format: ImageFormat | undefined;
7515
7324
  /**
7516
- * <p>If there are more results than can fit in the response, the response returns a <code>nextToken</code>. Use this token in the <code>nextToken</code> field of another request to retrieve the next batch of results.</p>
7325
+ * <p>The source for the image.</p>
7517
7326
  * @public
7518
7327
  */
7519
- nextToken?: string | undefined;
7328
+ source: ImageSource | undefined;
7520
7329
  }
7521
7330
  /**
7522
- * <p>Contains details about the resource being queried.</p>
7523
- * <p>This data type is used in the following API operations:</p>
7524
- * <ul>
7525
- * <li>
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 interface RetrieveAndGenerateConfiguration {
7337
+ export type BedrockSessionContentBlock = BedrockSessionContentBlock.ImageMember | BedrockSessionContentBlock.TextMember | BedrockSessionContentBlock.$UnknownMember;
7338
+ /**
7339
+ * @public
7340
+ */
7341
+ export declare namespace BedrockSessionContentBlock {
7533
7342
  /**
7534
- * <p>The type of resource that contains your data for retrieving information and generating responses.</p>
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
- type: RetrieveAndGenerateType | undefined;
7346
+ interface TextMember {
7347
+ text: string;
7348
+ image?: never;
7349
+ $unknown?: never;
7350
+ }
7539
7351
  /**
7540
- * <p>Contains details about the knowledge base for retrieving information and generating responses.</p>
7352
+ * <p>The image in the invocation step.</p>
7541
7353
  * @public
7542
7354
  */
7543
- knowledgeBaseConfiguration?: KnowledgeBaseRetrieveAndGenerateConfiguration | undefined;
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
- externalSourcesConfiguration?: ExternalSourcesRetrieveAndGenerateConfiguration | undefined;
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 interface InvokeInlineAgentRequest {
7379
+ export type InvocationStepPayload = InvocationStepPayload.ContentBlocksMember | InvocationStepPayload.$UnknownMember;
7380
+ /**
7381
+ * @public
7382
+ */
7383
+ export declare namespace InvocationStepPayload {
7554
7384
  /**
7555
- * <p>
7556
- * The unique identifier of the session. Use the same value across requests to continue the same conversation.
7557
- * </p>
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
- customerEncryptionKeyArn?: string | undefined;
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
- endSession?: boolean | undefined;
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
- enableTrace?: boolean | undefined;
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
- inputText?: string | undefined;
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
- inlineSessionState?: InlineSessionState | undefined;
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
- foundationModel: string | undefined;
7454
+ invocationIdentifier?: string | undefined;
7611
7455
  /**
7612
- * <p>
7613
- * The instructions that tell the inline agent what it should do and how it should interact with users.
7614
- * </p>
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
- instruction: string | undefined;
7461
+ nextToken?: string | undefined;
7618
7462
  /**
7619
- * <p>
7620
- * The number of seconds for which the inline agent should maintain session information. After this time expires, the subsequent <code>InvokeInlineAgent</code> request begins a new session.
7621
- * </p>
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
- idleSessionTTLInSeconds?: number | undefined;
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
- actionGroups?: AgentActionGroup[] | undefined;
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
- knowledgeBases?: KnowledgeBase[] | undefined;
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
- guardrailConfiguration?: GuardrailConfigurationWithArn | undefined;
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
- promptOverrideConfiguration?: PromptOverrideConfiguration | undefined;
7494
+ invocationStepId: string | undefined;
7654
7495
  /**
7655
- * <p>Model settings for the request.</p>
7496
+ * <p>The timestamp for when the invocation step was created.</p>
7656
7497
  * @public
7657
7498
  */
7658
- bedrockModelConfigurations?: InlineBedrockModelConfigurations | undefined;
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
- streamingConfigurations?: StreamingConfigurations | undefined;
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 RetrieveAndGenerateRequest {
7519
+ export interface PutInvocationStepRequest {
7674
7520
  /**
7675
- * <p>The unique identifier of the session. When you first make a <code>RetrieveAndGenerate</code> request, Amazon Bedrock automatically generates this value. You must reuse this value for all subsequent requests in the same conversational session. This value allows Amazon Bedrock to maintain context and knowledge from previous interactions. You can't explicitly set the <code>sessionId</code> yourself.</p>
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
- sessionId?: string | undefined;
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>Contains the query to be made to the knowledge base.</p>
7531
+ * <p>The timestamp for when the invocation step occurred.</p>
7681
7532
  * @public
7682
7533
  */
7683
- input: RetrieveAndGenerateInput | undefined;
7534
+ invocationStepTime: Date | undefined;
7684
7535
  /**
7685
- * <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>
7536
+ * <p>The payload for the invocation step, including text and images for the interaction.</p>
7686
7537
  * @public
7687
7538
  */
7688
- retrieveAndGenerateConfiguration?: RetrieveAndGenerateConfiguration | undefined;
7539
+ payload: InvocationStepPayload | undefined;
7689
7540
  /**
7690
- * <p>Contains details about the session with the knowledge base.</p>
7541
+ * <p>The unique identifier of the invocation step in UUID format.</p>
7691
7542
  * @public
7692
7543
  */
7693
- sessionConfiguration?: RetrieveAndGenerateSessionConfiguration | undefined;
7544
+ invocationStepId?: string | undefined;
7694
7545
  }
7695
7546
  /**
7696
7547
  * @public
7697
7548
  */
7698
- export interface RetrieveAndGenerateStreamRequest {
7549
+ export interface PutInvocationStepResponse {
7699
7550
  /**
7700
- * <p>The unique identifier of the session. When you first make a <code>RetrieveAndGenerate</code> request, Amazon Bedrock automatically generates this value. You must reuse this value for all subsequent requests in the same conversational session. This value allows Amazon Bedrock to maintain context and knowledge from previous interactions. You can't explicitly set the <code>sessionId</code> yourself.</p>
7551
+ * <p>The unique identifier of the invocation step in UUID format.</p>
7701
7552
  * @public
7702
7553
  */
7703
- sessionId?: string | undefined;
7704
- /**
7705
- * <p>Contains the query to be made to the knowledge base.</p>
7706
- * @public
7707
- */
7708
- input: RetrieveAndGenerateInput | undefined;
7554
+ invocationStepId: string | undefined;
7555
+ }
7556
+ /**
7557
+ * @public
7558
+ */
7559
+ export interface ListSessionsRequest {
7709
7560
  /**
7710
- * <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>
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
- retrieveAndGenerateConfiguration?: RetrieveAndGenerateConfiguration | undefined;
7566
+ maxResults?: number | undefined;
7714
7567
  /**
7715
- * <p>Contains details about the session with the knowledge base.</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
- sessionConfiguration?: RetrieveAndGenerateSessionConfiguration | undefined;
7573
+ nextToken?: string | undefined;
7719
7574
  }
7720
7575
  /**
7721
- * <p>Contains parameters that specify various attributes that persist across a session or prompt. You can define session state attributes as key-value pairs when writing a <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-lambda.html">Lambda function</a> for an action group or pass them when making an <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html">InvokeAgent</a> request. Use session state attributes to control and provide conversational context for your agent and to help customize your agent's behavior. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html">Control session context</a>.</p>
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 SessionState {
7579
+ export interface SessionSummary {
7725
7580
  /**
7726
- * <p>Contains attributes that persist across a session and the values of those attributes.</p>
7581
+ * <p>The unique identifier for the session.</p>
7727
7582
  * @public
7728
7583
  */
7729
- sessionAttributes?: Record<string, string> | undefined;
7584
+ sessionId: string | undefined;
7730
7585
  /**
7731
- * <p>Contains attributes that persist across a prompt and the values of those attributes. These attributes replace the $prompt_session_attributes$ placeholder variable in the orchestration prompt template. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html">Prompt template placeholder variables</a>.</p>
7586
+ * <p>The Amazon Resource Name (ARN) of the session.</p>
7732
7587
  * @public
7733
7588
  */
7734
- promptSessionAttributes?: Record<string, string> | undefined;
7589
+ sessionArn: string | undefined;
7735
7590
  /**
7736
- * <p>Contains information about the results from the action group invocation. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-returncontrol.html">Return control to the agent developer</a> and <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html">Control session context</a>.</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
- returnControlInvocationResults?: InvocationResultMember[] | undefined;
7594
+ sessionStatus: SessionStatus | undefined;
7743
7595
  /**
7744
- * <p>The identifier of the invocation of an action. This value must match the <code>invocationId</code> returned in the <code>InvokeAgent</code> response for the action whose results are provided in the <code>returnControlInvocationResults</code> field. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-returncontrol.html">Return control to the agent developer</a> and <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html">Control session context</a>.</p>
7596
+ * <p>The timestamp for when the session was created.</p>
7745
7597
  * @public
7746
7598
  */
7747
- invocationId?: string | undefined;
7599
+ createdAt: Date | undefined;
7748
7600
  /**
7749
- * <p>Contains information about the files used by code interpreter.</p>
7601
+ * <p>The timestamp for when the session was last modified.</p>
7750
7602
  * @public
7751
7603
  */
7752
- files?: InputFile[] | undefined;
7604
+ lastUpdatedAt: Date | undefined;
7605
+ }
7606
+ /**
7607
+ * @public
7608
+ */
7609
+ export interface ListSessionsResponse {
7753
7610
  /**
7754
- * <p>An array of configurations, each of which applies to a knowledge base attached to the agent.</p>
7611
+ * <p>A list of summaries for each session in your Amazon Web Services account.</p>
7755
7612
  * @public
7756
7613
  */
7757
- knowledgeBaseConfigurations?: KnowledgeBaseConfiguration[] | undefined;
7614
+ sessionSummaries: SessionSummary[] | undefined;
7758
7615
  /**
7759
- * <p>The state's conversation history.</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
- conversationHistory?: ConversationHistory | undefined;
7619
+ nextToken?: string | undefined;
7763
7620
  }
7764
7621
  /**
7765
7622
  * @public
7766
7623
  */
7767
- export interface InvokeAgentRequest {
7624
+ export interface UpdateSessionRequest {
7768
7625
  /**
7769
- * <p>Contains parameters that specify various attributes of the session. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html">Control session context</a>.</p>
7770
- * <note>
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
- sessionState?: SessionState | undefined;
7630
+ sessionMetadata?: Record<string, string> | undefined;
7776
7631
  /**
7777
- * <p>The unique identifier of the agent to use.</p>
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
- agentId: string | undefined;
7635
+ sessionIdentifier: string | undefined;
7636
+ }
7637
+ /**
7638
+ * @public
7639
+ */
7640
+ export interface UpdateSessionResponse {
7781
7641
  /**
7782
- * <p>The alias of the agent to use.</p>
7642
+ * <p>The unique identifier of the session you updated.</p>
7783
7643
  * @public
7784
7644
  */
7785
- agentAliasId: string | undefined;
7645
+ sessionId: string | undefined;
7786
7646
  /**
7787
- * <p>The unique identifier of the session. Use the same value across requests to continue the same conversation.</p>
7647
+ * <p>The Amazon Resource Name (ARN) of the session that was updated.</p>
7788
7648
  * @public
7789
7649
  */
7790
- sessionId: string | undefined;
7650
+ sessionArn: string | undefined;
7791
7651
  /**
7792
- * <p>Specifies whether to end the session with the agent or not.</p>
7652
+ * <p>The status of the session you updated.</p>
7793
7653
  * @public
7794
7654
  */
7795
- endSession?: boolean | undefined;
7655
+ sessionStatus: SessionStatus | undefined;
7796
7656
  /**
7797
- * <p>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/agents-test.html#trace-events">Trace enablement</a>.</p>
7657
+ * <p>The timestamp for when the session was created.</p>
7798
7658
  * @public
7799
7659
  */
7800
- enableTrace?: boolean | undefined;
7660
+ createdAt: Date | undefined;
7801
7661
  /**
7802
- * <p>The prompt text to send the agent.</p>
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
- inputText?: string | undefined;
7665
+ lastUpdatedAt: Date | undefined;
7666
+ }
7667
+ /**
7668
+ * @public
7669
+ */
7670
+ export interface ListTagsForResourceRequest {
7809
7671
  /**
7810
- * <p>The unique identifier of the agent memory.</p>
7672
+ * <p>The Amazon Resource Name (ARN) of the resource for which to list tags.</p>
7811
7673
  * @public
7812
7674
  */
7813
- memoryId?: string | undefined;
7675
+ resourceArn: string | undefined;
7676
+ }
7677
+ /**
7678
+ * @public
7679
+ */
7680
+ export interface ListTagsForResourceResponse {
7814
7681
  /**
7815
- * <p>Model performance settings for the request.</p>
7682
+ * <p>The key-value pairs for the tags associated with the resource.</p>
7816
7683
  * @public
7817
7684
  */
7818
- bedrockModelConfigurations?: BedrockModelConfigurations | undefined;
7685
+ tags?: Record<string, string> | undefined;
7686
+ }
7687
+ /**
7688
+ * @public
7689
+ */
7690
+ export interface TagResourceRequest {
7819
7691
  /**
7820
- * <p>
7821
- * Specifies the configurations for streaming.
7822
- * </p>
7823
- * <note>
7824
- * <p>To use agent streaming, you need permissions to perform the <code>bedrock:InvokeModelWithResponseStream</code> action.</p>
7825
- * </note>
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
- streamingConfigurations?: StreamingConfigurations | undefined;
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>The ARN of the resource making the request.</p>
7717
+ * <p>A list of keys of the tags to remove from the resource.</p>
7831
7718
  * @public
7832
7719
  */
7833
- sourceArn?: string | undefined;
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 RetrievalFilterFilterSensitiveLog: (obj: RetrievalFilter) => any;
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 RetrieveAndGenerateRequestFilterSensitiveLog: (obj: RetrieveAndGenerateRequest) => any;
8310
+ export declare const InvocationStepPayloadFilterSensitiveLog: (obj: InvocationStepPayload) => any;
8451
8311
  /**
8452
8312
  * @internal
8453
8313
  */
8454
- export declare const RetrieveAndGenerateStreamRequestFilterSensitiveLog: (obj: RetrieveAndGenerateStreamRequest) => any;
8314
+ export declare const InvocationStepFilterSensitiveLog: (obj: InvocationStep) => any;
8455
8315
  /**
8456
8316
  * @internal
8457
8317
  */
8458
- export declare const SessionStateFilterSensitiveLog: (obj: SessionState) => any;
8318
+ export declare const GetInvocationStepResponseFilterSensitiveLog: (obj: GetInvocationStepResponse) => any;
8459
8319
  /**
8460
8320
  * @internal
8461
8321
  */
8462
- export declare const InvokeAgentRequestFilterSensitiveLog: (obj: InvokeAgentRequest) => any;
8322
+ export declare const PutInvocationStepRequestFilterSensitiveLog: (obj: PutInvocationStepRequest) => any;