@aws-sdk/client-bedrock-data-automation 3.787.0 → 3.797.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/auth/httpAuthSchemeProvider.js +3 -1
- package/dist-cjs/models/models_0.js +7 -1
- package/dist-es/auth/httpAuthSchemeProvider.js +3 -1
- package/dist-es/models/models_0.js +6 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +15 -1
- package/dist-types/commands/CreateDataAutomationProjectCommand.d.ts +24 -0
- package/dist-types/commands/GetDataAutomationProjectCommand.d.ts +24 -0
- package/dist-types/commands/UpdateDataAutomationProjectCommand.d.ts +24 -0
- package/dist-types/models/models_0.d.ts +109 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +31 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/package.json +5 -5
|
@@ -40,6 +40,8 @@ const defaultBedrockDataAutomationHttpAuthSchemeProvider = (authParameters) => {
|
|
|
40
40
|
exports.defaultBedrockDataAutomationHttpAuthSchemeProvider = defaultBedrockDataAutomationHttpAuthSchemeProvider;
|
|
41
41
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
42
42
|
const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
|
|
43
|
-
return Object.assign(config_0, {
|
|
43
|
+
return Object.assign(config_0, {
|
|
44
|
+
authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
45
|
+
});
|
|
44
46
|
};
|
|
45
47
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateDataAutomationProjectRequestFilterSensitiveLog = exports.ListDataAutomationProjectsResponseFilterSensitiveLog = exports.DataAutomationProjectSummaryFilterSensitiveLog = exports.GetDataAutomationProjectResponseFilterSensitiveLog = exports.DataAutomationProjectFilterSensitiveLog = exports.CreateDataAutomationProjectRequestFilterSensitiveLog = exports.CreateBlueprintVersionResponseFilterSensitiveLog = exports.UpdateBlueprintResponseFilterSensitiveLog = exports.UpdateBlueprintRequestFilterSensitiveLog = exports.ListBlueprintsResponseFilterSensitiveLog = exports.BlueprintSummaryFilterSensitiveLog = exports.GetBlueprintResponseFilterSensitiveLog = exports.CreateBlueprintResponseFilterSensitiveLog = exports.BlueprintFilterSensitiveLog = exports.CreateBlueprintRequestFilterSensitiveLog = exports.DataAutomationProjectStageFilter = exports.DataAutomationProjectStatus = exports.VideoStandardGenerativeFieldType = exports.VideoExtractionCategoryType = exports.ImageStandardGenerativeFieldType = exports.ImageExtractionCategoryType = exports.DocumentOutputTextFormatType = exports.DocumentExtractionGranularityType = exports.AudioStandardGenerativeFieldType = exports.AudioExtractionCategoryType = exports.State = exports.ResourceOwner = exports.DataAutomationProjectStage = exports.BlueprintStageFilter = exports.ResourceNotFoundException = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.Type = exports.BlueprintStage = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
3
|
+
exports.UpdateDataAutomationProjectRequestFilterSensitiveLog = exports.ListDataAutomationProjectsResponseFilterSensitiveLog = exports.DataAutomationProjectSummaryFilterSensitiveLog = exports.GetDataAutomationProjectResponseFilterSensitiveLog = exports.DataAutomationProjectFilterSensitiveLog = exports.CreateDataAutomationProjectRequestFilterSensitiveLog = exports.CreateBlueprintVersionResponseFilterSensitiveLog = exports.UpdateBlueprintResponseFilterSensitiveLog = exports.UpdateBlueprintRequestFilterSensitiveLog = exports.ListBlueprintsResponseFilterSensitiveLog = exports.BlueprintSummaryFilterSensitiveLog = exports.GetBlueprintResponseFilterSensitiveLog = exports.CreateBlueprintResponseFilterSensitiveLog = exports.BlueprintFilterSensitiveLog = exports.CreateBlueprintRequestFilterSensitiveLog = exports.DataAutomationProjectStageFilter = exports.DataAutomationProjectStatus = exports.VideoStandardGenerativeFieldType = exports.VideoExtractionCategoryType = exports.ImageStandardGenerativeFieldType = exports.ImageExtractionCategoryType = exports.DocumentOutputTextFormatType = exports.DocumentExtractionGranularityType = exports.AudioStandardGenerativeFieldType = exports.AudioExtractionCategoryType = exports.DesiredModality = exports.State = exports.ResourceOwner = exports.DataAutomationProjectStage = exports.BlueprintStageFilter = exports.ResourceNotFoundException = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.Type = exports.BlueprintStage = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const BedrockDataAutomationServiceException_1 = require("./BedrockDataAutomationServiceException");
|
|
6
6
|
class AccessDeniedException extends BedrockDataAutomationServiceException_1.BedrockDataAutomationServiceException {
|
|
@@ -121,6 +121,12 @@ exports.State = {
|
|
|
121
121
|
DISABLED: "DISABLED",
|
|
122
122
|
ENABLED: "ENABLED",
|
|
123
123
|
};
|
|
124
|
+
exports.DesiredModality = {
|
|
125
|
+
AUDIO: "AUDIO",
|
|
126
|
+
DOCUMENT: "DOCUMENT",
|
|
127
|
+
IMAGE: "IMAGE",
|
|
128
|
+
VIDEO: "VIDEO",
|
|
129
|
+
};
|
|
124
130
|
exports.AudioExtractionCategoryType = {
|
|
125
131
|
AUDIO_CONTENT_MODERATION: "AUDIO_CONTENT_MODERATION",
|
|
126
132
|
TOPIC_CONTENT_MODERATION: "TOPIC_CONTENT_MODERATION",
|
|
@@ -35,5 +35,7 @@ export const defaultBedrockDataAutomationHttpAuthSchemeProvider = (authParameter
|
|
|
35
35
|
};
|
|
36
36
|
export const resolveHttpAuthSchemeConfig = (config) => {
|
|
37
37
|
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
38
|
-
return Object.assign(config_0, {
|
|
38
|
+
return Object.assign(config_0, {
|
|
39
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
40
|
+
});
|
|
39
41
|
};
|
|
@@ -111,6 +111,12 @@ export const State = {
|
|
|
111
111
|
DISABLED: "DISABLED",
|
|
112
112
|
ENABLED: "ENABLED",
|
|
113
113
|
};
|
|
114
|
+
export const DesiredModality = {
|
|
115
|
+
AUDIO: "AUDIO",
|
|
116
|
+
DOCUMENT: "DOCUMENT",
|
|
117
|
+
IMAGE: "IMAGE",
|
|
118
|
+
VIDEO: "VIDEO",
|
|
119
|
+
};
|
|
114
120
|
export const AudioExtractionCategoryType = {
|
|
115
121
|
AUDIO_CONTENT_MODERATION: "AUDIO_CONTENT_MODERATION",
|
|
116
122
|
TOPIC_CONTENT_MODERATION: "TOPIC_CONTENT_MODERATION",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
-
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
|
|
2
|
+
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
3
|
import { BedrockDataAutomationClientResolvedConfig } from "../BedrockDataAutomationClient";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
@@ -29,6 +29,13 @@ export declare const defaultBedrockDataAutomationHttpAuthSchemeProvider: Bedrock
|
|
|
29
29
|
* @internal
|
|
30
30
|
*/
|
|
31
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
|
+
/**
|
|
33
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
34
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
35
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
32
39
|
/**
|
|
33
40
|
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
34
41
|
* @internal
|
|
@@ -44,6 +51,13 @@ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
|
44
51
|
* @internal
|
|
45
52
|
*/
|
|
46
53
|
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
54
|
+
/**
|
|
55
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
56
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
57
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
47
61
|
/**
|
|
48
62
|
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
49
63
|
* @internal
|
|
@@ -133,6 +133,30 @@ declare const CreateDataAutomationProjectCommand_base: {
|
|
|
133
133
|
* splitter: { // SplitterConfiguration
|
|
134
134
|
* state: "ENABLED" || "DISABLED",
|
|
135
135
|
* },
|
|
136
|
+
* modalityProcessing: { // ModalityProcessingConfiguration
|
|
137
|
+
* state: "ENABLED" || "DISABLED",
|
|
138
|
+
* },
|
|
139
|
+
* },
|
|
140
|
+
* image: { // ImageOverrideConfiguration
|
|
141
|
+
* modalityProcessing: {
|
|
142
|
+
* state: "ENABLED" || "DISABLED",
|
|
143
|
+
* },
|
|
144
|
+
* },
|
|
145
|
+
* video: { // VideoOverrideConfiguration
|
|
146
|
+
* modalityProcessing: {
|
|
147
|
+
* state: "ENABLED" || "DISABLED",
|
|
148
|
+
* },
|
|
149
|
+
* },
|
|
150
|
+
* audio: { // AudioOverrideConfiguration
|
|
151
|
+
* modalityProcessing: {
|
|
152
|
+
* state: "ENABLED" || "DISABLED",
|
|
153
|
+
* },
|
|
154
|
+
* },
|
|
155
|
+
* modalityRouting: { // ModalityRoutingConfiguration
|
|
156
|
+
* jpeg: "IMAGE" || "DOCUMENT" || "AUDIO" || "VIDEO",
|
|
157
|
+
* png: "IMAGE" || "DOCUMENT" || "AUDIO" || "VIDEO",
|
|
158
|
+
* mp4: "IMAGE" || "DOCUMENT" || "AUDIO" || "VIDEO",
|
|
159
|
+
* mov: "IMAGE" || "DOCUMENT" || "AUDIO" || "VIDEO",
|
|
136
160
|
* },
|
|
137
161
|
* },
|
|
138
162
|
* clientToken: "STRING_VALUE",
|
|
@@ -143,6 +143,30 @@ declare const GetDataAutomationProjectCommand_base: {
|
|
|
143
143
|
* // splitter: { // SplitterConfiguration
|
|
144
144
|
* // state: "ENABLED" || "DISABLED",
|
|
145
145
|
* // },
|
|
146
|
+
* // modalityProcessing: { // ModalityProcessingConfiguration
|
|
147
|
+
* // state: "ENABLED" || "DISABLED",
|
|
148
|
+
* // },
|
|
149
|
+
* // },
|
|
150
|
+
* // image: { // ImageOverrideConfiguration
|
|
151
|
+
* // modalityProcessing: {
|
|
152
|
+
* // state: "ENABLED" || "DISABLED",
|
|
153
|
+
* // },
|
|
154
|
+
* // },
|
|
155
|
+
* // video: { // VideoOverrideConfiguration
|
|
156
|
+
* // modalityProcessing: {
|
|
157
|
+
* // state: "ENABLED" || "DISABLED",
|
|
158
|
+
* // },
|
|
159
|
+
* // },
|
|
160
|
+
* // audio: { // AudioOverrideConfiguration
|
|
161
|
+
* // modalityProcessing: {
|
|
162
|
+
* // state: "ENABLED" || "DISABLED",
|
|
163
|
+
* // },
|
|
164
|
+
* // },
|
|
165
|
+
* // modalityRouting: { // ModalityRoutingConfiguration
|
|
166
|
+
* // jpeg: "IMAGE" || "DOCUMENT" || "AUDIO" || "VIDEO",
|
|
167
|
+
* // png: "IMAGE" || "DOCUMENT" || "AUDIO" || "VIDEO",
|
|
168
|
+
* // mp4: "IMAGE" || "DOCUMENT" || "AUDIO" || "VIDEO",
|
|
169
|
+
* // mov: "IMAGE" || "DOCUMENT" || "AUDIO" || "VIDEO",
|
|
146
170
|
* // },
|
|
147
171
|
* // },
|
|
148
172
|
* // status: "COMPLETED" || "IN_PROGRESS" || "FAILED", // required
|
|
@@ -133,6 +133,30 @@ declare const UpdateDataAutomationProjectCommand_base: {
|
|
|
133
133
|
* splitter: { // SplitterConfiguration
|
|
134
134
|
* state: "ENABLED" || "DISABLED",
|
|
135
135
|
* },
|
|
136
|
+
* modalityProcessing: { // ModalityProcessingConfiguration
|
|
137
|
+
* state: "ENABLED" || "DISABLED",
|
|
138
|
+
* },
|
|
139
|
+
* },
|
|
140
|
+
* image: { // ImageOverrideConfiguration
|
|
141
|
+
* modalityProcessing: {
|
|
142
|
+
* state: "ENABLED" || "DISABLED",
|
|
143
|
+
* },
|
|
144
|
+
* },
|
|
145
|
+
* video: { // VideoOverrideConfiguration
|
|
146
|
+
* modalityProcessing: {
|
|
147
|
+
* state: "ENABLED" || "DISABLED",
|
|
148
|
+
* },
|
|
149
|
+
* },
|
|
150
|
+
* audio: { // AudioOverrideConfiguration
|
|
151
|
+
* modalityProcessing: {
|
|
152
|
+
* state: "ENABLED" || "DISABLED",
|
|
153
|
+
* },
|
|
154
|
+
* },
|
|
155
|
+
* modalityRouting: { // ModalityRoutingConfiguration
|
|
156
|
+
* jpeg: "IMAGE" || "DOCUMENT" || "AUDIO" || "VIDEO",
|
|
157
|
+
* png: "IMAGE" || "DOCUMENT" || "AUDIO" || "VIDEO",
|
|
158
|
+
* mp4: "IMAGE" || "DOCUMENT" || "AUDIO" || "VIDEO",
|
|
159
|
+
* mov: "IMAGE" || "DOCUMENT" || "AUDIO" || "VIDEO",
|
|
136
160
|
* },
|
|
137
161
|
* },
|
|
138
162
|
* encryptionConfiguration: { // EncryptionConfiguration
|
|
@@ -572,6 +572,28 @@ export declare const State: {
|
|
|
572
572
|
* @public
|
|
573
573
|
*/
|
|
574
574
|
export type State = (typeof State)[keyof typeof State];
|
|
575
|
+
/**
|
|
576
|
+
* Configuration to enable/disable processing of modality
|
|
577
|
+
* @public
|
|
578
|
+
*/
|
|
579
|
+
export interface ModalityProcessingConfiguration {
|
|
580
|
+
/**
|
|
581
|
+
* State
|
|
582
|
+
* @public
|
|
583
|
+
*/
|
|
584
|
+
state?: State | undefined;
|
|
585
|
+
}
|
|
586
|
+
/**
|
|
587
|
+
* Override Configuration of Audio
|
|
588
|
+
* @public
|
|
589
|
+
*/
|
|
590
|
+
export interface AudioOverrideConfiguration {
|
|
591
|
+
/**
|
|
592
|
+
* Configuration to enable/disable processing of modality
|
|
593
|
+
* @public
|
|
594
|
+
*/
|
|
595
|
+
modalityProcessing?: ModalityProcessingConfiguration | undefined;
|
|
596
|
+
}
|
|
575
597
|
/**
|
|
576
598
|
* Configuration of Splitter
|
|
577
599
|
* @public
|
|
@@ -593,6 +615,73 @@ export interface DocumentOverrideConfiguration {
|
|
|
593
615
|
* @public
|
|
594
616
|
*/
|
|
595
617
|
splitter?: SplitterConfiguration | undefined;
|
|
618
|
+
/**
|
|
619
|
+
* Configuration to enable/disable processing of modality
|
|
620
|
+
* @public
|
|
621
|
+
*/
|
|
622
|
+
modalityProcessing?: ModalityProcessingConfiguration | undefined;
|
|
623
|
+
}
|
|
624
|
+
/**
|
|
625
|
+
* Override Configuration of Image
|
|
626
|
+
* @public
|
|
627
|
+
*/
|
|
628
|
+
export interface ImageOverrideConfiguration {
|
|
629
|
+
/**
|
|
630
|
+
* Configuration to enable/disable processing of modality
|
|
631
|
+
* @public
|
|
632
|
+
*/
|
|
633
|
+
modalityProcessing?: ModalityProcessingConfiguration | undefined;
|
|
634
|
+
}
|
|
635
|
+
/**
|
|
636
|
+
* @public
|
|
637
|
+
* @enum
|
|
638
|
+
*/
|
|
639
|
+
export declare const DesiredModality: {
|
|
640
|
+
readonly AUDIO: "AUDIO";
|
|
641
|
+
readonly DOCUMENT: "DOCUMENT";
|
|
642
|
+
readonly IMAGE: "IMAGE";
|
|
643
|
+
readonly VIDEO: "VIDEO";
|
|
644
|
+
};
|
|
645
|
+
/**
|
|
646
|
+
* @public
|
|
647
|
+
*/
|
|
648
|
+
export type DesiredModality = (typeof DesiredModality)[keyof typeof DesiredModality];
|
|
649
|
+
/**
|
|
650
|
+
* Configuration for routing file type to desired modality
|
|
651
|
+
* @public
|
|
652
|
+
*/
|
|
653
|
+
export interface ModalityRoutingConfiguration {
|
|
654
|
+
/**
|
|
655
|
+
* Desired Modality types
|
|
656
|
+
* @public
|
|
657
|
+
*/
|
|
658
|
+
jpeg?: DesiredModality | undefined;
|
|
659
|
+
/**
|
|
660
|
+
* Desired Modality types
|
|
661
|
+
* @public
|
|
662
|
+
*/
|
|
663
|
+
png?: DesiredModality | undefined;
|
|
664
|
+
/**
|
|
665
|
+
* Desired Modality types
|
|
666
|
+
* @public
|
|
667
|
+
*/
|
|
668
|
+
mp4?: DesiredModality | undefined;
|
|
669
|
+
/**
|
|
670
|
+
* Desired Modality types
|
|
671
|
+
* @public
|
|
672
|
+
*/
|
|
673
|
+
mov?: DesiredModality | undefined;
|
|
674
|
+
}
|
|
675
|
+
/**
|
|
676
|
+
* Override Configuration of Video
|
|
677
|
+
* @public
|
|
678
|
+
*/
|
|
679
|
+
export interface VideoOverrideConfiguration {
|
|
680
|
+
/**
|
|
681
|
+
* Configuration to enable/disable processing of modality
|
|
682
|
+
* @public
|
|
683
|
+
*/
|
|
684
|
+
modalityProcessing?: ModalityProcessingConfiguration | undefined;
|
|
596
685
|
}
|
|
597
686
|
/**
|
|
598
687
|
* Override configuration
|
|
@@ -604,6 +693,26 @@ export interface OverrideConfiguration {
|
|
|
604
693
|
* @public
|
|
605
694
|
*/
|
|
606
695
|
document?: DocumentOverrideConfiguration | undefined;
|
|
696
|
+
/**
|
|
697
|
+
* Override Configuration of Image
|
|
698
|
+
* @public
|
|
699
|
+
*/
|
|
700
|
+
image?: ImageOverrideConfiguration | undefined;
|
|
701
|
+
/**
|
|
702
|
+
* Override Configuration of Video
|
|
703
|
+
* @public
|
|
704
|
+
*/
|
|
705
|
+
video?: VideoOverrideConfiguration | undefined;
|
|
706
|
+
/**
|
|
707
|
+
* Override Configuration of Audio
|
|
708
|
+
* @public
|
|
709
|
+
*/
|
|
710
|
+
audio?: AudioOverrideConfiguration | undefined;
|
|
711
|
+
/**
|
|
712
|
+
* Configuration for routing file type to desired modality
|
|
713
|
+
* @public
|
|
714
|
+
*/
|
|
715
|
+
modalityRouting?: ModalityRoutingConfiguration | undefined;
|
|
607
716
|
}
|
|
608
717
|
/**
|
|
609
718
|
* @public
|
|
@@ -38,6 +38,7 @@ export declare const getRuntimeConfig: (config: BedrockDataAutomationClientConfi
|
|
|
38
38
|
}) => import("@smithy/types").EndpointV2;
|
|
39
39
|
tls?: boolean | undefined;
|
|
40
40
|
serviceConfiguredEndpoint?: undefined;
|
|
41
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
|
|
41
42
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
42
43
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockDataAutomationHttpAuthSchemeProvider;
|
|
43
44
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -38,6 +38,7 @@ export declare const getRuntimeConfig: (config: BedrockDataAutomationClientConfi
|
|
|
38
38
|
}) => import("@smithy/types").EndpointV2;
|
|
39
39
|
tls?: boolean | undefined;
|
|
40
40
|
serviceConfiguredEndpoint?: undefined;
|
|
41
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
|
|
41
42
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
42
43
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockDataAutomationHttpAuthSchemeProvider;
|
|
43
44
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -37,6 +37,7 @@ export declare const getRuntimeConfig: (config: BedrockDataAutomationClientConfi
|
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
38
38
|
tls?: boolean | undefined;
|
|
39
39
|
serviceConfiguredEndpoint?: undefined;
|
|
40
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
|
|
40
41
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
41
42
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockDataAutomationHttpAuthSchemeProvider;
|
|
42
43
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
HttpAuthSchemeParameters,
|
|
10
10
|
HttpAuthSchemeParametersProvider,
|
|
11
11
|
HttpAuthSchemeProvider,
|
|
12
|
+
Provider,
|
|
12
13
|
} from "@smithy/types";
|
|
13
14
|
import { BedrockDataAutomationClientResolvedConfig } from "../BedrockDataAutomationClient";
|
|
14
15
|
export interface BedrockDataAutomationHttpAuthSchemeParameters
|
|
@@ -31,11 +32,13 @@ export interface BedrockDataAutomationHttpAuthSchemeProvider
|
|
|
31
32
|
extends HttpAuthSchemeProvider<BedrockDataAutomationHttpAuthSchemeParameters> {}
|
|
32
33
|
export declare const defaultBedrockDataAutomationHttpAuthSchemeProvider: BedrockDataAutomationHttpAuthSchemeProvider;
|
|
33
34
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
34
36
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
35
37
|
httpAuthSchemeProvider?: BedrockDataAutomationHttpAuthSchemeProvider;
|
|
36
38
|
}
|
|
37
39
|
export interface HttpAuthSchemeResolvedConfig
|
|
38
40
|
extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
39
42
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
40
43
|
readonly httpAuthSchemeProvider: BedrockDataAutomationHttpAuthSchemeProvider;
|
|
41
44
|
}
|
|
@@ -179,14 +179,45 @@ export declare const State: {
|
|
|
179
179
|
readonly ENABLED: "ENABLED";
|
|
180
180
|
};
|
|
181
181
|
export type State = (typeof State)[keyof typeof State];
|
|
182
|
+
export interface ModalityProcessingConfiguration {
|
|
183
|
+
state?: State | undefined;
|
|
184
|
+
}
|
|
185
|
+
export interface AudioOverrideConfiguration {
|
|
186
|
+
modalityProcessing?: ModalityProcessingConfiguration | undefined;
|
|
187
|
+
}
|
|
182
188
|
export interface SplitterConfiguration {
|
|
183
189
|
state?: State | undefined;
|
|
184
190
|
}
|
|
185
191
|
export interface DocumentOverrideConfiguration {
|
|
186
192
|
splitter?: SplitterConfiguration | undefined;
|
|
193
|
+
modalityProcessing?: ModalityProcessingConfiguration | undefined;
|
|
194
|
+
}
|
|
195
|
+
export interface ImageOverrideConfiguration {
|
|
196
|
+
modalityProcessing?: ModalityProcessingConfiguration | undefined;
|
|
197
|
+
}
|
|
198
|
+
export declare const DesiredModality: {
|
|
199
|
+
readonly AUDIO: "AUDIO";
|
|
200
|
+
readonly DOCUMENT: "DOCUMENT";
|
|
201
|
+
readonly IMAGE: "IMAGE";
|
|
202
|
+
readonly VIDEO: "VIDEO";
|
|
203
|
+
};
|
|
204
|
+
export type DesiredModality =
|
|
205
|
+
(typeof DesiredModality)[keyof typeof DesiredModality];
|
|
206
|
+
export interface ModalityRoutingConfiguration {
|
|
207
|
+
jpeg?: DesiredModality | undefined;
|
|
208
|
+
png?: DesiredModality | undefined;
|
|
209
|
+
mp4?: DesiredModality | undefined;
|
|
210
|
+
mov?: DesiredModality | undefined;
|
|
211
|
+
}
|
|
212
|
+
export interface VideoOverrideConfiguration {
|
|
213
|
+
modalityProcessing?: ModalityProcessingConfiguration | undefined;
|
|
187
214
|
}
|
|
188
215
|
export interface OverrideConfiguration {
|
|
189
216
|
document?: DocumentOverrideConfiguration | undefined;
|
|
217
|
+
image?: ImageOverrideConfiguration | undefined;
|
|
218
|
+
video?: VideoOverrideConfiguration | undefined;
|
|
219
|
+
audio?: AudioOverrideConfiguration | undefined;
|
|
220
|
+
modalityRouting?: ModalityRoutingConfiguration | undefined;
|
|
190
221
|
}
|
|
191
222
|
export declare const AudioExtractionCategoryType: {
|
|
192
223
|
readonly AUDIO_CONTENT_MODERATION: "AUDIO_CONTENT_MODERATION";
|
|
@@ -74,6 +74,10 @@ export declare const getRuntimeConfig: (
|
|
|
74
74
|
) => import("@smithy/types").EndpointV2;
|
|
75
75
|
tls?: boolean | undefined;
|
|
76
76
|
serviceConfiguredEndpoint?: undefined;
|
|
77
|
+
authSchemePreference?:
|
|
78
|
+
| string[]
|
|
79
|
+
| import("@smithy/types").Provider<string[]>
|
|
80
|
+
| undefined;
|
|
77
81
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
78
82
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockDataAutomationHttpAuthSchemeProvider;
|
|
79
83
|
credentials?:
|
|
@@ -75,6 +75,10 @@ export declare const getRuntimeConfig: (
|
|
|
75
75
|
) => import("@smithy/types").EndpointV2;
|
|
76
76
|
tls?: boolean | undefined;
|
|
77
77
|
serviceConfiguredEndpoint?: undefined;
|
|
78
|
+
authSchemePreference?:
|
|
79
|
+
| string[]
|
|
80
|
+
| import("@smithy/types").Provider<string[]>
|
|
81
|
+
| undefined;
|
|
78
82
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
79
83
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockDataAutomationHttpAuthSchemeProvider;
|
|
80
84
|
credentials?:
|
|
@@ -78,6 +78,10 @@ export declare const getRuntimeConfig: (
|
|
|
78
78
|
) => import("@smithy/types").EndpointV2;
|
|
79
79
|
tls?: boolean | undefined;
|
|
80
80
|
serviceConfiguredEndpoint?: undefined;
|
|
81
|
+
authSchemePreference?:
|
|
82
|
+
| string[]
|
|
83
|
+
| import("@smithy/types").Provider<string[]>
|
|
84
|
+
| undefined;
|
|
81
85
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
82
86
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockDataAutomationHttpAuthSchemeProvider;
|
|
83
87
|
credentials?:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-data-automation",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Data Automation Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.797.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.796.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.797.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.796.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
30
30
|
"@aws-sdk/types": "3.775.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.787.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.796.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.0",
|
|
35
35
|
"@smithy/core": "^3.2.0",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.2",
|