@aws-sdk/client-bedrock-agent-runtime 3.933.0 → 3.935.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 (59) hide show
  1. package/dist-cjs/index.js +345 -345
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +330 -0
  4. package/dist-es/models/errors.js +127 -0
  5. package/dist-es/models/models_0.js +1 -431
  6. package/dist-es/schemas/schemas_0.js +1 -1
  7. package/dist-types/commands/CreateInvocationCommand.d.ts +1 -1
  8. package/dist-types/commands/CreateSessionCommand.d.ts +1 -1
  9. package/dist-types/commands/DeleteSessionCommand.d.ts +1 -1
  10. package/dist-types/commands/EndSessionCommand.d.ts +1 -1
  11. package/dist-types/commands/GetInvocationStepCommand.d.ts +1 -1
  12. package/dist-types/commands/GetSessionCommand.d.ts +1 -1
  13. package/dist-types/commands/InvokeAgentCommand.d.ts +1 -2
  14. package/dist-types/commands/InvokeInlineAgentCommand.d.ts +1 -2
  15. package/dist-types/commands/ListInvocationStepsCommand.d.ts +1 -1
  16. package/dist-types/commands/ListInvocationsCommand.d.ts +1 -1
  17. package/dist-types/commands/ListSessionsCommand.d.ts +1 -1
  18. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  19. package/dist-types/commands/PutInvocationStepCommand.d.ts +1 -1
  20. package/dist-types/commands/RetrieveAndGenerateCommand.d.ts +1 -1
  21. package/dist-types/commands/RetrieveAndGenerateStreamCommand.d.ts +1 -1
  22. package/dist-types/commands/RetrieveCommand.d.ts +1 -1
  23. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  24. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  25. package/dist-types/commands/UpdateSessionCommand.d.ts +1 -1
  26. package/dist-types/index.d.ts +3 -1
  27. package/dist-types/models/enums.d.ts +850 -0
  28. package/dist-types/models/errors.d.ts +137 -0
  29. package/dist-types/models/models_0.d.ts +2078 -914
  30. package/dist-types/ts3.4/commands/CreateInvocationCommand.d.ts +1 -1
  31. package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +1 -1
  32. package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +1 -1
  33. package/dist-types/ts3.4/commands/EndSessionCommand.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/GetInvocationStepCommand.d.ts +1 -1
  35. package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/InvokeAgentCommand.d.ts +1 -2
  37. package/dist-types/ts3.4/commands/InvokeInlineAgentCommand.d.ts +4 -2
  38. package/dist-types/ts3.4/commands/ListInvocationStepsCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/ListInvocationsCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/PutInvocationStepCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/RetrieveAndGenerateCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/RetrieveAndGenerateStreamCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/UpdateSessionCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/index.d.ts +3 -1
  50. package/dist-types/ts3.4/models/enums.d.ts +442 -0
  51. package/dist-types/ts3.4/models/errors.d.ts +73 -0
  52. package/dist-types/ts3.4/models/models_0.d.ts +968 -479
  53. package/package.json +12 -12
  54. package/dist-es/models/index.js +0 -2
  55. package/dist-es/models/models_1.js +0 -26
  56. package/dist-types/models/index.d.ts +0 -2
  57. package/dist-types/models/models_1.d.ts +0 -2151
  58. package/dist-types/ts3.4/models/index.d.ts +0 -2
  59. package/dist-types/ts3.4/models/models_1.d.ts +0 -969
