@aws-sdk/client-bedrock 3.934.0 → 3.936.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/dist-cjs/index.js +389 -389
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +355 -0
- package/dist-es/models/errors.js +123 -0
- package/dist-es/models/models_0.js +1 -355
- package/dist-es/models/models_1.js +1 -123
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/commands/CreateGuardrailCommand.d.ts +1 -1
- package/dist-types/commands/CreateGuardrailVersionCommand.d.ts +1 -1
- package/dist-types/commands/CreateInferenceProfileCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGuardrailCommand.d.ts +1 -1
- package/dist-types/commands/DeleteInferenceProfileCommand.d.ts +1 -1
- package/dist-types/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetGuardrailCommand.d.ts +1 -1
- package/dist-types/commands/GetInferenceProfileCommand.d.ts +1 -1
- package/dist-types/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/ListGuardrailsCommand.d.ts +1 -1
- package/dist-types/commands/ListInferenceProfilesCommand.d.ts +1 -1
- package/dist-types/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/UpdateGuardrailCommand.d.ts +1 -1
- package/dist-types/index.d.ts +4 -1
- package/dist-types/models/enums.d.ts +891 -0
- package/dist-types/models/errors.d.ts +127 -0
- package/dist-types/models/models_0.d.ts +1306 -696
- package/dist-types/models/models_1.d.ts +2 -1628
- package/dist-types/ts3.4/commands/CreateGuardrailCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateGuardrailVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateInferenceProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteGuardrailCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteInferenceProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetGuardrailCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInferenceProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListGuardrailsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInferenceProfilesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateGuardrailCommand.d.ts +1 -1
- package/dist-types/ts3.4/index.d.ts +4 -1
- package/dist-types/ts3.4/models/enums.d.ts +478 -0
- package/dist-types/ts3.4/models/errors.d.ts +71 -0
- package/dist-types/ts3.4/models/models_0.d.ts +371 -380
- package/dist-types/ts3.4/models/models_1.d.ts +30 -520
- package/package.json +20 -20
- package/dist-es/models/index.js +0 -2
- package/dist-types/models/index.d.ts +0 -2
- package/dist-types/ts3.4/models/index.d.ts +0 -2
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { BedrockServiceException as __BaseException } from "./BedrockServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>The request is denied because of missing access permissions.</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
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
32
|
+
readonly name: "ResourceNotFoundException";
|
|
33
|
+
readonly $fault: "client";
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
export declare class ThrottlingException extends __BaseException {
|
|
44
|
+
readonly name: "ThrottlingException";
|
|
45
|
+
readonly $fault: "client";
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
49
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
export declare class ValidationException extends __BaseException {
|
|
56
|
+
readonly name: "ValidationException";
|
|
57
|
+
readonly $fault: "client";
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* <p>Error occurred because of a conflict while performing an operation.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
export declare class ConflictException extends __BaseException {
|
|
68
|
+
readonly name: "ConflictException";
|
|
69
|
+
readonly $fault: "client";
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* <p>The number of requests exceeds the service quota. Resubmit your request later.</p>
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
80
|
+
readonly name: "ServiceQuotaExceededException";
|
|
81
|
+
readonly $fault: "client";
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* <p>The request contains more tags than can be associated with a resource (50 tags per resource). The maximum number of tags includes both existing tags and those included in your current request. </p>
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
92
|
+
readonly name: "TooManyTagsException";
|
|
93
|
+
readonly $fault: "client";
|
|
94
|
+
/**
|
|
95
|
+
* <p>The name of the resource with too many tags.</p>
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
resourceName?: string | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
*/
|
|
102
|
+
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* <p>Thrown when attempting to delete or modify a resource that is currently being used by other resources or operations. For example, trying to delete an Automated Reasoning policy that is referenced by an active guardrail.</p>
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export declare class ResourceInUseException extends __BaseException {
|
|
109
|
+
readonly name: "ResourceInUseException";
|
|
110
|
+
readonly $fault: "client";
|
|
111
|
+
/**
|
|
112
|
+
* @internal
|
|
113
|
+
*/
|
|
114
|
+
constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* <p>Returned if the service cannot complete the request.</p>
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
121
|
+
readonly name: "ServiceUnavailableException";
|
|
122
|
+
readonly $fault: "server";
|
|
123
|
+
/**
|
|
124
|
+
* @internal
|
|
125
|
+
*/
|
|
126
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
127
|
+
}
|