@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,101 @@
|
|
|
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 { CreateSyncConfigurationInput, CreateSyncConfigurationOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link CreateSyncConfigurationCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface CreateSyncConfigurationCommandInput extends CreateSyncConfigurationInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link CreateSyncConfigurationCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateSyncConfigurationCommandOutput extends CreateSyncConfigurationOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const CreateSyncConfigurationCommand_base: {
|
|
24
|
+
new (input: CreateSyncConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateSyncConfigurationCommandInput, CreateSyncConfigurationCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CreateSyncConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateSyncConfigurationCommandInput, CreateSyncConfigurationCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Creates a sync configuration which allows Amazon Web Services to sync content from a Git
|
|
30
|
+
* repository to update a specified Amazon Web Services resource. Parameters for the sync
|
|
31
|
+
* configuration are determined by the sync type.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { CodeConnectionsClient, CreateSyncConfigurationCommand } from "@aws-sdk/client-codeconnections"; // ES Modules import
|
|
36
|
+
* // const { CodeConnectionsClient, CreateSyncConfigurationCommand } = require("@aws-sdk/client-codeconnections"); // CommonJS import
|
|
37
|
+
* const client = new CodeConnectionsClient(config);
|
|
38
|
+
* const input = { // CreateSyncConfigurationInput
|
|
39
|
+
* Branch: "STRING_VALUE", // required
|
|
40
|
+
* ConfigFile: "STRING_VALUE", // required
|
|
41
|
+
* RepositoryLinkId: "STRING_VALUE", // required
|
|
42
|
+
* ResourceName: "STRING_VALUE", // required
|
|
43
|
+
* RoleArn: "STRING_VALUE", // required
|
|
44
|
+
* SyncType: "CFN_STACK_SYNC", // required
|
|
45
|
+
* PublishDeploymentStatus: "ENABLED" || "DISABLED",
|
|
46
|
+
* TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE",
|
|
47
|
+
* };
|
|
48
|
+
* const command = new CreateSyncConfigurationCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // CreateSyncConfigurationOutput
|
|
51
|
+
* // SyncConfiguration: { // SyncConfiguration
|
|
52
|
+
* // Branch: "STRING_VALUE", // required
|
|
53
|
+
* // ConfigFile: "STRING_VALUE",
|
|
54
|
+
* // OwnerId: "STRING_VALUE", // required
|
|
55
|
+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required
|
|
56
|
+
* // RepositoryLinkId: "STRING_VALUE", // required
|
|
57
|
+
* // RepositoryName: "STRING_VALUE", // required
|
|
58
|
+
* // ResourceName: "STRING_VALUE", // required
|
|
59
|
+
* // RoleArn: "STRING_VALUE", // required
|
|
60
|
+
* // SyncType: "CFN_STACK_SYNC", // required
|
|
61
|
+
* // PublishDeploymentStatus: "ENABLED" || "DISABLED",
|
|
62
|
+
* // TriggerResourceUpdateOn: "ANY_CHANGE" || "FILE_CHANGE",
|
|
63
|
+
* // },
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @param CreateSyncConfigurationCommandInput - {@link CreateSyncConfigurationCommandInput}
|
|
69
|
+
* @returns {@link CreateSyncConfigurationCommandOutput}
|
|
70
|
+
* @see {@link CreateSyncConfigurationCommandInput} for command's `input` shape.
|
|
71
|
+
* @see {@link CreateSyncConfigurationCommandOutput} for command's `response` shape.
|
|
72
|
+
* @see {@link CodeConnectionsClientResolvedConfig | config} for CodeConnectionsClient's `config` shape.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
75
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
78
|
+
* <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>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link InternalServerException} (server fault)
|
|
81
|
+
* <p>Received an internal server exception. Try again later.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
84
|
+
* <p>The input is not valid. Verify that the action is typed correctly.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
87
|
+
* <p>Exceeded the maximum limit for connections.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ResourceAlreadyExistsException} (client fault)
|
|
90
|
+
* <p>Unable to create resource. Resource already exists.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
93
|
+
* <p>The request was denied due to request throttling.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link CodeConnectionsServiceException}
|
|
96
|
+
* <p>Base exception class for all service exceptions from CodeConnections service.</p>
|
|
97
|
+
*
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export declare class CreateSyncConfigurationCommand extends CreateSyncConfigurationCommand_base {
|
|
101
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
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 { DeleteConnectionInput, DeleteConnectionOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link DeleteConnectionCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface DeleteConnectionCommandInput extends DeleteConnectionInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link DeleteConnectionCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface DeleteConnectionCommandOutput extends DeleteConnectionOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const DeleteConnectionCommand_base: {
|
|
24
|
+
new (input: DeleteConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteConnectionCommandInput, DeleteConnectionCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteConnectionCommandInput, DeleteConnectionCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>The connection to be deleted.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { CodeConnectionsClient, DeleteConnectionCommand } from "@aws-sdk/client-codeconnections"; // ES Modules import
|
|
34
|
+
* // const { CodeConnectionsClient, DeleteConnectionCommand } = require("@aws-sdk/client-codeconnections"); // CommonJS import
|
|
35
|
+
* const client = new CodeConnectionsClient(config);
|
|
36
|
+
* const input = { // DeleteConnectionInput
|
|
37
|
+
* ConnectionArn: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DeleteConnectionCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param DeleteConnectionCommandInput - {@link DeleteConnectionCommandInput}
|
|
46
|
+
* @returns {@link DeleteConnectionCommandOutput}
|
|
47
|
+
* @see {@link DeleteConnectionCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link DeleteConnectionCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link CodeConnectionsClientResolvedConfig | config} for CodeConnectionsClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
52
|
+
* <p>Resource not found. Verify the connection resource ARN and try again.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link CodeConnectionsServiceException}
|
|
55
|
+
* <p>Base exception class for all service exceptions from CodeConnections service.</p>
|
|
56
|
+
*
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
export declare class DeleteConnectionCommand extends DeleteConnectionCommand_base {
|
|
60
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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 { DeleteHostInput, DeleteHostOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link DeleteHostCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface DeleteHostCommandInput extends DeleteHostInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link DeleteHostCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface DeleteHostCommandOutput extends DeleteHostOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const DeleteHostCommand_base: {
|
|
24
|
+
new (input: DeleteHostCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteHostCommandInput, DeleteHostCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteHostCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteHostCommandInput, DeleteHostCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>The host to be deleted. Before you delete a host, all connections associated to the host must be deleted.</p>
|
|
30
|
+
* <note>
|
|
31
|
+
* <p>A host cannot be deleted if it is in the VPC_CONFIG_INITIALIZING or VPC_CONFIG_DELETING state.</p>
|
|
32
|
+
* </note>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { CodeConnectionsClient, DeleteHostCommand } from "@aws-sdk/client-codeconnections"; // ES Modules import
|
|
37
|
+
* // const { CodeConnectionsClient, DeleteHostCommand } = require("@aws-sdk/client-codeconnections"); // CommonJS import
|
|
38
|
+
* const client = new CodeConnectionsClient(config);
|
|
39
|
+
* const input = { // DeleteHostInput
|
|
40
|
+
* HostArn: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new DeleteHostCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param DeleteHostCommandInput - {@link DeleteHostCommandInput}
|
|
49
|
+
* @returns {@link DeleteHostCommandOutput}
|
|
50
|
+
* @see {@link DeleteHostCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link DeleteHostCommandOutput} 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 ResourceUnavailableException} (client fault)
|
|
58
|
+
* <p>Resource not found. Verify the ARN for the host resource and try again.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link CodeConnectionsServiceException}
|
|
61
|
+
* <p>Base exception class for all service exceptions from CodeConnections service.</p>
|
|
62
|
+
*
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export declare class DeleteHostCommand extends DeleteHostCommand_base {
|
|
66
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
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 { DeleteRepositoryLinkInput, DeleteRepositoryLinkOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link DeleteRepositoryLinkCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface DeleteRepositoryLinkCommandInput extends DeleteRepositoryLinkInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link DeleteRepositoryLinkCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface DeleteRepositoryLinkCommandOutput extends DeleteRepositoryLinkOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const DeleteRepositoryLinkCommand_base: {
|
|
24
|
+
new (input: DeleteRepositoryLinkCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteRepositoryLinkCommandInput, DeleteRepositoryLinkCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteRepositoryLinkCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteRepositoryLinkCommandInput, DeleteRepositoryLinkCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Deletes the association between 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, DeleteRepositoryLinkCommand } from "@aws-sdk/client-codeconnections"; // ES Modules import
|
|
34
|
+
* // const { CodeConnectionsClient, DeleteRepositoryLinkCommand } = require("@aws-sdk/client-codeconnections"); // CommonJS import
|
|
35
|
+
* const client = new CodeConnectionsClient(config);
|
|
36
|
+
* const input = { // DeleteRepositoryLinkInput
|
|
37
|
+
* RepositoryLinkId: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DeleteRepositoryLinkCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param DeleteRepositoryLinkCommandInput - {@link DeleteRepositoryLinkCommandInput}
|
|
46
|
+
* @returns {@link DeleteRepositoryLinkCommandOutput}
|
|
47
|
+
* @see {@link DeleteRepositoryLinkCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link DeleteRepositoryLinkCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link CodeConnectionsClientResolvedConfig | config} for CodeConnectionsClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
52
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
55
|
+
* <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>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InternalServerException} (server fault)
|
|
58
|
+
* <p>Received an internal server exception. Try again later.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
61
|
+
* <p>The input is not valid. Verify that the action is typed correctly.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
|
+
* <p>Resource not found. Verify the connection resource ARN and try again.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link SyncConfigurationStillExistsException} (client fault)
|
|
67
|
+
* <p>Unable to continue. The sync blocker still exists.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* <p>The request was denied due to request throttling.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link UnsupportedProviderTypeException} (client fault)
|
|
73
|
+
* <p>The specified provider type is not supported for connections.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link CodeConnectionsServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from CodeConnections service.</p>
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class DeleteRepositoryLinkCommand extends DeleteRepositoryLinkCommand_base {
|
|
81
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
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 { DeleteSyncConfigurationInput, DeleteSyncConfigurationOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link DeleteSyncConfigurationCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface DeleteSyncConfigurationCommandInput extends DeleteSyncConfigurationInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link DeleteSyncConfigurationCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface DeleteSyncConfigurationCommandOutput extends DeleteSyncConfigurationOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const DeleteSyncConfigurationCommand_base: {
|
|
24
|
+
new (input: DeleteSyncConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteSyncConfigurationCommandInput, DeleteSyncConfigurationCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteSyncConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteSyncConfigurationCommandInput, DeleteSyncConfigurationCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Deletes the sync configuration for a specified repository and connection.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { CodeConnectionsClient, DeleteSyncConfigurationCommand } from "@aws-sdk/client-codeconnections"; // ES Modules import
|
|
34
|
+
* // const { CodeConnectionsClient, DeleteSyncConfigurationCommand } = require("@aws-sdk/client-codeconnections"); // CommonJS import
|
|
35
|
+
* const client = new CodeConnectionsClient(config);
|
|
36
|
+
* const input = { // DeleteSyncConfigurationInput
|
|
37
|
+
* SyncType: "CFN_STACK_SYNC", // required
|
|
38
|
+
* ResourceName: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteSyncConfigurationCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeleteSyncConfigurationCommandInput - {@link DeleteSyncConfigurationCommandInput}
|
|
47
|
+
* @returns {@link DeleteSyncConfigurationCommandOutput}
|
|
48
|
+
* @see {@link DeleteSyncConfigurationCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeleteSyncConfigurationCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link CodeConnectionsClientResolvedConfig | config} for CodeConnectionsClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
56
|
+
* <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>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* <p>Received an internal server exception. Try again later.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
62
|
+
* <p>The input is not valid. Verify that the action is typed correctly.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
65
|
+
* <p>Exceeded the maximum limit for connections.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
68
|
+
* <p>The request was denied due to request throttling.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link CodeConnectionsServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from CodeConnections service.</p>
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class DeleteSyncConfigurationCommand extends DeleteSyncConfigurationCommand_base {
|
|
76
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
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 { GetConnectionInput, GetConnectionOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link GetConnectionCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetConnectionCommandInput extends GetConnectionInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link GetConnectionCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetConnectionCommandOutput extends GetConnectionOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const GetConnectionCommand_base: {
|
|
24
|
+
new (input: GetConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<GetConnectionCommandInput, GetConnectionCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: GetConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<GetConnectionCommandInput, GetConnectionCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Returns the connection ARN and details such as status, owner, and provider type.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { CodeConnectionsClient, GetConnectionCommand } from "@aws-sdk/client-codeconnections"; // ES Modules import
|
|
34
|
+
* // const { CodeConnectionsClient, GetConnectionCommand } = require("@aws-sdk/client-codeconnections"); // CommonJS import
|
|
35
|
+
* const client = new CodeConnectionsClient(config);
|
|
36
|
+
* const input = { // GetConnectionInput
|
|
37
|
+
* ConnectionArn: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetConnectionCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetConnectionOutput
|
|
42
|
+
* // Connection: { // Connection
|
|
43
|
+
* // ConnectionName: "STRING_VALUE",
|
|
44
|
+
* // ConnectionArn: "STRING_VALUE",
|
|
45
|
+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged",
|
|
46
|
+
* // OwnerAccountId: "STRING_VALUE",
|
|
47
|
+
* // ConnectionStatus: "PENDING" || "AVAILABLE" || "ERROR",
|
|
48
|
+
* // HostArn: "STRING_VALUE",
|
|
49
|
+
* // },
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param GetConnectionCommandInput - {@link GetConnectionCommandInput}
|
|
55
|
+
* @returns {@link GetConnectionCommandOutput}
|
|
56
|
+
* @see {@link GetConnectionCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link GetConnectionCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link CodeConnectionsClientResolvedConfig | config} for CodeConnectionsClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
+
* <p>Resource not found. Verify the connection resource ARN and try again.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ResourceUnavailableException} (client fault)
|
|
64
|
+
* <p>Resource not found. Verify the ARN for the host resource and try again.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link CodeConnectionsServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from CodeConnections service.</p>
|
|
68
|
+
*
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
export declare class GetConnectionCommand extends GetConnectionCommand_base {
|
|
72
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
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 { GetHostInput, GetHostOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link GetHostCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetHostCommandInput extends GetHostInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link GetHostCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetHostCommandOutput extends GetHostOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const GetHostCommand_base: {
|
|
24
|
+
new (input: GetHostCommandInput): import("@smithy/smithy-client").CommandImpl<GetHostCommandInput, GetHostCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: GetHostCommandInput): import("@smithy/smithy-client").CommandImpl<GetHostCommandInput, GetHostCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Returns the host ARN and details such as status, provider type, endpoint, and, if
|
|
30
|
+
* applicable, the VPC configuration.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { CodeConnectionsClient, GetHostCommand } from "@aws-sdk/client-codeconnections"; // ES Modules import
|
|
35
|
+
* // const { CodeConnectionsClient, GetHostCommand } = require("@aws-sdk/client-codeconnections"); // CommonJS import
|
|
36
|
+
* const client = new CodeConnectionsClient(config);
|
|
37
|
+
* const input = { // GetHostInput
|
|
38
|
+
* HostArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetHostCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetHostOutput
|
|
43
|
+
* // Name: "STRING_VALUE",
|
|
44
|
+
* // Status: "STRING_VALUE",
|
|
45
|
+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged",
|
|
46
|
+
* // ProviderEndpoint: "STRING_VALUE",
|
|
47
|
+
* // VpcConfiguration: { // VpcConfiguration
|
|
48
|
+
* // VpcId: "STRING_VALUE", // required
|
|
49
|
+
* // SubnetIds: [ // SubnetIds // required
|
|
50
|
+
* // "STRING_VALUE",
|
|
51
|
+
* // ],
|
|
52
|
+
* // SecurityGroupIds: [ // SecurityGroupIds // required
|
|
53
|
+
* // "STRING_VALUE",
|
|
54
|
+
* // ],
|
|
55
|
+
* // TlsCertificate: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param GetHostCommandInput - {@link GetHostCommandInput}
|
|
62
|
+
* @returns {@link GetHostCommandOutput}
|
|
63
|
+
* @see {@link GetHostCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link GetHostCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link CodeConnectionsClientResolvedConfig | config} for CodeConnectionsClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>Resource not found. Verify the connection resource ARN and try again.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ResourceUnavailableException} (client fault)
|
|
71
|
+
* <p>Resource not found. Verify the ARN for the host resource and try again.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link CodeConnectionsServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from CodeConnections service.</p>
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class GetHostCommand extends GetHostCommand_base {
|
|
79
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
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 { GetRepositoryLinkInput, GetRepositoryLinkOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link GetRepositoryLinkCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetRepositoryLinkCommandInput extends GetRepositoryLinkInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link GetRepositoryLinkCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetRepositoryLinkCommandOutput extends GetRepositoryLinkOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const GetRepositoryLinkCommand_base: {
|
|
24
|
+
new (input: GetRepositoryLinkCommandInput): import("@smithy/smithy-client").CommandImpl<GetRepositoryLinkCommandInput, GetRepositoryLinkCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: GetRepositoryLinkCommandInput): import("@smithy/smithy-client").CommandImpl<GetRepositoryLinkCommandInput, GetRepositoryLinkCommandOutput, CodeConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Returns details about a repository link. A repository link allows Git sync to monitor
|
|
30
|
+
* and sync changes from files in a specified Git repository.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { CodeConnectionsClient, GetRepositoryLinkCommand } from "@aws-sdk/client-codeconnections"; // ES Modules import
|
|
35
|
+
* // const { CodeConnectionsClient, GetRepositoryLinkCommand } = require("@aws-sdk/client-codeconnections"); // CommonJS import
|
|
36
|
+
* const client = new CodeConnectionsClient(config);
|
|
37
|
+
* const input = { // GetRepositoryLinkInput
|
|
38
|
+
* RepositoryLinkId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetRepositoryLinkCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetRepositoryLinkOutput
|
|
43
|
+
* // RepositoryLinkInfo: { // RepositoryLinkInfo
|
|
44
|
+
* // ConnectionArn: "STRING_VALUE", // required
|
|
45
|
+
* // EncryptionKeyArn: "STRING_VALUE",
|
|
46
|
+
* // OwnerId: "STRING_VALUE", // required
|
|
47
|
+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab" || "GitLabSelfManaged", // required
|
|
48
|
+
* // RepositoryLinkArn: "STRING_VALUE", // required
|
|
49
|
+
* // RepositoryLinkId: "STRING_VALUE", // required
|
|
50
|
+
* // RepositoryName: "STRING_VALUE", // required
|
|
51
|
+
* // },
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param GetRepositoryLinkCommandInput - {@link GetRepositoryLinkCommandInput}
|
|
57
|
+
* @returns {@link GetRepositoryLinkCommandOutput}
|
|
58
|
+
* @see {@link GetRepositoryLinkCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link GetRepositoryLinkCommandOutput} 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 ConcurrentModificationException} (client fault)
|
|
66
|
+
* <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>
|
|
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 CodeConnectionsServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from CodeConnections service.</p>
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class GetRepositoryLinkCommand extends GetRepositoryLinkCommand_base {
|
|
86
|
+
}
|