@aws-sdk/client-elementalinference 3.997.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/LICENSE +201 -0
- package/README.md +271 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +362 -0
- package/dist-cjs/models/ElementalInferenceServiceException.js +12 -0
- package/dist-cjs/models/errors.js +98 -0
- package/dist-cjs/runtimeConfig.browser.js +38 -0
- package/dist-cjs/runtimeConfig.js +53 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +43 -0
- package/dist-cjs/schemas/schemas_0.js +309 -0
- package/dist-es/ElementalInference.js +35 -0
- package/dist-es/ElementalInferenceClient.js +50 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commands/AssociateFeedCommand.js +16 -0
- package/dist-es/commands/CreateFeedCommand.js +16 -0
- package/dist-es/commands/DeleteFeedCommand.js +16 -0
- package/dist-es/commands/DisassociateFeedCommand.js +16 -0
- package/dist-es/commands/GetFeedCommand.js +16 -0
- package/dist-es/commands/ListFeedsCommand.js +16 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
- package/dist-es/commands/TagResourceCommand.js +16 -0
- package/dist-es/commands/UntagResourceCommand.js +16 -0
- package/dist-es/commands/UpdateFeedCommand.js +16 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +13 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +10 -0
- package/dist-es/models/ElementalInferenceServiceException.js +8 -0
- package/dist-es/models/enums.js +13 -0
- package/dist-es/models/errors.js +88 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListFeedsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/runtimeConfig.browser.js +33 -0
- package/dist-es/runtimeConfig.js +48 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +39 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +306 -0
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForFeedDeleted.js +49 -0
- package/dist-types/ElementalInference.d.ts +95 -0
- package/dist-types/ElementalInferenceClient.d.ts +197 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/AssociateFeedCommand.d.ts +111 -0
- package/dist-types/commands/CreateFeedCommand.d.ts +134 -0
- package/dist-types/commands/DeleteFeedCommand.d.ts +94 -0
- package/dist-types/commands/DisassociateFeedCommand.d.ts +95 -0
- package/dist-types/commands/GetFeedCommand.d.ts +112 -0
- package/dist-types/commands/ListFeedsCommand.d.ts +101 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +91 -0
- package/dist-types/commands/TagResourceCommand.d.ts +93 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +93 -0
- package/dist-types/commands/UpdateFeedCommand.d.ts +136 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +50 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +18 -0
- package/dist-types/models/ElementalInferenceServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +29 -0
- package/dist-types/models/errors.d.ts +89 -0
- package/dist-types/models/models_0.d.ts +563 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListFeedsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +55 -0
- package/dist-types/runtimeConfig.d.ts +55 -0
- package/dist-types/runtimeConfig.native.d.ts +54 -0
- package/dist-types/runtimeConfig.shared.d.ts +27 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +52 -0
- package/dist-types/ts3.4/ElementalInference.d.ts +200 -0
- package/dist-types/ts3.4/ElementalInferenceClient.d.ts +182 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/AssociateFeedCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateFeedCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteFeedCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DisassociateFeedCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetFeedCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/ListFeedsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UpdateFeedCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +13 -0
- package/dist-types/ts3.4/models/ElementalInferenceServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +15 -0
- package/dist-types/ts3.4/models/errors.d.ts +52 -0
- package/dist-types/ts3.4/models/models_0.d.ts +153 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListFeedsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +102 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +106 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +32 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +52 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForFeedDeleted.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForFeedDeleted.d.ts +14 -0
- package/package.json +101 -0
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElementalInferenceClient";
|
|
4
|
+
import type { DeleteFeedRequest, DeleteFeedResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteFeedCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteFeedCommandInput extends DeleteFeedRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteFeedCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteFeedCommandOutput extends DeleteFeedResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteFeedCommand_base: {
|
|
25
|
+
new (input: DeleteFeedCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteFeedCommandInput, DeleteFeedCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteFeedCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteFeedCommandInput, DeleteFeedCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes the specified feed. The feed can be deleted at any time.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ElementalInferenceClient, DeleteFeedCommand } from "@aws-sdk/client-elementalinference"; // ES Modules import
|
|
35
|
+
* // const { ElementalInferenceClient, DeleteFeedCommand } = require("@aws-sdk/client-elementalinference"); // CommonJS import
|
|
36
|
+
* // import type { ElementalInferenceClientConfig } from "@aws-sdk/client-elementalinference";
|
|
37
|
+
* const config = {}; // type is ElementalInferenceClientConfig
|
|
38
|
+
* const client = new ElementalInferenceClient(config);
|
|
39
|
+
* const input = { // DeleteFeedRequest
|
|
40
|
+
* id: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new DeleteFeedCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // DeleteFeedResponse
|
|
45
|
+
* // arn: "STRING_VALUE", // required
|
|
46
|
+
* // id: "STRING_VALUE", // required
|
|
47
|
+
* // status: "CREATING" || "AVAILABLE" || "ACTIVE" || "UPDATING" || "DELETING" || "DELETED" || "ARCHIVED", // required
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param DeleteFeedCommandInput - {@link DeleteFeedCommandInput}
|
|
53
|
+
* @returns {@link DeleteFeedCommandOutput}
|
|
54
|
+
* @see {@link DeleteFeedCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link DeleteFeedCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link ElementalInferenceClientResolvedConfig | config} for ElementalInferenceClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
59
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ConflictException} (client fault)
|
|
62
|
+
* <p>The request could not be completed due to a conflict.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
65
|
+
* <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>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>The resource specified in the action doesn't exist.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link TooManyRequestException} (client fault)
|
|
71
|
+
* <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>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <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>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ElementalInferenceServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from ElementalInference service.</p>
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class DeleteFeedCommand extends DeleteFeedCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: DeleteFeedRequest;
|
|
87
|
+
output: DeleteFeedResponse;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: DeleteFeedCommandInput;
|
|
91
|
+
output: DeleteFeedCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElementalInferenceClient";
|
|
4
|
+
import type { DisassociateFeedRequest, DisassociateFeedResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DisassociateFeedCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DisassociateFeedCommandInput extends DisassociateFeedRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DisassociateFeedCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DisassociateFeedCommandOutput extends DisassociateFeedResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DisassociateFeedCommand_base: {
|
|
25
|
+
new (input: DisassociateFeedCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateFeedCommandInput, DisassociateFeedCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DisassociateFeedCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateFeedCommandInput, DisassociateFeedCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Releases the resource (for example, an MediaLive channel) that is associated with this feed. The outputs in the feed become disabled.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ElementalInferenceClient, DisassociateFeedCommand } from "@aws-sdk/client-elementalinference"; // ES Modules import
|
|
35
|
+
* // const { ElementalInferenceClient, DisassociateFeedCommand } = require("@aws-sdk/client-elementalinference"); // CommonJS import
|
|
36
|
+
* // import type { ElementalInferenceClientConfig } from "@aws-sdk/client-elementalinference";
|
|
37
|
+
* const config = {}; // type is ElementalInferenceClientConfig
|
|
38
|
+
* const client = new ElementalInferenceClient(config);
|
|
39
|
+
* const input = { // DisassociateFeedRequest
|
|
40
|
+
* id: "STRING_VALUE", // required
|
|
41
|
+
* associatedResourceName: "STRING_VALUE", // required
|
|
42
|
+
* dryRun: true || false,
|
|
43
|
+
* };
|
|
44
|
+
* const command = new DisassociateFeedCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // DisassociateFeedResponse
|
|
47
|
+
* // arn: "STRING_VALUE", // required
|
|
48
|
+
* // id: "STRING_VALUE", // required
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param DisassociateFeedCommandInput - {@link DisassociateFeedCommandInput}
|
|
54
|
+
* @returns {@link DisassociateFeedCommandOutput}
|
|
55
|
+
* @see {@link DisassociateFeedCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link DisassociateFeedCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link ElementalInferenceClientResolvedConfig | config} for ElementalInferenceClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
60
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ConflictException} (client fault)
|
|
63
|
+
* <p>The request could not be completed due to a conflict.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
66
|
+
* <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>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
69
|
+
* <p>The resource specified in the action doesn't exist.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link TooManyRequestException} (client fault)
|
|
72
|
+
* <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>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ValidationException} (client fault)
|
|
75
|
+
* <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>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ElementalInferenceServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from ElementalInference service.</p>
|
|
79
|
+
*
|
|
80
|
+
*
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare class DisassociateFeedCommand extends DisassociateFeedCommand_base {
|
|
84
|
+
/** @internal type navigation helper, not in runtime. */
|
|
85
|
+
protected static __types: {
|
|
86
|
+
api: {
|
|
87
|
+
input: DisassociateFeedRequest;
|
|
88
|
+
output: DisassociateFeedResponse;
|
|
89
|
+
};
|
|
90
|
+
sdk: {
|
|
91
|
+
input: DisassociateFeedCommandInput;
|
|
92
|
+
output: DisassociateFeedCommandOutput;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElementalInferenceClient";
|
|
4
|
+
import type { GetFeedRequest, GetFeedResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetFeedCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetFeedCommandInput extends GetFeedRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetFeedCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetFeedCommandOutput extends GetFeedResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetFeedCommand_base: {
|
|
25
|
+
new (input: GetFeedCommandInput): import("@smithy/smithy-client").CommandImpl<GetFeedCommandInput, GetFeedCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetFeedCommandInput): import("@smithy/smithy-client").CommandImpl<GetFeedCommandInput, GetFeedCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves information about the specified feed.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ElementalInferenceClient, GetFeedCommand } from "@aws-sdk/client-elementalinference"; // ES Modules import
|
|
35
|
+
* // const { ElementalInferenceClient, GetFeedCommand } = require("@aws-sdk/client-elementalinference"); // CommonJS import
|
|
36
|
+
* // import type { ElementalInferenceClientConfig } from "@aws-sdk/client-elementalinference";
|
|
37
|
+
* const config = {}; // type is ElementalInferenceClientConfig
|
|
38
|
+
* const client = new ElementalInferenceClient(config);
|
|
39
|
+
* const input = { // GetFeedRequest
|
|
40
|
+
* id: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetFeedCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetFeedResponse
|
|
45
|
+
* // arn: "STRING_VALUE", // required
|
|
46
|
+
* // name: "STRING_VALUE", // required
|
|
47
|
+
* // id: "STRING_VALUE", // required
|
|
48
|
+
* // dataEndpoints: [ // StringList // required
|
|
49
|
+
* // "STRING_VALUE",
|
|
50
|
+
* // ],
|
|
51
|
+
* // outputs: [ // GetOutputList // required
|
|
52
|
+
* // { // GetOutput
|
|
53
|
+
* // name: "STRING_VALUE", // required
|
|
54
|
+
* // outputConfig: { // OutputConfig Union: only one key present
|
|
55
|
+
* // cropping: {},
|
|
56
|
+
* // clipping: { // ClippingConfig
|
|
57
|
+
* // callbackMetadata: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // },
|
|
60
|
+
* // status: "ENABLED" || "DISABLED", // required
|
|
61
|
+
* // description: "STRING_VALUE",
|
|
62
|
+
* // fromAssociation: true || false,
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // status: "CREATING" || "AVAILABLE" || "ACTIVE" || "UPDATING" || "DELETING" || "DELETED" || "ARCHIVED", // required
|
|
66
|
+
* // association: { // FeedAssociation
|
|
67
|
+
* // associatedResourceName: "STRING_VALUE", // required
|
|
68
|
+
* // },
|
|
69
|
+
* // tags: { // TagMap
|
|
70
|
+
* // "<keys>": "STRING_VALUE",
|
|
71
|
+
* // },
|
|
72
|
+
* // };
|
|
73
|
+
*
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
76
|
+
* @param GetFeedCommandInput - {@link GetFeedCommandInput}
|
|
77
|
+
* @returns {@link GetFeedCommandOutput}
|
|
78
|
+
* @see {@link GetFeedCommandInput} for command's `input` shape.
|
|
79
|
+
* @see {@link GetFeedCommandOutput} for command's `response` shape.
|
|
80
|
+
* @see {@link ElementalInferenceClientResolvedConfig | config} for ElementalInferenceClient's `config` shape.
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
83
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
86
|
+
* <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>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
89
|
+
* <p>The resource specified in the action doesn't exist.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link TooManyRequestException} (client fault)
|
|
92
|
+
* <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>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ElementalInferenceServiceException}
|
|
95
|
+
* <p>Base exception class for all service exceptions from ElementalInference service.</p>
|
|
96
|
+
*
|
|
97
|
+
*
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export declare class GetFeedCommand extends GetFeedCommand_base {
|
|
101
|
+
/** @internal type navigation helper, not in runtime. */
|
|
102
|
+
protected static __types: {
|
|
103
|
+
api: {
|
|
104
|
+
input: GetFeedRequest;
|
|
105
|
+
output: GetFeedResponse;
|
|
106
|
+
};
|
|
107
|
+
sdk: {
|
|
108
|
+
input: GetFeedCommandInput;
|
|
109
|
+
output: GetFeedCommandOutput;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElementalInferenceClient";
|
|
4
|
+
import type { ListFeedsRequest, ListFeedsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListFeedsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListFeedsCommandInput extends ListFeedsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListFeedsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListFeedsCommandOutput extends ListFeedsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListFeedsCommand_base: {
|
|
25
|
+
new (input: ListFeedsCommandInput): import("@smithy/smithy-client").CommandImpl<ListFeedsCommandInput, ListFeedsCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListFeedsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListFeedsCommandInput, ListFeedsCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Displays a list of feeds that belong to this AWS account.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ElementalInferenceClient, ListFeedsCommand } from "@aws-sdk/client-elementalinference"; // ES Modules import
|
|
35
|
+
* // const { ElementalInferenceClient, ListFeedsCommand } = require("@aws-sdk/client-elementalinference"); // CommonJS import
|
|
36
|
+
* // import type { ElementalInferenceClientConfig } from "@aws-sdk/client-elementalinference";
|
|
37
|
+
* const config = {}; // type is ElementalInferenceClientConfig
|
|
38
|
+
* const client = new ElementalInferenceClient(config);
|
|
39
|
+
* const input = { // ListFeedsRequest
|
|
40
|
+
* maxResults: Number("int"),
|
|
41
|
+
* nextToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListFeedsCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListFeedsResponse
|
|
46
|
+
* // feeds: [ // FeedSummaryList // required
|
|
47
|
+
* // { // FeedSummary
|
|
48
|
+
* // arn: "STRING_VALUE", // required
|
|
49
|
+
* // id: "STRING_VALUE", // required
|
|
50
|
+
* // name: "STRING_VALUE", // required
|
|
51
|
+
* // association: { // FeedAssociation
|
|
52
|
+
* // associatedResourceName: "STRING_VALUE", // required
|
|
53
|
+
* // },
|
|
54
|
+
* // status: "CREATING" || "AVAILABLE" || "ACTIVE" || "UPDATING" || "DELETING" || "DELETED" || "ARCHIVED", // required
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // nextToken: "STRING_VALUE",
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param ListFeedsCommandInput - {@link ListFeedsCommandInput}
|
|
63
|
+
* @returns {@link ListFeedsCommandOutput}
|
|
64
|
+
* @see {@link ListFeedsCommandInput} for command's `input` shape.
|
|
65
|
+
* @see {@link ListFeedsCommandOutput} for command's `response` shape.
|
|
66
|
+
* @see {@link ElementalInferenceClientResolvedConfig | config} for ElementalInferenceClient's `config` shape.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
69
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
72
|
+
* <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>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
75
|
+
* <p>The resource specified in the action doesn't exist.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link TooManyRequestException} (client fault)
|
|
78
|
+
* <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>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ValidationException} (client fault)
|
|
81
|
+
* <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>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ElementalInferenceServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from ElementalInference service.</p>
|
|
85
|
+
*
|
|
86
|
+
*
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
export declare class ListFeedsCommand extends ListFeedsCommand_base {
|
|
90
|
+
/** @internal type navigation helper, not in runtime. */
|
|
91
|
+
protected static __types: {
|
|
92
|
+
api: {
|
|
93
|
+
input: ListFeedsRequest;
|
|
94
|
+
output: ListFeedsResponse;
|
|
95
|
+
};
|
|
96
|
+
sdk: {
|
|
97
|
+
input: ListFeedsCommandInput;
|
|
98
|
+
output: ListFeedsCommandOutput;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElementalInferenceClient";
|
|
4
|
+
import type { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListTagsForResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListTagsForResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListTagsForResourceCommand_base: {
|
|
25
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>List all tags that are on an Elemental Inference resource in the current region.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ElementalInferenceClient, ListTagsForResourceCommand } from "@aws-sdk/client-elementalinference"; // ES Modules import
|
|
35
|
+
* // const { ElementalInferenceClient, ListTagsForResourceCommand } = require("@aws-sdk/client-elementalinference"); // CommonJS import
|
|
36
|
+
* // import type { ElementalInferenceClientConfig } from "@aws-sdk/client-elementalinference";
|
|
37
|
+
* const config = {}; // type is ElementalInferenceClientConfig
|
|
38
|
+
* const client = new ElementalInferenceClient(config);
|
|
39
|
+
* const input = { // ListTagsForResourceRequest
|
|
40
|
+
* resourceArn: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListTagsForResourceResponse
|
|
45
|
+
* // tags: { // TagMap
|
|
46
|
+
* // "<keys>": "STRING_VALUE",
|
|
47
|
+
* // },
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
53
|
+
* @returns {@link ListTagsForResourceCommandOutput}
|
|
54
|
+
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link ElementalInferenceClientResolvedConfig | config} for ElementalInferenceClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
59
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
62
|
+
* <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>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
|
+
* <p>The resource specified in the action doesn't exist.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link TooManyRequestException} (client fault)
|
|
68
|
+
* <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>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ValidationException} (client fault)
|
|
71
|
+
* <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>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ElementalInferenceServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from ElementalInference service.</p>
|
|
75
|
+
*
|
|
76
|
+
*
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
80
|
+
/** @internal type navigation helper, not in runtime. */
|
|
81
|
+
protected static __types: {
|
|
82
|
+
api: {
|
|
83
|
+
input: ListTagsForResourceRequest;
|
|
84
|
+
output: ListTagsForResourceResponse;
|
|
85
|
+
};
|
|
86
|
+
sdk: {
|
|
87
|
+
input: ListTagsForResourceCommandInput;
|
|
88
|
+
output: ListTagsForResourceCommandOutput;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElementalInferenceClient";
|
|
4
|
+
import type { TagResourceRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link TagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link TagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const TagResourceCommand_base: {
|
|
25
|
+
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Associates the specified tags to the resource identified by the specified resourceArn in the current region. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are also deleted.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ElementalInferenceClient, TagResourceCommand } from "@aws-sdk/client-elementalinference"; // ES Modules import
|
|
35
|
+
* // const { ElementalInferenceClient, TagResourceCommand } = require("@aws-sdk/client-elementalinference"); // CommonJS import
|
|
36
|
+
* // import type { ElementalInferenceClientConfig } from "@aws-sdk/client-elementalinference";
|
|
37
|
+
* const config = {}; // type is ElementalInferenceClientConfig
|
|
38
|
+
* const client = new ElementalInferenceClient(config);
|
|
39
|
+
* const input = { // TagResourceRequest
|
|
40
|
+
* resourceArn: "STRING_VALUE", // required
|
|
41
|
+
* tags: { // TagMap // required
|
|
42
|
+
* "<keys>": "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* };
|
|
45
|
+
* const command = new TagResourceCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
52
|
+
* @returns {@link TagResourceCommandOutput}
|
|
53
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link ElementalInferenceClientResolvedConfig | config} for ElementalInferenceClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
58
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ConflictException} (client fault)
|
|
61
|
+
* <p>The request could not be completed due to a conflict.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
64
|
+
* <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>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
+
* <p>The resource specified in the action doesn't exist.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link TooManyRequestException} (client fault)
|
|
70
|
+
* <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>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ValidationException} (client fault)
|
|
73
|
+
* <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>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ElementalInferenceServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from ElementalInference service.</p>
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: TagResourceRequest;
|
|
86
|
+
output: {};
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: TagResourceCommandInput;
|
|
90
|
+
output: TagResourceCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|