@aws-sdk/client-codestar-connections 3.450.0 → 3.454.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/README.md +120 -0
- package/dist-cjs/CodeStarConnections.js +30 -0
- package/dist-cjs/commands/CreateRepositoryLinkCommand.js +51 -0
- package/dist-cjs/commands/CreateSyncConfigurationCommand.js +51 -0
- package/dist-cjs/commands/DeleteRepositoryLinkCommand.js +51 -0
- package/dist-cjs/commands/DeleteSyncConfigurationCommand.js +51 -0
- package/dist-cjs/commands/GetRepositoryLinkCommand.js +51 -0
- package/dist-cjs/commands/GetRepositorySyncStatusCommand.js +51 -0
- package/dist-cjs/commands/GetResourceSyncStatusCommand.js +51 -0
- package/dist-cjs/commands/GetSyncBlockerSummaryCommand.js +51 -0
- package/dist-cjs/commands/GetSyncConfigurationCommand.js +51 -0
- package/dist-cjs/commands/ListRepositoryLinksCommand.js +51 -0
- package/dist-cjs/commands/ListRepositorySyncDefinitionsCommand.js +51 -0
- package/dist-cjs/commands/ListSyncConfigurationsCommand.js +51 -0
- package/dist-cjs/commands/UpdateRepositoryLinkCommand.js +51 -0
- package/dist-cjs/commands/UpdateSyncBlockerCommand.js +51 -0
- package/dist-cjs/commands/UpdateSyncConfigurationCommand.js +51 -0
- package/dist-cjs/commands/index.js +15 -0
- package/dist-cjs/models/models_0.js +192 -1
- package/dist-cjs/pagination/ListRepositoryLinksPaginator.js +29 -0
- package/dist-cjs/pagination/ListSyncConfigurationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_json1_0.js +1102 -65
- package/dist-es/CodeStarConnections.js +30 -0
- package/dist-es/commands/CreateRepositoryLinkCommand.js +47 -0
- package/dist-es/commands/CreateSyncConfigurationCommand.js +47 -0
- package/dist-es/commands/DeleteRepositoryLinkCommand.js +47 -0
- package/dist-es/commands/DeleteSyncConfigurationCommand.js +47 -0
- package/dist-es/commands/GetRepositoryLinkCommand.js +47 -0
- package/dist-es/commands/GetRepositorySyncStatusCommand.js +47 -0
- package/dist-es/commands/GetResourceSyncStatusCommand.js +47 -0
- package/dist-es/commands/GetSyncBlockerSummaryCommand.js +47 -0
- package/dist-es/commands/GetSyncConfigurationCommand.js +47 -0
- package/dist-es/commands/ListRepositoryLinksCommand.js +47 -0
- package/dist-es/commands/ListRepositorySyncDefinitionsCommand.js +47 -0
- package/dist-es/commands/ListSyncConfigurationsCommand.js +47 -0
- package/dist-es/commands/UpdateRepositoryLinkCommand.js +47 -0
- package/dist-es/commands/UpdateSyncBlockerCommand.js +47 -0
- package/dist-es/commands/UpdateSyncConfigurationCommand.js +47 -0
- package/dist-es/commands/index.js +15 -0
- package/dist-es/models/models_0.js +179 -0
- package/dist-es/pagination/ListRepositoryLinksPaginator.js +25 -0
- package/dist-es/pagination/ListSyncConfigurationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_0.js +1061 -55
- package/dist-types/CodeStarConnections.d.ts +105 -0
- package/dist-types/CodeStarConnectionsClient.d.ts +17 -2
- package/dist-types/commands/CreateRepositoryLinkCommand.d.ts +111 -0
- package/dist-types/commands/CreateSyncConfigurationCommand.d.ts +111 -0
- package/dist-types/commands/DeleteRepositoryLinkCommand.d.ts +95 -0
- package/dist-types/commands/DeleteSyncConfigurationCommand.d.ts +90 -0
- package/dist-types/commands/GetRepositoryLinkCommand.d.ts +100 -0
- package/dist-types/commands/GetRepositorySyncStatusCommand.d.ts +102 -0
- package/dist-types/commands/GetResourceSyncStatusCommand.d.ts +155 -0
- package/dist-types/commands/GetSyncBlockerSummaryCommand.d.ts +109 -0
- package/dist-types/commands/GetSyncConfigurationCommand.d.ts +99 -0
- package/dist-types/commands/ListRepositoryLinksCommand.d.ts +103 -0
- package/dist-types/commands/ListRepositorySyncDefinitionsCommand.d.ts +97 -0
- package/dist-types/commands/ListSyncConfigurationsCommand.d.ts +104 -0
- package/dist-types/commands/UpdateRepositoryLinkCommand.d.ts +106 -0
- package/dist-types/commands/UpdateSyncBlockerCommand.d.ts +113 -0
- package/dist-types/commands/UpdateSyncConfigurationCommand.d.ts +109 -0
- package/dist-types/commands/index.d.ts +15 -0
- package/dist-types/models/models_0.d.ts +1107 -6
- package/dist-types/pagination/ListRepositoryLinksPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSyncConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +135 -0
- package/dist-types/ts3.4/CodeStarConnections.d.ts +255 -0
- package/dist-types/ts3.4/CodeStarConnectionsClient.d.ts +92 -2
- package/dist-types/ts3.4/commands/CreateRepositoryLinkCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateSyncConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteRepositoryLinkCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteSyncConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetRepositoryLinkCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetRepositorySyncStatusCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetResourceSyncStatusCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetSyncBlockerSummaryCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetSyncConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListRepositoryLinksCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListRepositorySyncDefinitionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListSyncConfigurationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateRepositoryLinkCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateSyncBlockerCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateSyncConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +15 -0
- package/dist-types/ts3.4/models/models_0.d.ts +346 -0
- package/dist-types/ts3.4/pagination/ListRepositoryLinksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSyncConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +180 -0
- package/package.json +35 -35
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { CodeStarConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeStarConnectionsClient";
|
|
5
|
+
import { ListRepositorySyncDefinitionsInput, ListRepositorySyncDefinitionsOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListRepositorySyncDefinitionsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListRepositorySyncDefinitionsCommandInput extends ListRepositorySyncDefinitionsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListRepositorySyncDefinitionsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListRepositorySyncDefinitionsCommandOutput extends ListRepositorySyncDefinitionsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Lists the repository sync definitions for repository links in your account.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { CodeStarConnectionsClient, ListRepositorySyncDefinitionsCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
|
|
31
|
+
* // const { CodeStarConnectionsClient, ListRepositorySyncDefinitionsCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
|
|
32
|
+
* const client = new CodeStarConnectionsClient(config);
|
|
33
|
+
* const input = { // ListRepositorySyncDefinitionsInput
|
|
34
|
+
* RepositoryLinkId: "STRING_VALUE", // required
|
|
35
|
+
* SyncType: "CFN_STACK_SYNC", // required
|
|
36
|
+
* };
|
|
37
|
+
* const command = new ListRepositorySyncDefinitionsCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // ListRepositorySyncDefinitionsOutput
|
|
40
|
+
* // RepositorySyncDefinitions: [ // RepositorySyncDefinitionList // required
|
|
41
|
+
* // { // RepositorySyncDefinition
|
|
42
|
+
* // Branch: "STRING_VALUE", // required
|
|
43
|
+
* // Directory: "STRING_VALUE", // required
|
|
44
|
+
* // Parent: "STRING_VALUE", // required
|
|
45
|
+
* // Target: "STRING_VALUE", // required
|
|
46
|
+
* // },
|
|
47
|
+
* // ],
|
|
48
|
+
* // NextToken: "STRING_VALUE",
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param ListRepositorySyncDefinitionsCommandInput - {@link ListRepositorySyncDefinitionsCommandInput}
|
|
54
|
+
* @returns {@link ListRepositorySyncDefinitionsCommandOutput}
|
|
55
|
+
* @see {@link ListRepositorySyncDefinitionsCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link ListRepositorySyncDefinitionsCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link CodeStarConnectionsClientResolvedConfig | config} for CodeStarConnectionsClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
60
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerException} (server fault)
|
|
63
|
+
* <p>Received an internal server exception. Try again later.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
66
|
+
* <p>The input is not valid. Verify that the action is typed correctly.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
69
|
+
* <p>Resource not found. Verify the connection resource ARN and try again.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
72
|
+
* <p>The request was denied due to request throttling.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link CodeStarConnectionsServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
|
|
76
|
+
*
|
|
77
|
+
*/
|
|
78
|
+
export declare class ListRepositorySyncDefinitionsCommand extends $Command<ListRepositorySyncDefinitionsCommandInput, ListRepositorySyncDefinitionsCommandOutput, CodeStarConnectionsClientResolvedConfig> {
|
|
79
|
+
readonly input: ListRepositorySyncDefinitionsCommandInput;
|
|
80
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
constructor(input: ListRepositorySyncDefinitionsCommandInput);
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRepositorySyncDefinitionsCommandInput, ListRepositorySyncDefinitionsCommandOutput>;
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
private serialize;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
private deserialize;
|
|
97
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { CodeStarConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeStarConnectionsClient";
|
|
5
|
+
import { ListSyncConfigurationsInput, ListSyncConfigurationsOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListSyncConfigurationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListSyncConfigurationsCommandInput extends ListSyncConfigurationsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListSyncConfigurationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListSyncConfigurationsCommandOutput extends ListSyncConfigurationsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Returns a list of sync configurations for a specified repository.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { CodeStarConnectionsClient, ListSyncConfigurationsCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
|
|
31
|
+
* // const { CodeStarConnectionsClient, ListSyncConfigurationsCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
|
|
32
|
+
* const client = new CodeStarConnectionsClient(config);
|
|
33
|
+
* const input = { // ListSyncConfigurationsInput
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* NextToken: "STRING_VALUE",
|
|
36
|
+
* RepositoryLinkId: "STRING_VALUE", // required
|
|
37
|
+
* SyncType: "CFN_STACK_SYNC", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new ListSyncConfigurationsCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // ListSyncConfigurationsOutput
|
|
42
|
+
* // SyncConfigurations: [ // SyncConfigurationList // required
|
|
43
|
+
* // { // SyncConfiguration
|
|
44
|
+
* // Branch: "STRING_VALUE", // required
|
|
45
|
+
* // ConfigFile: "STRING_VALUE",
|
|
46
|
+
* // OwnerId: "STRING_VALUE", // required
|
|
47
|
+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required
|
|
48
|
+
* // RepositoryLinkId: "STRING_VALUE", // required
|
|
49
|
+
* // RepositoryName: "STRING_VALUE", // required
|
|
50
|
+
* // ResourceName: "STRING_VALUE", // required
|
|
51
|
+
* // RoleArn: "STRING_VALUE", // required
|
|
52
|
+
* // SyncType: "CFN_STACK_SYNC", // required
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // NextToken: "STRING_VALUE",
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param ListSyncConfigurationsCommandInput - {@link ListSyncConfigurationsCommandInput}
|
|
61
|
+
* @returns {@link ListSyncConfigurationsCommandOutput}
|
|
62
|
+
* @see {@link ListSyncConfigurationsCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link ListSyncConfigurationsCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link CodeStarConnectionsClientResolvedConfig | config} for CodeStarConnectionsClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServerException} (server fault)
|
|
70
|
+
* <p>Received an internal server exception. Try again later.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
73
|
+
* <p>The input is not valid. Verify that the action is typed correctly.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
76
|
+
* <p>Resource not found. Verify the connection resource ARN and try again.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
79
|
+
* <p>The request was denied due to request throttling.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link CodeStarConnectionsServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
|
|
83
|
+
*
|
|
84
|
+
*/
|
|
85
|
+
export declare class ListSyncConfigurationsCommand extends $Command<ListSyncConfigurationsCommandInput, ListSyncConfigurationsCommandOutput, CodeStarConnectionsClientResolvedConfig> {
|
|
86
|
+
readonly input: ListSyncConfigurationsCommandInput;
|
|
87
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
88
|
+
/**
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
constructor(input: ListSyncConfigurationsCommandInput);
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSyncConfigurationsCommandInput, ListSyncConfigurationsCommandOutput>;
|
|
96
|
+
/**
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
private serialize;
|
|
100
|
+
/**
|
|
101
|
+
* @internal
|
|
102
|
+
*/
|
|
103
|
+
private deserialize;
|
|
104
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { CodeStarConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeStarConnectionsClient";
|
|
5
|
+
import { UpdateRepositoryLinkInput, UpdateRepositoryLinkOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateRepositoryLinkCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateRepositoryLinkCommandInput extends UpdateRepositoryLinkInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateRepositoryLinkCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateRepositoryLinkCommandOutput extends UpdateRepositoryLinkOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Updates the association between your connection and a specified external Git repository.
|
|
27
|
+
* A repository link allows Git sync to monitor and sync changes to files in a specified Git
|
|
28
|
+
* repository.</p>
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { CodeStarConnectionsClient, UpdateRepositoryLinkCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
|
|
33
|
+
* // const { CodeStarConnectionsClient, UpdateRepositoryLinkCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
|
|
34
|
+
* const client = new CodeStarConnectionsClient(config);
|
|
35
|
+
* const input = { // UpdateRepositoryLinkInput
|
|
36
|
+
* ConnectionArn: "STRING_VALUE",
|
|
37
|
+
* EncryptionKeyArn: "STRING_VALUE",
|
|
38
|
+
* RepositoryLinkId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new UpdateRepositoryLinkCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // UpdateRepositoryLinkOutput
|
|
43
|
+
* // RepositoryLinkInfo: { // RepositoryLinkInfo
|
|
44
|
+
* // ConnectionArn: "STRING_VALUE", // required
|
|
45
|
+
* // EncryptionKeyArn: "STRING_VALUE",
|
|
46
|
+
* // OwnerId: "STRING_VALUE", // required
|
|
47
|
+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required
|
|
48
|
+
* // RepositoryLinkArn: "STRING_VALUE", // required
|
|
49
|
+
* // RepositoryLinkId: "STRING_VALUE", // required
|
|
50
|
+
* // RepositoryName: "STRING_VALUE", // required
|
|
51
|
+
* // },
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param UpdateRepositoryLinkCommandInput - {@link UpdateRepositoryLinkCommandInput}
|
|
57
|
+
* @returns {@link UpdateRepositoryLinkCommandOutput}
|
|
58
|
+
* @see {@link UpdateRepositoryLinkCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link UpdateRepositoryLinkCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link CodeStarConnectionsClientResolvedConfig | config} for CodeStarConnectionsClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
63
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ConditionalCheckFailedException} (client fault)
|
|
66
|
+
* <p>The conditional check failed. Try again later.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InternalServerException} (server fault)
|
|
69
|
+
* <p>Received an internal server exception. Try again later.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
72
|
+
* <p>The input is not valid. Verify that the action is typed correctly.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
75
|
+
* <p>Resource not found. Verify the connection resource ARN and try again.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
78
|
+
* <p>The request was denied due to request throttling.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link UpdateOutOfSyncException} (client fault)
|
|
81
|
+
* <p>The update is out of sync. Try syncing again.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link CodeStarConnectionsServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
|
|
85
|
+
*
|
|
86
|
+
*/
|
|
87
|
+
export declare class UpdateRepositoryLinkCommand extends $Command<UpdateRepositoryLinkCommandInput, UpdateRepositoryLinkCommandOutput, CodeStarConnectionsClientResolvedConfig> {
|
|
88
|
+
readonly input: UpdateRepositoryLinkCommandInput;
|
|
89
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
constructor(input: UpdateRepositoryLinkCommandInput);
|
|
94
|
+
/**
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
97
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateRepositoryLinkCommandInput, UpdateRepositoryLinkCommandOutput>;
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
101
|
+
private serialize;
|
|
102
|
+
/**
|
|
103
|
+
* @internal
|
|
104
|
+
*/
|
|
105
|
+
private deserialize;
|
|
106
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { CodeStarConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeStarConnectionsClient";
|
|
5
|
+
import { UpdateSyncBlockerInput, UpdateSyncBlockerOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateSyncBlockerCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateSyncBlockerCommandInput extends UpdateSyncBlockerInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateSyncBlockerCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateSyncBlockerCommandOutput extends UpdateSyncBlockerOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Allows you to update the status of a sync blocker, resolving the blocker and allowing syncing to continue.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { CodeStarConnectionsClient, UpdateSyncBlockerCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
|
|
31
|
+
* // const { CodeStarConnectionsClient, UpdateSyncBlockerCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
|
|
32
|
+
* const client = new CodeStarConnectionsClient(config);
|
|
33
|
+
* const input = { // UpdateSyncBlockerInput
|
|
34
|
+
* Id: "STRING_VALUE", // required
|
|
35
|
+
* SyncType: "CFN_STACK_SYNC", // required
|
|
36
|
+
* ResourceName: "STRING_VALUE", // required
|
|
37
|
+
* ResolvedReason: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new UpdateSyncBlockerCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // UpdateSyncBlockerOutput
|
|
42
|
+
* // ResourceName: "STRING_VALUE", // required
|
|
43
|
+
* // ParentResourceName: "STRING_VALUE",
|
|
44
|
+
* // SyncBlocker: { // SyncBlocker
|
|
45
|
+
* // Id: "STRING_VALUE", // required
|
|
46
|
+
* // Type: "AUTOMATED", // required
|
|
47
|
+
* // Status: "ACTIVE" || "RESOLVED", // required
|
|
48
|
+
* // CreatedReason: "STRING_VALUE", // required
|
|
49
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
50
|
+
* // Contexts: [ // SyncBlockerContextList
|
|
51
|
+
* // { // SyncBlockerContext
|
|
52
|
+
* // Key: "STRING_VALUE", // required
|
|
53
|
+
* // Value: "STRING_VALUE", // required
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // ResolvedReason: "STRING_VALUE",
|
|
57
|
+
* // ResolvedAt: new Date("TIMESTAMP"),
|
|
58
|
+
* // },
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param UpdateSyncBlockerCommandInput - {@link UpdateSyncBlockerCommandInput}
|
|
64
|
+
* @returns {@link UpdateSyncBlockerCommandOutput}
|
|
65
|
+
* @see {@link UpdateSyncBlockerCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link UpdateSyncBlockerCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link CodeStarConnectionsClientResolvedConfig | config} for CodeStarConnectionsClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
70
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link InternalServerException} (server fault)
|
|
73
|
+
* <p>Received an internal server exception. Try again later.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
76
|
+
* <p>The input is not valid. Verify that the action is typed correctly.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
79
|
+
* <p>Resource not found. Verify the connection resource ARN and try again.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link RetryLatestCommitFailedException} (server fault)
|
|
82
|
+
* <p>Retrying the latest commit failed. Try again later.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link SyncBlockerDoesNotExistException} (client fault)
|
|
85
|
+
* <p>Unable to continue. The sync blocker does not exist.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
88
|
+
* <p>The request was denied due to request throttling.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link CodeStarConnectionsServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
|
|
92
|
+
*
|
|
93
|
+
*/
|
|
94
|
+
export declare class UpdateSyncBlockerCommand extends $Command<UpdateSyncBlockerCommandInput, UpdateSyncBlockerCommandOutput, CodeStarConnectionsClientResolvedConfig> {
|
|
95
|
+
readonly input: UpdateSyncBlockerCommandInput;
|
|
96
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
97
|
+
/**
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
constructor(input: UpdateSyncBlockerCommandInput);
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateSyncBlockerCommandInput, UpdateSyncBlockerCommandOutput>;
|
|
105
|
+
/**
|
|
106
|
+
* @internal
|
|
107
|
+
*/
|
|
108
|
+
private serialize;
|
|
109
|
+
/**
|
|
110
|
+
* @internal
|
|
111
|
+
*/
|
|
112
|
+
private deserialize;
|
|
113
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { CodeStarConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeStarConnectionsClient";
|
|
5
|
+
import { UpdateSyncConfigurationInput, UpdateSyncConfigurationOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateSyncConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateSyncConfigurationCommandInput extends UpdateSyncConfigurationInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateSyncConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateSyncConfigurationCommandOutput extends UpdateSyncConfigurationOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Updates the sync configuration for your connection and a specified external Git repository.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { CodeStarConnectionsClient, UpdateSyncConfigurationCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
|
|
31
|
+
* // const { CodeStarConnectionsClient, UpdateSyncConfigurationCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
|
|
32
|
+
* const client = new CodeStarConnectionsClient(config);
|
|
33
|
+
* const input = { // UpdateSyncConfigurationInput
|
|
34
|
+
* Branch: "STRING_VALUE",
|
|
35
|
+
* ConfigFile: "STRING_VALUE",
|
|
36
|
+
* RepositoryLinkId: "STRING_VALUE",
|
|
37
|
+
* ResourceName: "STRING_VALUE", // required
|
|
38
|
+
* RoleArn: "STRING_VALUE",
|
|
39
|
+
* SyncType: "CFN_STACK_SYNC", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new UpdateSyncConfigurationCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // UpdateSyncConfigurationOutput
|
|
44
|
+
* // SyncConfiguration: { // SyncConfiguration
|
|
45
|
+
* // Branch: "STRING_VALUE", // required
|
|
46
|
+
* // ConfigFile: "STRING_VALUE",
|
|
47
|
+
* // OwnerId: "STRING_VALUE", // required
|
|
48
|
+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required
|
|
49
|
+
* // RepositoryLinkId: "STRING_VALUE", // required
|
|
50
|
+
* // RepositoryName: "STRING_VALUE", // required
|
|
51
|
+
* // ResourceName: "STRING_VALUE", // required
|
|
52
|
+
* // RoleArn: "STRING_VALUE", // required
|
|
53
|
+
* // SyncType: "CFN_STACK_SYNC", // required
|
|
54
|
+
* // },
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param UpdateSyncConfigurationCommandInput - {@link UpdateSyncConfigurationCommandInput}
|
|
60
|
+
* @returns {@link UpdateSyncConfigurationCommandOutput}
|
|
61
|
+
* @see {@link UpdateSyncConfigurationCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link UpdateSyncConfigurationCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link CodeStarConnectionsClientResolvedConfig | config} for CodeStarConnectionsClient's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
66
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
69
|
+
* <p>Exception thrown as a result of concurrent modification to an application. For example, two individuals attempting to edit the same application at the same time. </p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InternalServerException} (server fault)
|
|
72
|
+
* <p>Received an internal server exception. Try again later.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
75
|
+
* <p>The input is not valid. Verify that the action is typed correctly.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
78
|
+
* <p>Resource not found. Verify the connection resource ARN and try again.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
81
|
+
* <p>The request was denied due to request throttling.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link UpdateOutOfSyncException} (client fault)
|
|
84
|
+
* <p>The update is out of sync. Try syncing again.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link CodeStarConnectionsServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
|
|
88
|
+
*
|
|
89
|
+
*/
|
|
90
|
+
export declare class UpdateSyncConfigurationCommand extends $Command<UpdateSyncConfigurationCommandInput, UpdateSyncConfigurationCommandOutput, CodeStarConnectionsClientResolvedConfig> {
|
|
91
|
+
readonly input: UpdateSyncConfigurationCommandInput;
|
|
92
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
93
|
+
/**
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
constructor(input: UpdateSyncConfigurationCommandInput);
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateSyncConfigurationCommandInput, UpdateSyncConfigurationCommandOutput>;
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
private serialize;
|
|
105
|
+
/**
|
|
106
|
+
* @internal
|
|
107
|
+
*/
|
|
108
|
+
private deserialize;
|
|
109
|
+
}
|
|
@@ -1,12 +1,27 @@
|
|
|
1
1
|
export * from "./CreateConnectionCommand";
|
|
2
2
|
export * from "./CreateHostCommand";
|
|
3
|
+
export * from "./CreateRepositoryLinkCommand";
|
|
4
|
+
export * from "./CreateSyncConfigurationCommand";
|
|
3
5
|
export * from "./DeleteConnectionCommand";
|
|
4
6
|
export * from "./DeleteHostCommand";
|
|
7
|
+
export * from "./DeleteRepositoryLinkCommand";
|
|
8
|
+
export * from "./DeleteSyncConfigurationCommand";
|
|
5
9
|
export * from "./GetConnectionCommand";
|
|
6
10
|
export * from "./GetHostCommand";
|
|
11
|
+
export * from "./GetRepositoryLinkCommand";
|
|
12
|
+
export * from "./GetRepositorySyncStatusCommand";
|
|
13
|
+
export * from "./GetResourceSyncStatusCommand";
|
|
14
|
+
export * from "./GetSyncBlockerSummaryCommand";
|
|
15
|
+
export * from "./GetSyncConfigurationCommand";
|
|
7
16
|
export * from "./ListConnectionsCommand";
|
|
8
17
|
export * from "./ListHostsCommand";
|
|
18
|
+
export * from "./ListRepositoryLinksCommand";
|
|
19
|
+
export * from "./ListRepositorySyncDefinitionsCommand";
|
|
20
|
+
export * from "./ListSyncConfigurationsCommand";
|
|
9
21
|
export * from "./ListTagsForResourceCommand";
|
|
10
22
|
export * from "./TagResourceCommand";
|
|
11
23
|
export * from "./UntagResourceCommand";
|
|
12
24
|
export * from "./UpdateHostCommand";
|
|
25
|
+
export * from "./UpdateRepositoryLinkCommand";
|
|
26
|
+
export * from "./UpdateSyncBlockerCommand";
|
|
27
|
+
export * from "./UpdateSyncConfigurationCommand";
|