@aws-sdk/client-codestar-connections 3.325.0 → 3.326.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.
@@ -41,6 +41,16 @@ export interface CreateConnectionCommandOutput extends CreateConnectionOutput, _
41
41
  * };
42
42
  * const command = new CreateConnectionCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // CreateConnectionOutput
45
+ * // ConnectionArn: "STRING_VALUE", // required
46
+ * // Tags: [ // TagList
47
+ * // { // Tag
48
+ * // Key: "STRING_VALUE", // required
49
+ * // Value: "STRING_VALUE", // required
50
+ * // },
51
+ * // ],
52
+ * // };
53
+ *
44
54
  * ```
45
55
  *
46
56
  * @param CreateConnectionCommandInput - {@link CreateConnectionCommandInput}
@@ -58,6 +68,8 @@ export interface CreateConnectionCommandOutput extends CreateConnectionOutput, _
58
68
  * @throws {@link ResourceUnavailableException} (client fault)
59
69
  * <p>Resource not found. Verify the ARN for the host resource and try again.</p>
60
70
  *
71
+ * @throws {@link CodeStarConnectionsServiceException}
72
+ * <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
61
73
  *
62
74
  */
63
75
  export declare class CreateConnectionCommand extends $Command<CreateConnectionCommandInput, CreateConnectionCommandOutput, CodeStarConnectionsClientResolvedConfig> {
@@ -56,6 +56,16 @@ export interface CreateHostCommandOutput extends CreateHostOutput, __MetadataBea
56
56
  * };
57
57
  * const command = new CreateHostCommand(input);
58
58
  * const response = await client.send(command);
59
+ * // { // CreateHostOutput
60
+ * // HostArn: "STRING_VALUE",
61
+ * // Tags: [ // TagList
62
+ * // { // Tag
63
+ * // Key: "STRING_VALUE", // required
64
+ * // Value: "STRING_VALUE", // required
65
+ * // },
66
+ * // ],
67
+ * // };
68
+ *
59
69
  * ```
60
70
  *
61
71
  * @param CreateHostCommandInput - {@link CreateHostCommandInput}
@@ -67,6 +77,8 @@ export interface CreateHostCommandOutput extends CreateHostOutput, __MetadataBea
67
77
  * @throws {@link LimitExceededException} (client fault)
68
78
  * <p>Exceeded the maximum limit for connections.</p>
69
79
  *
80
+ * @throws {@link CodeStarConnectionsServiceException}
81
+ * <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
70
82
  *
71
83
  */
72
84
  export declare class CreateHostCommand extends $Command<CreateHostCommandInput, CreateHostCommandOutput, CodeStarConnectionsClientResolvedConfig> {
@@ -31,6 +31,8 @@ export interface DeleteConnectionCommandOutput extends DeleteConnectionOutput, _
31
31
  * };
32
32
  * const command = new DeleteConnectionCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // {};
35
+ *
34
36
  * ```
35
37
  *
36
38
  * @param DeleteConnectionCommandInput - {@link DeleteConnectionCommandInput}
@@ -42,6 +44,8 @@ export interface DeleteConnectionCommandOutput extends DeleteConnectionOutput, _
42
44
  * @throws {@link ResourceNotFoundException} (client fault)
43
45
  * <p>Resource not found. Verify the connection resource ARN and try again.</p>
44
46
  *
47
+ * @throws {@link CodeStarConnectionsServiceException}
48
+ * <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
45
49
  *
46
50
  */
47
51
  export declare class DeleteConnectionCommand extends $Command<DeleteConnectionCommandInput, DeleteConnectionCommandOutput, CodeStarConnectionsClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface DeleteHostCommandOutput extends DeleteHostOutput, __MetadataBea
34
34
  * };
35
35
  * const command = new DeleteHostCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param DeleteHostCommandInput - {@link DeleteHostCommandInput}
@@ -48,6 +50,8 @@ export interface DeleteHostCommandOutput extends DeleteHostOutput, __MetadataBea
48
50
  * @throws {@link ResourceUnavailableException} (client fault)
49
51
  * <p>Resource not found. Verify the ARN for the host resource and try again.</p>
50
52
  *
53
+ * @throws {@link CodeStarConnectionsServiceException}
54
+ * <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
51
55
  *
52
56
  */
53
57
  export declare class DeleteHostCommand extends $Command<DeleteHostCommandInput, DeleteHostCommandOutput, CodeStarConnectionsClientResolvedConfig> {
@@ -31,6 +31,17 @@ export interface GetConnectionCommandOutput extends GetConnectionOutput, __Metad
31
31
  * };
32
32
  * const command = new GetConnectionCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetConnectionOutput
35
+ * // Connection: { // Connection
36
+ * // ConnectionName: "STRING_VALUE",
37
+ * // ConnectionArn: "STRING_VALUE",
38
+ * // ProviderType: "STRING_VALUE",
39
+ * // OwnerAccountId: "STRING_VALUE",
40
+ * // ConnectionStatus: "STRING_VALUE",
41
+ * // HostArn: "STRING_VALUE",
42
+ * // },
43
+ * // };
44
+ *
34
45
  * ```
