@aws-sdk/client-rtbfabric 3.915.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 +421 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +2476 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +56 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-es/RTBFabric.js +61 -0
- package/dist-es/RTBFabricClient.js +48 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/AcceptLinkCommand.js +22 -0
- package/dist-es/commands/CreateInboundExternalLinkCommand.js +22 -0
- package/dist-es/commands/CreateLinkCommand.js +22 -0
- package/dist-es/commands/CreateOutboundExternalLinkCommand.js +22 -0
- package/dist-es/commands/CreateRequesterGatewayCommand.js +22 -0
- package/dist-es/commands/CreateResponderGatewayCommand.js +23 -0
- package/dist-es/commands/DeleteInboundExternalLinkCommand.js +22 -0
- package/dist-es/commands/DeleteLinkCommand.js +22 -0
- package/dist-es/commands/DeleteOutboundExternalLinkCommand.js +22 -0
- package/dist-es/commands/DeleteRequesterGatewayCommand.js +22 -0
- package/dist-es/commands/DeleteResponderGatewayCommand.js +22 -0
- package/dist-es/commands/GetInboundExternalLinkCommand.js +22 -0
- package/dist-es/commands/GetLinkCommand.js +22 -0
- package/dist-es/commands/GetOutboundExternalLinkCommand.js +22 -0
- package/dist-es/commands/GetRequesterGatewayCommand.js +22 -0
- package/dist-es/commands/GetResponderGatewayCommand.js +23 -0
- package/dist-es/commands/ListLinksCommand.js +22 -0
- package/dist-es/commands/ListRequesterGatewaysCommand.js +22 -0
- package/dist-es/commands/ListResponderGatewaysCommand.js +22 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/RejectLinkCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/UpdateLinkCommand.js +22 -0
- package/dist-es/commands/UpdateLinkModuleFlowCommand.js +22 -0
- package/dist-es/commands/UpdateRequesterGatewayCommand.js +22 -0
- package/dist-es/commands/UpdateResponderGatewayCommand.js +23 -0
- package/dist-es/commands/index.js +27 -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 +7 -0
- package/dist-es/models/RTBFabricServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +219 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListLinksPaginator.js +4 -0
- package/dist-es/pagination/ListRequesterGatewaysPaginator.js +4 -0
- package/dist-es/pagination/ListResponderGatewaysPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +1147 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +51 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/waiters/index.js +8 -0
- package/dist-es/waiters/waitForInboundExternalLinkActive.js +67 -0
- package/dist-es/waiters/waitForLinkAccepted.js +58 -0
- package/dist-es/waiters/waitForLinkActive.js +58 -0
- package/dist-es/waiters/waitForOutboundExternalLinkActive.js +67 -0
- package/dist-es/waiters/waitForRequesterGatewayActive.js +49 -0
- package/dist-es/waiters/waitForRequesterGatewayDeleted.js +40 -0
- package/dist-es/waiters/waitForResponderGatewayActive.js +49 -0
- package/dist-es/waiters/waitForResponderGatewayDeleted.js +40 -0
- package/dist-types/RTBFabric.d.ts +201 -0
- package/dist-types/RTBFabricClient.d.ts +214 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/AcceptLinkCommand.d.ts +244 -0
- package/dist-types/commands/CreateInboundExternalLinkCommand.d.ts +134 -0
- package/dist-types/commands/CreateLinkCommand.d.ts +252 -0
- package/dist-types/commands/CreateOutboundExternalLinkCommand.d.ts +118 -0
- package/dist-types/commands/CreateRequesterGatewayCommand.d.ts +131 -0
- package/dist-types/commands/CreateResponderGatewayCommand.d.ts +155 -0
- package/dist-types/commands/DeleteInboundExternalLinkCommand.d.ts +111 -0
- package/dist-types/commands/DeleteLinkCommand.d.ts +111 -0
- package/dist-types/commands/DeleteOutboundExternalLinkCommand.d.ts +111 -0
- package/dist-types/commands/DeleteRequesterGatewayCommand.d.ts +106 -0
- package/dist-types/commands/DeleteResponderGatewayCommand.d.ts +106 -0
- package/dist-types/commands/GetInboundExternalLinkCommand.d.ts +214 -0
- package/dist-types/commands/GetLinkCommand.d.ts +226 -0
- package/dist-types/commands/GetOutboundExternalLinkCommand.d.ts +119 -0
- package/dist-types/commands/GetRequesterGatewayCommand.d.ts +136 -0
- package/dist-types/commands/GetResponderGatewayCommand.d.ts +162 -0
- package/dist-types/commands/ListLinksCommand.d.ts +225 -0
- package/dist-types/commands/ListRequesterGatewaysCommand.d.ts +122 -0
- package/dist-types/commands/ListResponderGatewaysCommand.d.ts +122 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +109 -0
- package/dist-types/commands/RejectLinkCommand.d.ts +215 -0
- package/dist-types/commands/TagResourceCommand.d.ts +107 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +107 -0
- package/dist-types/commands/UpdateLinkCommand.d.ts +127 -0
- package/dist-types/commands/UpdateLinkModuleFlowCommand.d.ts +173 -0
- package/dist-types/commands/UpdateRequesterGatewayCommand.d.ts +113 -0
- package/dist-types/commands/UpdateResponderGatewayCommand.d.ts +139 -0
- package/dist-types/commands/index.d.ts +27 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +38 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +15 -0
- package/dist-types/models/RTBFabricServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2011 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListLinksPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRequesterGatewaysPaginator.d.ts +7 -0
- package/dist-types/pagination/ListResponderGatewaysPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +245 -0
- package/dist-types/runtimeConfig.browser.d.ts +50 -0
- package/dist-types/runtimeConfig.d.ts +50 -0
- package/dist-types/runtimeConfig.native.d.ts +49 -0
- package/dist-types/runtimeConfig.shared.d.ts +25 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/RTBFabric.d.ts +466 -0
- package/dist-types/ts3.4/RTBFabricClient.d.ts +281 -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/AcceptLinkCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateInboundExternalLinkCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateLinkCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateOutboundExternalLinkCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateRequesterGatewayCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateResponderGatewayCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteInboundExternalLinkCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteLinkCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteOutboundExternalLinkCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteRequesterGatewayCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteResponderGatewayCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetInboundExternalLinkCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetLinkCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/GetOutboundExternalLinkCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetRequesterGatewayCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetResponderGatewayCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListLinksCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListRequesterGatewaysCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListResponderGatewaysCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RejectLinkCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateLinkCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateLinkModuleFlowCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateRequesterGatewayCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateResponderGatewayCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +27 -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 +10 -0
- package/dist-types/ts3.4/models/RTBFabricServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +618 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListLinksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRequesterGatewaysPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListResponderGatewaysPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +329 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +92 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/waiters/index.d.ts +8 -0
- package/dist-types/ts3.4/waiters/waitForInboundExternalLinkActive.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForLinkAccepted.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForLinkActive.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForOutboundExternalLinkActive.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForRequesterGatewayActive.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForRequesterGatewayDeleted.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForResponderGatewayActive.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForResponderGatewayDeleted.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +8 -0
- package/dist-types/waiters/waitForInboundExternalLinkActive.d.ts +14 -0
- package/dist-types/waiters/waitForLinkAccepted.d.ts +14 -0
- package/dist-types/waiters/waitForLinkActive.d.ts +14 -0
- package/dist-types/waiters/waitForOutboundExternalLinkActive.d.ts +14 -0
- package/dist-types/waiters/waitForRequesterGatewayActive.d.ts +14 -0
- package/dist-types/waiters/waitForRequesterGatewayDeleted.d.ts +14 -0
- package/dist-types/waiters/waitForResponderGatewayActive.d.ts +14 -0
- package/dist-types/waiters/waitForResponderGatewayDeleted.d.ts +14 -0
- package/package.json +101 -0
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateOutboundExternalLinkRequest, CreateOutboundExternalLinkResponse } from "../models/models_0";
|
|
4
|
+
import { RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RTBFabricClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateOutboundExternalLinkCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateOutboundExternalLinkCommandInput extends CreateOutboundExternalLinkRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateOutboundExternalLinkCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateOutboundExternalLinkCommandOutput extends CreateOutboundExternalLinkResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateOutboundExternalLinkCommand_base: {
|
|
25
|
+
new (input: CreateOutboundExternalLinkCommandInput): import("@smithy/smithy-client").CommandImpl<CreateOutboundExternalLinkCommandInput, CreateOutboundExternalLinkCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateOutboundExternalLinkCommandInput): import("@smithy/smithy-client").CommandImpl<CreateOutboundExternalLinkCommandInput, CreateOutboundExternalLinkCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates an outbound external link.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { RTBFabricClient, CreateOutboundExternalLinkCommand } from "@aws-sdk/client-rtbfabric"; // ES Modules import
|
|
35
|
+
* // const { RTBFabricClient, CreateOutboundExternalLinkCommand } = require("@aws-sdk/client-rtbfabric"); // CommonJS import
|
|
36
|
+
* // import type { RTBFabricClientConfig } from "@aws-sdk/client-rtbfabric";
|
|
37
|
+
* const config = {}; // type is RTBFabricClientConfig
|
|
38
|
+
* const client = new RTBFabricClient(config);
|
|
39
|
+
* const input = { // CreateOutboundExternalLinkRequest
|
|
40
|
+
* clientToken: "STRING_VALUE", // required
|
|
41
|
+
* gatewayId: "STRING_VALUE", // required
|
|
42
|
+
* publicEndpoint: "STRING_VALUE", // required
|
|
43
|
+
* tags: { // TagsMap
|
|
44
|
+
* "<keys>": "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* };
|
|
47
|
+
* const command = new CreateOutboundExternalLinkCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // CreateOutboundExternalLinkResponse
|
|
50
|
+
* // gatewayId: "STRING_VALUE", // required
|
|
51
|
+
* // linkId: "STRING_VALUE", // required
|
|
52
|
+
* // status: "PENDING_CREATION" || "PENDING_REQUEST" || "REQUESTED" || "ACCEPTED" || "ACTIVE" || "REJECTED" || "FAILED" || "PENDING_DELETION" || "DELETED" || "PENDING_UPDATE" || "PENDING_ISOLATION" || "ISOLATED" || "PENDING_RESTORATION", // required
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param CreateOutboundExternalLinkCommandInput - {@link CreateOutboundExternalLinkCommandInput}
|
|
58
|
+
* @returns {@link CreateOutboundExternalLinkCommandOutput}
|
|
59
|
+
* @see {@link CreateOutboundExternalLinkCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link CreateOutboundExternalLinkCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link RTBFabricClientResolvedConfig | config} for RTBFabricClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
64
|
+
* <p>The request could not be completed because you do not have sufficient access to perform this action.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InternalServerException} (server fault)
|
|
67
|
+
* <p>The request could not be completed because of an internal server error. Try your call again.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
|
+
* <p>The request could not be completed because the resource does not exist.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
73
|
+
* <p>The request could not be completed because you exceeded a service quota.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
76
|
+
* <p>The request was denied due to request throttling.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ValidationException} (client fault)
|
|
79
|
+
* <p>The request could not be completed because it fails satisfy the constraints specified by the service.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link RTBFabricServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from RTBFabric service.</p>
|
|
83
|
+
*
|
|
84
|
+
*
|
|
85
|
+
* @example Create an outbound external link
|
|
86
|
+
* ```javascript
|
|
87
|
+
* // Create an outbound external link for a requester gateway to connect to external public responder endpoints
|
|
88
|
+
* const input = {
|
|
89
|
+
* clientToken: "12345678-1234-1234-1234-123456789012",
|
|
90
|
+
* gatewayId: "rtb-gw-12345678",
|
|
91
|
+
* publicEndpoint: "https://external-responder.example.com"
|
|
92
|
+
* };
|
|
93
|
+
* const command = new CreateOutboundExternalLinkCommand(input);
|
|
94
|
+
* const response = await client.send(command);
|
|
95
|
+
* /* response is
|
|
96
|
+
* {
|
|
97
|
+
* gatewayId: "rtb-gw-12345678",
|
|
98
|
+
* linkId: "link-87654321",
|
|
99
|
+
* status: "ACTIVE"
|
|
100
|
+
* }
|
|
101
|
+
* *\/
|
|
102
|
+
* ```
|
|
103
|
+
*
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
export declare class CreateOutboundExternalLinkCommand extends CreateOutboundExternalLinkCommand_base {
|
|
107
|
+
/** @internal type navigation helper, not in runtime. */
|
|
108
|
+
protected static __types: {
|
|
109
|
+
api: {
|
|
110
|
+
input: CreateOutboundExternalLinkRequest;
|
|
111
|
+
output: CreateOutboundExternalLinkResponse;
|
|
112
|
+
};
|
|
113
|
+
sdk: {
|
|
114
|
+
input: CreateOutboundExternalLinkCommandInput;
|
|
115
|
+
output: CreateOutboundExternalLinkCommandOutput;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateRequesterGatewayRequest, CreateRequesterGatewayResponse } from "../models/models_0";
|
|
4
|
+
import { RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RTBFabricClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateRequesterGatewayCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateRequesterGatewayCommandInput extends CreateRequesterGatewayRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateRequesterGatewayCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateRequesterGatewayCommandOutput extends CreateRequesterGatewayResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateRequesterGatewayCommand_base: {
|
|
25
|
+
new (input: CreateRequesterGatewayCommandInput): import("@smithy/smithy-client").CommandImpl<CreateRequesterGatewayCommandInput, CreateRequesterGatewayCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateRequesterGatewayCommandInput): import("@smithy/smithy-client").CommandImpl<CreateRequesterGatewayCommandInput, CreateRequesterGatewayCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a requester gateway.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { RTBFabricClient, CreateRequesterGatewayCommand } from "@aws-sdk/client-rtbfabric"; // ES Modules import
|
|
35
|
+
* // const { RTBFabricClient, CreateRequesterGatewayCommand } = require("@aws-sdk/client-rtbfabric"); // CommonJS import
|
|
36
|
+
* // import type { RTBFabricClientConfig } from "@aws-sdk/client-rtbfabric";
|
|
37
|
+
* const config = {}; // type is RTBFabricClientConfig
|
|
38
|
+
* const client = new RTBFabricClient(config);
|
|
39
|
+
* const input = { // CreateRequesterGatewayRequest
|
|
40
|
+
* vpcId: "STRING_VALUE", // required
|
|
41
|
+
* subnetIds: [ // SubnetIdList // required
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* securityGroupIds: [ // SecurityGroupIdList // required
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* clientToken: "STRING_VALUE", // required
|
|
48
|
+
* description: "STRING_VALUE",
|
|
49
|
+
* tags: { // TagsMap
|
|
50
|
+
* "<keys>": "STRING_VALUE",
|
|
51
|
+
* },
|
|
52
|
+
* };
|
|
53
|
+
* const command = new CreateRequesterGatewayCommand(input);
|
|
54
|
+
* const response = await client.send(command);
|
|
55
|
+
* // { // CreateRequesterGatewayResponse
|
|
56
|
+
* // gatewayId: "STRING_VALUE", // required
|
|
57
|
+
* // domainName: "STRING_VALUE", // required
|
|
58
|
+
* // status: "PENDING_CREATION" || "ACTIVE" || "PENDING_DELETION" || "DELETED" || "ERROR" || "PENDING_UPDATE" || "ISOLATED" || "PENDING_ISOLATION" || "PENDING_RESTORATION", // required
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param CreateRequesterGatewayCommandInput - {@link CreateRequesterGatewayCommandInput}
|
|
64
|
+
* @returns {@link CreateRequesterGatewayCommandOutput}
|
|
65
|
+
* @see {@link CreateRequesterGatewayCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link CreateRequesterGatewayCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link RTBFabricClientResolvedConfig | config} for RTBFabricClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
70
|
+
* <p>The request could not be completed because you do not have sufficient access to perform this action.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link InternalServerException} (server fault)
|
|
73
|
+
* <p>The request could not be completed because of an internal server error. Try your call again.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
76
|
+
* <p>The request could not be completed because the resource does not exist.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
79
|
+
* <p>The request could not be completed because you exceeded a service quota.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
82
|
+
* <p>The request was denied due to request throttling.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ValidationException} (client fault)
|
|
85
|
+
* <p>The request could not be completed because it fails satisfy the constraints specified by the service.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link RTBFabricServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from RTBFabric service.</p>
|
|
89
|
+
*
|
|
90
|
+
*
|
|
91
|
+
* @example Create a requester gateway
|
|
92
|
+
* ```javascript
|
|
93
|
+
* // Create requester gateway
|
|
94
|
+
* const input = {
|
|
95
|
+
* clientToken: "12345678-1234-1234-1234-123456789012",
|
|
96
|
+
* description: "My requester gateway",
|
|
97
|
+
* securityGroupIds: [
|
|
98
|
+
* "sg-12345678"
|
|
99
|
+
* ],
|
|
100
|
+
* subnetIds: [
|
|
101
|
+
* "subnet-12345678",
|
|
102
|
+
* "subnet-87654321"
|
|
103
|
+
* ],
|
|
104
|
+
* vpcId: "vpc-12345678"
|
|
105
|
+
* };
|
|
106
|
+
* const command = new CreateRequesterGatewayCommand(input);
|
|
107
|
+
* const response = await client.send(command);
|
|
108
|
+
* /* response is
|
|
109
|
+
* {
|
|
110
|
+
* domainName: "rtb-gw-12345678.example.com",
|
|
111
|
+
* gatewayId: "rtb-gw-12345678",
|
|
112
|
+
* status: "ACTIVE"
|
|
113
|
+
* }
|
|
114
|
+
* *\/
|
|
115
|
+
* ```
|
|
116
|
+
*
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
export declare class CreateRequesterGatewayCommand extends CreateRequesterGatewayCommand_base {
|
|
120
|
+
/** @internal type navigation helper, not in runtime. */
|
|
121
|
+
protected static __types: {
|
|
122
|
+
api: {
|
|
123
|
+
input: CreateRequesterGatewayRequest;
|
|
124
|
+
output: CreateRequesterGatewayResponse;
|
|
125
|
+
};
|
|
126
|
+
sdk: {
|
|
127
|
+
input: CreateRequesterGatewayCommandInput;
|
|
128
|
+
output: CreateRequesterGatewayCommandOutput;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateResponderGatewayRequest, CreateResponderGatewayResponse } from "../models/models_0";
|
|
4
|
+
import { RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RTBFabricClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateResponderGatewayCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateResponderGatewayCommandInput extends CreateResponderGatewayRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateResponderGatewayCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateResponderGatewayCommandOutput extends CreateResponderGatewayResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateResponderGatewayCommand_base: {
|
|
25
|
+
new (input: CreateResponderGatewayCommandInput): import("@smithy/smithy-client").CommandImpl<CreateResponderGatewayCommandInput, CreateResponderGatewayCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateResponderGatewayCommandInput): import("@smithy/smithy-client").CommandImpl<CreateResponderGatewayCommandInput, CreateResponderGatewayCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a responder gateway.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { RTBFabricClient, CreateResponderGatewayCommand } from "@aws-sdk/client-rtbfabric"; // ES Modules import
|
|
35
|
+
* // const { RTBFabricClient, CreateResponderGatewayCommand } = require("@aws-sdk/client-rtbfabric"); // CommonJS import
|
|
36
|
+
* // import type { RTBFabricClientConfig } from "@aws-sdk/client-rtbfabric";
|
|
37
|
+
* const config = {}; // type is RTBFabricClientConfig
|
|
38
|
+
* const client = new RTBFabricClient(config);
|
|
39
|
+
* const input = { // CreateResponderGatewayRequest
|
|
40
|
+
* vpcId: "STRING_VALUE", // required
|
|
41
|
+
* subnetIds: [ // SubnetIdList // required
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* securityGroupIds: [ // SecurityGroupIdList // required
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* domainName: "STRING_VALUE",
|
|
48
|
+
* port: Number("int"), // required
|
|
49
|
+
* protocol: "HTTP" || "HTTPS", // required
|
|
50
|
+
* trustStoreConfiguration: { // TrustStoreConfiguration
|
|
51
|
+
* certificateAuthorityCertificates: [ // CertificateAuthorityCertificates // required
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
54
|
+
* },
|
|
55
|
+
* managedEndpointConfiguration: { // ManagedEndpointConfiguration Union: only one key present
|
|
56
|
+
* autoScalingGroups: { // AutoScalingGroupsConfiguration
|
|
57
|
+
* autoScalingGroupNames: [ // AutoScalingGroupNameList // required
|
|
58
|
+
* "STRING_VALUE",
|
|
59
|
+
* ],
|
|
60
|
+
* roleArn: "STRING_VALUE", // required
|
|
61
|
+
* },
|
|
62
|
+
* eksEndpoints: { // EksEndpointsConfiguration
|
|
63
|
+
* endpointsResourceName: "STRING_VALUE", // required
|
|
64
|
+
* endpointsResourceNamespace: "STRING_VALUE", // required
|
|
65
|
+
* clusterApiServerEndpointUri: "STRING_VALUE", // required
|
|
66
|
+
* clusterApiServerCaCertificateChain: "STRING_VALUE", // required
|
|
67
|
+
* clusterName: "STRING_VALUE", // required
|
|
68
|
+
* roleArn: "STRING_VALUE", // required
|
|
69
|
+
* },
|
|
70
|
+
* },
|
|
71
|
+
* clientToken: "STRING_VALUE", // required
|
|
72
|
+
* description: "STRING_VALUE",
|
|
73
|
+
* tags: { // TagsMap
|
|
74
|
+
* "<keys>": "STRING_VALUE",
|
|
75
|
+
* },
|
|
76
|
+
* };
|
|
77
|
+
* const command = new CreateResponderGatewayCommand(input);
|
|
78
|
+
* const response = await client.send(command);
|
|
79
|
+
* // { // CreateResponderGatewayResponse
|
|
80
|
+
* // gatewayId: "STRING_VALUE", // required
|
|
81
|
+
* // status: "PENDING_CREATION" || "ACTIVE" || "PENDING_DELETION" || "DELETED" || "ERROR" || "PENDING_UPDATE" || "ISOLATED" || "PENDING_ISOLATION" || "PENDING_RESTORATION", // required
|
|
82
|
+
* // };
|
|
83
|
+
*
|
|
84
|
+
* ```
|
|
85
|
+
*
|
|
86
|
+
* @param CreateResponderGatewayCommandInput - {@link CreateResponderGatewayCommandInput}
|
|
87
|
+
* @returns {@link CreateResponderGatewayCommandOutput}
|
|
88
|
+
* @see {@link CreateResponderGatewayCommandInput} for command's `input` shape.
|
|
89
|
+
* @see {@link CreateResponderGatewayCommandOutput} for command's `response` shape.
|
|
90
|
+
* @see {@link RTBFabricClientResolvedConfig | config} for RTBFabricClient's `config` shape.
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
93
|
+
* <p>The request could not be completed because you do not have sufficient access to perform this action.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link InternalServerException} (server fault)
|
|
96
|
+
* <p>The request could not be completed because of an internal server error. Try your call again.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
99
|
+
* <p>The request could not be completed because the resource does not exist.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
102
|
+
* <p>The request could not be completed because you exceeded a service quota.</p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
105
|
+
* <p>The request was denied due to request throttling.</p>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link ValidationException} (client fault)
|
|
108
|
+
* <p>The request could not be completed because it fails satisfy the constraints specified by the service.</p>
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link RTBFabricServiceException}
|
|
111
|
+
* <p>Base exception class for all service exceptions from RTBFabric service.</p>
|
|
112
|
+
*
|
|
113
|
+
*
|
|
114
|
+
* @example Create a responder gateway
|
|
115
|
+
* ```javascript
|
|
116
|
+
* // Create responder gateway
|
|
117
|
+
* const input = {
|
|
118
|
+
* clientToken: "12345678-1234-1234-1234-123456789012",
|
|
119
|
+
* description: "My responder gateway",
|
|
120
|
+
* port: 443,
|
|
121
|
+
* protocol: "HTTPS",
|
|
122
|
+
* securityGroupIds: [
|
|
123
|
+
* "sg-12345678"
|
|
124
|
+
* ],
|
|
125
|
+
* subnetIds: [
|
|
126
|
+
* "subnet-12345678",
|
|
127
|
+
* "subnet-87654321"
|
|
128
|
+
* ],
|
|
129
|
+
* vpcId: "vpc-12345678"
|
|
130
|
+
* };
|
|
131
|
+
* const command = new CreateResponderGatewayCommand(input);
|
|
132
|
+
* const response = await client.send(command);
|
|
133
|
+
* /* response is
|
|
134
|
+
* {
|
|
135
|
+
* gatewayId: "rtb-gw-12345678",
|
|
136
|
+
* status: "ACTIVE"
|
|
137
|
+
* }
|
|
138
|
+
* *\/
|
|
139
|
+
* ```
|
|
140
|
+
*
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
export declare class CreateResponderGatewayCommand extends CreateResponderGatewayCommand_base {
|
|
144
|
+
/** @internal type navigation helper, not in runtime. */
|
|
145
|
+
protected static __types: {
|
|
146
|
+
api: {
|
|
147
|
+
input: CreateResponderGatewayRequest;
|
|
148
|
+
output: CreateResponderGatewayResponse;
|
|
149
|
+
};
|
|
150
|
+
sdk: {
|
|
151
|
+
input: CreateResponderGatewayCommandInput;
|
|
152
|
+
output: CreateResponderGatewayCommandOutput;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteInboundExternalLinkRequest, DeleteInboundExternalLinkResponse } from "../models/models_0";
|
|
4
|
+
import { RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RTBFabricClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteInboundExternalLinkCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteInboundExternalLinkCommandInput extends DeleteInboundExternalLinkRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteInboundExternalLinkCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteInboundExternalLinkCommandOutput extends DeleteInboundExternalLinkResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteInboundExternalLinkCommand_base: {
|
|
25
|
+
new (input: DeleteInboundExternalLinkCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteInboundExternalLinkCommandInput, DeleteInboundExternalLinkCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteInboundExternalLinkCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteInboundExternalLinkCommandInput, DeleteInboundExternalLinkCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes an inbound external link.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { RTBFabricClient, DeleteInboundExternalLinkCommand } from "@aws-sdk/client-rtbfabric"; // ES Modules import
|
|
35
|
+
* // const { RTBFabricClient, DeleteInboundExternalLinkCommand } = require("@aws-sdk/client-rtbfabric"); // CommonJS import
|
|
36
|
+
* // import type { RTBFabricClientConfig } from "@aws-sdk/client-rtbfabric";
|
|
37
|
+
* const config = {}; // type is RTBFabricClientConfig
|
|
38
|
+
* const client = new RTBFabricClient(config);
|
|
39
|
+
* const input = { // DeleteInboundExternalLinkRequest
|
|
40
|
+
* gatewayId: "STRING_VALUE", // required
|
|
41
|
+
* linkId: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DeleteInboundExternalLinkCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // DeleteInboundExternalLinkResponse
|
|
46
|
+
* // linkId: "STRING_VALUE", // required
|
|
47
|
+
* // status: "PENDING_CREATION" || "PENDING_REQUEST" || "REQUESTED" || "ACCEPTED" || "ACTIVE" || "REJECTED" || "FAILED" || "PENDING_DELETION" || "DELETED" || "PENDING_UPDATE" || "PENDING_ISOLATION" || "ISOLATED" || "PENDING_RESTORATION", // required
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param DeleteInboundExternalLinkCommandInput - {@link DeleteInboundExternalLinkCommandInput}
|
|
53
|
+
* @returns {@link DeleteInboundExternalLinkCommandOutput}
|
|
54
|
+
* @see {@link DeleteInboundExternalLinkCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link DeleteInboundExternalLinkCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link RTBFabricClientResolvedConfig | config} for RTBFabricClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
59
|
+
* <p>The request could not be completed because 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 because of a conflict in the current state of the resource.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InternalServerException} (server fault)
|
|
65
|
+
* <p>The request could not be completed because of an internal server error. Try your call again.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>The request could not be completed because the resource does not exist.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
+
* <p>The request was denied due to request throttling.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <p>The request could not be completed because it fails satisfy the constraints specified by the service.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link RTBFabricServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from RTBFabric service.</p>
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @example Delete an inbound external link
|
|
81
|
+
* ```javascript
|
|
82
|
+
* // Delete an inbound external link
|
|
83
|
+
* const input = {
|
|
84
|
+
* gatewayId: "rtb-gw-12345678",
|
|
85
|
+
* linkId: "link-87654321"
|
|
86
|
+
* };
|
|
87
|
+
* const command = new DeleteInboundExternalLinkCommand(input);
|
|
88
|
+
* const response = await client.send(command);
|
|
89
|
+
* /* response is
|
|
90
|
+
* {
|
|
91
|
+
* linkId: "link-87654321",
|
|
92
|
+
* status: "DELETED"
|
|
93
|
+
* }
|
|
94
|
+
* *\/
|
|
95
|
+
* ```
|
|
96
|
+
*
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export declare class DeleteInboundExternalLinkCommand extends DeleteInboundExternalLinkCommand_base {
|
|
100
|
+
/** @internal type navigation helper, not in runtime. */
|
|
101
|
+
protected static __types: {
|
|
102
|
+
api: {
|
|
103
|
+
input: DeleteInboundExternalLinkRequest;
|
|
104
|
+
output: DeleteInboundExternalLinkResponse;
|
|
105
|
+
};
|
|
106
|
+
sdk: {
|
|
107
|
+
input: DeleteInboundExternalLinkCommandInput;
|
|
108
|
+
output: DeleteInboundExternalLinkCommandOutput;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteLinkRequest, DeleteLinkResponse } from "../models/models_0";
|
|
4
|
+
import { RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RTBFabricClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteLinkCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteLinkCommandInput extends DeleteLinkRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteLinkCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteLinkCommandOutput extends DeleteLinkResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteLinkCommand_base: {
|
|
25
|
+
new (input: DeleteLinkCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteLinkCommandInput, DeleteLinkCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteLinkCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteLinkCommandInput, DeleteLinkCommandOutput, RTBFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a link between RTB applications.</p> <p>Permanently removes the connection between RTB applications. This action cannot be undone.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { RTBFabricClient, DeleteLinkCommand } from "@aws-sdk/client-rtbfabric"; // ES Modules import
|
|
35
|
+
* // const { RTBFabricClient, DeleteLinkCommand } = require("@aws-sdk/client-rtbfabric"); // CommonJS import
|
|
36
|
+
* // import type { RTBFabricClientConfig } from "@aws-sdk/client-rtbfabric";
|
|
37
|
+
* const config = {}; // type is RTBFabricClientConfig
|
|
38
|
+
* const client = new RTBFabricClient(config);
|
|
39
|
+
* const input = { // DeleteLinkRequest
|
|
40
|
+
* gatewayId: "STRING_VALUE", // required
|
|
41
|
+
* linkId: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DeleteLinkCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // DeleteLinkResponse
|
|
46
|
+
* // linkId: "STRING_VALUE", // required
|
|
47
|
+
* // status: "PENDING_CREATION" || "PENDING_REQUEST" || "REQUESTED" || "ACCEPTED" || "ACTIVE" || "REJECTED" || "FAILED" || "PENDING_DELETION" || "DELETED" || "PENDING_UPDATE" || "PENDING_ISOLATION" || "ISOLATED" || "PENDING_RESTORATION", // required
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param DeleteLinkCommandInput - {@link DeleteLinkCommandInput}
|
|
53
|
+
* @returns {@link DeleteLinkCommandOutput}
|
|
54
|
+
* @see {@link DeleteLinkCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link DeleteLinkCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link RTBFabricClientResolvedConfig | config} for RTBFabricClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
59
|
+
* <p>The request could not be completed because 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 because of a conflict in the current state of the resource.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InternalServerException} (server fault)
|
|
65
|
+
* <p>The request could not be completed because of an internal server error. Try your call again.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>The request could not be completed because the resource does not exist.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
+
* <p>The request was denied due to request throttling.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <p>The request could not be completed because it fails satisfy the constraints specified by the service.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link RTBFabricServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from RTBFabric service.</p>
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @example Delete a link
|
|
81
|
+
* ```javascript
|
|
82
|
+
* // Deletes an existing link
|
|
83
|
+
* const input = {
|
|
84
|
+
* gatewayId: "rtb-gw-12345678",
|
|
85
|
+
* linkId: "link-87654321"
|
|
86
|
+
* };
|
|
87
|
+
* const command = new DeleteLinkCommand(input);
|
|
88
|
+
* const response = await client.send(command);
|
|
89
|
+
* /* response is
|
|
90
|
+
* {
|
|
91
|
+
* linkId: "link-87654321",
|
|
92
|
+
* status: "PENDING_DELETION"
|
|
93
|
+
* }
|
|
94
|
+
* *\/
|
|
95
|
+
* ```
|
|
96
|
+
*
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export declare class DeleteLinkCommand extends DeleteLinkCommand_base {
|
|
100
|
+
/** @internal type navigation helper, not in runtime. */
|
|
101
|
+
protected static __types: {
|
|
102
|
+
api: {
|
|
103
|
+
input: DeleteLinkRequest;
|
|
104
|
+
output: DeleteLinkResponse;
|
|
105
|
+
};
|
|
106
|
+
sdk: {
|
|
107
|
+
input: DeleteLinkCommandInput;
|
|
108
|
+
output: DeleteLinkCommandOutput;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
}
|