@aws-sdk/client-elementalinference 3.1128.0 → 3.1130.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 +21 -0
- package/dist-cjs/index.js +83 -3
- package/dist-es/ElementalInference.js +6 -0
- package/dist-es/commands/DeleteFeedPolicyCommand.js +4 -0
- package/dist-es/commands/GetFeedPolicyCommand.js +4 -0
- package/dist-es/commands/PutFeedPolicyCommand.js +4 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/enums.js +4 -0
- package/dist-es/schemas/schemas_0.js +53 -2
- package/dist-types/ElementalInference.d.ts +21 -0
- package/dist-types/ElementalInferenceClient.d.ts +5 -2
- package/dist-types/commands/AssociateFeedCommand.d.ts +3 -0
- package/dist-types/commands/CreateFeedCommand.d.ts +6 -0
- package/dist-types/commands/DeleteFeedPolicyCommand.d.ts +84 -0
- package/dist-types/commands/GetFeedCommand.d.ts +3 -0
- package/dist-types/commands/GetFeedPolicyCommand.d.ts +86 -0
- package/dist-types/commands/PutFeedPolicyCommand.d.ts +88 -0
- package/dist-types/commands/UpdateFeedCommand.d.ts +6 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +79 -2
- package/dist-types/schemas/schemas_0.d.ts +9 -0
- package/dist-types/ts3.4/ElementalInference.d.ts +51 -0
- package/dist-types/ts3.4/ElementalInferenceClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteFeedPolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetFeedPolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutFeedPolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +31 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -0
- package/package.json +3 -3
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DeleteFeedPolicyRequest } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DeleteFeedPolicyCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DeleteFeedPolicyCommandInput extends DeleteFeedPolicyRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DeleteFeedPolicyCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DeleteFeedPolicyCommandOutput extends __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DeleteFeedPolicyCommand_base: {
|
|
22
|
+
new (input: DeleteFeedPolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteFeedPolicyCommandInput, DeleteFeedPolicyCommandOutput, import("..").ElementalInferenceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteFeedPolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteFeedPolicyCommandInput, DeleteFeedPolicyCommandOutput, import("..").ElementalInferenceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Deletes the resource-based policy attached to the specified feed. After you delete the policy, the operation revokes the cross-account access that the policy granted. </p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ElementalInferenceClient, DeleteFeedPolicyCommand } from "@aws-sdk/client-elementalinference"; // ES Modules import
|
|
32
|
+
* // const { ElementalInferenceClient, DeleteFeedPolicyCommand } = require("@aws-sdk/client-elementalinference"); // CommonJS import
|
|
33
|
+
* // import type { ElementalInferenceClientConfig } from "@aws-sdk/client-elementalinference";
|
|
34
|
+
* const config = {}; // type is ElementalInferenceClientConfig
|
|
35
|
+
* const client = new ElementalInferenceClient(config);
|
|
36
|
+
* const input = { // DeleteFeedPolicyRequest
|
|
37
|
+
* id: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DeleteFeedPolicyCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param DeleteFeedPolicyCommandInput - {@link DeleteFeedPolicyCommandInput}
|
|
46
|
+
* @returns {@link DeleteFeedPolicyCommandOutput}
|
|
47
|
+
* @see {@link DeleteFeedPolicyCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link DeleteFeedPolicyCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link ElementalInferenceClientResolvedConfig | config} for ElementalInferenceClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
52
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
55
|
+
* <p>An internal server error occurred. This is a temporary condition and the request can be retried. If the problem persists, contact AWS Support. </p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
58
|
+
* <p>The resource specified in the action doesn't exist.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link TooManyRequestException} (client fault)
|
|
61
|
+
* <p>The request was denied due to request throttling. Too many requests have been made within a given time period. Reduce the frequency of requests and use exponential backoff when retrying. </p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ValidationException} (client fault)
|
|
64
|
+
* <p>The input fails to satisfy the constraints specified by the service. Check the error message for details about which parameter or field is invalid and correct the request before retrying. </p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ElementalInferenceServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from ElementalInference service.</p>
|
|
68
|
+
*
|
|
69
|
+
*
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export declare class DeleteFeedPolicyCommand extends DeleteFeedPolicyCommand_base {
|
|
73
|
+
/** @internal type navigation helper, not in runtime. */
|
|
74
|
+
protected static __types: {
|
|
75
|
+
api: {
|
|
76
|
+
input: DeleteFeedPolicyRequest;
|
|
77
|
+
output: {};
|
|
78
|
+
};
|
|
79
|
+
sdk: {
|
|
80
|
+
input: DeleteFeedPolicyCommandInput;
|
|
81
|
+
output: DeleteFeedPolicyCommandOutput;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
}
|
|
@@ -74,6 +74,9 @@ declare const GetFeedCommand_base: {
|
|
|
74
74
|
* // dictionary: "STRING_VALUE",
|
|
75
75
|
* // profanityFilter: "DISABLED" || "CENSOR" || "DROP",
|
|
76
76
|
* // },
|
|
77
|
+
* // contextualMetadata: { // ContextualMetadataConfig
|
|
78
|
+
* // summaryGeneration: "ENABLED" || "DISABLED",
|
|
79
|
+
* // },
|
|
77
80
|
* // },
|
|
78
81
|
* // status: "ENABLED" || "DISABLED", // required
|
|
79
82
|
* // description: "STRING_VALUE",
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetFeedPolicyRequest, GetFeedPolicyResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetFeedPolicyCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetFeedPolicyCommandInput extends GetFeedPolicyRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetFeedPolicyCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetFeedPolicyCommandOutput extends GetFeedPolicyResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetFeedPolicyCommand_base: {
|
|
22
|
+
new (input: GetFeedPolicyCommandInput): import("@smithy/core/client").CommandImpl<GetFeedPolicyCommandInput, GetFeedPolicyCommandOutput, import("..").ElementalInferenceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetFeedPolicyCommandInput): import("@smithy/core/client").CommandImpl<GetFeedPolicyCommandInput, GetFeedPolicyCommandOutput, import("..").ElementalInferenceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Retrieves the resource-based policy attached to the specified feed.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ElementalInferenceClient, GetFeedPolicyCommand } from "@aws-sdk/client-elementalinference"; // ES Modules import
|
|
32
|
+
* // const { ElementalInferenceClient, GetFeedPolicyCommand } = require("@aws-sdk/client-elementalinference"); // CommonJS import
|
|
33
|
+
* // import type { ElementalInferenceClientConfig } from "@aws-sdk/client-elementalinference";
|
|
34
|
+
* const config = {}; // type is ElementalInferenceClientConfig
|
|
35
|
+
* const client = new ElementalInferenceClient(config);
|
|
36
|
+
* const input = { // GetFeedPolicyRequest
|
|
37
|
+
* id: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetFeedPolicyCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetFeedPolicyResponse
|
|
42
|
+
* // policy: "STRING_VALUE", // required
|
|
43
|
+
* // };
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param GetFeedPolicyCommandInput - {@link GetFeedPolicyCommandInput}
|
|
48
|
+
* @returns {@link GetFeedPolicyCommandOutput}
|
|
49
|
+
* @see {@link GetFeedPolicyCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link GetFeedPolicyCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link ElementalInferenceClientResolvedConfig | config} for ElementalInferenceClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
54
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
57
|
+
* <p>An internal server error occurred. This is a temporary condition and the request can be retried. If the problem persists, contact AWS Support. </p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
60
|
+
* <p>The resource specified in the action doesn't exist.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link TooManyRequestException} (client fault)
|
|
63
|
+
* <p>The request was denied due to request throttling. Too many requests have been made within a given time period. Reduce the frequency of requests and use exponential backoff when retrying. </p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ValidationException} (client fault)
|
|
66
|
+
* <p>The input fails to satisfy the constraints specified by the service. Check the error message for details about which parameter or field is invalid and correct the request before retrying. </p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ElementalInferenceServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from ElementalInference service.</p>
|
|
70
|
+
*
|
|
71
|
+
*
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
export declare class GetFeedPolicyCommand extends GetFeedPolicyCommand_base {
|
|
75
|
+
/** @internal type navigation helper, not in runtime. */
|
|
76
|
+
protected static __types: {
|
|
77
|
+
api: {
|
|
78
|
+
input: GetFeedPolicyRequest;
|
|
79
|
+
output: GetFeedPolicyResponse;
|
|
80
|
+
};
|
|
81
|
+
sdk: {
|
|
82
|
+
input: GetFeedPolicyCommandInput;
|
|
83
|
+
output: GetFeedPolicyCommandOutput;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { PutFeedPolicyRequest, PutFeedPolicyResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link PutFeedPolicyCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface PutFeedPolicyCommandInput extends PutFeedPolicyRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link PutFeedPolicyCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface PutFeedPolicyCommandOutput extends PutFeedPolicyResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const PutFeedPolicyCommand_base: {
|
|
22
|
+
new (input: PutFeedPolicyCommandInput): import("@smithy/core/client").CommandImpl<PutFeedPolicyCommandInput, PutFeedPolicyCommandOutput, import("..").ElementalInferenceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: PutFeedPolicyCommandInput): import("@smithy/core/client").CommandImpl<PutFeedPolicyCommandInput, PutFeedPolicyCommandOutput, import("..").ElementalInferenceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Attaches or replaces a resource-based policy on the specified feed. A resource-based policy grants cross-account access to the feed. </p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ElementalInferenceClient, PutFeedPolicyCommand } from "@aws-sdk/client-elementalinference"; // ES Modules import
|
|
32
|
+
* // const { ElementalInferenceClient, PutFeedPolicyCommand } = require("@aws-sdk/client-elementalinference"); // CommonJS import
|
|
33
|
+
* // import type { ElementalInferenceClientConfig } from "@aws-sdk/client-elementalinference";
|
|
34
|
+
* const config = {}; // type is ElementalInferenceClientConfig
|
|
35
|
+
* const client = new ElementalInferenceClient(config);
|
|
36
|
+
* const input = { // PutFeedPolicyRequest
|
|
37
|
+
* id: "STRING_VALUE", // required
|
|
38
|
+
* policy: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new PutFeedPolicyCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param PutFeedPolicyCommandInput - {@link PutFeedPolicyCommandInput}
|
|
47
|
+
* @returns {@link PutFeedPolicyCommandOutput}
|
|
48
|
+
* @see {@link PutFeedPolicyCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link PutFeedPolicyCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link ElementalInferenceClientResolvedConfig | config} for ElementalInferenceClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ConflictException} (client fault)
|
|
56
|
+
* <p>The request could not be completed due to a conflict.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
59
|
+
* <p>An internal server error occurred. This is a temporary condition and the request can be retried. If the problem persists, contact AWS Support. </p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
|
+
* <p>The resource specified in the action doesn't exist.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link TooManyRequestException} (client fault)
|
|
65
|
+
* <p>The request was denied due to request throttling. Too many requests have been made within a given time period. Reduce the frequency of requests and use exponential backoff when retrying. </p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ValidationException} (client fault)
|
|
68
|
+
* <p>The input fails to satisfy the constraints specified by the service. Check the error message for details about which parameter or field is invalid and correct the request before retrying. </p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ElementalInferenceServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from ElementalInference service.</p>
|
|
72
|
+
*
|
|
73
|
+
*
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export declare class PutFeedPolicyCommand extends PutFeedPolicyCommand_base {
|
|
77
|
+
/** @internal type navigation helper, not in runtime. */
|
|
78
|
+
protected static __types: {
|
|
79
|
+
api: {
|
|
80
|
+
input: PutFeedPolicyRequest;
|
|
81
|
+
output: {};
|
|
82
|
+
};
|
|
83
|
+
sdk: {
|
|
84
|
+
input: PutFeedPolicyCommandInput;
|
|
85
|
+
output: PutFeedPolicyCommandOutput;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -66,6 +66,9 @@ declare const UpdateFeedCommand_base: {
|
|
|
66
66
|
* dictionary: "STRING_VALUE",
|
|
67
67
|
* profanityFilter: "DISABLED" || "CENSOR" || "DROP",
|
|
68
68
|
* },
|
|
69
|
+
* contextualMetadata: { // ContextualMetadataConfig
|
|
70
|
+
* summaryGeneration: "ENABLED" || "DISABLED",
|
|
71
|
+
* },
|
|
69
72
|
* },
|
|
70
73
|
* status: "ENABLED" || "DISABLED", // required
|
|
71
74
|
* description: "STRING_VALUE",
|
|
@@ -111,6 +114,9 @@ declare const UpdateFeedCommand_base: {
|
|
|
111
114
|
* // dictionary: "STRING_VALUE",
|
|
112
115
|
* // profanityFilter: "DISABLED" || "CENSOR" || "DROP",
|
|
113
116
|
* // },
|
|
117
|
+
* // contextualMetadata: { // ContextualMetadataConfig
|
|
118
|
+
* // summaryGeneration: "ENABLED" || "DISABLED",
|
|
119
|
+
* // },
|
|
114
120
|
* // },
|
|
115
121
|
* // status: "ENABLED" || "DISABLED", // required
|
|
116
122
|
* // description: "STRING_VALUE",
|
|
@@ -3,14 +3,17 @@ export * from "./CreateDictionaryCommand";
|
|
|
3
3
|
export * from "./CreateFeedCommand";
|
|
4
4
|
export * from "./DeleteDictionaryCommand";
|
|
5
5
|
export * from "./DeleteFeedCommand";
|
|
6
|
+
export * from "./DeleteFeedPolicyCommand";
|
|
6
7
|
export * from "./DisassociateFeedCommand";
|
|
7
8
|
export * from "./ExportDictionaryEntriesCommand";
|
|
8
9
|
export * from "./GetDictionaryCommand";
|
|
9
10
|
export * from "./GetFeedCommand";
|
|
11
|
+
export * from "./GetFeedPolicyCommand";
|
|
10
12
|
export * from "./GetFixtureCommand";
|
|
11
13
|
export * from "./ListDictionariesCommand";
|
|
12
14
|
export * from "./ListFeedsCommand";
|
|
13
15
|
export * from "./ListTagsForResourceCommand";
|
|
16
|
+
export * from "./PutFeedPolicyCommand";
|
|
14
17
|
export * from "./SearchFixturesCommand";
|
|
15
18
|
export * from "./TagResourceCommand";
|
|
16
19
|
export * from "./UntagResourceCommand";
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const SummaryGenerationMode: {
|
|
6
|
+
readonly DISABLED: "DISABLED";
|
|
7
|
+
readonly ENABLED: "ENABLED";
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export type SummaryGenerationMode = (typeof SummaryGenerationMode)[keyof typeof SummaryGenerationMode];
|
|
1
13
|
/**
|
|
2
14
|
* @public
|
|
3
15
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DataSourceSport, DictionaryLanguage, DictionaryStatus, FeedStatus, FilterName, OutputStatus, ProfanityFilterMode, TranscriptionLanguage } from "./enums";
|
|
1
|
+
import type { DataSourceSport, DictionaryLanguage, DictionaryStatus, FeedStatus, FilterName, OutputStatus, ProfanityFilterMode, SummaryGenerationMode, TranscriptionLanguage } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>The width and height of the output video. Used in SubtitlingConfig to determine subtitle layout. </p>
|
|
4
4
|
* @public
|
|
@@ -42,6 +42,17 @@ export interface ClippingConfig {
|
|
|
42
42
|
*/
|
|
43
43
|
dataSourceConfiguration?: DataSourceConfiguration | undefined;
|
|
44
44
|
}
|
|
45
|
+
/**
|
|
46
|
+
* <p>The output configuration settings for the contextual metadata feature. Use this structure when the feed output generates metadata that describes the media content. </p>
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export interface ContextualMetadataConfig {
|
|
50
|
+
/**
|
|
51
|
+
* <p>Specifies whether Elemental Inference generates a descriptive summary of the media content for this output. </p> <p>Valid values:</p> <ul> <li> <p>ENABLED (default) – Elemental Inference generates a descriptive summary along with IAB taxonomy and GARM suitability classifications. </p> </li> <li> <p>DISABLED – No descriptive summary is generated.</p> </li> </ul>
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
summaryGeneration?: SummaryGenerationMode | undefined;
|
|
55
|
+
}
|
|
45
56
|
/**
|
|
46
57
|
* <p>A named set of graphics-compositing templates used by the crop feature, specified in the templateGroups array of a CroppingConfig. </p>
|
|
47
58
|
* @public
|
|
@@ -99,7 +110,7 @@ export interface SubtitlingConfig {
|
|
|
99
110
|
* <p>Contains one typed output. It is used in the CreateOutput, GetOutput, and Update Output structures.</p>
|
|
100
111
|
* @public
|
|
101
112
|
*/
|
|
102
|
-
export type OutputConfig = OutputConfig.ClippingMember | OutputConfig.CroppingMember | OutputConfig.SubtitlingMember | OutputConfig.$UnknownMember;
|
|
113
|
+
export type OutputConfig = OutputConfig.ClippingMember | OutputConfig.ContextualMetadataMember | OutputConfig.CroppingMember | OutputConfig.SubtitlingMember | OutputConfig.$UnknownMember;
|
|
103
114
|
/**
|
|
104
115
|
* @public
|
|
105
116
|
*/
|
|
@@ -112,6 +123,7 @@ export declare namespace OutputConfig {
|
|
|
112
123
|
cropping: CroppingConfig;
|
|
113
124
|
clipping?: never;
|
|
114
125
|
subtitling?: never;
|
|
126
|
+
contextualMetadata?: never;
|
|
115
127
|
$unknown?: never;
|
|
116
128
|
}
|
|
117
129
|
/**
|
|
@@ -122,6 +134,7 @@ export declare namespace OutputConfig {
|
|
|
122
134
|
cropping?: never;
|
|
123
135
|
clipping: ClippingConfig;
|
|
124
136
|
subtitling?: never;
|
|
137
|
+
contextualMetadata?: never;
|
|
125
138
|
$unknown?: never;
|
|
126
139
|
}
|
|
127
140
|
/**
|
|
@@ -132,6 +145,18 @@ export declare namespace OutputConfig {
|
|
|
132
145
|
cropping?: never;
|
|
133
146
|
clipping?: never;
|
|
134
147
|
subtitling: SubtitlingConfig;
|
|
148
|
+
contextualMetadata?: never;
|
|
149
|
+
$unknown?: never;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* <p>The output config type that applies to the contextual metadata feature.</p>
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
interface ContextualMetadataMember {
|
|
156
|
+
cropping?: never;
|
|
157
|
+
clipping?: never;
|
|
158
|
+
subtitling?: never;
|
|
159
|
+
contextualMetadata: ContextualMetadataConfig;
|
|
135
160
|
$unknown?: never;
|
|
136
161
|
}
|
|
137
162
|
/**
|
|
@@ -141,6 +166,7 @@ export declare namespace OutputConfig {
|
|
|
141
166
|
cropping?: never;
|
|
142
167
|
clipping?: never;
|
|
143
168
|
subtitling?: never;
|
|
169
|
+
contextualMetadata?: never;
|
|
144
170
|
$unknown: [string, any];
|
|
145
171
|
}
|
|
146
172
|
/**
|
|
@@ -151,6 +177,7 @@ export declare namespace OutputConfig {
|
|
|
151
177
|
cropping: (value: CroppingConfig) => T;
|
|
152
178
|
clipping: (value: ClippingConfig) => T;
|
|
153
179
|
subtitling: (value: SubtitlingConfig) => T;
|
|
180
|
+
contextualMetadata: (value: ContextualMetadataConfig) => T;
|
|
154
181
|
_: (name: string, value: any) => T;
|
|
155
182
|
}
|
|
156
183
|
}
|
|
@@ -478,6 +505,16 @@ export interface DeleteFeedResponse {
|
|
|
478
505
|
*/
|
|
479
506
|
status: FeedStatus | undefined;
|
|
480
507
|
}
|
|
508
|
+
/**
|
|
509
|
+
* @public
|
|
510
|
+
*/
|
|
511
|
+
export interface DeleteFeedPolicyRequest {
|
|
512
|
+
/**
|
|
513
|
+
* <p>The ID of the feed whose policy you want to delete.</p>
|
|
514
|
+
* @public
|
|
515
|
+
*/
|
|
516
|
+
id: string | undefined;
|
|
517
|
+
}
|
|
481
518
|
/**
|
|
482
519
|
* @public
|
|
483
520
|
*/
|
|
@@ -769,6 +806,26 @@ export interface GetFeedResponse {
|
|
|
769
806
|
*/
|
|
770
807
|
tags?: Record<string, string> | undefined;
|
|
771
808
|
}
|
|
809
|
+
/**
|
|
810
|
+
* @public
|
|
811
|
+
*/
|
|
812
|
+
export interface GetFeedPolicyRequest {
|
|
813
|
+
/**
|
|
814
|
+
* <p>The ID of the feed whose policy you want to retrieve.</p>
|
|
815
|
+
* @public
|
|
816
|
+
*/
|
|
817
|
+
id: string | undefined;
|
|
818
|
+
}
|
|
819
|
+
/**
|
|
820
|
+
* @public
|
|
821
|
+
*/
|
|
822
|
+
export interface GetFeedPolicyResponse {
|
|
823
|
+
/**
|
|
824
|
+
* <p>The resource-based policy document attached to the feed.</p>
|
|
825
|
+
* @public
|
|
826
|
+
*/
|
|
827
|
+
policy: string | undefined;
|
|
828
|
+
}
|
|
772
829
|
/**
|
|
773
830
|
* @public
|
|
774
831
|
*/
|
|
@@ -830,6 +887,26 @@ export interface ListFeedsResponse {
|
|
|
830
887
|
*/
|
|
831
888
|
nextToken?: string | undefined;
|
|
832
889
|
}
|
|
890
|
+
/**
|
|
891
|
+
* @public
|
|
892
|
+
*/
|
|
893
|
+
export interface PutFeedPolicyRequest {
|
|
894
|
+
/**
|
|
895
|
+
* <p>The ID of the feed to attach the policy to.</p>
|
|
896
|
+
* @public
|
|
897
|
+
*/
|
|
898
|
+
id: string | undefined;
|
|
899
|
+
/**
|
|
900
|
+
* <p>The resource-based policy document to attach to the feed.</p>
|
|
901
|
+
* @public
|
|
902
|
+
*/
|
|
903
|
+
policy: string | undefined;
|
|
904
|
+
}
|
|
905
|
+
/**
|
|
906
|
+
* @public
|
|
907
|
+
*/
|
|
908
|
+
export interface PutFeedPolicyResponse {
|
|
909
|
+
}
|
|
833
910
|
/**
|
|
834
911
|
* <p>Contains configuration information about one output in a feed. It is used in the UpdateFeed action. </p>
|
|
835
912
|
* @public
|
|
@@ -21,6 +21,7 @@ export declare var AssociateFeedRequest$: StaticStructureSchema;
|
|
|
21
21
|
export declare var AssociateFeedResponse$: StaticStructureSchema;
|
|
22
22
|
export declare var ClippingConfig$: StaticStructureSchema;
|
|
23
23
|
export declare var Competitor$: StaticStructureSchema;
|
|
24
|
+
export declare var ContextualMetadataConfig$: StaticStructureSchema;
|
|
24
25
|
export declare var CreateDictionaryRequest$: StaticStructureSchema;
|
|
25
26
|
export declare var CreateDictionaryResponse$: StaticStructureSchema;
|
|
26
27
|
export declare var CreateFeedRequest$: StaticStructureSchema;
|
|
@@ -30,6 +31,7 @@ export declare var CroppingConfig$: StaticStructureSchema;
|
|
|
30
31
|
export declare var DataSourceConfiguration$: StaticStructureSchema;
|
|
31
32
|
export declare var DeleteDictionaryRequest$: StaticStructureSchema;
|
|
32
33
|
export declare var DeleteDictionaryResponse$: StaticStructureSchema;
|
|
34
|
+
export declare var DeleteFeedPolicyRequest$: StaticStructureSchema;
|
|
33
35
|
export declare var DeleteFeedRequest$: StaticStructureSchema;
|
|
34
36
|
export declare var DeleteFeedResponse$: StaticStructureSchema;
|
|
35
37
|
export declare var DictionarySummary$: StaticStructureSchema;
|
|
@@ -42,6 +44,8 @@ export declare var FeedSummary$: StaticStructureSchema;
|
|
|
42
44
|
export declare var FixtureSummary$: StaticStructureSchema;
|
|
43
45
|
export declare var GetDictionaryRequest$: StaticStructureSchema;
|
|
44
46
|
export declare var GetDictionaryResponse$: StaticStructureSchema;
|
|
47
|
+
export declare var GetFeedPolicyRequest$: StaticStructureSchema;
|
|
48
|
+
export declare var GetFeedPolicyResponse$: StaticStructureSchema;
|
|
45
49
|
export declare var GetFeedRequest$: StaticStructureSchema;
|
|
46
50
|
export declare var GetFeedResponse$: StaticStructureSchema;
|
|
47
51
|
export declare var GetFixtureRequest$: StaticStructureSchema;
|
|
@@ -53,6 +57,8 @@ export declare var ListFeedsRequest$: StaticStructureSchema;
|
|
|
53
57
|
export declare var ListFeedsResponse$: StaticStructureSchema;
|
|
54
58
|
export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
55
59
|
export declare var ListTagsForResourceResponse$: StaticStructureSchema;
|
|
60
|
+
export declare var PutFeedPolicyRequest$: StaticStructureSchema;
|
|
61
|
+
export declare var PutFeedPolicyResponse$: StaticStructureSchema;
|
|
56
62
|
export declare var SearchFilter$: StaticStructureSchema;
|
|
57
63
|
export declare var SearchFixturesRequest$: StaticStructureSchema;
|
|
58
64
|
export declare var SearchFixturesResponse$: StaticStructureSchema;
|
|
@@ -71,14 +77,17 @@ export declare var CreateDictionary$: StaticOperationSchema;
|
|
|
71
77
|
export declare var CreateFeed$: StaticOperationSchema;
|
|
72
78
|
export declare var DeleteDictionary$: StaticOperationSchema;
|
|
73
79
|
export declare var DeleteFeed$: StaticOperationSchema;
|
|
80
|
+
export declare var DeleteFeedPolicy$: StaticOperationSchema;
|
|
74
81
|
export declare var DisassociateFeed$: StaticOperationSchema;
|
|
75
82
|
export declare var ExportDictionaryEntries$: StaticOperationSchema;
|
|
76
83
|
export declare var GetDictionary$: StaticOperationSchema;
|
|
77
84
|
export declare var GetFeed$: StaticOperationSchema;
|
|
85
|
+
export declare var GetFeedPolicy$: StaticOperationSchema;
|
|
78
86
|
export declare var GetFixture$: StaticOperationSchema;
|
|
79
87
|
export declare var ListDictionaries$: StaticOperationSchema;
|
|
80
88
|
export declare var ListFeeds$: StaticOperationSchema;
|
|
81
89
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
90
|
+
export declare var PutFeedPolicy$: StaticOperationSchema;
|
|
82
91
|
export declare var SearchFixtures$: StaticOperationSchema;
|
|
83
92
|
export declare var TagResource$: StaticOperationSchema;
|
|
84
93
|
export declare var UntagResource$: StaticOperationSchema;
|
|
@@ -19,6 +19,10 @@ import {
|
|
|
19
19
|
DeleteDictionaryCommandOutput,
|
|
20
20
|
} from "./commands/DeleteDictionaryCommand";
|
|
21
21
|
import { DeleteFeedCommandInput, DeleteFeedCommandOutput } from "./commands/DeleteFeedCommand";
|
|
22
|
+
import {
|
|
23
|
+
DeleteFeedPolicyCommandInput,
|
|
24
|
+
DeleteFeedPolicyCommandOutput,
|
|
25
|
+
} from "./commands/DeleteFeedPolicyCommand";
|
|
22
26
|
import {
|
|
23
27
|
DisassociateFeedCommandInput,
|
|
24
28
|
DisassociateFeedCommandOutput,
|
|
@@ -32,6 +36,10 @@ import {
|
|
|
32
36
|
GetDictionaryCommandOutput,
|
|
33
37
|
} from "./commands/GetDictionaryCommand";
|
|
34
38
|
import { GetFeedCommandInput, GetFeedCommandOutput } from "./commands/GetFeedCommand";
|
|
39
|
+
import {
|
|
40
|
+
GetFeedPolicyCommandInput,
|
|
41
|
+
GetFeedPolicyCommandOutput,
|
|
42
|
+
} from "./commands/GetFeedPolicyCommand";
|
|
35
43
|
import { GetFixtureCommandInput, GetFixtureCommandOutput } from "./commands/GetFixtureCommand";
|
|
36
44
|
import {
|
|
37
45
|
ListDictionariesCommandInput,
|
|
@@ -42,6 +50,10 @@ import {
|
|
|
42
50
|
ListTagsForResourceCommandInput,
|
|
43
51
|
ListTagsForResourceCommandOutput,
|
|
44
52
|
} from "./commands/ListTagsForResourceCommand";
|
|
53
|
+
import {
|
|
54
|
+
PutFeedPolicyCommandInput,
|
|
55
|
+
PutFeedPolicyCommandOutput,
|
|
56
|
+
} from "./commands/PutFeedPolicyCommand";
|
|
45
57
|
import {
|
|
46
58
|
SearchFixturesCommandInput,
|
|
47
59
|
SearchFixturesCommandOutput,
|
|
@@ -124,6 +136,19 @@ export interface ElementalInference {
|
|
|
124
136
|
options: __HttpHandlerOptions,
|
|
125
137
|
cb: (err: any, data?: DeleteFeedCommandOutput) => void,
|
|
126
138
|
): void;
|
|
139
|
+
deleteFeedPolicy(
|
|
140
|
+
args: DeleteFeedPolicyCommandInput,
|
|
141
|
+
options?: __HttpHandlerOptions,
|
|
142
|
+
): Promise<DeleteFeedPolicyCommandOutput>;
|
|
143
|
+
deleteFeedPolicy(
|
|
144
|
+
args: DeleteFeedPolicyCommandInput,
|
|
145
|
+
cb: (err: any, data?: DeleteFeedPolicyCommandOutput) => void,
|
|
146
|
+
): void;
|
|
147
|
+
deleteFeedPolicy(
|
|
148
|
+
args: DeleteFeedPolicyCommandInput,
|
|
149
|
+
options: __HttpHandlerOptions,
|
|
150
|
+
cb: (err: any, data?: DeleteFeedPolicyCommandOutput) => void,
|
|
151
|
+
): void;
|
|
127
152
|
disassociateFeed(
|
|
128
153
|
args: DisassociateFeedCommandInput,
|
|
129
154
|
options?: __HttpHandlerOptions,
|
|
@@ -170,6 +195,19 @@ export interface ElementalInference {
|
|
|
170
195
|
options: __HttpHandlerOptions,
|
|
171
196
|
cb: (err: any, data?: GetFeedCommandOutput) => void,
|
|
172
197
|
): void;
|
|
198
|
+
getFeedPolicy(
|
|
199
|
+
args: GetFeedPolicyCommandInput,
|
|
200
|
+
options?: __HttpHandlerOptions,
|
|
201
|
+
): Promise<GetFeedPolicyCommandOutput>;
|
|
202
|
+
getFeedPolicy(
|
|
203
|
+
args: GetFeedPolicyCommandInput,
|
|
204
|
+
cb: (err: any, data?: GetFeedPolicyCommandOutput) => void,
|
|
205
|
+
): void;
|
|
206
|
+
getFeedPolicy(
|
|
207
|
+
args: GetFeedPolicyCommandInput,
|
|
208
|
+
options: __HttpHandlerOptions,
|
|
209
|
+
cb: (err: any, data?: GetFeedPolicyCommandOutput) => void,
|
|
210
|
+
): void;
|
|
173
211
|
getFixture(
|
|
174
212
|
args: GetFixtureCommandInput,
|
|
175
213
|
options?: __HttpHandlerOptions,
|
|
@@ -224,6 +262,19 @@ export interface ElementalInference {
|
|
|
224
262
|
options: __HttpHandlerOptions,
|
|
225
263
|
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
|
|
226
264
|
): void;
|
|
265
|
+
putFeedPolicy(
|
|
266
|
+
args: PutFeedPolicyCommandInput,
|
|
267
|
+
options?: __HttpHandlerOptions,
|
|
268
|
+
): Promise<PutFeedPolicyCommandOutput>;
|
|
269
|
+
putFeedPolicy(
|
|
270
|
+
args: PutFeedPolicyCommandInput,
|
|
271
|
+
cb: (err: any, data?: PutFeedPolicyCommandOutput) => void,
|
|
272
|
+
): void;
|
|
273
|
+
putFeedPolicy(
|
|
274
|
+
args: PutFeedPolicyCommandInput,
|
|
275
|
+
options: __HttpHandlerOptions,
|
|
276
|
+
cb: (err: any, data?: PutFeedPolicyCommandOutput) => void,
|
|
277
|
+
): void;
|
|
227
278
|
searchFixtures(
|
|
228
279
|
args: SearchFixturesCommandInput,
|
|
229
280
|
options?: __HttpHandlerOptions,
|