35
46
  *
36
47
  * @param GetConnectionCommandInput - {@link GetConnectionCommandInput}
@@ -45,6 +56,8 @@ export interface GetConnectionCommandOutput extends GetConnectionOutput, __Metad
45
56
  * @throws {@link ResourceUnavailableException} (client fault)
46
57
  * <p>Resource not found. Verify the ARN for the host resource and try again.</p>
47
58
  *
59
+ * @throws {@link CodeStarConnectionsServiceException}
60
+ * <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
48
61
  *
49
62
  */
50
63
  export declare class GetConnectionCommand extends $Command<GetConnectionCommandInput, GetConnectionCommandOutput, CodeStarConnectionsClientResolvedConfig> {
@@ -32,6 +32,23 @@ export interface GetHostCommandOutput extends GetHostOutput, __MetadataBearer {
32
32
  * };
33
33
  * const command = new GetHostCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetHostOutput
36
+ * // Name: "STRING_VALUE",
37
+ * // Status: "STRING_VALUE",
38
+ * // ProviderType: "STRING_VALUE",
39
+ * // ProviderEndpoint: "STRING_VALUE",
40
+ * // VpcConfiguration: { // VpcConfiguration
41
+ * // VpcId: "STRING_VALUE", // required
42
+ * // SubnetIds: [ // SubnetIds // required
43
+ * // "STRING_VALUE",
44
+ * // ],
45
+ * // SecurityGroupIds: [ // SecurityGroupIds // required
46
+ * // "STRING_VALUE",
47
+ * // ],
48
+ * // TlsCertificate: "STRING_VALUE",
49
+ * // },
50
+ * // };
51
+ *
35
52
  * ```
36
53
  *
37
54
  * @param GetHostCommandInput - {@link GetHostCommandInput}
@@ -46,6 +63,8 @@ export interface GetHostCommandOutput extends GetHostOutput, __MetadataBearer {
46
63
  * @throws {@link ResourceUnavailableException} (client fault)
47
64
  * <p>Resource not found. Verify the ARN for the host resource and try again.</p>
48
65
  *
66
+ * @throws {@link CodeStarConnectionsServiceException}
67
+ * <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
49
68
  *
50
69
  */
51
70
  export declare class GetHostCommand extends $Command<GetHostCommandInput, GetHostCommandOutput, CodeStarConnectionsClientResolvedConfig> {
@@ -34,6 +34,20 @@ export interface ListConnectionsCommandOutput extends ListConnectionsOutput, __M
34
34
  * };
35
35
  * const command = new ListConnectionsCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // ListConnectionsOutput
38
+ * // Connections: [ // ConnectionList
39
+ * // { // Connection
40
+ * // ConnectionName: "STRING_VALUE",
41
+ * // ConnectionArn: "STRING_VALUE",
42
+ * // ProviderType: "STRING_VALUE",
43
+ * // OwnerAccountId: "STRING_VALUE",
44
+ * // ConnectionStatus: "STRING_VALUE",
45
+ * // HostArn: "STRING_VALUE",
46
+ * // },
47
+ * // ],
48
+ * // NextToken: "STRING_VALUE",
49
+ * // };
50
+ *
37
51
  * ```
38
52
  *
39
53
  * @param ListConnectionsCommandInput - {@link ListConnectionsCommandInput}
@@ -42,6 +56,8 @@ export interface ListConnectionsCommandOutput extends ListConnectionsOutput, __M
42
56
  * @see {@link ListConnectionsCommandOutput} for command's `response` shape.
43
57
  * @see {@link CodeStarConnectionsClientResolvedConfig | config} for CodeStarConnectionsClient's `config` shape.
44
58
  *
59
+ * @throws {@link CodeStarConnectionsServiceException}
60
+ * <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
45
61
  *
46
62
  */
47
63
  export declare class ListConnectionsCommand extends $Command<ListConnectionsCommandInput, ListConnectionsCommandOutput, CodeStarConnectionsClientResolvedConfig> {
@@ -32,6 +32,30 @@ export interface ListHostsCommandOutput extends ListHostsOutput, __MetadataBeare
32
32
  * };
33
33
  * const command = new ListHostsCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // ListHostsOutput
36
+ * // Hosts: [ // HostList
37
+ * // { // Host
38
+ * // Name: "STRING_VALUE",
39
+ * // HostArn: "STRING_VALUE",
40
+ * // ProviderType: "STRING_VALUE",
41
+ * // ProviderEndpoint: "STRING_VALUE",
42
+ * // VpcConfiguration: { // VpcConfiguration
43
+ * // VpcId: "STRING_VALUE", // required
44
+ * // SubnetIds: [ // SubnetIds // required
45
+ * // "STRING_VALUE",
46
+ * // ],
47
+ * // SecurityGroupIds: [ // SecurityGroupIds // required
48
+ * // "STRING_VALUE",
49
+ * // ],
50
+ * // TlsCertificate: "STRING_VALUE",
51
+ * // },
52
+ * // Status: "STRING_VALUE",
53
+ * // StatusMessage: "STRING_VALUE",
54
+ * // },
55
+ * // ],
56
+ * // NextToken: "STRING_VALUE",
57
+ * // };
58
+ *
35
59
  * ```
36
60
  *
37
61
  * @param ListHostsCommandInput - {@link ListHostsCommandInput}
@@ -40,6 +64,8 @@ export interface ListHostsCommandOutput extends ListHostsOutput, __MetadataBeare
40
64
  * @see {@link ListHostsCommandOutput} for command's `response` shape.
41
65
  * @see {@link CodeStarConnectionsClientResolvedConfig | config} for CodeStarConnectionsClient's `config` shape.
42
66
  *
67
+ * @throws {@link CodeStarConnectionsServiceException}
68
+ * <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
43
69
  *
44
70
  */
45
71
  export declare class ListHostsCommand extends $Command<ListHostsCommandInput, ListHostsCommandOutput, CodeStarConnectionsClientResolvedConfig> {
@@ -31,6 +31,15 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // ListTagsForResourceOutput
35
+ * // Tags: [ // TagList
36
+ * // { // Tag
37
+ * // Key: "STRING_VALUE", // required
38
+ * // Value: "STRING_VALUE", // required
39
+ * // },
40
+ * // ],
41
+ * // };
42
+ *
34
43
  * ```
35
44
  *
36
45
  * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
@@ -42,6 +51,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
42
51
  * @throws {@link ResourceNotFoundException} (client fault)
43
52
  * <p>Resource not found. Verify the connection resource ARN and try again.</p>
44
53
  *
54
+ * @throws {@link CodeStarConnectionsServiceException}
55
+ * <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
45
56
  *
46
57
  */
47
58
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CodeStarConnectionsClientResolvedConfig> {
@@ -38,6 +38,8 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
38
38
  * };
39
39
  * const command = new TagResourceCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // {};
42
+ *
41
43
  * ```
42
44
  *
43
45
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -52,6 +54,8 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
52
54
  * @throws {@link ResourceNotFoundException} (client fault)
53
55
  * <p>Resource not found. Verify the connection resource ARN and try again.</p>
54
56
  *
57
+ * @throws {@link CodeStarConnectionsServiceException}
58
+ * <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
55
59
  *
56
60
  */
57
61
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, CodeStarConnectionsClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
34
34
  * };
35
35
  * const command = new UntagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -45,6 +47,8 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
45
47
  * @throws {@link ResourceNotFoundException} (client fault)
46
48
  * <p>Resource not found. Verify the connection resource ARN and try again.</p>
47
49
  *
50
+ * @throws {@link CodeStarConnectionsServiceException}
51
+ * <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
48
52
  *
49
53
  */
50
54
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, CodeStarConnectionsClientResolvedConfig> {
@@ -42,6 +42,8 @@ export interface UpdateHostCommandOutput extends UpdateHostOutput, __MetadataBea
42
42
  * };
43
43
  * const command = new UpdateHostCommand(input);
44
44
  * const response = await client.send(command);
45
+ * // {};
46
+ *
45
47
  * ```
46
48
  *
47
49
  * @param UpdateHostCommandInput - {@link UpdateHostCommandInput}
@@ -62,6 +64,8 @@ export interface UpdateHostCommandOutput extends UpdateHostOutput, __MetadataBea
62
64
  * @throws {@link UnsupportedOperationException} (client fault)
63
65
  * <p>The operation is not supported. Check the connection status and try again.</p>
64
66
  *
67
+ * @throws {@link CodeStarConnectionsServiceException}
68
+ * <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
65
69
  *
66
70
  */
67
71
  export declare class UpdateHostCommand extends $Command<UpdateHostCommandInput, UpdateHostCommandOutput, CodeStarConnectionsClientResolvedConfig> {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codestar-connections",
3
3
  "description": "AWS SDK for JavaScript Codestar Connections Client for Node.js, Browser and React Native",
4
- "version": "3.325.0",
4
+ "version": "3.326.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.325.0",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.325.0",
26
+ "@aws-sdk/credential-provider-node": "3.326.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",