@aws-sdk/client-bedrock-data-automation 3.706.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 (139) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +293 -0
  3. package/dist-cjs/BedrockDataAutomation.js +33 -0
  4. package/dist-cjs/BedrockDataAutomationClient.js +50 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/CreateBlueprintCommand.js +27 -0
  8. package/dist-cjs/commands/CreateBlueprintVersionCommand.js +27 -0
  9. package/dist-cjs/commands/CreateDataAutomationProjectCommand.js +27 -0
  10. package/dist-cjs/commands/DeleteBlueprintCommand.js +26 -0
  11. package/dist-cjs/commands/DeleteDataAutomationProjectCommand.js +26 -0
  12. package/dist-cjs/commands/GetBlueprintCommand.js +27 -0
  13. package/dist-cjs/commands/GetDataAutomationProjectCommand.js +27 -0
  14. package/dist-cjs/commands/ListBlueprintsCommand.js +27 -0
  15. package/dist-cjs/commands/ListDataAutomationProjectsCommand.js +27 -0
  16. package/dist-cjs/commands/UpdateBlueprintCommand.js +27 -0
  17. package/dist-cjs/commands/UpdateDataAutomationProjectCommand.js +27 -0
  18. package/dist-cjs/commands/index.js +14 -0
  19. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  20. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  21. package/dist-cjs/endpoint/ruleset.js +7 -0
  22. package/dist-cjs/extensionConfiguration.js +2 -0
  23. package/dist-cjs/index.js +11 -0
  24. package/dist-cjs/models/BedrockDataAutomationServiceException.js +12 -0
  25. package/dist-cjs/models/index.js +4 -0
  26. package/dist-cjs/models/models_0.js +252 -0
  27. package/dist-cjs/pagination/Interfaces.js +2 -0
  28. package/dist-cjs/pagination/ListBlueprintsPaginator.js +7 -0
  29. package/dist-cjs/pagination/ListDataAutomationProjectsPaginator.js +7 -0
  30. package/dist-cjs/pagination/index.js +6 -0
  31. package/dist-cjs/protocols/Aws_restJson1.js +560 -0
  32. package/dist-cjs/runtimeConfig.browser.js +39 -0
  33. package/dist-cjs/runtimeConfig.js +50 -0
  34. package/dist-cjs/runtimeConfig.native.js +15 -0
  35. package/dist-cjs/runtimeConfig.shared.js +34 -0
  36. package/dist-cjs/runtimeExtensions.js +25 -0
  37. package/dist-es/BedrockDataAutomation.js +29 -0
  38. package/dist-es/BedrockDataAutomationClient.js +46 -0
  39. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  40. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  41. package/dist-es/commands/CreateBlueprintCommand.js +23 -0
  42. package/dist-es/commands/CreateBlueprintVersionCommand.js +23 -0
  43. package/dist-es/commands/CreateDataAutomationProjectCommand.js +23 -0
  44. package/dist-es/commands/DeleteBlueprintCommand.js +22 -0
  45. package/dist-es/commands/DeleteDataAutomationProjectCommand.js +22 -0
  46. package/dist-es/commands/GetBlueprintCommand.js +23 -0
  47. package/dist-es/commands/GetDataAutomationProjectCommand.js +23 -0
  48. package/dist-es/commands/ListBlueprintsCommand.js +23 -0
  49. package/dist-es/commands/ListDataAutomationProjectsCommand.js +23 -0
  50. package/dist-es/commands/UpdateBlueprintCommand.js +23 -0
  51. package/dist-es/commands/UpdateDataAutomationProjectCommand.js +23 -0
  52. package/dist-es/commands/index.js +11 -0
  53. package/dist-es/endpoint/EndpointParameters.js +14 -0
  54. package/dist-es/endpoint/endpointResolver.js +14 -0
  55. package/dist-es/endpoint/ruleset.js +4 -0
  56. package/dist-es/extensionConfiguration.js +1 -0
  57. package/dist-es/index.js +6 -0
  58. package/dist-es/models/BedrockDataAutomationServiceException.js +8 -0
  59. package/dist-es/models/index.js +1 -0
  60. package/dist-es/models/models_0.js +227 -0
  61. package/dist-es/pagination/Interfaces.js +1 -0
  62. package/dist-es/pagination/ListBlueprintsPaginator.js +4 -0
  63. package/dist-es/pagination/ListDataAutomationProjectsPaginator.js +4 -0
  64. package/dist-es/pagination/index.js +3 -0
  65. package/dist-es/protocols/Aws_restJson1.js +535 -0
  66. package/dist-es/runtimeConfig.browser.js +34 -0
  67. package/dist-es/runtimeConfig.js +45 -0
  68. package/dist-es/runtimeConfig.native.js +11 -0
  69. package/dist-es/runtimeConfig.shared.js +30 -0
  70. package/dist-es/runtimeExtensions.js +21 -0
  71. package/dist-types/BedrockDataAutomation.d.ts +89 -0
  72. package/dist-types/BedrockDataAutomationClient.d.ts +180 -0
  73. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  74. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  75. package/dist-types/commands/CreateBlueprintCommand.d.ts +112 -0
  76. package/dist-types/commands/CreateBlueprintVersionCommand.d.ts +103 -0
  77. package/dist-types/commands/CreateDataAutomationProjectCommand.d.ts +197 -0
  78. package/dist-types/commands/DeleteBlueprintCommand.d.ts +85 -0
  79. package/dist-types/commands/DeleteDataAutomationProjectCommand.d.ts +87 -0
  80. package/dist-types/commands/GetBlueprintCommand.d.ts +101 -0
  81. package/dist-types/commands/GetDataAutomationProjectCommand.d.ts +196 -0
  82. package/dist-types/commands/ListBlueprintsCommand.d.ts +104 -0
  83. package/dist-types/commands/ListDataAutomationProjectsCommand.d.ts +102 -0
  84. package/dist-types/commands/UpdateBlueprintCommand.d.ts +104 -0
  85. package/dist-types/commands/UpdateDataAutomationProjectCommand.d.ts +190 -0
  86. package/dist-types/commands/index.d.ts +11 -0
  87. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  88. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  89. package/dist-types/endpoint/ruleset.d.ts +2 -0
  90. package/dist-types/extensionConfiguration.d.ts +9 -0
  91. package/dist-types/index.d.ts +14 -0
  92. package/dist-types/models/BedrockDataAutomationServiceException.d.ts +14 -0
  93. package/dist-types/models/index.d.ts +1 -0
  94. package/dist-types/models/models_0.d.ts +1453 -0
  95. package/dist-types/pagination/Interfaces.d.ts +8 -0
  96. package/dist-types/pagination/ListBlueprintsPaginator.d.ts +7 -0
  97. package/dist-types/pagination/ListDataAutomationProjectsPaginator.d.ts +7 -0
  98. package/dist-types/pagination/index.d.ts +3 -0
  99. package/dist-types/protocols/Aws_restJson1.d.ts +101 -0
  100. package/dist-types/runtimeConfig.browser.d.ts +48 -0
  101. package/dist-types/runtimeConfig.d.ts +48 -0
  102. package/dist-types/runtimeConfig.native.d.ts +47 -0
  103. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  104. package/dist-types/runtimeExtensions.d.ts +17 -0
  105. package/dist-types/ts3.4/BedrockDataAutomation.d.ts +196 -0
  106. package/dist-types/ts3.4/BedrockDataAutomationClient.d.ts +187 -0
  107. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  108. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  109. package/dist-types/ts3.4/commands/CreateBlueprintCommand.d.ts +50 -0
  110. package/dist-types/ts3.4/commands/CreateBlueprintVersionCommand.d.ts +51 -0
  111. package/dist-types/ts3.4/commands/CreateDataAutomationProjectCommand.d.ts +51 -0
  112. package/dist-types/ts3.4/commands/DeleteBlueprintCommand.d.ts +50 -0
  113. package/dist-types/ts3.4/commands/DeleteDataAutomationProjectCommand.d.ts +51 -0
  114. package/dist-types/ts3.4/commands/GetBlueprintCommand.d.ts +47 -0
  115. package/dist-types/ts3.4/commands/GetDataAutomationProjectCommand.d.ts +51 -0
  116. package/dist-types/ts3.4/commands/ListBlueprintsCommand.d.ts +50 -0
  117. package/dist-types/ts3.4/commands/ListDataAutomationProjectsCommand.d.ts +51 -0
  118. package/dist-types/ts3.4/commands/UpdateBlueprintCommand.d.ts +50 -0
  119. package/dist-types/ts3.4/commands/UpdateDataAutomationProjectCommand.d.ts +51 -0
  120. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  121. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  122. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  123. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  124. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  125. package/dist-types/ts3.4/index.d.ts +9 -0
  126. package/dist-types/ts3.4/models/BedrockDataAutomationServiceException.d.ts +9 -0
  127. package/dist-types/ts3.4/models/index.d.ts +1 -0
  128. package/dist-types/ts3.4/models/models_0.d.ts +463 -0
  129. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  130. package/dist-types/ts3.4/pagination/ListBlueprintsPaginator.d.ts +11 -0
  131. package/dist-types/ts3.4/pagination/ListDataAutomationProjectsPaginator.d.ts +11 -0
  132. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  133. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +137 -0
  134. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
  135. package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
  136. package/dist-types/ts3.4/runtimeConfig.native.d.ts +89 -0
  137. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
  138. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  139. package/package.json +103 -0