@@ -0,0 +1,137 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { BedrockAgentRuntimeServiceException as __BaseException } from "./BedrockAgentRuntimeServiceException";
3
+ /**
4
+ * <p>The request is denied because of missing access permissions. Check your permissions and retry your request.</p>
5
+ * @public
6
+ */
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
+ }
15
+ /**
16
+ * <p>An internal server error occurred. Retry your request.</p>
17
+ * @public
18
+ */
19
+ export declare class InternalServerException extends __BaseException {
20
+ readonly name: "InternalServerException";
21
+ readonly $fault: "server";
22
+ /**
23
+ * <p>The reason for the exception. If the reason is <code>BEDROCK_MODEL_INVOCATION_SERVICE_UNAVAILABLE</code>, the model invocation service is unavailable. Retry your request.</p>
24
+ * @public
25
+ */
26
+ reason?: string | undefined;
27
+ /**
28
+ * @internal
29
+ */
30
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
31
+ }
32
+ /**
33
+ * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
34
+ * @public
35
+ */
36
+ export declare class ResourceNotFoundException extends __BaseException {
37
+ readonly name: "ResourceNotFoundException";
38
+ readonly $fault: "client";
39
+ /**
40
+ * @internal
41
+ */
42
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
43
+ }
44
+ /**
45
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
46
+ * @public
47
+ */
48
+ export declare class ThrottlingException extends __BaseException {
49
+ readonly name: "ThrottlingException";
50
+ readonly $fault: "client";
51
+ /**
52
+ * @internal
53
+ */
54
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
55
+ }
56
+ /**
57
+ * <p>Input validation failed. Check your request parameters and retry the request.</p>
58
+ * @public
59
+ */
60
+ export declare class ValidationException extends __BaseException {
61
+ readonly name: "ValidationException";
62
+ readonly $fault: "client";
63
+ /**
64
+ * @internal
65
+ */
66
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
67
+ }
68
+ /**
69
+ * <p>There was an issue with a dependency due to a server issue. Retry your request.</p>
70
+ * @public
71
+ */
72
+ export declare class BadGatewayException extends __BaseException {
73
+ readonly name: "BadGatewayException";
74
+ readonly $fault: "server";
75
+ /**
76
+ * <p>The name of the dependency that caused the issue, such as Amazon Bedrock, Lambda, or STS.</p>
77
+ * @public
78
+ */
79
+ resourceName?: string | undefined;
80
+ /**
81
+ * @internal
82
+ */
83
+ constructor(opts: __ExceptionOptionType<BadGatewayException, __BaseException>);
84
+ }
85
+ /**
86
+ * <p>There was a conflict performing an operation. Resolve the conflict and retry your request.</p>
87
+ * @public
88
+ */
89
+ export declare class ConflictException extends __BaseException {
90
+ readonly name: "ConflictException";
91
+ readonly $fault: "client";
92
+ /**
93
+ * @internal
94
+ */
95
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
96
+ }
97
+ /**
98
+ * <p>There was an issue with a dependency. Check the resource configurations and retry the request.</p>
99
+ * @public
100
+ */
101
+ export declare class DependencyFailedException extends __BaseException {
102
+ readonly name: "DependencyFailedException";
103
+ readonly $fault: "client";
104
+ /**
105
+ * <p>The name of the dependency that caused the issue, such as Amazon Bedrock, Lambda, or STS.</p>
106
+ * @public
107
+ */
108
+ resourceName?: string | undefined;
109
+ /**
110
+ * @internal
111
+ */
112
+ constructor(opts: __ExceptionOptionType<DependencyFailedException, __BaseException>);
113
+ }
114
+ /**
115
+ * <p>The number of requests exceeds the service quota. Resubmit your request later.</p>
116
+ * @public
117
+ */
118
+ export declare class ServiceQuotaExceededException extends __BaseException {
119
+ readonly name: "ServiceQuotaExceededException";
120
+ readonly $fault: "client";
121
+ /**
122
+ * @internal
123
+ */
124
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
125
+ }
126
+ /**
127
+ * <p> The model specified in the request is not ready to serve inference requests. The AWS SDK will automatically retry the operation up to 5 times. For information about configuring automatic retries, see <a href="https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html">Retry behavior</a> in the <i>AWS SDKs and Tools</i> reference guide. </p>
128
+ * @public
129
+ */
130
+ export declare class ModelNotReadyException extends __BaseException {
131
+ readonly name: "ModelNotReadyException";
132
+ readonly $fault: "client";
133
+ /**
134
+ * @internal
135
+ */
136
+ constructor(opts: __ExceptionOptionType<ModelNotReadyException, __BaseException>);
137
+ }