@aws-sdk/client-codestar-connections 3.35.0 → 3.38.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/CHANGELOG.md +47 -0
- package/dist-cjs/CodeStarConnections.js +0 -83
- package/dist-cjs/CodeStarConnectionsClient.js +0 -88
- package/dist-cjs/commands/CreateConnectionCommand.js +0 -27
- package/dist-cjs/commands/CreateHostCommand.js +0 -32
- package/dist-cjs/commands/DeleteConnectionCommand.js +0 -25
- package/dist-cjs/commands/DeleteHostCommand.js +0 -28
- package/dist-cjs/commands/GetConnectionCommand.js +0 -25
- package/dist-cjs/commands/GetHostCommand.js +0 -26
- package/dist-cjs/commands/ListConnectionsCommand.js +0 -25
- package/dist-cjs/commands/ListHostsCommand.js +0 -25
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/TagResourceCommand.js +0 -26
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdateHostCommand.js +0 -25
- package/dist-cjs/commands/index.js +15 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -18
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -100
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListConnectionsPaginator.js +0 -11
- package/dist-cjs/pagination/ListHostsPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_json1_0.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/CodeStarConnections.js +0 -1
- package/dist-es/CodeStarConnectionsClient.js +0 -1
- package/dist-es/commands/CreateConnectionCommand.js +0 -1
- package/dist-es/commands/CreateHostCommand.js +0 -1
- package/dist-es/commands/DeleteConnectionCommand.js +0 -1
- package/dist-es/commands/DeleteHostCommand.js +0 -1
- package/dist-es/commands/GetConnectionCommand.js +0 -1
- package/dist-es/commands/GetHostCommand.js +0 -1
- package/dist-es/commands/ListConnectionsCommand.js +0 -1
- package/dist-es/commands/ListHostsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateHostCommand.js +0 -1
- package/dist-es/commands/index.js +12 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -18
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListConnectionsPaginator.js +0 -1
- package/dist-es/pagination/ListHostsPaginator.js +0 -1
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_json1_0.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/index.d.ts +4 -17
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/CodeStarConnections.d.ts +13 -132
- package/dist-types/ts3.4/CodeStarConnectionsClient.d.ts +24 -168
- package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateHostCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteHostCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetConnectionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetHostCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListHostsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateHostCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/index.d.ts +4 -17
- package/dist-types/ts3.4/models/models_0.d.ts +101 -349
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/CodeStarConnections.js.map +0 -1
- package/dist-cjs/CodeStarConnectionsClient.js.map +0 -1
- package/dist-cjs/commands/CreateConnectionCommand.js.map +0 -1
- package/dist-cjs/commands/CreateHostCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteConnectionCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteHostCommand.js.map +0 -1
- package/dist-cjs/commands/GetConnectionCommand.js.map +0 -1
- package/dist-cjs/commands/GetHostCommand.js.map +0 -1
- package/dist-cjs/commands/ListConnectionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListHostsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateHostCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListConnectionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListHostsPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_0.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/CodeStarConnections.js.map +0 -1
- package/dist-es/CodeStarConnectionsClient.js.map +0 -1
- package/dist-es/commands/CreateConnectionCommand.js.map +0 -1
- package/dist-es/commands/CreateHostCommand.js.map +0 -1
- package/dist-es/commands/DeleteConnectionCommand.js.map +0 -1
- package/dist-es/commands/DeleteHostCommand.js.map +0 -1
- package/dist-es/commands/GetConnectionCommand.js.map +0 -1
- package/dist-es/commands/GetHostCommand.js.map +0 -1
- package/dist-es/commands/ListConnectionsCommand.js.map +0 -1
- package/dist-es/commands/ListHostsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateHostCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListConnectionsPaginator.js.map +0 -1
- package/dist-es/pagination/ListHostsPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_json1_0.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/CodeStarConnections.ts +0 -485
- package/src/CodeStarConnectionsClient.ts +0 -354
- package/src/commands/CreateConnectionCommand.ts +0 -101
- package/src/commands/CreateHostCommand.ts +0 -106
- package/src/commands/DeleteConnectionCommand.ts +0 -99
- package/src/commands/DeleteHostCommand.ts +0 -102
- package/src/commands/GetConnectionCommand.ts +0 -99
- package/src/commands/GetHostCommand.ts +0 -97
- package/src/commands/ListConnectionsCommand.ts +0 -99
- package/src/commands/ListHostsCommand.ts +0 -96
- package/src/commands/ListTagsForResourceCommand.ts +0 -99
- package/src/commands/TagResourceCommand.ts +0 -100
- package/src/commands/UntagResourceCommand.ts +0 -99
- package/src/commands/UpdateHostCommand.ts +0 -99
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -18
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -768
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListConnectionsPaginator.ts +0 -59
- package/src/pagination/ListHostsPaginator.ts +0 -55
- package/src/protocols/Aws_json1_0.ts +0 -1483
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,354 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
EndpointsInputConfig,
|
|
3
|
-
EndpointsResolvedConfig,
|
|
4
|
-
RegionInputConfig,
|
|
5
|
-
RegionResolvedConfig,
|
|
6
|
-
resolveEndpointsConfig,
|
|
7
|
-
resolveRegionConfig,
|
|
8
|
-
} from "@aws-sdk/config-resolver";
|
|
9
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
10
|
-
import {
|
|
11
|
-
getHostHeaderPlugin,
|
|
12
|
-
HostHeaderInputConfig,
|
|
13
|
-
HostHeaderResolvedConfig,
|
|
14
|
-
resolveHostHeaderConfig,
|
|
15
|
-
} from "@aws-sdk/middleware-host-header";
|
|
16
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
17
|
-
import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
18
|
-
import {
|
|
19
|
-
AwsAuthInputConfig,
|
|
20
|
-
AwsAuthResolvedConfig,
|
|
21
|
-
getAwsAuthPlugin,
|
|
22
|
-
resolveAwsAuthConfig,
|
|
23
|
-
} from "@aws-sdk/middleware-signing";
|
|
24
|
-
import {
|
|
25
|
-
getUserAgentPlugin,
|
|
26
|
-
resolveUserAgentConfig,
|
|
27
|
-
UserAgentInputConfig,
|
|
28
|
-
UserAgentResolvedConfig,
|
|
29
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
30
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
31
|
-
import {
|
|
32
|
-
Client as __Client,
|
|
33
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
34
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
35
|
-
} from "@aws-sdk/smithy-client";
|
|
36
|
-
import {
|
|
37
|
-
Credentials as __Credentials,
|
|
38
|
-
Decoder as __Decoder,
|
|
39
|
-
Encoder as __Encoder,
|
|
40
|
-
Hash as __Hash,
|
|
41
|
-
HashConstructor as __HashConstructor,
|
|
42
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
43
|
-
Logger as __Logger,
|
|
44
|
-
Provider as __Provider,
|
|
45
|
-
Provider,
|
|
46
|
-
RegionInfoProvider,
|
|
47
|
-
StreamCollector as __StreamCollector,
|
|
48
|
-
UrlParser as __UrlParser,
|
|
49
|
-
UserAgent as __UserAgent,
|
|
50
|
-
} from "@aws-sdk/types";
|
|
51
|
-
|
|
52
|
-
import { CreateConnectionCommandInput, CreateConnectionCommandOutput } from "./commands/CreateConnectionCommand";
|
|
53
|
-
import { CreateHostCommandInput, CreateHostCommandOutput } from "./commands/CreateHostCommand";
|
|
54
|
-
import { DeleteConnectionCommandInput, DeleteConnectionCommandOutput } from "./commands/DeleteConnectionCommand";
|
|
55
|
-
import { DeleteHostCommandInput, DeleteHostCommandOutput } from "./commands/DeleteHostCommand";
|
|
56
|
-
import { GetConnectionCommandInput, GetConnectionCommandOutput } from "./commands/GetConnectionCommand";
|
|
57
|
-
import { GetHostCommandInput, GetHostCommandOutput } from "./commands/GetHostCommand";
|
|
58
|
-
import { ListConnectionsCommandInput, ListConnectionsCommandOutput } from "./commands/ListConnectionsCommand";
|
|
59
|
-
import { ListHostsCommandInput, ListHostsCommandOutput } from "./commands/ListHostsCommand";
|
|
60
|
-
import {
|
|
61
|
-
ListTagsForResourceCommandInput,
|
|
62
|
-
ListTagsForResourceCommandOutput,
|
|
63
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
64
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
65
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
66
|
-
import { UpdateHostCommandInput, UpdateHostCommandOutput } from "./commands/UpdateHostCommand";
|
|
67
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
68
|
-
|
|
69
|
-
export type ServiceInputTypes =
|
|
70
|
-
| CreateConnectionCommandInput
|
|
71
|
-
| CreateHostCommandInput
|
|
72
|
-
| DeleteConnectionCommandInput
|
|
73
|
-
| DeleteHostCommandInput
|
|
74
|
-
| GetConnectionCommandInput
|
|
75
|
-
| GetHostCommandInput
|
|
76
|
-
| ListConnectionsCommandInput
|
|
77
|
-
| ListHostsCommandInput
|
|
78
|
-
| ListTagsForResourceCommandInput
|
|
79
|
-
| TagResourceCommandInput
|
|
80
|
-
| UntagResourceCommandInput
|
|
81
|
-
| UpdateHostCommandInput;
|
|
82
|
-
|
|
83
|
-
export type ServiceOutputTypes =
|
|
84
|
-
| CreateConnectionCommandOutput
|
|
85
|
-
| CreateHostCommandOutput
|
|
86
|
-
| DeleteConnectionCommandOutput
|
|
87
|
-
| DeleteHostCommandOutput
|
|
88
|
-
| GetConnectionCommandOutput
|
|
89
|
-
| GetHostCommandOutput
|
|
90
|
-
| ListConnectionsCommandOutput
|
|
91
|
-
| ListHostsCommandOutput
|
|
92
|
-
| ListTagsForResourceCommandOutput
|
|
93
|
-
| TagResourceCommandOutput
|
|
94
|
-
| UntagResourceCommandOutput
|
|
95
|
-
| UpdateHostCommandOutput;
|
|
96
|
-
|
|
97
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
98
|
-
/**
|
|
99
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
100
|
-
*/
|
|
101
|
-
requestHandler?: __HttpHandler;
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
105
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
106
|
-
* @internal
|
|
107
|
-
*/
|
|
108
|
-
sha256?: __HashConstructor;
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
112
|
-
* @internal
|
|
113
|
-
*/
|
|
114
|
-
urlParser?: __UrlParser;
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* A function that can calculate the length of a request body.
|
|
118
|
-
* @internal
|
|
119
|
-
*/
|
|
120
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* A function that converts a stream into an array of bytes.
|
|
124
|
-
* @internal
|
|
125
|
-
*/
|
|
126
|
-
streamCollector?: __StreamCollector;
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
130
|
-
* @internal
|
|
131
|
-
*/
|
|
132
|
-
base64Decoder?: __Decoder;
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
136
|
-
* @internal
|
|
137
|
-
*/
|
|
138
|
-
base64Encoder?: __Encoder;
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
142
|
-
* @internal
|
|
143
|
-
*/
|
|
144
|
-
utf8Decoder?: __Decoder;
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
148
|
-
* @internal
|
|
149
|
-
*/
|
|
150
|
-
utf8Encoder?: __Encoder;
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* The runtime environment.
|
|
154
|
-
* @internal
|
|
155
|
-
*/
|
|
156
|
-
runtime?: string;
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
160
|
-
* trait of an operation.
|
|
161
|
-
*/
|
|
162
|
-
disableHostPrefix?: boolean;
|
|
163
|
-
|
|
164
|
-
/**
|
|
165
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
166
|
-
*/
|
|
167
|
-
maxAttempts?: number | __Provider<number>;
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* Specifies which retry algorithm to use.
|
|
171
|
-
*/
|
|
172
|
-
retryMode?: string | __Provider<string>;
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* Optional logger for logging debug/info/warn/error.
|
|
176
|
-
*/
|
|
177
|
-
logger?: __Logger;
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* Unique service identifier.
|
|
181
|
-
* @internal
|
|
182
|
-
*/
|
|
183
|
-
serviceId?: string;
|
|
184
|
-
|
|
185
|
-
/**
|
|
186
|
-
* The AWS region to which this client will send requests
|
|
187
|
-
*/
|
|
188
|
-
region?: string | __Provider<string>;
|
|
189
|
-
|
|
190
|
-
/**
|
|
191
|
-
* Default credentials provider; Not available in browser runtime.
|
|
192
|
-
* @internal
|
|
193
|
-
*/
|
|
194
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
198
|
-
* @internal
|
|
199
|
-
*/
|
|
200
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
201
|
-
|
|
202
|
-
/**
|
|
203
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
204
|
-
* @internal
|
|
205
|
-
*/
|
|
206
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
type CodeStarConnectionsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
210
|
-
ClientDefaults &
|
|
211
|
-
RegionInputConfig &
|
|
212
|
-
EndpointsInputConfig &
|
|
213
|
-
RetryInputConfig &
|
|
214
|
-
HostHeaderInputConfig &
|
|
215
|
-
AwsAuthInputConfig &
|
|
216
|
-
UserAgentInputConfig;
|
|
217
|
-
/**
|
|
218
|
-
* The configuration interface of CodeStarConnectionsClient class constructor that set the region, credentials and other options.
|
|
219
|
-
*/
|
|
220
|
-
export interface CodeStarConnectionsClientConfig extends CodeStarConnectionsClientConfigType {}
|
|
221
|
-
|
|
222
|
-
type CodeStarConnectionsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
223
|
-
Required<ClientDefaults> &
|
|
224
|
-
RegionResolvedConfig &
|
|
225
|
-
EndpointsResolvedConfig &
|
|
226
|
-
RetryResolvedConfig &
|
|
227
|
-
HostHeaderResolvedConfig &
|
|
228
|
-
AwsAuthResolvedConfig &
|
|
229
|
-
UserAgentResolvedConfig;
|
|
230
|
-
/**
|
|
231
|
-
* The resolved configuration interface of CodeStarConnectionsClient class. This is resolved and normalized from the {@link CodeStarConnectionsClientConfig | constructor configuration interface}.
|
|
232
|
-
*/
|
|
233
|
-
export interface CodeStarConnectionsClientResolvedConfig extends CodeStarConnectionsClientResolvedConfigType {}
|
|
234
|
-
|
|
235
|
-
/**
|
|
236
|
-
* <fullname>AWS CodeStar Connections</fullname>
|
|
237
|
-
* <p>This AWS CodeStar Connections API Reference provides descriptions and usage examples of
|
|
238
|
-
* the operations and data types for the AWS CodeStar Connections API. You can use the
|
|
239
|
-
* connections API to work with connections and installations.</p>
|
|
240
|
-
* <p>
|
|
241
|
-
* <i>Connections</i> are configurations that you use to connect AWS
|
|
242
|
-
* resources to external code repositories. Each connection is a resource that can be given to
|
|
243
|
-
* services such as CodePipeline to connect to a third-party repository such as Bitbucket. For
|
|
244
|
-
* example, you can add the connection in CodePipeline so that it triggers your pipeline when a
|
|
245
|
-
* code change is made to your third-party code repository. Each connection is named and
|
|
246
|
-
* associated with a unique ARN that is used to reference the connection.</p>
|
|
247
|
-
* <p>When you create a connection, the console initiates a third-party connection handshake.
|
|
248
|
-
* <i>Installations</i> are the apps that are used to conduct this handshake. For
|
|
249
|
-
* example, the installation for the Bitbucket provider type is the Bitbucket app. When you
|
|
250
|
-
* create a connection, you can choose an existing installation or create one.</p>
|
|
251
|
-
* <p>When you want to create a connection to an installed provider type such as GitHub
|
|
252
|
-
* Enterprise Server, you create a <i>host</i> for your connections.</p>
|
|
253
|
-
* <p>You can work with connections by calling:</p>
|
|
254
|
-
* <ul>
|
|
255
|
-
* <li>
|
|
256
|
-
* <p>
|
|
257
|
-
* <a>CreateConnection</a>, which creates a uniquely named connection that can be
|
|
258
|
-
* referenced by services such as CodePipeline.</p>
|
|
259
|
-
* </li>
|
|
260
|
-
* <li>
|
|
261
|
-
* <p>
|
|
262
|
-
* <a>DeleteConnection</a>, which deletes the specified connection.</p>
|
|
263
|
-
* </li>
|
|
264
|
-
* <li>
|
|
265
|
-
* <p>
|
|
266
|
-
* <a>GetConnection</a>, which returns information about the connection, including
|
|
267
|
-
* the connection status.</p>
|
|
268
|
-
* </li>
|
|
269
|
-
* <li>
|
|
270
|
-
* <p>
|
|
271
|
-
* <a>ListConnections</a>, which lists the connections associated with your
|
|
272
|
-
* account.</p>
|
|
273
|
-
* </li>
|
|
274
|
-
* </ul>
|
|
275
|
-
* <p>You can work with hosts by calling:</p>
|
|
276
|
-
* <ul>
|
|
277
|
-
* <li>
|
|
278
|
-
* <p>
|
|
279
|
-
* <a>CreateHost</a>, which creates a host that represents the infrastructure where your provider is installed.</p>
|
|
280
|
-
* </li>
|
|
281
|
-
* <li>
|
|
282
|
-
* <p>
|
|
283
|
-
* <a>DeleteHost</a>, which deletes the specified host.</p>
|
|
284
|
-
* </li>
|
|
285
|
-
* <li>
|
|
286
|
-
* <p>
|
|
287
|
-
* <a>GetHost</a>, which returns information about the host, including
|
|
288
|
-
* the setup status.</p>
|
|
289
|
-
* </li>
|
|
290
|
-
* <li>
|
|
291
|
-
* <p>
|
|
292
|
-
* <a>ListHosts</a>, which lists the hosts associated with your
|
|
293
|
-
* account.</p>
|
|
294
|
-
* </li>
|
|
295
|
-
* </ul>
|
|
296
|
-
* <p>You can work with tags in AWS CodeStar Connections by calling the following:</p>
|
|
297
|
-
* <ul>
|
|
298
|
-
* <li>
|
|
299
|
-
* <p>
|
|
300
|
-
* <a>ListTagsForResource</a>, which gets information about AWS tags for a
|
|
301
|
-
* specified Amazon Resource Name (ARN) in AWS CodeStar Connections.</p>
|
|
302
|
-
* </li>
|
|
303
|
-
* <li>
|
|
304
|
-
* <p>
|
|
305
|
-
* <a>TagResource</a>, which adds or updates tags for a resource in AWS CodeStar
|
|
306
|
-
* Connections.</p>
|
|
307
|
-
* </li>
|
|
308
|
-
* <li>
|
|
309
|
-
* <p>
|
|
310
|
-
* <a>UntagResource</a>, which removes tags for a resource in AWS CodeStar
|
|
311
|
-
* Connections.</p>
|
|
312
|
-
* </li>
|
|
313
|
-
* </ul>
|
|
314
|
-
* <p>For information about how to use AWS CodeStar Connections, see the <a href="https://docs.aws.amazon.com/dtconsole/latest/userguide/welcome-connections.html">Developer Tools User
|
|
315
|
-
* Guide</a>.</p>
|
|
316
|
-
*/
|
|
317
|
-
export class CodeStarConnectionsClient extends __Client<
|
|
318
|
-
__HttpHandlerOptions,
|
|
319
|
-
ServiceInputTypes,
|
|
320
|
-
ServiceOutputTypes,
|
|
321
|
-
CodeStarConnectionsClientResolvedConfig
|
|
322
|
-
> {
|
|
323
|
-
/**
|
|
324
|
-
* The resolved configuration of CodeStarConnectionsClient class. This is resolved and normalized from the {@link CodeStarConnectionsClientConfig | constructor configuration interface}.
|
|
325
|
-
*/
|
|
326
|
-
readonly config: CodeStarConnectionsClientResolvedConfig;
|
|
327
|
-
|
|
328
|
-
constructor(configuration: CodeStarConnectionsClientConfig) {
|
|
329
|
-
const _config_0 = __getRuntimeConfig(configuration);
|
|
330
|
-
const _config_1 = resolveRegionConfig(_config_0);
|
|
331
|
-
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
332
|
-
const _config_3 = resolveRetryConfig(_config_2);
|
|
333
|
-
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
334
|
-
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
335
|
-
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
336
|
-
super(_config_6);
|
|
337
|
-
this.config = _config_6;
|
|
338
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
339
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
340
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
341
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
342
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
343
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
/**
|
|
347
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
348
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
349
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
350
|
-
*/
|
|
351
|
-
destroy(): void {
|
|
352
|
-
super.destroy();
|
|
353
|
-
}
|
|
354
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import {
|
|
15
|
-
CodeStarConnectionsClientResolvedConfig,
|
|
16
|
-
ServiceInputTypes,
|
|
17
|
-
ServiceOutputTypes,
|
|
18
|
-
} from "../CodeStarConnectionsClient";
|
|
19
|
-
import { CreateConnectionInput, CreateConnectionOutput } from "../models/models_0";
|
|
20
|
-
import {
|
|
21
|
-
deserializeAws_json1_0CreateConnectionCommand,
|
|
22
|
-
serializeAws_json1_0CreateConnectionCommand,
|
|
23
|
-
} from "../protocols/Aws_json1_0";
|
|
24
|
-
|
|
25
|
-
export interface CreateConnectionCommandInput extends CreateConnectionInput {}
|
|
26
|
-
export interface CreateConnectionCommandOutput extends CreateConnectionOutput, __MetadataBearer {}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* <p>Creates a connection that can then be given to other AWS services like CodePipeline so
|
|
30
|
-
* that it can access third-party code repositories. The connection is in pending status until
|
|
31
|
-
* the third-party connection handshake is completed from the console.</p>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { CodeStarConnectionsClient, CreateConnectionCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
|
|
36
|
-
* // const { CodeStarConnectionsClient, CreateConnectionCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
|
|
37
|
-
* const client = new CodeStarConnectionsClient(config);
|
|
38
|
-
* const command = new CreateConnectionCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link CreateConnectionCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link CreateConnectionCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link CodeStarConnectionsClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class CreateConnectionCommand extends $Command<
|
|
48
|
-
CreateConnectionCommandInput,
|
|
49
|
-
CreateConnectionCommandOutput,
|
|
50
|
-
CodeStarConnectionsClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: CreateConnectionCommandInput) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
|
-
super();
|
|
58
|
-
// End section: command_constructor
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
|
-
resolveMiddleware(
|
|
65
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
66
|
-
configuration: CodeStarConnectionsClientResolvedConfig,
|
|
67
|
-
options?: __HttpHandlerOptions
|
|
68
|
-
): Handler<CreateConnectionCommandInput, CreateConnectionCommandOutput> {
|
|
69
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
70
|
-
|
|
71
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
72
|
-
|
|
73
|
-
const { logger } = configuration;
|
|
74
|
-
const clientName = "CodeStarConnectionsClient";
|
|
75
|
-
const commandName = "CreateConnectionCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: CreateConnectionInput.filterSensitiveLog,
|
|
81
|
-
outputFilterSensitiveLog: CreateConnectionOutput.filterSensitiveLog,
|
|
82
|
-
};
|
|
83
|
-
const { requestHandler } = configuration;
|
|
84
|
-
return stack.resolve(
|
|
85
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
86
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
87
|
-
handlerExecutionContext
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private serialize(input: CreateConnectionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_json1_0CreateConnectionCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateConnectionCommandOutput> {
|
|
96
|
-
return deserializeAws_json1_0CreateConnectionCommand(output, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
// Start section: command_body_extra
|
|
100
|
-
// End section: command_body_extra
|
|
101
|
-
}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import {
|
|
15
|
-
CodeStarConnectionsClientResolvedConfig,
|
|
16
|
-
ServiceInputTypes,
|
|
17
|
-
ServiceOutputTypes,
|
|
18
|
-
} from "../CodeStarConnectionsClient";
|
|
19
|
-
import { CreateHostInput, CreateHostOutput } from "../models/models_0";
|
|
20
|
-
import {
|
|
21
|
-
deserializeAws_json1_0CreateHostCommand,
|
|
22
|
-
serializeAws_json1_0CreateHostCommand,
|
|
23
|
-
} from "../protocols/Aws_json1_0";
|
|
24
|
-
|
|
25
|
-
export interface CreateHostCommandInput extends CreateHostInput {}
|
|
26
|
-
export interface CreateHostCommandOutput extends CreateHostOutput, __MetadataBearer {}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* <p>Creates a resource that represents the infrastructure where a third-party provider is
|
|
30
|
-
* installed. The host is used when you create connections to an installed third-party provider
|
|
31
|
-
* type, such as GitHub Enterprise Server. You create one host for all connections to that
|
|
32
|
-
* provider.</p>
|
|
33
|
-
* <note>
|
|
34
|
-
* <p>A host created through the CLI or the SDK is in `PENDING` status by
|
|
35
|
-
* default. You can make its status `AVAILABLE` by setting up the host in the console.</p>
|
|
36
|
-
* </note>
|
|
37
|
-
* @example
|
|
38
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
-
* ```javascript
|
|
40
|
-
* import { CodeStarConnectionsClient, CreateHostCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
|
|
41
|
-
* // const { CodeStarConnectionsClient, CreateHostCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
|
|
42
|
-
* const client = new CodeStarConnectionsClient(config);
|
|
43
|
-
* const command = new CreateHostCommand(input);
|
|
44
|
-
* const response = await client.send(command);
|
|
45
|
-
* ```
|
|
46
|
-
*
|
|
47
|
-
* @see {@link CreateHostCommandInput} for command's `input` shape.
|
|
48
|
-
* @see {@link CreateHostCommandOutput} for command's `response` shape.
|
|
49
|
-
* @see {@link CodeStarConnectionsClientResolvedConfig | config} for command's `input` shape.
|
|
50
|
-
*
|
|
51
|
-
*/
|
|
52
|
-
export class CreateHostCommand extends $Command<
|
|
53
|
-
CreateHostCommandInput,
|
|
54
|
-
CreateHostCommandOutput,
|
|
55
|
-
CodeStarConnectionsClientResolvedConfig
|
|
56
|
-
> {
|
|
57
|
-
// Start section: command_properties
|
|
58
|
-
// End section: command_properties
|
|
59
|
-
|
|
60
|
-
constructor(readonly input: CreateHostCommandInput) {
|
|
61
|
-
// Start section: command_constructor
|
|
62
|
-
super();
|
|
63
|
-
// End section: command_constructor
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* @internal
|
|
68
|
-
*/
|
|
69
|
-
resolveMiddleware(
|
|
70
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
71
|
-
configuration: CodeStarConnectionsClientResolvedConfig,
|
|
72
|
-
options?: __HttpHandlerOptions
|
|
73
|
-
): Handler<CreateHostCommandInput, CreateHostCommandOutput> {
|
|
74
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
75
|
-
|
|
76
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
77
|
-
|
|
78
|
-
const { logger } = configuration;
|
|
79
|
-
const clientName = "CodeStarConnectionsClient";
|
|
80
|
-
const commandName = "CreateHostCommand";
|
|
81
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
82
|
-
logger,
|
|
83
|
-
clientName,
|
|
84
|
-
commandName,
|
|
85
|
-
inputFilterSensitiveLog: CreateHostInput.filterSensitiveLog,
|
|
86
|
-
outputFilterSensitiveLog: CreateHostOutput.filterSensitiveLog,
|
|
87
|
-
};
|
|
88
|
-
const { requestHandler } = configuration;
|
|
89
|
-
return stack.resolve(
|
|
90
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
91
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
92
|
-
handlerExecutionContext
|
|
93
|
-
);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private serialize(input: CreateHostCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
97
|
-
return serializeAws_json1_0CreateHostCommand(input, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateHostCommandOutput> {
|
|
101
|
-
return deserializeAws_json1_0CreateHostCommand(output, context);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// Start section: command_body_extra
|
|
105
|
-
// End section: command_body_extra
|
|
106
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import {
|
|
15
|
-
CodeStarConnectionsClientResolvedConfig,
|
|
16
|
-
ServiceInputTypes,
|
|
17
|
-
ServiceOutputTypes,
|
|
18
|
-
} from "../CodeStarConnectionsClient";
|
|
19
|
-
import { DeleteConnectionInput, DeleteConnectionOutput } from "../models/models_0";
|
|
20
|
-
import {
|
|
21
|
-
deserializeAws_json1_0DeleteConnectionCommand,
|
|
22
|
-
serializeAws_json1_0DeleteConnectionCommand,
|
|
23
|
-
} from "../protocols/Aws_json1_0";
|
|
24
|
-
|
|
25
|
-
export interface DeleteConnectionCommandInput extends DeleteConnectionInput {}
|
|
26
|
-
export interface DeleteConnectionCommandOutput extends DeleteConnectionOutput, __MetadataBearer {}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* <p>The connection to be deleted.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { CodeStarConnectionsClient, DeleteConnectionCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
|
|
34
|
-
* // const { CodeStarConnectionsClient, DeleteConnectionCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
|
|
35
|
-
* const client = new CodeStarConnectionsClient(config);
|
|
36
|
-
* const command = new DeleteConnectionCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link DeleteConnectionCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link DeleteConnectionCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link CodeStarConnectionsClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class DeleteConnectionCommand extends $Command<
|
|
46
|
-
DeleteConnectionCommandInput,
|
|
47
|
-
DeleteConnectionCommandOutput,
|
|
48
|
-
CodeStarConnectionsClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: DeleteConnectionCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: CodeStarConnectionsClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<DeleteConnectionCommandInput, DeleteConnectionCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "CodeStarConnectionsClient";
|
|
73
|
-
const commandName = "DeleteConnectionCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: DeleteConnectionInput.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: DeleteConnectionOutput.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(input: DeleteConnectionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_json1_0DeleteConnectionCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteConnectionCommandOutput> {
|
|
94
|
-
return deserializeAws_json1_0DeleteConnectionCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|