@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,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 { UpdateSyncConfigurationInput, UpdateSyncConfigurationOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link UpdateSyncConfigurationCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface UpdateSyncConfigurationCommandInput extends UpdateSyncConfigurationInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link UpdateSyncConfigurationCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateSyncConfigurationCommandOutput extends UpdateSyncConfigurationOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const UpdateSyncConfigurationCommand_base: {
|
|
24
|
+
new (input: UpdateSyncConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateSyncConfigurationCommandInput, UpdateSyncConfigurationCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: UpdateSyncConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateSyncConfigurationCommandInput, UpdateSyncConfigurationCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Updates the sync configuration for your connection and a specified external Git 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, UpdateSyncConfigurationCommand } from "@aws-sdk/client-codeconnections"; // ES Modules import
|
|
34
|
+
* // const { CodeConnectionsClient, UpdateSyncConfigurationCommand } = require("@aws-sdk/client-codeconnections"); // CommonJS import
|
|
35
|
+
* const client = new CodeConnectionsClient(config);
|
|
36
|
+
* const input = { // UpdateSyncConfigurationInput
|
|
37
|
+
* Branch: "STRING_VALUE",
|
|
38
|
+
* ConfigFile: "STRING_VALUE",
|
|
39
|
+
* RepositoryLinkId: "STRING_VALUE",
|
|
40
|
+
* ResourceName: "STRING_VALUE", // required
|
|
41
|
+
* RoleArn: "STRING_VALUE",
|
|
42
|
+
* SyncType: "CFN_STACK_SYNC", // required
|
|
43
|
+
* PublishDeploymentStatus: "ENABLED" || "DISABLED",
|
|
44
|
+
* TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE",
|
|
45
|
+
* };
|
|
46
|
+
* const command = new UpdateSyncConfigurationCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // UpdateSyncConfigurationOutput
|
|
49
|
+
* // SyncConfiguration: { // SyncConfiguration
|
|
50
|
+
* // Branch: "STRING_VALUE", // required
|
|
51
|
+
* // ConfigFile: "STRING_VALUE",
|
|
52
|
+
* // OwnerId: "STRING_VALUE", // required
|
|
53
|
+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required
|
|
54
|
+
* // RepositoryLinkId: "STRING_VALUE", // required
|
|
55
|
+
* // RepositoryName: "STRING_VALUE", // required
|
|
56
|
+
* // ResourceName: "STRING_VALUE", // required
|
|
57
|
+
* // RoleArn: "STRING_VALUE", // required
|
|
58
|
+
* // SyncType: "CFN_STACK_SYNC", // required
|
|
59
|
+
* // PublishDeploymentStatus: "ENABLED" || "DISABLED",
|
|
60
|
+
* // TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE",
|
|
61
|
+
* // },
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @param UpdateSyncConfigurationCommandInput - {@link UpdateSyncConfigurationCommandInput}
|
|
67
|
+
* @returns {@link UpdateSyncConfigurationCommandOutput}
|
|
68
|
+
* @see {@link UpdateSyncConfigurationCommandInput} for command's `input` shape.
|
|
69
|
+
* @see {@link UpdateSyncConfigurationCommandOutput} 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 ConcurrentModificationException} (client fault)
|
|
76
|
+
* <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>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link InternalServerException} (server fault)
|
|
79
|
+
* <p>Received an internal server exception. Try again later.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
82
|
+
* <p>The input is not valid. Verify that the action is typed correctly.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
85
|
+
* <p>Resource not found. Verify the connection resource ARN and try again.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
88
|
+
* <p>The request was denied due to request throttling.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link UpdateOutOfSyncException} (client fault)
|
|
91
|
+
* <p>The update is out of sync. Try syncing again.</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 UpdateSyncConfigurationCommand extends UpdateSyncConfigurationCommand_base {
|
|
99
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export * from "./CreateConnectionCommand";
|
|
2
|
+
export * from "./CreateHostCommand";
|
|
3
|
+
export * from "./CreateRepositoryLinkCommand";
|
|
4
|
+
export * from "./CreateSyncConfigurationCommand";
|
|
5
|
+
export * from "./DeleteConnectionCommand";
|
|
6
|
+
export * from "./DeleteHostCommand";
|
|
7
|
+
export * from "./DeleteRepositoryLinkCommand";
|
|
8
|
+
export * from "./DeleteSyncConfigurationCommand";
|
|
9
|
+
export * from "./GetConnectionCommand";
|
|
10
|
+
export * from "./GetHostCommand";
|
|
11
|
+
export * from "./GetRepositoryLinkCommand";
|
|
12
|
+
export * from "./GetRepositorySyncStatusCommand";
|
|
13
|
+
export * from "./GetResourceSyncStatusCommand";
|
|
14
|
+
export * from "./GetSyncBlockerSummaryCommand";
|
|
15
|
+
export * from "./GetSyncConfigurationCommand";
|
|
16
|
+
export * from "./ListConnectionsCommand";
|
|
17
|
+
export * from "./ListHostsCommand";
|
|
18
|
+
export * from "./ListRepositoryLinksCommand";
|
|
19
|
+
export * from "./ListRepositorySyncDefinitionsCommand";
|
|
20
|
+
export * from "./ListSyncConfigurationsCommand";
|
|
21
|
+
export * from "./ListTagsForResourceCommand";
|
|
22
|
+
export * from "./TagResourceCommand";
|
|
23
|
+
export * from "./UntagResourceCommand";
|
|
24
|
+
export * from "./UpdateHostCommand";
|
|
25
|
+
export * from "./UpdateRepositoryLinkCommand";
|
|
26
|
+
export * from "./UpdateSyncBlockerCommand";
|
|
27
|
+
export * from "./UpdateSyncConfigurationCommand";
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
region?: string | Provider<string>;
|
|
7
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
8
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
9
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
|
+
}
|
|
11
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
12
|
+
defaultSigningName: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
15
|
+
defaultSigningName: string;
|
|
16
|
+
};
|
|
17
|
+
export declare const commonParams: {
|
|
18
|
+
readonly UseFIPS: {
|
|
19
|
+
readonly type: "builtInParams";
|
|
20
|
+
readonly name: "useFipsEndpoint";
|
|
21
|
+
};
|
|
22
|
+
readonly Endpoint: {
|
|
23
|
+
readonly type: "builtInParams";
|
|
24
|
+
readonly name: "endpoint";
|
|
25
|
+
};
|
|
26
|
+
readonly Region: {
|
|
27
|
+
readonly type: "builtInParams";
|
|
28
|
+
readonly name: "region";
|
|
29
|
+
};
|
|
30
|
+
readonly UseDualStack: {
|
|
31
|
+
readonly type: "builtInParams";
|
|
32
|
+
readonly name: "useDualstackEndpoint";
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
36
|
+
Region?: string;
|
|
37
|
+
UseDualStack?: boolean;
|
|
38
|
+
UseFIPS?: boolean;
|
|
39
|
+
Endpoint?: string;
|
|
40
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export interface CodeConnectionsExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
|
|
9
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <fullname>AWS CodeConnections</fullname>
|
|
3
|
+
* <p>This Amazon Web Services CodeConnections API Reference provides descriptions and usage examples of
|
|
4
|
+
* the operations and data types for the Amazon Web Services CodeConnections API. You can use the
|
|
5
|
+
* connections API to work with connections and installations.</p>
|
|
6
|
+
* <p>
|
|
7
|
+
* <i>Connections</i> are configurations that you use to connect Amazon Web Services
|
|
8
|
+
* resources to external code repositories. Each connection is a resource that can be given to
|
|
9
|
+
* services such as CodePipeline to connect to a third-party repository such as Bitbucket. For
|
|
10
|
+
* example, you can add the connection in CodePipeline so that it triggers your pipeline when a
|
|
11
|
+
* code change is made to your third-party code repository. Each connection is named and
|
|
12
|
+
* associated with a unique ARN that is used to reference the connection.</p>
|
|
13
|
+
* <p>When you create a connection, the console initiates a third-party connection handshake.
|
|
14
|
+
* <i>Installations</i> are the apps that are used to conduct this handshake. For
|
|
15
|
+
* example, the installation for the Bitbucket provider type is the Bitbucket app. When you
|
|
16
|
+
* create a connection, you can choose an existing installation or create one.</p>
|
|
17
|
+
* <p>When you want to create a connection to an installed provider type such as GitHub
|
|
18
|
+
* Enterprise Server, you create a <i>host</i> for your connections.</p>
|
|
19
|
+
* <p>You can work with connections by calling:</p>
|
|
20
|
+
* <ul>
|
|
21
|
+
* <li>
|
|
22
|
+
* <p>
|
|
23
|
+
* <a>CreateConnection</a>, which creates a uniquely named connection that can be
|
|
24
|
+
* referenced by services such as CodePipeline.</p>
|
|
25
|
+
* </li>
|
|
26
|
+
* <li>
|
|
27
|
+
* <p>
|
|
28
|
+
* <a>DeleteConnection</a>, which deletes the specified connection.</p>
|
|
29
|
+
* </li>
|
|
30
|
+
* <li>
|
|
31
|
+
* <p>
|
|
32
|
+
* <a>GetConnection</a>, which returns information about the connection, including
|
|
33
|
+
* the connection status.</p>
|
|
34
|
+
* </li>
|
|
35
|
+
* <li>
|
|
36
|
+
* <p>
|
|
37
|
+
* <a>ListConnections</a>, which lists the connections associated with your
|
|
38
|
+
* account.</p>
|
|
39
|
+
* </li>
|
|
40
|
+
* </ul>
|
|
41
|
+
* <p>You can work with hosts by calling:</p>
|
|
42
|
+
* <ul>
|
|
43
|
+
* <li>
|
|
44
|
+
* <p>
|
|
45
|
+
* <a>CreateHost</a>, which creates a host that represents the infrastructure where your provider is installed.</p>
|
|
46
|
+
* </li>
|
|
47
|
+
* <li>
|
|
48
|
+
* <p>
|
|
49
|
+
* <a>DeleteHost</a>, which deletes the specified host.</p>
|
|
50
|
+
* </li>
|
|
51
|
+
* <li>
|
|
52
|
+
* <p>
|
|
53
|
+
* <a>GetHost</a>, which returns information about the host, including
|
|
54
|
+
* the setup status.</p>
|
|
55
|
+
* </li>
|
|
56
|
+
* <li>
|
|
57
|
+
* <p>
|
|
58
|
+
* <a>ListHosts</a>, which lists the hosts associated with your
|
|
59
|
+
* account.</p>
|
|
60
|
+
* </li>
|
|
61
|
+
* </ul>
|
|
62
|
+
* <p>You can work with tags in Amazon Web Services CodeConnections by calling the following:</p>
|
|
63
|
+
* <ul>
|
|
64
|
+
* <li>
|
|
65
|
+
* <p>
|
|
66
|
+
* <a>ListTagsForResource</a>, which gets information about Amazon Web Services tags for a
|
|
67
|
+
* specified Amazon Resource Name (ARN) in Amazon Web Services CodeConnections.</p>
|
|
68
|
+
* </li>
|
|
69
|
+
* <li>
|
|
70
|
+
* <p>
|
|
71
|
+
* <a>TagResource</a>, which adds or updates tags for a resource in Amazon Web Services CodeConnections.</p>
|
|
72
|
+
* </li>
|
|
73
|
+
* <li>
|
|
74
|
+
* <p>
|
|
75
|
+
* <a>UntagResource</a>, which removes tags for a resource in Amazon Web Services
|
|
76
|
+
* CodeConnections.</p>
|
|
77
|
+
* </li>
|
|
78
|
+
* </ul>
|
|
79
|
+
* <p>For information about how to use Amazon Web Services CodeConnections, see the <a href="https://docs.aws.amazon.com/dtconsole/latest/userguide/welcome-connections.html">Developer
|
|
80
|
+
* Tools User Guide</a>.</p>
|
|
81
|
+
*
|
|
82
|
+
* @packageDocumentation
|
|
83
|
+
*/
|
|
84
|
+
export * from "./CodeConnectionsClient";
|
|
85
|
+
export * from "./CodeConnections";
|
|
86
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
87
|
+
export { RuntimeExtension } from "./runtimeExtensions";
|
|
88
|
+
export { CodeConnectionsExtensionConfiguration } from "./extensionConfiguration";
|
|
89
|
+
export * from "./commands";
|
|
90
|
+
export * from "./pagination";
|
|
91
|
+
export * from "./models";
|
|
92
|
+
export { CodeConnectionsServiceException } from "./models/CodeConnectionsServiceException";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
|
|
2
|
+
export { __ServiceException, __ServiceExceptionOptions };
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*
|
|
6
|
+
* Base exception class for all service exceptions from CodeConnections service.
|
|
7
|
+
*/
|
|
8
|
+
export declare class CodeConnectionsServiceException extends __ServiceException {
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
constructor(options: __ServiceExceptionOptions);
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|