@aws-sdk/client-codeconnections 3.545.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +500 -0
- package/dist-cjs/CodeConnections.js +65 -0
- package/dist-cjs/CodeConnectionsClient.js +56 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/CreateConnectionCommand.js +28 -0
- package/dist-cjs/commands/CreateHostCommand.js +28 -0
- package/dist-cjs/commands/CreateRepositoryLinkCommand.js +28 -0
- package/dist-cjs/commands/CreateSyncConfigurationCommand.js +28 -0
- package/dist-cjs/commands/DeleteConnectionCommand.js +28 -0
- package/dist-cjs/commands/DeleteHostCommand.js +28 -0
- package/dist-cjs/commands/DeleteRepositoryLinkCommand.js +28 -0
- package/dist-cjs/commands/DeleteSyncConfigurationCommand.js +28 -0
- package/dist-cjs/commands/GetConnectionCommand.js +28 -0
- package/dist-cjs/commands/GetHostCommand.js +28 -0
- package/dist-cjs/commands/GetRepositoryLinkCommand.js +28 -0
- package/dist-cjs/commands/GetRepositorySyncStatusCommand.js +28 -0
- package/dist-cjs/commands/GetResourceSyncStatusCommand.js +28 -0
- package/dist-cjs/commands/GetSyncBlockerSummaryCommand.js +28 -0
- package/dist-cjs/commands/GetSyncConfigurationCommand.js +28 -0
- package/dist-cjs/commands/ListConnectionsCommand.js +28 -0
- package/dist-cjs/commands/ListHostsCommand.js +28 -0
- package/dist-cjs/commands/ListRepositoryLinksCommand.js +28 -0
- package/dist-cjs/commands/ListRepositorySyncDefinitionsCommand.js +28 -0
- package/dist-cjs/commands/ListSyncConfigurationsCommand.js +28 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +28 -0
- package/dist-cjs/commands/TagResourceCommand.js +28 -0
- package/dist-cjs/commands/UntagResourceCommand.js +28 -0
- package/dist-cjs/commands/UpdateHostCommand.js +28 -0
- package/dist-cjs/commands/UpdateRepositoryLinkCommand.js +28 -0
- package/dist-cjs/commands/UpdateSyncBlockerCommand.js +28 -0
- package/dist-cjs/commands/UpdateSyncConfigurationCommand.js +28 -0
- package/dist-cjs/commands/index.js +30 -0
- package/dist-cjs/endpoint/EndpointParameters.js +18 -0
- package/dist-cjs/endpoint/endpointResolver.js +14 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/CodeConnectionsServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +285 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListConnectionsPaginator.js +7 -0
- package/dist-cjs/pagination/ListHostsPaginator.js +7 -0
- package/dist-cjs/pagination/ListRepositoryLinksPaginator.js +7 -0
- package/dist-cjs/pagination/ListSyncConfigurationsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_json1_0.js +928 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +49 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/CodeConnections.js +61 -0
- package/dist-es/CodeConnectionsClient.js +52 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/CreateConnectionCommand.js +24 -0
- package/dist-es/commands/CreateHostCommand.js +24 -0
- package/dist-es/commands/CreateRepositoryLinkCommand.js +24 -0
- package/dist-es/commands/CreateSyncConfigurationCommand.js +24 -0
- package/dist-es/commands/DeleteConnectionCommand.js +24 -0
- package/dist-es/commands/DeleteHostCommand.js +24 -0
- package/dist-es/commands/DeleteRepositoryLinkCommand.js +24 -0
- package/dist-es/commands/DeleteSyncConfigurationCommand.js +24 -0
- package/dist-es/commands/GetConnectionCommand.js +24 -0
- package/dist-es/commands/GetHostCommand.js +24 -0
- package/dist-es/commands/GetRepositoryLinkCommand.js +24 -0
- package/dist-es/commands/GetRepositorySyncStatusCommand.js +24 -0
- package/dist-es/commands/GetResourceSyncStatusCommand.js +24 -0
- package/dist-es/commands/GetSyncBlockerSummaryCommand.js +24 -0
- package/dist-es/commands/GetSyncConfigurationCommand.js +24 -0
- package/dist-es/commands/ListConnectionsCommand.js +24 -0
- package/dist-es/commands/ListHostsCommand.js +24 -0
- package/dist-es/commands/ListRepositoryLinksCommand.js +24 -0
- package/dist-es/commands/ListRepositorySyncDefinitionsCommand.js +24 -0
- package/dist-es/commands/ListSyncConfigurationsCommand.js +24 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +24 -0
- package/dist-es/commands/TagResourceCommand.js +24 -0
- package/dist-es/commands/UntagResourceCommand.js +24 -0
- package/dist-es/commands/UpdateHostCommand.js +24 -0
- package/dist-es/commands/UpdateRepositoryLinkCommand.js +24 -0
- package/dist-es/commands/UpdateSyncBlockerCommand.js +24 -0
- package/dist-es/commands/UpdateSyncConfigurationCommand.js +24 -0
- package/dist-es/commands/index.js +27 -0
- package/dist-es/endpoint/EndpointParameters.js +14 -0
- package/dist-es/endpoint/endpointResolver.js +10 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/CodeConnectionsServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +265 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListConnectionsPaginator.js +4 -0
- package/dist-es/pagination/ListHostsPaginator.js +4 -0
- package/dist-es/pagination/ListRepositoryLinksPaginator.js +4 -0
- package/dist-es/pagination/ListSyncConfigurationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_json1_0.js +870 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +44 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/CodeConnections.d.ts +280 -0
- package/dist-types/CodeConnectionsClient.d.ts +276 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/CreateConnectionCommand.d.ts +84 -0
- package/dist-types/commands/CreateHostCommand.d.ts +93 -0
- package/dist-types/commands/CreateRepositoryLinkCommand.d.ts +97 -0
- package/dist-types/commands/CreateSyncConfigurationCommand.d.ts +101 -0
- package/dist-types/commands/DeleteConnectionCommand.d.ts +60 -0
- package/dist-types/commands/DeleteHostCommand.d.ts +66 -0
- package/dist-types/commands/DeleteRepositoryLinkCommand.d.ts +81 -0
- package/dist-types/commands/DeleteSyncConfigurationCommand.d.ts +76 -0
- package/dist-types/commands/GetConnectionCommand.d.ts +72 -0
- package/dist-types/commands/GetHostCommand.d.ts +79 -0
- package/dist-types/commands/GetRepositoryLinkCommand.d.ts +86 -0
- package/dist-types/commands/GetRepositorySyncStatusCommand.d.ts +88 -0
- package/dist-types/commands/GetResourceSyncStatusCommand.d.ts +141 -0
- package/dist-types/commands/GetSyncBlockerSummaryCommand.d.ts +95 -0
- package/dist-types/commands/GetSyncConfigurationCommand.d.ts +87 -0
- package/dist-types/commands/ListConnectionsCommand.d.ts +75 -0
- package/dist-types/commands/ListHostsCommand.d.ts +80 -0
- package/dist-types/commands/ListRepositoryLinksCommand.d.ts +89 -0
- package/dist-types/commands/ListRepositorySyncDefinitionsCommand.d.ts +83 -0
- package/dist-types/commands/ListSyncConfigurationsCommand.d.ts +92 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +67 -0
- package/dist-types/commands/TagResourceCommand.d.ts +70 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +63 -0
- package/dist-types/commands/UpdateHostCommand.d.ts +80 -0
- package/dist-types/commands/UpdateRepositoryLinkCommand.d.ts +92 -0
- package/dist-types/commands/UpdateSyncBlockerCommand.d.ts +99 -0
- package/dist-types/commands/UpdateSyncConfigurationCommand.d.ts +99 -0
- package/dist-types/commands/index.d.ts +27 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +92 -0
- package/dist-types/models/CodeConnectionsServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1735 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListConnectionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListHostsPaginator.d.ts +7 -0
- 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 +5 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +245 -0
- package/dist-types/runtimeConfig.browser.d.ts +45 -0
- package/dist-types/runtimeConfig.d.ts +45 -0
- package/dist-types/runtimeConfig.native.d.ts +44 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/CodeConnections.d.ts +469 -0
- package/dist-types/ts3.4/CodeConnectionsClient.d.ts +283 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateHostCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateRepositoryLinkCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateSyncConfigurationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteHostCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteRepositoryLinkCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteSyncConfigurationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetConnectionCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetHostCommand.d.ts +29 -0
- package/dist-types/ts3.4/commands/GetRepositoryLinkCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetRepositorySyncStatusCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetResourceSyncStatusCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetSyncBlockerSummaryCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetSyncConfigurationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListHostsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListRepositoryLinksCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListRepositorySyncDefinitionsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListSyncConfigurationsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateHostCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateRepositoryLinkCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateSyncBlockerCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateSyncConfigurationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +27 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/CodeConnectionsServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +531 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListConnectionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListHostsPaginator.d.ts +11 -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 +5 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +329 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +87 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +81 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/package.json +101 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeConnectionsClient";
|
|
4
|
+
import { ListRepositorySyncDefinitionsInput, ListRepositorySyncDefinitionsOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link ListRepositorySyncDefinitionsCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface ListRepositorySyncDefinitionsCommandInput extends ListRepositorySyncDefinitionsInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link ListRepositorySyncDefinitionsCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface ListRepositorySyncDefinitionsCommandOutput extends ListRepositorySyncDefinitionsOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const ListRepositorySyncDefinitionsCommand_base: {
|
|
24
|
+
new (input: ListRepositorySyncDefinitionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListRepositorySyncDefinitionsCommandInput, ListRepositorySyncDefinitionsCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ListRepositorySyncDefinitionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListRepositorySyncDefinitionsCommandInput, ListRepositorySyncDefinitionsCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Lists the repository sync definitions for repository links in your account.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { CodeConnectionsClient, ListRepositorySyncDefinitionsCommand } from "@aws-sdk/client-codeconnections"; // ES Modules import
|
|
34
|
+
* // const { CodeConnectionsClient, ListRepositorySyncDefinitionsCommand } = require("@aws-sdk/client-codeconnections"); // CommonJS import
|
|
35
|
+
* const client = new CodeConnectionsClient(config);
|
|
36
|
+
* const input = { // ListRepositorySyncDefinitionsInput
|
|
37
|
+
* RepositoryLinkId: "STRING_VALUE", // required
|
|
38
|
+
* SyncType: "CFN_STACK_SYNC", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new ListRepositorySyncDefinitionsCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // ListRepositorySyncDefinitionsOutput
|
|
43
|
+
* // RepositorySyncDefinitions: [ // RepositorySyncDefinitionList // required
|
|
44
|
+
* // { // RepositorySyncDefinition
|
|
45
|
+
* // Branch: "STRING_VALUE", // required
|
|
46
|
+
* // Directory: "STRING_VALUE", // required
|
|
47
|
+
* // Parent: "STRING_VALUE", // required
|
|
48
|
+
* // Target: "STRING_VALUE", // required
|
|
49
|
+
* // },
|
|
50
|
+
* // ],
|
|
51
|
+
* // NextToken: "STRING_VALUE",
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param ListRepositorySyncDefinitionsCommandInput - {@link ListRepositorySyncDefinitionsCommandInput}
|
|
57
|
+
* @returns {@link ListRepositorySyncDefinitionsCommandOutput}
|
|
58
|
+
* @see {@link ListRepositorySyncDefinitionsCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link ListRepositorySyncDefinitionsCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link CodeConnectionsClientResolvedConfig | config} for CodeConnectionsClient'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 InternalServerException} (server fault)
|
|
66
|
+
* <p>Received an internal server exception. Try again later.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
69
|
+
* <p>The input is not valid. Verify that the action is typed correctly.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
72
|
+
* <p>Resource not found. Verify the connection resource ARN and try again.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
75
|
+
* <p>The request was denied due to request throttling.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link CodeConnectionsServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from CodeConnections service.</p>
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class ListRepositorySyncDefinitionsCommand extends ListRepositorySyncDefinitionsCommand_base {
|
|
83
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeConnectionsClient";
|
|
4
|
+
import { ListSyncConfigurationsInput, ListSyncConfigurationsOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link ListSyncConfigurationsCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface ListSyncConfigurationsCommandInput extends ListSyncConfigurationsInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link ListSyncConfigurationsCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface ListSyncConfigurationsCommandOutput extends ListSyncConfigurationsOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const ListSyncConfigurationsCommand_base: {
|
|
24
|
+
new (input: ListSyncConfigurationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListSyncConfigurationsCommandInput, ListSyncConfigurationsCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ListSyncConfigurationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListSyncConfigurationsCommandInput, ListSyncConfigurationsCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Returns a list of sync configurations for a specified repository.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { CodeConnectionsClient, ListSyncConfigurationsCommand } from "@aws-sdk/client-codeconnections"; // ES Modules import
|
|
34
|
+
* // const { CodeConnectionsClient, ListSyncConfigurationsCommand } = require("@aws-sdk/client-codeconnections"); // CommonJS import
|
|
35
|
+
* const client = new CodeConnectionsClient(config);
|
|
36
|
+
* const input = { // ListSyncConfigurationsInput
|
|
37
|
+
* MaxResults: Number("int"),
|
|
38
|
+
* NextToken: "STRING_VALUE",
|
|
39
|
+
* RepositoryLinkId: "STRING_VALUE", // required
|
|
40
|
+
* SyncType: "CFN_STACK_SYNC", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListSyncConfigurationsCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListSyncConfigurationsOutput
|
|
45
|
+
* // SyncConfigurations: [ // SyncConfigurationList // required
|
|
46
|
+
* // { // SyncConfiguration
|
|
47
|
+
* // Branch: "STRING_VALUE", // required
|
|
48
|
+
* // ConfigFile: "STRING_VALUE",
|
|
49
|
+
* // OwnerId: "STRING_VALUE", // required
|
|
50
|
+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required
|
|
51
|
+
* // RepositoryLinkId: "STRING_VALUE", // required
|
|
52
|
+
* // RepositoryName: "STRING_VALUE", // required
|
|
53
|
+
* // ResourceName: "STRING_VALUE", // required
|
|
54
|
+
* // RoleArn: "STRING_VALUE", // required
|
|
55
|
+
* // SyncType: "CFN_STACK_SYNC", // required
|
|
56
|
+
* // PublishDeploymentStatus: "ENABLED" || "DISABLED",
|
|
57
|
+
* // TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE",
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // NextToken: "STRING_VALUE",
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param ListSyncConfigurationsCommandInput - {@link ListSyncConfigurationsCommandInput}
|
|
66
|
+
* @returns {@link ListSyncConfigurationsCommandOutput}
|
|
67
|
+
* @see {@link ListSyncConfigurationsCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link ListSyncConfigurationsCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link CodeConnectionsClientResolvedConfig | config} for CodeConnectionsClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
72
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InternalServerException} (server fault)
|
|
75
|
+
* <p>Received an internal server exception. Try again later.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
78
|
+
* <p>The input is not valid. Verify that the action is typed correctly.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
81
|
+
* <p>Resource not found. Verify the connection resource ARN and try again.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
84
|
+
* <p>The request was denied due to request throttling.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link CodeConnectionsServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from CodeConnections service.</p>
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class ListSyncConfigurationsCommand extends ListSyncConfigurationsCommand_base {
|
|
92
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeConnectionsClient";
|
|
4
|
+
import { ListTagsForResourceInput, ListTagsForResourceOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link ListTagsForResourceCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link ListTagsForResourceCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const ListTagsForResourceCommand_base: {
|
|
24
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Gets the set of key-value pairs (metadata) that are used to manage the resource.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { CodeConnectionsClient, ListTagsForResourceCommand } from "@aws-sdk/client-codeconnections"; // ES Modules import
|
|
34
|
+
* // const { CodeConnectionsClient, ListTagsForResourceCommand } = require("@aws-sdk/client-codeconnections"); // CommonJS import
|
|
35
|
+
* const client = new CodeConnectionsClient(config);
|
|
36
|
+
* const input = { // ListTagsForResourceInput
|
|
37
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // ListTagsForResourceOutput
|
|
42
|
+
* // Tags: [ // TagList
|
|
43
|
+
* // { // Tag
|
|
44
|
+
* // Key: "STRING_VALUE", // required
|
|
45
|
+
* // Value: "STRING_VALUE", // required
|
|
46
|
+
* // },
|
|
47
|
+
* // ],
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
53
|
+
* @returns {@link ListTagsForResourceCommandOutput}
|
|
54
|
+
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link CodeConnectionsClientResolvedConfig | config} for CodeConnectionsClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
59
|
+
* <p>Resource not found. Verify the connection resource ARN and try again.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link CodeConnectionsServiceException}
|
|
62
|
+
* <p>Base exception class for all service exceptions from CodeConnections service.</p>
|
|
63
|
+
*
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
67
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeConnectionsClient";
|
|
4
|
+
import { TagResourceInput, TagResourceOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link TagResourceCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface TagResourceCommandInput extends TagResourceInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link TagResourceCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const TagResourceCommand_base: {
|
|
24
|
+
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Adds to or modifies the tags of the given resource. Tags are metadata that can be used
|
|
30
|
+
* to manage a resource.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { CodeConnectionsClient, TagResourceCommand } from "@aws-sdk/client-codeconnections"; // ES Modules import
|
|
35
|
+
* // const { CodeConnectionsClient, TagResourceCommand } = require("@aws-sdk/client-codeconnections"); // CommonJS import
|
|
36
|
+
* const client = new CodeConnectionsClient(config);
|
|
37
|
+
* const input = { // TagResourceInput
|
|
38
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
39
|
+
* Tags: [ // TagList // required
|
|
40
|
+
* { // Tag
|
|
41
|
+
* Key: "STRING_VALUE", // required
|
|
42
|
+
* Value: "STRING_VALUE", // required
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* };
|
|
46
|
+
* const command = new TagResourceCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // {};
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
53
|
+
* @returns {@link TagResourceCommandOutput}
|
|
54
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link CodeConnectionsClientResolvedConfig | config} for CodeConnectionsClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
59
|
+
* <p>Exceeded the maximum limit for connections.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
|
+
* <p>Resource not found. Verify the connection resource ARN and try again.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link CodeConnectionsServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from CodeConnections service.</p>
|
|
66
|
+
*
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
70
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeConnectionsClient";
|
|
4
|
+
import { UntagResourceInput, UntagResourceOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link UntagResourceCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface UntagResourceCommandInput extends UntagResourceInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link UntagResourceCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface UntagResourceCommandOutput extends UntagResourceOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const UntagResourceCommand_base: {
|
|
24
|
+
new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Removes tags from an Amazon Web Services resource.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { CodeConnectionsClient, UntagResourceCommand } from "@aws-sdk/client-codeconnections"; // ES Modules import
|
|
34
|
+
* // const { CodeConnectionsClient, UntagResourceCommand } = require("@aws-sdk/client-codeconnections"); // CommonJS import
|
|
35
|
+
* const client = new CodeConnectionsClient(config);
|
|
36
|
+
* const input = { // UntagResourceInput
|
|
37
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
38
|
+
* TagKeys: [ // TagKeyList // required
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* };
|
|
42
|
+
* const command = new UntagResourceCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
49
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
50
|
+
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link CodeConnectionsClientResolvedConfig | config} for CodeConnectionsClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
55
|
+
* <p>Resource not found. Verify the connection resource ARN and try again.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link CodeConnectionsServiceException}
|
|
58
|
+
* <p>Base exception class for all service exceptions from CodeConnections service.</p>
|
|
59
|
+
*
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
63
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeConnectionsClient";
|
|
4
|
+
import { UpdateHostInput, UpdateHostOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link UpdateHostCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface UpdateHostCommandInput extends UpdateHostInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link UpdateHostCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateHostCommandOutput extends UpdateHostOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const UpdateHostCommand_base: {
|
|
24
|
+
new (input: UpdateHostCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateHostCommandInput, UpdateHostCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: UpdateHostCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateHostCommandInput, UpdateHostCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Updates a specified host with the provided configurations.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { CodeConnectionsClient, UpdateHostCommand } from "@aws-sdk/client-codeconnections"; // ES Modules import
|
|
34
|
+
* // const { CodeConnectionsClient, UpdateHostCommand } = require("@aws-sdk/client-codeconnections"); // CommonJS import
|
|
35
|
+
* const client = new CodeConnectionsClient(config);
|
|
36
|
+
* const input = { // UpdateHostInput
|
|
37
|
+
* HostArn: "STRING_VALUE", // required
|
|
38
|
+
* ProviderEndpoint: "STRING_VALUE",
|
|
39
|
+
* VpcConfiguration: { // VpcConfiguration
|
|
40
|
+
* VpcId: "STRING_VALUE", // required
|
|
41
|
+
* SubnetIds: [ // SubnetIds // required
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* SecurityGroupIds: [ // SecurityGroupIds // required
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* TlsCertificate: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* };
|
|
50
|
+
* const command = new UpdateHostCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // {};
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param UpdateHostCommandInput - {@link UpdateHostCommandInput}
|
|
57
|
+
* @returns {@link UpdateHostCommandOutput}
|
|
58
|
+
* @see {@link UpdateHostCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link UpdateHostCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link CodeConnectionsClientResolvedConfig | config} for CodeConnectionsClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ConflictException} (client fault)
|
|
63
|
+
* <p>Two conflicting operations have been made on the same resource.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
+
* <p>Resource not found. Verify the connection resource ARN and try again.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ResourceUnavailableException} (client fault)
|
|
69
|
+
* <p>Resource not found. Verify the ARN for the host resource and try again.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link UnsupportedOperationException} (client fault)
|
|
72
|
+
* <p>The operation is not supported. Check the connection status and try again.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link CodeConnectionsServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from CodeConnections service.</p>
|
|
76
|
+
*
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class UpdateHostCommand extends UpdateHostCommand_base {
|
|
80
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeConnectionsClient";
|
|
4
|
+
import { UpdateRepositoryLinkInput, UpdateRepositoryLinkOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link UpdateRepositoryLinkCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface UpdateRepositoryLinkCommandInput extends UpdateRepositoryLinkInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link UpdateRepositoryLinkCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateRepositoryLinkCommandOutput extends UpdateRepositoryLinkOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const UpdateRepositoryLinkCommand_base: {
|
|
24
|
+
new (input: UpdateRepositoryLinkCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRepositoryLinkCommandInput, UpdateRepositoryLinkCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: UpdateRepositoryLinkCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRepositoryLinkCommandInput, UpdateRepositoryLinkCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Updates the association between your connection and a specified external Git repository.
|
|
30
|
+
* A repository link allows Git sync to monitor and sync changes to files in a specified Git
|
|
31
|
+
* repository.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { CodeConnectionsClient, UpdateRepositoryLinkCommand } from "@aws-sdk/client-codeconnections"; // ES Modules import
|
|
36
|
+
* // const { CodeConnectionsClient, UpdateRepositoryLinkCommand } = require("@aws-sdk/client-codeconnections"); // CommonJS import
|
|
37
|
+
* const client = new CodeConnectionsClient(config);
|
|
38
|
+
* const input = { // UpdateRepositoryLinkInput
|
|
39
|
+
* ConnectionArn: "STRING_VALUE",
|
|
40
|
+
* EncryptionKeyArn: "STRING_VALUE",
|
|
41
|
+
* RepositoryLinkId: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new UpdateRepositoryLinkCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // UpdateRepositoryLinkOutput
|
|
46
|
+
* // RepositoryLinkInfo: { // RepositoryLinkInfo
|
|
47
|
+
* // ConnectionArn: "STRING_VALUE", // required
|
|
48
|
+
* // EncryptionKeyArn: "STRING_VALUE",
|
|
49
|
+
* // OwnerId: "STRING_VALUE", // required
|
|
50
|
+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required
|
|
51
|
+
* // RepositoryLinkArn: "STRING_VALUE", // required
|
|
52
|
+
* // RepositoryLinkId: "STRING_VALUE", // required
|
|
53
|
+
* // RepositoryName: "STRING_VALUE", // required
|
|
54
|
+
* // },
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param UpdateRepositoryLinkCommandInput - {@link UpdateRepositoryLinkCommandInput}
|
|
60
|
+
* @returns {@link UpdateRepositoryLinkCommandOutput}
|
|
61
|
+
* @see {@link UpdateRepositoryLinkCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link UpdateRepositoryLinkCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link CodeConnectionsClientResolvedConfig | config} for CodeConnectionsClient'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 ConditionalCheckFailedException} (client fault)
|
|
69
|
+
* <p>The conditional check failed. Try again later.</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 CodeConnectionsServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from CodeConnections service.</p>
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class UpdateRepositoryLinkCommand extends UpdateRepositoryLinkCommand_base {
|
|
92
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeConnectionsClient";
|
|
4
|
+
import { UpdateSyncBlockerInput, UpdateSyncBlockerOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link UpdateSyncBlockerCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface UpdateSyncBlockerCommandInput extends UpdateSyncBlockerInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link UpdateSyncBlockerCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateSyncBlockerCommandOutput extends UpdateSyncBlockerOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const UpdateSyncBlockerCommand_base: {
|
|
24
|
+
new (input: UpdateSyncBlockerCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateSyncBlockerCommandInput, UpdateSyncBlockerCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: UpdateSyncBlockerCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateSyncBlockerCommandInput, UpdateSyncBlockerCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Allows you to update the status of a sync blocker, resolving the blocker and allowing syncing to continue.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { CodeConnectionsClient, UpdateSyncBlockerCommand } from "@aws-sdk/client-codeconnections"; // ES Modules import
|
|
34
|
+
* // const { CodeConnectionsClient, UpdateSyncBlockerCommand } = require("@aws-sdk/client-codeconnections"); // CommonJS import
|
|
35
|
+
* const client = new CodeConnectionsClient(config);
|
|
36
|
+
* const input = { // UpdateSyncBlockerInput
|
|
37
|
+
* Id: "STRING_VALUE", // required
|
|
38
|
+
* SyncType: "CFN_STACK_SYNC", // required
|
|
39
|
+
* ResourceName: "STRING_VALUE", // required
|
|
40
|
+
* ResolvedReason: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new UpdateSyncBlockerCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // UpdateSyncBlockerOutput
|
|
45
|
+
* // ResourceName: "STRING_VALUE", // required
|
|
46
|
+
* // ParentResourceName: "STRING_VALUE",
|
|
47
|
+
* // SyncBlocker: { // SyncBlocker
|
|
48
|
+
* // Id: "STRING_VALUE", // required
|
|
49
|
+
* // Type: "AUTOMATED", // required
|
|
50
|
+
* // Status: "ACTIVE" || "RESOLVED", // required
|
|
51
|
+
* // CreatedReason: "STRING_VALUE", // required
|
|
52
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
53
|
+
* // Contexts: [ // SyncBlockerContextList
|
|
54
|
+
* // { // SyncBlockerContext
|
|
55
|
+
* // Key: "STRING_VALUE", // required
|
|
56
|
+
* // Value: "STRING_VALUE", // required
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // ResolvedReason: "STRING_VALUE",
|
|
60
|
+
* // ResolvedAt: new Date("TIMESTAMP"),
|
|
61
|
+
* // },
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @param UpdateSyncBlockerCommandInput - {@link UpdateSyncBlockerCommandInput}
|
|
67
|
+
* @returns {@link UpdateSyncBlockerCommandOutput}
|
|
68
|
+
* @see {@link UpdateSyncBlockerCommandInput} for command's `input` shape.
|
|
69
|
+
* @see {@link UpdateSyncBlockerCommandOutput} for command's `response` shape.
|
|
70
|
+
* @see {@link CodeConnectionsClientResolvedConfig | config} for CodeConnectionsClient's `config` shape.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
73
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InternalServerException} (server fault)
|
|
76
|
+
* <p>Received an internal server exception. Try again later.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
79
|
+
* <p>The input is not valid. Verify that the action is typed correctly.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
82
|
+
* <p>Resource not found. Verify the connection resource ARN and try again.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link RetryLatestCommitFailedException} (server fault)
|
|
85
|
+
* <p>Retrying the latest commit failed. Try again later.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link SyncBlockerDoesNotExistException} (client fault)
|
|
88
|
+
* <p>Unable to continue. The sync blocker does not exist.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
91
|
+
* <p>The request was denied due to request throttling.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link CodeConnectionsServiceException}
|
|
94
|
+
* <p>Base exception class for all service exceptions from CodeConnections service.</p>
|
|
95
|
+
*
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
export declare class UpdateSyncBlockerCommand extends UpdateSyncBlockerCommand_base {
|
|
99
|
+
}
|