@@ -0,0 +1,197 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockDataAutomationClient";
4
+ import { CreateDataAutomationProjectRequest, CreateDataAutomationProjectResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateDataAutomationProjectCommand}.
14
+ */
15
+ export interface CreateDataAutomationProjectCommandInput extends CreateDataAutomationProjectRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateDataAutomationProjectCommand}.
21
+ */
22
+ export interface CreateDataAutomationProjectCommandOutput extends CreateDataAutomationProjectResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateDataAutomationProjectCommand_base: {
25
+ new (input: CreateDataAutomationProjectCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDataAutomationProjectCommandInput, CreateDataAutomationProjectCommandOutput, BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateDataAutomationProjectCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDataAutomationProjectCommandInput, CreateDataAutomationProjectCommandOutput, BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Creates an Amazon Bedrock Keystone DataAutomationProject
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockDataAutomationClient, CreateDataAutomationProjectCommand } from "@aws-sdk/client-bedrock-data-automation"; // ES Modules import
35
+ * // const { BedrockDataAutomationClient, CreateDataAutomationProjectCommand } = require("@aws-sdk/client-bedrock-data-automation"); // CommonJS import
36
+ * const client = new BedrockDataAutomationClient(config);
37
+ * const input = { // CreateDataAutomationProjectRequest
38
+ * projectName: "STRING_VALUE", // required
39
+ * projectDescription: "STRING_VALUE",
40
+ * projectStage: "DEVELOPMENT" || "LIVE",
41
+ * standardOutputConfiguration: { // StandardOutputConfiguration
42
+ * document: { // DocumentStandardOutputConfiguration
43
+ * extraction: { // DocumentStandardExtraction
44
+ * granularity: { // DocumentExtractionGranularity
45
+ * types: [ // DocumentExtractionGranularityTypes
46
+ * "DOCUMENT" || "PAGE" || "ELEMENT" || "WORD" || "LINE",
47
+ * ],
48
+ * },
49
+ * boundingBox: { // DocumentBoundingBox
50
+ * state: "ENABLED" || "DISABLED", // required
51
+ * },
52
+ * },
53
+ * generativeField: { // DocumentStandardGenerativeField
54
+ * state: "ENABLED" || "DISABLED", // required
55
+ * },
56
+ * outputFormat: { // DocumentOutputFormat
57
+ * textFormat: { // DocumentOutputTextFormat
58
+ * types: [ // DocumentOutputTextFormatTypes
59
+ * "PLAIN_TEXT" || "MARKDOWN" || "HTML" || "CSV",
60
+ * ],
61
+ * },
62
+ * additionalFileFormat: { // DocumentOutputAdditionalFileFormat
63
+ * state: "ENABLED" || "DISABLED", // required
64
+ * },
65
+ * },
66
+ * },
67
+ * image: { // ImageStandardOutputConfiguration
68
+ * extraction: { // ImageStandardExtraction
69
+ * category: { // ImageExtractionCategory
70
+ * state: "ENABLED" || "DISABLED", // required
71
+ * types: [ // ImageExtractionCategoryTypes
72
+ * "CONTENT_MODERATION" || "TEXT_DETECTION",
73
+ * ],
74
+ * },
75
+ * boundingBox: { // ImageBoundingBox
76
+ * state: "ENABLED" || "DISABLED", // required
77
+ * },
78
+ * },
79
+ * generativeField: { // ImageStandardGenerativeField
80
+ * state: "ENABLED" || "DISABLED", // required
81
+ * types: [ // ImageStandardGenerativeFieldTypes
82
+ * "IMAGE_SUMMARY" || "IAB",
83
+ * ],
84
+ * },
85
+ * },
86
+ * video: { // VideoStandardOutputConfiguration
87
+ * extraction: { // VideoStandardExtraction
88
+ * category: { // VideoExtractionCategory
89
+ * state: "ENABLED" || "DISABLED", // required
90
+ * types: [ // VideoExtractionCategoryTypes
91
+ * "CONTENT_MODERATION" || "TEXT_DETECTION" || "TRANSCRIPT",
92
+ * ],
93
+ * },
94
+ * boundingBox: { // VideoBoundingBox
95
+ * state: "ENABLED" || "DISABLED", // required
96
+ * },
97
+ * },
98
+ * generativeField: { // VideoStandardGenerativeField
99
+ * state: "ENABLED" || "DISABLED", // required
100
+ * types: [ // VideoStandardGenerativeFieldTypes
101
+ * "VIDEO_SUMMARY" || "SCENE_SUMMARY" || "IAB",
102
+ * ],
103
+ * },
104
+ * },
105
+ * audio: { // AudioStandardOutputConfiguration
106
+ * extraction: { // AudioStandardExtraction
107
+ * category: { // AudioExtractionCategory
108
+ * state: "ENABLED" || "DISABLED", // required
109
+ * types: [ // AudioExtractionCategoryTypes
110
+ * "AUDIO_CONTENT_MODERATION" || "CHAPTER_CONTENT_MODERATION" || "TRANSCRIPT",
111
+ * ],
112
+ * },
113
+ * },
114
+ * generativeField: { // AudioStandardGenerativeField
115
+ * state: "ENABLED" || "DISABLED", // required
116
+ * types: [ // AudioStandardGenerativeFieldTypes
117
+ * "AUDIO_SUMMARY" || "CHAPTER_SUMMARY" || "IAB",
118
+ * ],
119
+ * },
120
+ * },
121
+ * },
122
+ * customOutputConfiguration: { // CustomOutputConfiguration
123
+ * blueprints: [ // BlueprintItems
124
+ * { // BlueprintItem
125
+ * blueprintArn: "STRING_VALUE", // required
126
+ * blueprintVersion: "STRING_VALUE",
127
+ * blueprintStage: "DEVELOPMENT" || "LIVE",
128
+ * },
129
+ * ],
130
+ * },
131
+ * overrideConfiguration: { // OverrideConfiguration
132
+ * document: { // DocumentOverrideConfiguration
133
+ * splitter: { // SplitterConfiguration
134
+ * state: "ENABLED" || "DISABLED",
135
+ * },
136
+ * },
137
+ * },
138
+ * clientToken: "STRING_VALUE",
139
+ * encryptionConfiguration: { // EncryptionConfiguration
140
+ * kmsKeyId: "STRING_VALUE", // required
141
+ * kmsEncryptionContext: { // KmsEncryptionContext
142
+ * "<keys>": "STRING_VALUE",
143
+ * },
144
+ * },
145
+ * };
146
+ * const command = new CreateDataAutomationProjectCommand(input);
147
+ * const response = await client.send(command);
148
+ * // { // CreateDataAutomationProjectResponse
149
+ * // projectArn: "STRING_VALUE", // required
150
+ * // projectStage: "DEVELOPMENT" || "LIVE",
151
+ * // status: "COMPLETED" || "IN_PROGRESS" || "FAILED",
152
+ * // };
153
+ *
154
+ * ```
155
+ *
156
+ * @param CreateDataAutomationProjectCommandInput - {@link CreateDataAutomationProjectCommandInput}
157
+ * @returns {@link CreateDataAutomationProjectCommandOutput}
158
+ * @see {@link CreateDataAutomationProjectCommandInput} for command's `input` shape.
159
+ * @see {@link CreateDataAutomationProjectCommandOutput} for command's `response` shape.
160
+ * @see {@link BedrockDataAutomationClientResolvedConfig | config} for BedrockDataAutomationClient's `config` shape.
161
+ *
162
+ * @throws {@link AccessDeniedException} (client fault)
163
+ * This exception is thrown when a request is denied per access permissions
164
+ *
165
+ * @throws {@link ConflictException} (client fault)
166
+ * This exception is thrown when there is a conflict performing an operation
167
+ *
168
+ * @throws {@link InternalServerException} (server fault)
169
+ * This exception is thrown if there was an unexpected error during processing of request
170
+ *
171
+ * @throws {@link ServiceQuotaExceededException} (client fault)
172
+ * This exception is thrown when a request is made beyond the service quota
173
+ *
174
+ * @throws {@link ThrottlingException} (client fault)
175
+ * This exception is thrown when the number of requests exceeds the limit
176
+ *
177
+ * @throws {@link ValidationException} (client fault)
178
+ * This exception is thrown when the request's input validation fails
179
+ *
180
+ * @throws {@link BedrockDataAutomationServiceException}
181
+ * <p>Base exception class for all service exceptions from BedrockDataAutomation service.</p>
182
+ *
183
+ * @public
184
+ */
185
+ export declare class CreateDataAutomationProjectCommand extends CreateDataAutomationProjectCommand_base {
186
+ /** @internal type navigation helper, not in runtime. */
187
+ protected static __types: {
188
+ api: {
189
+ input: CreateDataAutomationProjectRequest;
190
+ output: CreateDataAutomationProjectResponse;
191
+ };
192
+ sdk: {
193
+ input: CreateDataAutomationProjectCommandInput;
194
+ output: CreateDataAutomationProjectCommandOutput;
195
+ };
196
+ };
197
+ }
@@ -0,0 +1,85 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockDataAutomationClient";
4
+ import { DeleteBlueprintRequest, DeleteBlueprintResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteBlueprintCommand}.
14
+ */
15
+ export interface DeleteBlueprintCommandInput extends DeleteBlueprintRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteBlueprintCommand}.
21
+ */
22
+ export interface DeleteBlueprintCommandOutput extends DeleteBlueprintResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteBlueprintCommand_base: {
25
+ new (input: DeleteBlueprintCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBlueprintCommandInput, DeleteBlueprintCommandOutput, BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteBlueprintCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBlueprintCommandInput, DeleteBlueprintCommandOutput, BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Deletes an existing Amazon Bedrock Keystone Blueprint
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockDataAutomationClient, DeleteBlueprintCommand } from "@aws-sdk/client-bedrock-data-automation"; // ES Modules import
35
+ * // const { BedrockDataAutomationClient, DeleteBlueprintCommand } = require("@aws-sdk/client-bedrock-data-automation"); // CommonJS import
36
+ * const client = new BedrockDataAutomationClient(config);
37
+ * const input = { // DeleteBlueprintRequest
38
+ * blueprintArn: "STRING_VALUE", // required
39
+ * blueprintVersion: "STRING_VALUE",
40
+ * };
41
+ * const command = new DeleteBlueprintCommand(input);
42
+ * const response = await client.send(command);
43
+ * // {};
44
+ *
45
+ * ```
46
+ *
47
+ * @param DeleteBlueprintCommandInput - {@link DeleteBlueprintCommandInput}
48
+ * @returns {@link DeleteBlueprintCommandOutput}
49
+ * @see {@link DeleteBlueprintCommandInput} for command's `input` shape.
50
+ * @see {@link DeleteBlueprintCommandOutput} for command's `response` shape.
51
+ * @see {@link BedrockDataAutomationClientResolvedConfig | config} for BedrockDataAutomationClient's `config` shape.
52
+ *
53
+ * @throws {@link AccessDeniedException} (client fault)
54
+ * This exception is thrown when a request is denied per access permissions
55
+ *
56
+ * @throws {@link InternalServerException} (server fault)
57
+ * This exception is thrown if there was an unexpected error during processing of request
58
+ *
59
+ * @throws {@link ResourceNotFoundException} (client fault)
60
+ * This exception is thrown when a resource referenced by the operation does not exist
61
+ *
62
+ * @throws {@link ThrottlingException} (client fault)
63
+ * This exception is thrown when the number of requests exceeds the limit
64
+ *
65
+ * @throws {@link ValidationException} (client fault)
66
+ * This exception is thrown when the request's input validation fails
67
+ *
68
+ * @throws {@link BedrockDataAutomationServiceException}
69
+ * <p>Base exception class for all service exceptions from BedrockDataAutomation service.</p>
70
+ *
71
+ * @public
72
+ */
73
+ export declare class DeleteBlueprintCommand extends DeleteBlueprintCommand_base {
74
+ /** @internal type navigation helper, not in runtime. */
75
+ protected static __types: {
76
+ api: {
77
+ input: DeleteBlueprintRequest;
78
+ output: {};
79
+ };
80
+ sdk: {
81
+ input: DeleteBlueprintCommandInput;
82
+ output: DeleteBlueprintCommandOutput;
83
+ };
84
+ };
85
+ }
@@ -0,0 +1,87 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockDataAutomationClient";
4
+ import { DeleteDataAutomationProjectRequest, DeleteDataAutomationProjectResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteDataAutomationProjectCommand}.
14
+ */
15
+ export interface DeleteDataAutomationProjectCommandInput extends DeleteDataAutomationProjectRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteDataAutomationProjectCommand}.
21
+ */
22
+ export interface DeleteDataAutomationProjectCommandOutput extends DeleteDataAutomationProjectResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteDataAutomationProjectCommand_base: {
25
+ new (input: DeleteDataAutomationProjectCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDataAutomationProjectCommandInput, DeleteDataAutomationProjectCommandOutput, BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteDataAutomationProjectCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDataAutomationProjectCommandInput, DeleteDataAutomationProjectCommandOutput, BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Deletes an existing Amazon Bedrock Keystone DataAutomationProject
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockDataAutomationClient, DeleteDataAutomationProjectCommand } from "@aws-sdk/client-bedrock-data-automation"; // ES Modules import
35
+ * // const { BedrockDataAutomationClient, DeleteDataAutomationProjectCommand } = require("@aws-sdk/client-bedrock-data-automation"); // CommonJS import
36
+ * const client = new BedrockDataAutomationClient(config);
37
+ * const input = { // DeleteDataAutomationProjectRequest
38
+ * projectArn: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DeleteDataAutomationProjectCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // DeleteDataAutomationProjectResponse
43
+ * // projectArn: "STRING_VALUE", // required
44
+ * // status: "COMPLETED" || "IN_PROGRESS" || "FAILED",
45
+ * // };
46
+ *
47
+ * ```
48
+ *
49
+ * @param DeleteDataAutomationProjectCommandInput - {@link DeleteDataAutomationProjectCommandInput}
50
+ * @returns {@link DeleteDataAutomationProjectCommandOutput}
51
+ * @see {@link DeleteDataAutomationProjectCommandInput} for command's `input` shape.
52
+ * @see {@link DeleteDataAutomationProjectCommandOutput} for command's `response` shape.
53
+ * @see {@link BedrockDataAutomationClientResolvedConfig | config} for BedrockDataAutomationClient's `config` shape.
54
+ *
55
+ * @throws {@link AccessDeniedException} (client fault)
56
+ * This exception is thrown when a request is denied per access permissions
57
+ *
58
+ * @throws {@link InternalServerException} (server fault)
59
+ * This exception is thrown if there was an unexpected error during processing of request
60
+ *
61
+ * @throws {@link ResourceNotFoundException} (client fault)
62
+ * This exception is thrown when a resource referenced by the operation does not exist
63
+ *
64
+ * @throws {@link ThrottlingException} (client fault)
65
+ * This exception is thrown when the number of requests exceeds the limit
66
+ *
67
+ * @throws {@link ValidationException} (client fault)
68
+ * This exception is thrown when the request's input validation fails
69
+ *
70
+ * @throws {@link BedrockDataAutomationServiceException}
71
+ * <p>Base exception class for all service exceptions from BedrockDataAutomation service.</p>
72
+ *
73
+ * @public
74
+ */
75
+ export declare class DeleteDataAutomationProjectCommand extends DeleteDataAutomationProjectCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: DeleteDataAutomationProjectRequest;
80
+ output: DeleteDataAutomationProjectResponse;
81
+ };
82
+ sdk: {
83
+ input: DeleteDataAutomationProjectCommandInput;
84
+ output: DeleteDataAutomationProjectCommandOutput;
85
+ };
86
+ };
87
+ }
@@ -0,0 +1,101 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockDataAutomationClient";
4
+ import { GetBlueprintRequest, GetBlueprintResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetBlueprintCommand}.
14
+ */
15
+ export interface GetBlueprintCommandInput extends GetBlueprintRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetBlueprintCommand}.
21
+ */
22
+ export interface GetBlueprintCommandOutput extends GetBlueprintResponse, __MetadataBearer {
23
+ }
24
+ declare const GetBlueprintCommand_base: {
25
+ new (input: GetBlueprintCommandInput): import("@smithy/smithy-client").CommandImpl<GetBlueprintCommandInput, GetBlueprintCommandOutput, BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetBlueprintCommandInput): import("@smithy/smithy-client").CommandImpl<GetBlueprintCommandInput, GetBlueprintCommandOutput, BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Gets an existing Amazon Bedrock Keystone Blueprint
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockDataAutomationClient, GetBlueprintCommand } from "@aws-sdk/client-bedrock-data-automation"; // ES Modules import
35
+ * // const { BedrockDataAutomationClient, GetBlueprintCommand } = require("@aws-sdk/client-bedrock-data-automation"); // CommonJS import
36
+ * const client = new BedrockDataAutomationClient(config);
37
+ * const input = { // GetBlueprintRequest
38
+ * blueprintArn: "STRING_VALUE", // required
39
+ * blueprintVersion: "STRING_VALUE",
40
+ * blueprintStage: "DEVELOPMENT" || "LIVE",
41
+ * };
42
+ * const command = new GetBlueprintCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetBlueprintResponse
45
+ * // blueprint: { // Blueprint
46
+ * // blueprintArn: "STRING_VALUE", // required
47
+ * // schema: "STRING_VALUE", // required
48
+ * // type: "DOCUMENT" || "IMAGE", // required
49
+ * // creationTime: new Date("TIMESTAMP"), // required
50
+ * // lastModifiedTime: new Date("TIMESTAMP"), // required
51
+ * // blueprintName: "STRING_VALUE", // required
52
+ * // blueprintVersion: "STRING_VALUE",
53
+ * // blueprintStage: "DEVELOPMENT" || "LIVE",
54
+ * // kmsKeyId: "STRING_VALUE",
55
+ * // kmsEncryptionContext: { // KmsEncryptionContext
56
+ * // "<keys>": "STRING_VALUE",
57
+ * // },
58
+ * // },
59
+ * // };
60
+ *
61
+ * ```
62
+ *
63
+ * @param GetBlueprintCommandInput - {@link GetBlueprintCommandInput}
64
+ * @returns {@link GetBlueprintCommandOutput}
65
+ * @see {@link GetBlueprintCommandInput} for command's `input` shape.
66
+ * @see {@link GetBlueprintCommandOutput} for command's `response` shape.
67
+ * @see {@link BedrockDataAutomationClientResolvedConfig | config} for BedrockDataAutomationClient's `config` shape.
68
+ *
69
+ * @throws {@link AccessDeniedException} (client fault)
70
+ * This exception is thrown when a request is denied per access permissions
71
+ *
72
+ * @throws {@link InternalServerException} (server fault)
73
+ * This exception is thrown if there was an unexpected error during processing of request
74
+ *
75
+ * @throws {@link ResourceNotFoundException} (client fault)
76
+ * This exception is thrown when a resource referenced by the operation does not exist
77
+ *
78
+ * @throws {@link ThrottlingException} (client fault)
79
+ * This exception is thrown when the number of requests exceeds the limit
80
+ *
81
+ * @throws {@link ValidationException} (client fault)
82
+ * This exception is thrown when the request's input validation fails
83
+ *
84
+ * @throws {@link BedrockDataAutomationServiceException}
85
+ * <p>Base exception class for all service exceptions from BedrockDataAutomation service.</p>
86
+ *
87
+ * @public
88
+ */
89
+ export declare class GetBlueprintCommand extends GetBlueprintCommand_base {
90
+ /** @internal type navigation helper, not in runtime. */
91
+ protected static __types: {
92
+ api: {
93
+ input: GetBlueprintRequest;
94
+ output: GetBlueprintResponse;
95
+ };
96
+ sdk: {
97
+ input: GetBlueprintCommandInput;
98
+ output: GetBlueprintCommandOutput;
99
+ };
100
+ };
101
+ }
@@ -0,0 +1,196 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockDataAutomationClient";
4
+ import { GetDataAutomationProjectRequest, GetDataAutomationProjectResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetDataAutomationProjectCommand}.
14
+ */
15
+ export interface GetDataAutomationProjectCommandInput extends GetDataAutomationProjectRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetDataAutomationProjectCommand}.
21
+ */
22
+ export interface GetDataAutomationProjectCommandOutput extends GetDataAutomationProjectResponse, __MetadataBearer {
23
+ }
24
+ declare const GetDataAutomationProjectCommand_base: {
25
+ new (input: GetDataAutomationProjectCommandInput): import("@smithy/smithy-client").CommandImpl<GetDataAutomationProjectCommandInput, GetDataAutomationProjectCommandOutput, BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetDataAutomationProjectCommandInput): import("@smithy/smithy-client").CommandImpl<GetDataAutomationProjectCommandInput, GetDataAutomationProjectCommandOutput, BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Gets an existing Amazon Bedrock Keystone DataAutomationProject
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockDataAutomationClient, GetDataAutomationProjectCommand } from "@aws-sdk/client-bedrock-data-automation"; // ES Modules import
35
+ * // const { BedrockDataAutomationClient, GetDataAutomationProjectCommand } = require("@aws-sdk/client-bedrock-data-automation"); // CommonJS import
36
+ * const client = new BedrockDataAutomationClient(config);
37
+ * const input = { // GetDataAutomationProjectRequest
38
+ * projectArn: "STRING_VALUE", // required
39
+ * projectStage: "DEVELOPMENT" || "LIVE",
40
+ * };
41
+ * const command = new GetDataAutomationProjectCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // GetDataAutomationProjectResponse
44
+ * // project: { // DataAutomationProject
45
+ * // projectArn: "STRING_VALUE", // required
46
+ * // creationTime: new Date("TIMESTAMP"), // required
47
+ * // lastModifiedTime: new Date("TIMESTAMP"), // required
48
+ * // projectName: "STRING_VALUE", // required
49
+ * // projectStage: "DEVELOPMENT" || "LIVE",
50
+ * // projectDescription: "STRING_VALUE",
51
+ * // standardOutputConfiguration: { // StandardOutputConfiguration
52
+ * // document: { // DocumentStandardOutputConfiguration
53
+ * // extraction: { // DocumentStandardExtraction
54
+ * // granularity: { // DocumentExtractionGranularity
55
+ * // types: [ // DocumentExtractionGranularityTypes
56
+ * // "DOCUMENT" || "PAGE" || "ELEMENT" || "WORD" || "LINE",
57
+ * // ],
58
+ * // },
59
+ * // boundingBox: { // DocumentBoundingBox
60
+ * // state: "ENABLED" || "DISABLED", // required
61
+ * // },
62
+ * // },
63
+ * // generativeField: { // DocumentStandardGenerativeField
64
+ * // state: "ENABLED" || "DISABLED", // required
65
+ * // },
66
+ * // outputFormat: { // DocumentOutputFormat
67
+ * // textFormat: { // DocumentOutputTextFormat
68
+ * // types: [ // DocumentOutputTextFormatTypes
69
+ * // "PLAIN_TEXT" || "MARKDOWN" || "HTML" || "CSV",
70
+ * // ],
71
+ * // },
72
+ * // additionalFileFormat: { // DocumentOutputAdditionalFileFormat
73
+ * // state: "ENABLED" || "DISABLED", // required
74
+ * // },
75
+ * // },
76
+ * // },
77
+ * // image: { // ImageStandardOutputConfiguration
78
+ * // extraction: { // ImageStandardExtraction
79
+ * // category: { // ImageExtractionCategory
80
+ * // state: "ENABLED" || "DISABLED", // required
81
+ * // types: [ // ImageExtractionCategoryTypes
82
+ * // "CONTENT_MODERATION" || "TEXT_DETECTION",
83
+ * // ],
84
+ * // },
85
+ * // boundingBox: { // ImageBoundingBox
86
+ * // state: "ENABLED" || "DISABLED", // required
87
+ * // },
88
+ * // },
89
+ * // generativeField: { // ImageStandardGenerativeField
90
+ * // state: "ENABLED" || "DISABLED", // required
91
+ * // types: [ // ImageStandardGenerativeFieldTypes
92
+ * // "IMAGE_SUMMARY" || "IAB",
93
+ * // ],
94
+ * // },
95
+ * // },
96
+ * // video: { // VideoStandardOutputConfiguration
97
+ * // extraction: { // VideoStandardExtraction
98
+ * // category: { // VideoExtractionCategory
99
+ * // state: "ENABLED" || "DISABLED", // required
100
+ * // types: [ // VideoExtractionCategoryTypes
101
+ * // "CONTENT_MODERATION" || "TEXT_DETECTION" || "TRANSCRIPT",
102
+ * // ],
103
+ * // },
104
+ * // boundingBox: { // VideoBoundingBox
105
+ * // state: "ENABLED" || "DISABLED", // required
106
+ * // },
107
+ * // },
108
+ * // generativeField: { // VideoStandardGenerativeField
109
+ * // state: "ENABLED" || "DISABLED", // required
110
+ * // types: [ // VideoStandardGenerativeFieldTypes
111
+ * // "VIDEO_SUMMARY" || "SCENE_SUMMARY" || "IAB",
112
+ * // ],
113
+ * // },
114
+ * // },
115
+ * // audio: { // AudioStandardOutputConfiguration
116
+ * // extraction: { // AudioStandardExtraction
117
+ * // category: { // AudioExtractionCategory
118
+ * // state: "ENABLED" || "DISABLED", // required
119
+ * // types: [ // AudioExtractionCategoryTypes
120
+ * // "AUDIO_CONTENT_MODERATION" || "CHAPTER_CONTENT_MODERATION" || "TRANSCRIPT",
121
+ * // ],
122
+ * // },
123
+ * // },
124
+ * // generativeField: { // AudioStandardGenerativeField
125
+ * // state: "ENABLED" || "DISABLED", // required
126
+ * // types: [ // AudioStandardGenerativeFieldTypes
127
+ * // "AUDIO_SUMMARY" || "CHAPTER_SUMMARY" || "IAB",
128
+ * // ],
129
+ * // },
130
+ * // },
131
+ * // },
132
+ * // customOutputConfiguration: { // CustomOutputConfiguration
133
+ * // blueprints: [ // BlueprintItems
134
+ * // { // BlueprintItem
135
+ * // blueprintArn: "STRING_VALUE", // required
136
+ * // blueprintVersion: "STRING_VALUE",
137
+ * // blueprintStage: "DEVELOPMENT" || "LIVE",
138
+ * // },
139
+ * // ],
140
+ * // },
141
+ * // overrideConfiguration: { // OverrideConfiguration
142
+ * // document: { // DocumentOverrideConfiguration
143
+ * // splitter: { // SplitterConfiguration
144
+ * // state: "ENABLED" || "DISABLED",
145
+ * // },
146
+ * // },
147
+ * // },
148
+ * // status: "COMPLETED" || "IN_PROGRESS" || "FAILED", // required
149
+ * // kmsKeyId: "STRING_VALUE",
150
+ * // kmsEncryptionContext: { // KmsEncryptionContext
151
+ * // "<keys>": "STRING_VALUE",
152
+ * // },
153
+ * // },
154
+ * // };
155
+ *
156
+ * ```
157
+ *
158
+ * @param GetDataAutomationProjectCommandInput - {@link GetDataAutomationProjectCommandInput}
159
+ * @returns {@link GetDataAutomationProjectCommandOutput}
160
+ * @see {@link GetDataAutomationProjectCommandInput} for command's `input` shape.
161
+ * @see {@link GetDataAutomationProjectCommandOutput} for command's `response` shape.
162
+ * @see {@link BedrockDataAutomationClientResolvedConfig | config} for BedrockDataAutomationClient's `config` shape.
163
+ *
164
+ * @throws {@link AccessDeniedException} (client fault)
165
+ * This exception is thrown when a request is denied per access permissions
166
+ *
167
+ * @throws {@link InternalServerException} (server fault)
168
+ * This exception is thrown if there was an unexpected error during processing of request
169
+ *
170
+ * @throws {@link ResourceNotFoundException} (client fault)
171
+ * This exception is thrown when a resource referenced by the operation does not exist
172
+ *
173
+ * @throws {@link ThrottlingException} (client fault)
174
+ * This exception is thrown when the number of requests exceeds the limit
175
+ *
176
+ * @throws {@link ValidationException} (client fault)
177
+ * This exception is thrown when the request's input validation fails
178
+ *
179
+ * @throws {@link BedrockDataAutomationServiceException}
180
+ * <p>Base exception class for all service exceptions from BedrockDataAutomation service.</p>
181
+ *
182
+ * @public
183
+ */
184
+ export declare class GetDataAutomationProjectCommand extends GetDataAutomationProjectCommand_base {
185
+ /** @internal type navigation helper, not in runtime. */
186
+ protected static __types: {
187
+ api: {
188
+ input: GetDataAutomationProjectRequest;
189
+ output: GetDataAutomationProjectResponse;
190
+ };
191
+ sdk: {
192
+ input: GetDataAutomationProjectCommandInput;
193
+ output: GetDataAutomationProjectCommandOutput;
194
+ };
195
+ };
196
+ }