@aws-sdk/client-codestar-connections 3.296.0 → 3.298.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/CreateConnectionCommand.js +2 -3
- package/dist-cjs/commands/CreateHostCommand.js +2 -3
- package/dist-cjs/commands/DeleteConnectionCommand.js +2 -3
- package/dist-cjs/commands/DeleteHostCommand.js +2 -3
- package/dist-cjs/commands/GetConnectionCommand.js +2 -3
- package/dist-cjs/commands/GetHostCommand.js +2 -3
- package/dist-cjs/commands/ListConnectionsCommand.js +2 -3
- package/dist-cjs/commands/ListHostsCommand.js +2 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -3
- package/dist-cjs/commands/TagResourceCommand.js +2 -3
- package/dist-cjs/commands/UntagResourceCommand.js +2 -3
- package/dist-cjs/commands/UpdateHostCommand.js +2 -3
- package/dist-cjs/models/models_0.js +1 -113
- package/dist-es/commands/CreateConnectionCommand.js +2 -3
- package/dist-es/commands/CreateHostCommand.js +2 -3
- package/dist-es/commands/DeleteConnectionCommand.js +2 -3
- package/dist-es/commands/DeleteHostCommand.js +2 -3
- package/dist-es/commands/GetConnectionCommand.js +2 -3
- package/dist-es/commands/GetHostCommand.js +2 -3
- package/dist-es/commands/ListConnectionsCommand.js +2 -3
- package/dist-es/commands/ListHostsCommand.js +2 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -3
- package/dist-es/commands/TagResourceCommand.js +2 -3
- package/dist-es/commands/UntagResourceCommand.js +2 -3
- package/dist-es/commands/UpdateHostCommand.js +2 -3
- package/dist-es/models/models_0.js +0 -84
- package/dist-types/CodeStarConnections.d.ts +13 -0
- package/dist-types/CodeStarConnectionsClient.d.ts +24 -4
- package/dist-types/commands/CreateConnectionCommand.d.ts +16 -0
- package/dist-types/commands/CreateHostCommand.d.ts +16 -0
- package/dist-types/commands/DeleteConnectionCommand.d.ts +16 -0
- package/dist-types/commands/DeleteHostCommand.d.ts +16 -0
- package/dist-types/commands/GetConnectionCommand.d.ts +16 -0
- package/dist-types/commands/GetHostCommand.d.ts +16 -0
- package/dist-types/commands/ListConnectionsCommand.d.ts +16 -0
- package/dist-types/commands/ListHostsCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateHostCommand.d.ts +16 -0
- package/dist-types/models/CodeStarConnectionsServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +87 -112
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListConnectionsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListHostsPaginator.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -76
- package/package.json +4 -3
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CodeStarConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeStarConnectionsClient";
|
|
5
5
|
import { ListTagsForResourceInput, ListTagsForResourceOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListTagsForResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListTagsForResourceCommandInput extends ListTagsForResourceInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListTagsForResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Gets the set of key-value pairs (metadata) that are used to manage the resource.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
34
|
+
* @returns {@link ListTagsForResourceCommandOutput}
|
|
28
35
|
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link CodeStarConnectionsClientResolvedConfig | config} for CodeStarConnectionsClient's `config` shape.
|
|
@@ -37,11 +44,20 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
|
|
|
37
44
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CodeStarConnectionsClientResolvedConfig> {
|
|
38
45
|
readonly input: ListTagsForResourceCommandInput;
|
|
39
46
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
47
|
+
/**
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
40
50
|
constructor(input: ListTagsForResourceCommandInput);
|
|
41
51
|
/**
|
|
42
52
|
* @internal
|
|
43
53
|
*/
|
|
44
54
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
*/
|
|
45
58
|
private serialize;
|
|
59
|
+
/**
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
46
62
|
private deserialize;
|
|
47
63
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CodeStarConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeStarConnectionsClient";
|
|
5
5
|
import { TagResourceInput, TagResourceOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link TagResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface TagResourceCommandInput extends TagResourceInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link TagResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Adds to or modifies the tags of the given resource. Tags are metadata that can be used
|
|
18
23
|
* to manage a resource.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
35
|
+
* @returns {@link TagResourceCommandOutput}
|
|
29
36
|
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link CodeStarConnectionsClientResolvedConfig | config} for CodeStarConnectionsClient's `config` shape.
|
|
@@ -41,11 +48,20 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
|
|
|
41
48
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, CodeStarConnectionsClientResolvedConfig> {
|
|
42
49
|
readonly input: TagResourceCommandInput;
|
|
43
50
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
51
|
+
/**
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
44
54
|
constructor(input: TagResourceCommandInput);
|
|
45
55
|
/**
|
|
46
56
|
* @internal
|
|
47
57
|
*/
|
|
48
58
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
59
|
+
/**
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
49
62
|
private serialize;
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
50
66
|
private deserialize;
|
|
51
67
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CodeStarConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeStarConnectionsClient";
|
|
5
5
|
import { UntagResourceInput, UntagResourceOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UntagResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UntagResourceCommandInput extends UntagResourceInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UntagResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UntagResourceCommandOutput extends UntagResourceOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Removes tags from an AWS resource.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
34
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
28
35
|
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link CodeStarConnectionsClientResolvedConfig | config} for CodeStarConnectionsClient's `config` shape.
|
|
@@ -37,11 +44,20 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
|
|
|
37
44
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, CodeStarConnectionsClientResolvedConfig> {
|
|
38
45
|
readonly input: UntagResourceCommandInput;
|
|
39
46
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
47
|
+
/**
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
40
50
|
constructor(input: UntagResourceCommandInput);
|
|
41
51
|
/**
|
|
42
52
|
* @internal
|
|
43
53
|
*/
|
|
44
54
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
*/
|
|
45
58
|
private serialize;
|
|
59
|
+
/**
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
46
62
|
private deserialize;
|
|
47
63
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CodeStarConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeStarConnectionsClient";
|
|
5
5
|
import { UpdateHostInput, UpdateHostOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateHostCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateHostCommandInput extends UpdateHostInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateHostCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateHostCommandOutput extends UpdateHostOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Updates a specified host with the provided configurations.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface UpdateHostCommandOutput extends UpdateHostOutput, __MetadataBea
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param UpdateHostCommandInput - {@link UpdateHostCommandInput}
|
|
34
|
+
* @returns {@link UpdateHostCommandOutput}
|
|
28
35
|
* @see {@link UpdateHostCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link UpdateHostCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link CodeStarConnectionsClientResolvedConfig | config} for CodeStarConnectionsClient's `config` shape.
|
|
@@ -46,11 +53,20 @@ export interface UpdateHostCommandOutput extends UpdateHostOutput, __MetadataBea
|
|
|
46
53
|
export declare class UpdateHostCommand extends $Command<UpdateHostCommandInput, UpdateHostCommandOutput, CodeStarConnectionsClientResolvedConfig> {
|
|
47
54
|
readonly input: UpdateHostCommandInput;
|
|
48
55
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
49
59
|
constructor(input: UpdateHostCommandInput);
|
|
50
60
|
/**
|
|
51
61
|
* @internal
|
|
52
62
|
*/
|
|
53
63
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateHostCommandInput, UpdateHostCommandOutput>;
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
54
67
|
private serialize;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
55
71
|
private deserialize;
|
|
56
72
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from CodeStarConnections service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class CodeStarConnectionsServiceException extends __ServiceException {
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { CodeStarConnectionsServiceException as __BaseException } from "./CodeStarConnectionsServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
3
6
|
export declare enum ProviderType {
|
|
4
7
|
BITBUCKET = "Bitbucket",
|
|
5
8
|
GITHUB = "GitHub",
|
|
6
9
|
GITHUB_ENTERPRISE_SERVER = "GitHubEnterpriseServer"
|
|
7
10
|
}
|
|
8
11
|
/**
|
|
12
|
+
* @public
|
|
9
13
|
* <p>A tag is a key-value pair that is used to manage the resource.</p>
|
|
10
14
|
* <p>This tag is available for use by AWS services that support tags.</p>
|
|
11
15
|
*/
|
|
@@ -19,6 +23,9 @@ export interface Tag {
|
|
|
19
23
|
*/
|
|
20
24
|
Value: string | undefined;
|
|
21
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
22
29
|
export interface CreateConnectionInput {
|
|
23
30
|
/**
|
|
24
31
|
* <p>The name of the external provider where your third-party code repository is
|
|
@@ -39,6 +46,9 @@ export interface CreateConnectionInput {
|
|
|
39
46
|
*/
|
|
40
47
|
HostArn?: string;
|
|
41
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
42
52
|
export interface CreateConnectionOutput {
|
|
43
53
|
/**
|
|
44
54
|
* <p>The Amazon Resource Name (ARN) of the connection to be created. The ARN is used as the
|
|
@@ -54,6 +64,7 @@ export interface CreateConnectionOutput {
|
|
|
54
64
|
Tags?: Tag[];
|
|
55
65
|
}
|
|
56
66
|
/**
|
|
67
|
+
* @public
|
|
57
68
|
* <p>Exceeded the maximum limit for connections.</p>
|
|
58
69
|
*/
|
|
59
70
|
export declare class LimitExceededException extends __BaseException {
|
|
@@ -66,6 +77,7 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
66
77
|
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
67
78
|
}
|
|
68
79
|
/**
|
|
80
|
+
* @public
|
|
69
81
|
* <p>Resource not found. Verify the connection resource ARN and try again.</p>
|
|
70
82
|
*/
|
|
71
83
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
@@ -78,6 +90,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
78
90
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
79
91
|
}
|
|
80
92
|
/**
|
|
93
|
+
* @public
|
|
81
94
|
* <p>Resource not found. Verify the ARN for the host resource and try again.</p>
|
|
82
95
|
*/
|
|
83
96
|
export declare class ResourceUnavailableException extends __BaseException {
|
|
@@ -90,6 +103,7 @@ export declare class ResourceUnavailableException extends __BaseException {
|
|
|
90
103
|
constructor(opts: __ExceptionOptionType<ResourceUnavailableException, __BaseException>);
|
|
91
104
|
}
|
|
92
105
|
/**
|
|
106
|
+
* @public
|
|
93
107
|
* <p>The VPC configuration provisioned for the host.</p>
|
|
94
108
|
*/
|
|
95
109
|
export interface VpcConfiguration {
|
|
@@ -113,6 +127,9 @@ export interface VpcConfiguration {
|
|
|
113
127
|
*/
|
|
114
128
|
TlsCertificate?: string;
|
|
115
129
|
}
|
|
130
|
+
/**
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
116
133
|
export interface CreateHostInput {
|
|
117
134
|
/**
|
|
118
135
|
* <p>The name of the host to be created. The name must be unique in the calling AWS
|
|
@@ -137,6 +154,9 @@ export interface CreateHostInput {
|
|
|
137
154
|
VpcConfiguration?: VpcConfiguration;
|
|
138
155
|
Tags?: Tag[];
|
|
139
156
|
}
|
|
157
|
+
/**
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
140
160
|
export interface CreateHostOutput {
|
|
141
161
|
/**
|
|
142
162
|
* <p>The Amazon Resource Name (ARN) of the host to be created.</p>
|
|
@@ -144,6 +164,9 @@ export interface CreateHostOutput {
|
|
|
144
164
|
HostArn?: string;
|
|
145
165
|
Tags?: Tag[];
|
|
146
166
|
}
|
|
167
|
+
/**
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
147
170
|
export interface DeleteConnectionInput {
|
|
148
171
|
/**
|
|
149
172
|
* <p>The Amazon Resource Name (ARN) of the connection to be deleted.</p>
|
|
@@ -153,28 +176,44 @@ export interface DeleteConnectionInput {
|
|
|
153
176
|
*/
|
|
154
177
|
ConnectionArn: string | undefined;
|
|
155
178
|
}
|
|
179
|
+
/**
|
|
180
|
+
* @public
|
|
181
|
+
*/
|
|
156
182
|
export interface DeleteConnectionOutput {
|
|
157
183
|
}
|
|
184
|
+
/**
|
|
185
|
+
* @public
|
|
186
|
+
*/
|
|
158
187
|
export interface DeleteHostInput {
|
|
159
188
|
/**
|
|
160
189
|
* <p>The Amazon Resource Name (ARN) of the host to be deleted.</p>
|
|
161
190
|
*/
|
|
162
191
|
HostArn: string | undefined;
|
|
163
192
|
}
|
|
193
|
+
/**
|
|
194
|
+
* @public
|
|
195
|
+
*/
|
|
164
196
|
export interface DeleteHostOutput {
|
|
165
197
|
}
|
|
198
|
+
/**
|
|
199
|
+
* @public
|
|
200
|
+
*/
|
|
166
201
|
export interface GetConnectionInput {
|
|
167
202
|
/**
|
|
168
203
|
* <p>The Amazon Resource Name (ARN) of a connection.</p>
|
|
169
204
|
*/
|
|
170
205
|
ConnectionArn: string | undefined;
|
|
171
206
|
}
|
|
207
|
+
/**
|
|
208
|
+
* @public
|
|
209
|
+
*/
|
|
172
210
|
export declare enum ConnectionStatus {
|
|
173
211
|
AVAILABLE = "AVAILABLE",
|
|
174
212
|
ERROR = "ERROR",
|
|
175
213
|
PENDING = "PENDING"
|
|
176
214
|
}
|
|
177
215
|
/**
|
|
216
|
+
* @public
|
|
178
217
|
* <p>A resource that is used to connect third-party source providers with services like AWS CodePipeline.</p>
|
|
179
218
|
* <p>Note: A connection created through CloudFormation, the CLI, or the SDK is in `PENDING` status by default. You can make its status `AVAILABLE` by updating the
|
|
180
219
|
* connection in the console.</p>
|
|
@@ -211,18 +250,27 @@ export interface Connection {
|
|
|
211
250
|
*/
|
|
212
251
|
HostArn?: string;
|
|
213
252
|
}
|
|
253
|
+
/**
|
|
254
|
+
* @public
|
|
255
|
+
*/
|
|
214
256
|
export interface GetConnectionOutput {
|
|
215
257
|
/**
|
|
216
258
|
* <p>The connection details, such as status, owner, and provider type.</p>
|
|
217
259
|
*/
|
|
218
260
|
Connection?: Connection;
|
|
219
261
|
}
|
|
262
|
+
/**
|
|
263
|
+
* @public
|
|
264
|
+
*/
|
|
220
265
|
export interface GetHostInput {
|
|
221
266
|
/**
|
|
222
267
|
* <p>The Amazon Resource Name (ARN) of the requested host.</p>
|
|
223
268
|
*/
|
|
224
269
|
HostArn: string | undefined;
|
|
225
270
|
}
|
|
271
|
+
/**
|
|
272
|
+
* @public
|
|
273
|
+
*/
|
|
226
274
|
export interface GetHostOutput {
|
|
227
275
|
/**
|
|
228
276
|
* <p>The name of the requested host.</p>
|
|
@@ -245,6 +293,9 @@ export interface GetHostOutput {
|
|
|
245
293
|
*/
|
|
246
294
|
VpcConfiguration?: VpcConfiguration;
|
|
247
295
|
}
|
|
296
|
+
/**
|
|
297
|
+
* @public
|
|
298
|
+
*/
|
|
248
299
|
export interface ListConnectionsInput {
|
|
249
300
|
/**
|
|
250
301
|
* <p>Filters the list of connections to those associated with a specified provider, such as
|
|
@@ -266,6 +317,9 @@ export interface ListConnectionsInput {
|
|
|
266
317
|
*/
|
|
267
318
|
NextToken?: string;
|
|
268
319
|
}
|
|
320
|
+
/**
|
|
321
|
+
* @public
|
|
322
|
+
*/
|
|
269
323
|
export interface ListConnectionsOutput {
|
|
270
324
|
/**
|
|
271
325
|
* <p>A list of connections and the details for each connection, such as status, owner, and
|
|
@@ -279,6 +333,9 @@ export interface ListConnectionsOutput {
|
|
|
279
333
|
*/
|
|
280
334
|
NextToken?: string;
|
|
281
335
|
}
|
|
336
|
+
/**
|
|
337
|
+
* @public
|
|
338
|
+
*/
|
|
282
339
|
export interface ListHostsInput {
|
|
283
340
|
/**
|
|
284
341
|
* <p>The maximum number of results to return in a single call. To retrieve the remaining
|
|
@@ -292,6 +349,7 @@ export interface ListHostsInput {
|
|
|
292
349
|
NextToken?: string;
|
|
293
350
|
}
|
|
294
351
|
/**
|
|
352
|
+
* @public
|
|
295
353
|
* <p>A resource that represents the infrastructure where a third-party provider is installed.
|
|
296
354
|
* The host is used when you create connections to an installed third-party provider type, such
|
|
297
355
|
* as GitHub Enterprise Server. You create one host for all connections to that provider.</p>
|
|
@@ -332,6 +390,9 @@ export interface Host {
|
|
|
332
390
|
*/
|
|
333
391
|
StatusMessage?: string;
|
|
334
392
|
}
|
|
393
|
+
/**
|
|
394
|
+
* @public
|
|
395
|
+
*/
|
|
335
396
|
export interface ListHostsOutput {
|
|
336
397
|
/**
|
|
337
398
|
* <p>A list of hosts and the details for each host, such as status, endpoint, and provider
|
|
@@ -345,18 +406,27 @@ export interface ListHostsOutput {
|
|
|
345
406
|
*/
|
|
346
407
|
NextToken?: string;
|
|
347
408
|
}
|
|
409
|
+
/**
|
|
410
|
+
* @public
|
|
411
|
+
*/
|
|
348
412
|
export interface ListTagsForResourceInput {
|
|
349
413
|
/**
|
|
350
414
|
* <p>The Amazon Resource Name (ARN) of the resource for which you want to get information about tags, if any.</p>
|
|
351
415
|
*/
|
|
352
416
|
ResourceArn: string | undefined;
|
|
353
417
|
}
|
|
418
|
+
/**
|
|
419
|
+
* @public
|
|
420
|
+
*/
|
|
354
421
|
export interface ListTagsForResourceOutput {
|
|
355
422
|
/**
|
|
356
423
|
* <p>A list of tag key and value pairs associated with the specified resource.</p>
|
|
357
424
|
*/
|
|
358
425
|
Tags?: Tag[];
|
|
359
426
|
}
|
|
427
|
+
/**
|
|
428
|
+
* @public
|
|
429
|
+
*/
|
|
360
430
|
export interface TagResourceInput {
|
|
361
431
|
/**
|
|
362
432
|
* <p>The Amazon Resource Name (ARN) of the resource to which you want to add or update tags.</p>
|
|
@@ -367,8 +437,14 @@ export interface TagResourceInput {
|
|
|
367
437
|
*/
|
|
368
438
|
Tags: Tag[] | undefined;
|
|
369
439
|
}
|
|
440
|
+
/**
|
|
441
|
+
* @public
|
|
442
|
+
*/
|
|
370
443
|
export interface TagResourceOutput {
|
|
371
444
|
}
|
|
445
|
+
/**
|
|
446
|
+
* @public
|
|
447
|
+
*/
|
|
372
448
|
export interface UntagResourceInput {
|
|
373
449
|
/**
|
|
374
450
|
* <p>The Amazon Resource Name (ARN) of the resource to remove tags from.</p>
|
|
@@ -379,9 +455,13 @@ export interface UntagResourceInput {
|
|
|
379
455
|
*/
|
|
380
456
|
TagKeys: string[] | undefined;
|
|
381
457
|
}
|
|
458
|
+
/**
|
|
459
|
+
* @public
|
|
460
|
+
*/
|
|
382
461
|
export interface UntagResourceOutput {
|
|
383
462
|
}
|
|
384
463
|
/**
|
|
464
|
+
* @public
|
|
385
465
|
* <p>Two conflicting operations have been made on the same resource.</p>
|
|
386
466
|
*/
|
|
387
467
|
export declare class ConflictException extends __BaseException {
|
|
@@ -394,6 +474,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
394
474
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
395
475
|
}
|
|
396
476
|
/**
|
|
477
|
+
* @public
|
|
397
478
|
* <p>The operation is not supported. Check the connection status and try again.</p>
|
|
398
479
|
*/
|
|
399
480
|
export declare class UnsupportedOperationException extends __BaseException {
|
|
@@ -405,6 +486,9 @@ export declare class UnsupportedOperationException extends __BaseException {
|
|
|
405
486
|
*/
|
|
406
487
|
constructor(opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>);
|
|
407
488
|
}
|
|
489
|
+
/**
|
|
490
|
+
* @public
|
|
491
|
+
*/
|
|
408
492
|
export interface UpdateHostInput {
|
|
409
493
|
/**
|
|
410
494
|
* <p>The Amazon Resource Name (ARN) of the host to be updated.</p>
|
|
@@ -420,117 +504,8 @@ export interface UpdateHostInput {
|
|
|
420
504
|
*/
|
|
421
505
|
VpcConfiguration?: VpcConfiguration;
|
|
422
506
|
}
|
|
423
|
-
export interface UpdateHostOutput {
|
|
424
|
-
}
|
|
425
|
-
/**
|
|
426
|
-
* @internal
|
|
427
|
-
*/
|
|
428
|
-
export declare const TagFilterSensitiveLog: (obj: Tag) => any;
|
|
429
507
|
/**
|
|
430
|
-
* @
|
|
508
|
+
* @public
|
|
431
509
|
*/
|
|
432
|
-
export
|
|
433
|
-
|
|
434
|
-
* @internal
|
|
435
|
-
*/
|
|
436
|
-
export declare const CreateConnectionOutputFilterSensitiveLog: (obj: CreateConnectionOutput) => any;
|
|
437
|
-
/**
|
|
438
|
-
* @internal
|
|
439
|
-
*/
|
|
440
|
-
export declare const VpcConfigurationFilterSensitiveLog: (obj: VpcConfiguration) => any;
|
|
441
|
-
/**
|
|
442
|
-
* @internal
|
|
443
|
-
*/
|
|
444
|
-
export declare const CreateHostInputFilterSensitiveLog: (obj: CreateHostInput) => any;
|
|
445
|
-
/**
|
|
446
|
-
* @internal
|
|
447
|
-
*/
|
|
448
|
-
export declare const CreateHostOutputFilterSensitiveLog: (obj: CreateHostOutput) => any;
|
|
449
|
-
/**
|
|
450
|
-
* @internal
|
|
451
|
-
*/
|
|
452
|
-
export declare const DeleteConnectionInputFilterSensitiveLog: (obj: DeleteConnectionInput) => any;
|
|
453
|
-
/**
|
|
454
|
-
* @internal
|
|
455
|
-
*/
|
|
456
|
-
export declare const DeleteConnectionOutputFilterSensitiveLog: (obj: DeleteConnectionOutput) => any;
|
|
457
|
-
/**
|
|
458
|
-
* @internal
|
|
459
|
-
*/
|
|
460
|
-
export declare const DeleteHostInputFilterSensitiveLog: (obj: DeleteHostInput) => any;
|
|
461
|
-
/**
|
|
462
|
-
* @internal
|
|
463
|
-
*/
|
|
464
|
-
export declare const DeleteHostOutputFilterSensitiveLog: (obj: DeleteHostOutput) => any;
|
|
465
|
-
/**
|
|
466
|
-
* @internal
|
|
467
|
-
*/
|
|
468
|
-
export declare const GetConnectionInputFilterSensitiveLog: (obj: GetConnectionInput) => any;
|
|
469
|
-
/**
|
|
470
|
-
* @internal
|
|
471
|
-
*/
|
|
472
|
-
export declare const ConnectionFilterSensitiveLog: (obj: Connection) => any;
|
|
473
|
-
/**
|
|
474
|
-
* @internal
|
|
475
|
-
*/
|
|
476
|
-
export declare const GetConnectionOutputFilterSensitiveLog: (obj: GetConnectionOutput) => any;
|
|
477
|
-
/**
|
|
478
|
-
* @internal
|
|
479
|
-
*/
|
|
480
|
-
export declare const GetHostInputFilterSensitiveLog: (obj: GetHostInput) => any;
|
|
481
|
-
/**
|
|
482
|
-
* @internal
|
|
483
|
-
*/
|
|
484
|
-
export declare const GetHostOutputFilterSensitiveLog: (obj: GetHostOutput) => any;
|
|
485
|
-
/**
|
|
486
|
-
* @internal
|
|
487
|
-
*/
|
|
488
|
-
export declare const ListConnectionsInputFilterSensitiveLog: (obj: ListConnectionsInput) => any;
|
|
489
|
-
/**
|
|
490
|
-
* @internal
|
|
491
|
-
*/
|
|
492
|
-
export declare const ListConnectionsOutputFilterSensitiveLog: (obj: ListConnectionsOutput) => any;
|
|
493
|
-
/**
|
|
494
|
-
* @internal
|
|
495
|
-
*/
|
|
496
|
-
export declare const ListHostsInputFilterSensitiveLog: (obj: ListHostsInput) => any;
|
|
497
|
-
/**
|
|
498
|
-
* @internal
|
|
499
|
-
*/
|
|
500
|
-
export declare const HostFilterSensitiveLog: (obj: Host) => any;
|
|
501
|
-
/**
|
|
502
|
-
* @internal
|
|
503
|
-
*/
|
|
504
|
-
export declare const ListHostsOutputFilterSensitiveLog: (obj: ListHostsOutput) => any;
|
|
505
|
-
/**
|
|
506
|
-
* @internal
|
|
507
|
-
*/
|
|
508
|
-
export declare const ListTagsForResourceInputFilterSensitiveLog: (obj: ListTagsForResourceInput) => any;
|
|
509
|
-
/**
|
|
510
|
-
* @internal
|
|
511
|
-
*/
|
|
512
|
-
export declare const ListTagsForResourceOutputFilterSensitiveLog: (obj: ListTagsForResourceOutput) => any;
|
|
513
|
-
/**
|
|
514
|
-
* @internal
|
|
515
|
-
*/
|
|
516
|
-
export declare const TagResourceInputFilterSensitiveLog: (obj: TagResourceInput) => any;
|
|
517
|
-
/**
|
|
518
|
-
* @internal
|
|
519
|
-
*/
|
|
520
|
-
export declare const TagResourceOutputFilterSensitiveLog: (obj: TagResourceOutput) => any;
|
|
521
|
-
/**
|
|
522
|
-
* @internal
|
|
523
|
-
*/
|
|
524
|
-
export declare const UntagResourceInputFilterSensitiveLog: (obj: UntagResourceInput) => any;
|
|
525
|
-
/**
|
|
526
|
-
* @internal
|
|
527
|
-
*/
|
|
528
|
-
export declare const UntagResourceOutputFilterSensitiveLog: (obj: UntagResourceOutput) => any;
|
|
529
|
-
/**
|
|
530
|
-
* @internal
|
|
531
|
-
*/
|
|
532
|
-
export declare const UpdateHostInputFilterSensitiveLog: (obj: UpdateHostInput) => any;
|
|
533
|
-
/**
|
|
534
|
-
* @internal
|
|
535
|
-
*/
|
|
536
|
-
export declare const UpdateHostOutputFilterSensitiveLog: (obj: UpdateHostOutput) => any;
|
|
510
|
+
export interface UpdateHostOutput {
|
|
511
|
+
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
2
|
import { CodeStarConnectionsClient } from "../CodeStarConnectionsClient";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
3
6
|
export interface CodeStarConnectionsPaginationConfiguration extends PaginationConfiguration {
|
|
4
7
|
client: CodeStarConnectionsClient;
|
|
5
8
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListConnectionsCommandInput, ListConnectionsCommandOutput } from "../commands/ListConnectionsCommand";
|
|
3
3
|
import { CodeStarConnectionsPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListConnections(config: CodeStarConnectionsPaginationConfiguration, input: ListConnectionsCommandInput, ...additionalArguments: any): Paginator<ListConnectionsCommandOutput>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListHostsCommandInput, ListHostsCommandOutput } from "../commands/ListHostsCommand";
|
|
3
3
|
import { CodeStarConnectionsPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListHosts(config: CodeStarConnectionsPaginationConfiguration, input: ListHostsCommandInput, ...additionalArguments: any): Paginator<ListHostsCommandOutput>;
|