@aws-sdk/client-bedrock-agent 3.535.0 → 3.543.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 +1 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -2
- package/dist-cjs/index.js +0 -3
- package/dist-es/endpoint/endpointResolver.js +3 -1
- package/dist-es/index.js +0 -1
- package/dist-types/BedrockAgent.d.ts +1 -2
- package/dist-types/BedrockAgentClient.d.ts +1 -2
- package/dist-types/commands/AssociateAgentKnowledgeBaseCommand.d.ts +8 -8
- package/dist-types/commands/CreateAgentActionGroupCommand.d.ts +9 -8
- package/dist-types/commands/CreateAgentAliasCommand.d.ts +8 -8
- package/dist-types/commands/CreateAgentCommand.d.ts +30 -7
- package/dist-types/commands/CreateDataSourceCommand.d.ts +11 -8
- package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +38 -7
- package/dist-types/commands/DeleteAgentActionGroupCommand.d.ts +7 -7
- package/dist-types/commands/DeleteAgentAliasCommand.d.ts +6 -6
- package/dist-types/commands/DeleteAgentCommand.d.ts +7 -7
- package/dist-types/commands/DeleteAgentVersionCommand.d.ts +7 -7
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +7 -7
- package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +7 -7
- package/dist-types/commands/DisassociateAgentKnowledgeBaseCommand.d.ts +7 -7
- package/dist-types/commands/GetAgentActionGroupCommand.d.ts +6 -6
- package/dist-types/commands/GetAgentAliasCommand.d.ts +6 -6
- package/dist-types/commands/GetAgentCommand.d.ts +6 -6
- package/dist-types/commands/GetAgentKnowledgeBaseCommand.d.ts +6 -6
- package/dist-types/commands/GetAgentVersionCommand.d.ts +6 -6
- package/dist-types/commands/GetDataSourceCommand.d.ts +6 -6
- package/dist-types/commands/GetIngestionJobCommand.d.ts +8 -6
- package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +6 -6
- package/dist-types/commands/ListAgentActionGroupsCommand.d.ts +6 -6
- package/dist-types/commands/ListAgentAliasesCommand.d.ts +6 -6
- package/dist-types/commands/ListAgentKnowledgeBasesCommand.d.ts +6 -6
- package/dist-types/commands/ListAgentVersionsCommand.d.ts +6 -6
- package/dist-types/commands/ListAgentsCommand.d.ts +5 -5
- package/dist-types/commands/ListDataSourcesCommand.d.ts +6 -6
- package/dist-types/commands/ListIngestionJobsCommand.d.ts +8 -6
- package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +5 -5
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -6
- package/dist-types/commands/PrepareAgentCommand.d.ts +8 -8
- package/dist-types/commands/StartIngestionJobCommand.d.ts +10 -8
- package/dist-types/commands/TagResourceCommand.d.ts +7 -7
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -6
- package/dist-types/commands/UpdateAgentActionGroupCommand.d.ts +8 -8
- package/dist-types/commands/UpdateAgentAliasCommand.d.ts +8 -8
- package/dist-types/commands/UpdateAgentCommand.d.ts +9 -9
- package/dist-types/commands/UpdateAgentKnowledgeBaseCommand.d.ts +7 -7
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +10 -7
- package/dist-types/commands/UpdateKnowledgeBaseCommand.d.ts +26 -7
- package/dist-types/index.d.ts +1 -3
- package/dist-types/models/models_0.d.ts +629 -534
- package/dist-types/ts3.4/index.d.ts +0 -1
- package/dist-types/ts3.4/models/models_0.d.ts +3 -1
- package/package.json +5 -5
|
@@ -26,7 +26,7 @@ declare const ListIngestionJobsCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* <p>Lists the ingestion jobs for a data source and information about each of them.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -66,8 +66,10 @@ declare const ListIngestionJobsCommand_base: {
|
|
|
66
66
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
67
67
|
* // statistics: { // IngestionJobStatistics
|
|
68
68
|
* // numberOfDocumentsScanned: Number("long"),
|
|
69
|
+
* // numberOfMetadataDocumentsScanned: Number("long"),
|
|
69
70
|
* // numberOfNewDocumentsIndexed: Number("long"),
|
|
70
71
|
* // numberOfModifiedDocumentsIndexed: Number("long"),
|
|
72
|
+
* // numberOfMetadataDocumentsModified: Number("long"),
|
|
71
73
|
* // numberOfDocumentsDeleted: Number("long"),
|
|
72
74
|
* // numberOfDocumentsFailed: Number("long"),
|
|
73
75
|
* // },
|
|
@@ -85,19 +87,19 @@ declare const ListIngestionJobsCommand_base: {
|
|
|
85
87
|
* @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
|
|
86
88
|
*
|
|
87
89
|
* @throws {@link AccessDeniedException} (client fault)
|
|
88
|
-
*
|
|
90
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
89
91
|
*
|
|
90
92
|
* @throws {@link InternalServerException} (server fault)
|
|
91
|
-
*
|
|
93
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
92
94
|
*
|
|
93
95
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
94
|
-
*
|
|
96
|
+
* <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
|
|
95
97
|
*
|
|
96
98
|
* @throws {@link ThrottlingException} (client fault)
|
|
97
|
-
*
|
|
99
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
98
100
|
*
|
|
99
101
|
* @throws {@link ValidationException} (client fault)
|
|
100
|
-
*
|
|
102
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
101
103
|
*
|
|
102
104
|
* @throws {@link BedrockAgentServiceException}
|
|
103
105
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
@@ -26,7 +26,7 @@ declare const ListKnowledgeBasesCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* <p>Lists the knowledge bases in an account and information about each of them.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -61,16 +61,16 @@ declare const ListKnowledgeBasesCommand_base: {
|
|
|
61
61
|
* @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link AccessDeniedException} (client fault)
|
|
64
|
-
*
|
|
64
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
65
65
|
*
|
|
66
66
|
* @throws {@link InternalServerException} (server fault)
|
|
67
|
-
*
|
|
67
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
-
*
|
|
70
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
71
71
|
*
|
|
72
72
|
* @throws {@link ValidationException} (client fault)
|
|
73
|
-
*
|
|
73
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
74
74
|
*
|
|
75
75
|
* @throws {@link BedrockAgentServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
@@ -26,7 +26,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* List tags for
|
|
29
|
+
* <p>List all the tags for the resource you specify.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -53,19 +53,19 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
53
53
|
* @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link AccessDeniedException} (client fault)
|
|
56
|
-
*
|
|
56
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
57
57
|
*
|
|
58
58
|
* @throws {@link InternalServerException} (server fault)
|
|
59
|
-
*
|
|
59
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
60
60
|
*
|
|
61
61
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
|
-
*
|
|
62
|
+
* <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
|
|
63
63
|
*
|
|
64
64
|
* @throws {@link ThrottlingException} (client fault)
|
|
65
|
-
*
|
|
65
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
66
66
|
*
|
|
67
67
|
* @throws {@link ValidationException} (client fault)
|
|
68
|
-
*
|
|
68
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
69
69
|
*
|
|
70
70
|
* @throws {@link BedrockAgentServiceException}
|
|
71
71
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
@@ -26,7 +26,7 @@ declare const PrepareAgentCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* <p>Creates a <code>DRAFT</code> version of the agent that can be used for internal testing.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -54,25 +54,25 @@ declare const PrepareAgentCommand_base: {
|
|
|
54
54
|
* @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link AccessDeniedException} (client fault)
|
|
57
|
-
*
|
|
57
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
58
58
|
*
|
|
59
59
|
* @throws {@link ConflictException} (client fault)
|
|
60
|
-
*
|
|
60
|
+
* <p>There was a conflict performing an operation.</p>
|
|
61
61
|
*
|
|
62
62
|
* @throws {@link InternalServerException} (server fault)
|
|
63
|
-
*
|
|
63
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
64
64
|
*
|
|
65
65
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
-
*
|
|
66
|
+
* <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
69
|
-
*
|
|
69
|
+
* <p>The number of requests exceeds the service quota. Resubmit your request later.</p>
|
|
70
70
|
*
|
|
71
71
|
* @throws {@link ThrottlingException} (client fault)
|
|
72
|
-
*
|
|
72
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
73
73
|
*
|
|
74
74
|
* @throws {@link ValidationException} (client fault)
|
|
75
|
-
*
|
|
75
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
76
76
|
*
|
|
77
77
|
* @throws {@link BedrockAgentServiceException}
|
|
78
78
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
@@ -26,7 +26,7 @@ declare const StartIngestionJobCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* <p>Begins an ingestion job, in which a data source is added to a knowledge base.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -50,8 +50,10 @@ declare const StartIngestionJobCommand_base: {
|
|
|
50
50
|
* // status: "STARTING" || "IN_PROGRESS" || "COMPLETE" || "FAILED", // required
|
|
51
51
|
* // statistics: { // IngestionJobStatistics
|
|
52
52
|
* // numberOfDocumentsScanned: Number("long"),
|
|
53
|
+
* // numberOfMetadataDocumentsScanned: Number("long"),
|
|
53
54
|
* // numberOfNewDocumentsIndexed: Number("long"),
|
|
54
55
|
* // numberOfModifiedDocumentsIndexed: Number("long"),
|
|
56
|
+
* // numberOfMetadataDocumentsModified: Number("long"),
|
|
55
57
|
* // numberOfDocumentsDeleted: Number("long"),
|
|
56
58
|
* // numberOfDocumentsFailed: Number("long"),
|
|
57
59
|
* // },
|
|
@@ -72,25 +74,25 @@ declare const StartIngestionJobCommand_base: {
|
|
|
72
74
|
* @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
|
|
73
75
|
*
|
|
74
76
|
* @throws {@link AccessDeniedException} (client fault)
|
|
75
|
-
*
|
|
77
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
76
78
|
*
|
|
77
79
|
* @throws {@link ConflictException} (client fault)
|
|
78
|
-
*
|
|
80
|
+
* <p>There was a conflict performing an operation.</p>
|
|
79
81
|
*
|
|
80
82
|
* @throws {@link InternalServerException} (server fault)
|
|
81
|
-
*
|
|
83
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
82
84
|
*
|
|
83
85
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
84
|
-
*
|
|
86
|
+
* <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
|
|
85
87
|
*
|
|
86
88
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
87
|
-
*
|
|
89
|
+
* <p>The number of requests exceeds the service quota. Resubmit your request later.</p>
|
|
88
90
|
*
|
|
89
91
|
* @throws {@link ThrottlingException} (client fault)
|
|
90
|
-
*
|
|
92
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
91
93
|
*
|
|
92
94
|
* @throws {@link ValidationException} (client fault)
|
|
93
|
-
*
|
|
95
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
94
96
|
*
|
|
95
97
|
* @throws {@link BedrockAgentServiceException}
|
|
96
98
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
@@ -26,7 +26,7 @@ declare const TagResourceCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* <p>Associate tags with a resource. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Tagging resources</a> in the Amazon Bedrock User Guide.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -52,22 +52,22 @@ declare const TagResourceCommand_base: {
|
|
|
52
52
|
* @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
|
|
53
53
|
*
|
|
54
54
|
* @throws {@link AccessDeniedException} (client fault)
|
|
55
|
-
*
|
|
55
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
56
56
|
*
|
|
57
57
|
* @throws {@link InternalServerException} (server fault)
|
|
58
|
-
*
|
|
58
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
-
*
|
|
61
|
+
* <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
64
|
-
*
|
|
64
|
+
* <p>The number of requests exceeds the service quota. Resubmit your request later.</p>
|
|
65
65
|
*
|
|
66
66
|
* @throws {@link ThrottlingException} (client fault)
|
|
67
|
-
*
|
|
67
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link ValidationException} (client fault)
|
|
70
|
-
*
|
|
70
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
71
71
|
*
|
|
72
72
|
* @throws {@link BedrockAgentServiceException}
|
|
73
73
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
@@ -26,7 +26,7 @@ declare const UntagResourceCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* <p>Remove tags from a resource.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -52,19 +52,19 @@ declare const UntagResourceCommand_base: {
|
|
|
52
52
|
* @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
|
|
53
53
|
*
|
|
54
54
|
* @throws {@link AccessDeniedException} (client fault)
|
|
55
|
-
*
|
|
55
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
56
56
|
*
|
|
57
57
|
* @throws {@link InternalServerException} (server fault)
|
|
58
|
-
*
|
|
58
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
-
*
|
|
61
|
+
* <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link ThrottlingException} (client fault)
|
|
64
|
-
*
|
|
64
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
65
65
|
*
|
|
66
66
|
* @throws {@link ValidationException} (client fault)
|
|
67
|
-
*
|
|
67
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link BedrockAgentServiceException}
|
|
70
70
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
@@ -26,7 +26,7 @@ declare const UpdateAgentActionGroupCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* Updates an
|
|
29
|
+
* <p>Updates the configuration for an action group for an agent.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -88,25 +88,25 @@ declare const UpdateAgentActionGroupCommand_base: {
|
|
|
88
88
|
* @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
|
|
89
89
|
*
|
|
90
90
|
* @throws {@link AccessDeniedException} (client fault)
|
|
91
|
-
*
|
|
91
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
92
92
|
*
|
|
93
93
|
* @throws {@link ConflictException} (client fault)
|
|
94
|
-
*
|
|
94
|
+
* <p>There was a conflict performing an operation.</p>
|
|
95
95
|
*
|
|
96
96
|
* @throws {@link InternalServerException} (server fault)
|
|
97
|
-
*
|
|
97
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
98
98
|
*
|
|
99
99
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
100
|
-
*
|
|
100
|
+
* <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
|
|
101
101
|
*
|
|
102
102
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
103
|
-
*
|
|
103
|
+
* <p>The number of requests exceeds the service quota. Resubmit your request later.</p>
|
|
104
104
|
*
|
|
105
105
|
* @throws {@link ThrottlingException} (client fault)
|
|
106
|
-
*
|
|
106
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
107
107
|
*
|
|
108
108
|
* @throws {@link ValidationException} (client fault)
|
|
109
|
-
*
|
|
109
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
110
110
|
*
|
|
111
111
|
* @throws {@link BedrockAgentServiceException}
|
|
112
112
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
@@ -26,7 +26,7 @@ declare const UpdateAgentAliasCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* Updates
|
|
29
|
+
* <p>Updates configurations for an alias of an agent.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -85,25 +85,25 @@ declare const UpdateAgentAliasCommand_base: {
|
|
|
85
85
|
* @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
|
|
86
86
|
*
|
|
87
87
|
* @throws {@link AccessDeniedException} (client fault)
|
|
88
|
-
*
|
|
88
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
89
89
|
*
|
|
90
90
|
* @throws {@link ConflictException} (client fault)
|
|
91
|
-
*
|
|
91
|
+
* <p>There was a conflict performing an operation.</p>
|
|
92
92
|
*
|
|
93
93
|
* @throws {@link InternalServerException} (server fault)
|
|
94
|
-
*
|
|
94
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
95
95
|
*
|
|
96
96
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
97
|
-
*
|
|
97
|
+
* <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
|
|
98
98
|
*
|
|
99
99
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
100
|
-
*
|
|
100
|
+
* <p>The number of requests exceeds the service quota. Resubmit your request later.</p>
|
|
101
101
|
*
|
|
102
102
|
* @throws {@link ThrottlingException} (client fault)
|
|
103
|
-
*
|
|
103
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
104
104
|
*
|
|
105
105
|
* @throws {@link ValidationException} (client fault)
|
|
106
|
-
*
|
|
106
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
107
107
|
*
|
|
108
108
|
* @throws {@link BedrockAgentServiceException}
|
|
109
109
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
@@ -26,7 +26,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* Updates
|
|
29
|
+
* <p>Updates the configuration of an agent.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -37,7 +37,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
37
37
|
* agentId: "STRING_VALUE", // required
|
|
38
38
|
* agentName: "STRING_VALUE", // required
|
|
39
39
|
* instruction: "STRING_VALUE",
|
|
40
|
-
* foundationModel: "STRING_VALUE",
|
|
40
|
+
* foundationModel: "STRING_VALUE", // required
|
|
41
41
|
* description: "STRING_VALUE",
|
|
42
42
|
* idleSessionTTLInSeconds: Number("int"),
|
|
43
43
|
* agentResourceRoleArn: "STRING_VALUE", // required
|
|
@@ -122,25 +122,25 @@ declare const UpdateAgentCommand_base: {
|
|
|
122
122
|
* @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
|
|
123
123
|
*
|
|
124
124
|
* @throws {@link AccessDeniedException} (client fault)
|
|
125
|
-
*
|
|
125
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
126
126
|
*
|
|
127
127
|
* @throws {@link ConflictException} (client fault)
|
|
128
|
-
*
|
|
128
|
+
* <p>There was a conflict performing an operation.</p>
|
|
129
129
|
*
|
|
130
130
|
* @throws {@link InternalServerException} (server fault)
|
|
131
|
-
*
|
|
131
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
132
132
|
*
|
|
133
133
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
134
|
-
*
|
|
134
|
+
* <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
|
|
135
135
|
*
|
|
136
136
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
137
|
-
*
|
|
137
|
+
* <p>The number of requests exceeds the service quota. Resubmit your request later.</p>
|
|
138
138
|
*
|
|
139
139
|
* @throws {@link ThrottlingException} (client fault)
|
|
140
|
-
*
|
|
140
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
141
141
|
*
|
|
142
142
|
* @throws {@link ValidationException} (client fault)
|
|
143
|
-
*
|
|
143
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
144
144
|
*
|
|
145
145
|
* @throws {@link BedrockAgentServiceException}
|
|
146
146
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
@@ -26,7 +26,7 @@ declare const UpdateAgentKnowledgeBaseCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* Updates
|
|
29
|
+
* <p>Updates the configuration for a knowledge base that has been associated with an agent.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -63,22 +63,22 @@ declare const UpdateAgentKnowledgeBaseCommand_base: {
|
|
|
63
63
|
* @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
|
|
64
64
|
*
|
|
65
65
|
* @throws {@link AccessDeniedException} (client fault)
|
|
66
|
-
*
|
|
66
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link ConflictException} (client fault)
|
|
69
|
-
*
|
|
69
|
+
* <p>There was a conflict performing an operation.</p>
|
|
70
70
|
*
|
|
71
71
|
* @throws {@link InternalServerException} (server fault)
|
|
72
|
-
*
|
|
72
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
73
73
|
*
|
|
74
74
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
75
|
-
*
|
|
75
|
+
* <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
|
|
76
76
|
*
|
|
77
77
|
* @throws {@link ThrottlingException} (client fault)
|
|
78
|
-
*
|
|
78
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
79
79
|
*
|
|
80
80
|
* @throws {@link ValidationException} (client fault)
|
|
81
|
-
*
|
|
81
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
82
82
|
*
|
|
83
83
|
* @throws {@link BedrockAgentServiceException}
|
|
84
84
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
@@ -26,7 +26,10 @@ declare const UpdateDataSourceCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* <p>Updates configurations for a data source.</p>
|
|
30
|
+
* <important>
|
|
31
|
+
* <p>You can't change the <code>chunkingConfiguration</code> after you create the data source. Specify the existing <code>chunkingConfiguration</code>.</p>
|
|
32
|
+
* </important>
|
|
30
33
|
* @example
|
|
31
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
35
|
* ```javascript
|
|
@@ -104,22 +107,22 @@ declare const UpdateDataSourceCommand_base: {
|
|
|
104
107
|
* @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
|
|
105
108
|
*
|
|
106
109
|
* @throws {@link AccessDeniedException} (client fault)
|
|
107
|
-
*
|
|
110
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
108
111
|
*
|
|
109
112
|
* @throws {@link ConflictException} (client fault)
|
|
110
|
-
*
|
|
113
|
+
* <p>There was a conflict performing an operation.</p>
|
|
111
114
|
*
|
|
112
115
|
* @throws {@link InternalServerException} (server fault)
|
|
113
|
-
*
|
|
116
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
114
117
|
*
|
|
115
118
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
116
|
-
*
|
|
119
|
+
* <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
|
|
117
120
|
*
|
|
118
121
|
* @throws {@link ThrottlingException} (client fault)
|
|
119
|
-
*
|
|
122
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
120
123
|
*
|
|
121
124
|
* @throws {@link ValidationException} (client fault)
|
|
122
|
-
*
|
|
125
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
123
126
|
*
|
|
124
127
|
* @throws {@link BedrockAgentServiceException}
|
|
125
128
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
|
@@ -26,7 +26,26 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* <p>Updates the configuration of a knowledge base with the fields that you specify. Because all fields will be overwritten, you must include the same values for fields that you want to keep the same.</p>
|
|
30
|
+
* <p>You can change the following fields:</p>
|
|
31
|
+
* <ul>
|
|
32
|
+
* <li>
|
|
33
|
+
* <p>
|
|
34
|
+
* <code>name</code>
|
|
35
|
+
* </p>
|
|
36
|
+
* </li>
|
|
37
|
+
* <li>
|
|
38
|
+
* <p>
|
|
39
|
+
* <code>description</code>
|
|
40
|
+
* </p>
|
|
41
|
+
* </li>
|
|
42
|
+
* <li>
|
|
43
|
+
* <p>
|
|
44
|
+
* <code>roleArn</code>
|
|
45
|
+
* </p>
|
|
46
|
+
* </li>
|
|
47
|
+
* </ul>
|
|
48
|
+
* <p>You can't change the <code>knowledgeBaseConfiguration</code> or <code>storageConfiguration</code> fields, so you must specify the same configurations as when you created the knowledge base. You can send a <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetKnowledgeBase.html">GetKnowledgeBase</a> request and copy the same configurations.</p>
|
|
30
49
|
* @example
|
|
31
50
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
51
|
* ```javascript
|
|
@@ -164,22 +183,22 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
164
183
|
* @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
|
|
165
184
|
*
|
|
166
185
|
* @throws {@link AccessDeniedException} (client fault)
|
|
167
|
-
*
|
|
186
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
168
187
|
*
|
|
169
188
|
* @throws {@link ConflictException} (client fault)
|
|
170
|
-
*
|
|
189
|
+
* <p>There was a conflict performing an operation.</p>
|
|
171
190
|
*
|
|
172
191
|
* @throws {@link InternalServerException} (server fault)
|
|
173
|
-
*
|
|
192
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
174
193
|
*
|
|
175
194
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
176
|
-
*
|
|
195
|
+
* <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
|
|
177
196
|
*
|
|
178
197
|
* @throws {@link ThrottlingException} (client fault)
|
|
179
|
-
*
|
|
198
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
180
199
|
*
|
|
181
200
|
* @throws {@link ValidationException} (client fault)
|
|
182
|
-
*
|
|
201
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
183
202
|
*
|
|
184
203
|
* @throws {@link BedrockAgentServiceException}
|
|
185
204
|
* <p>Base exception class for all service exceptions from BedrockAgent service.</p>
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* which will echo the string
|
|
2
|
+
* <p>Describes the API operations for creating and managing Amazon Bedrock agents.</p>
|
|
4
3
|
*
|
|
5
4
|
* @packageDocumentation
|
|
6
5
|
*/
|
|
@@ -12,5 +11,4 @@ export { BedrockAgentExtensionConfiguration } from "./extensionConfiguration";
|
|
|
12
11
|
export * from "./commands";
|
|
13
12
|
export * from "./pagination";
|
|
14
13
|
export * from "./models";
|
|
15
|
-
import "@aws-sdk/util-endpoints";
|
|
16
14
|
export { BedrockAgentServiceException } from "./models/BedrockAgentServiceException";
|