@aws-sdk/client-codestar-connections 3.299.0 → 3.300.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/dist-types/commands/CreateConnectionCommand.d.ts +11 -0
- package/dist-types/commands/CreateHostCommand.d.ts +21 -0
- package/dist-types/commands/DeleteConnectionCommand.d.ts +3 -0
- package/dist-types/commands/DeleteHostCommand.d.ts +3 -0
- package/dist-types/commands/GetConnectionCommand.d.ts +3 -0
- package/dist-types/commands/GetHostCommand.d.ts +3 -0
- package/dist-types/commands/ListConnectionsCommand.d.ts +6 -0
- package/dist-types/commands/ListHostsCommand.d.ts +4 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateHostCommand.d.ts +14 -0
- package/package.json +8 -8
|
@@ -28,6 +28,17 @@ export interface CreateConnectionCommandOutput extends CreateConnectionOutput, _
|
|
|
28
28
|
* import { CodeStarConnectionsClient, CreateConnectionCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
|
|
29
29
|
* // const { CodeStarConnectionsClient, CreateConnectionCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
|
|
30
30
|
* const client = new CodeStarConnectionsClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ProviderType: "STRING_VALUE",
|
|
33
|
+
* ConnectionName: "STRING_VALUE", // required
|
|
34
|
+
* Tags: [
|
|
35
|
+
* {
|
|
36
|
+
* Key: "STRING_VALUE", // required
|
|
37
|
+
* Value: "STRING_VALUE", // required
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* HostArn: "STRING_VALUE",
|
|
41
|
+
* };
|
|
31
42
|
* const command = new CreateConnectionCommand(input);
|
|
32
43
|
* const response = await client.send(command);
|
|
33
44
|
* ```
|
|
@@ -33,6 +33,27 @@ export interface CreateHostCommandOutput extends CreateHostOutput, __MetadataBea
|
|
|
33
33
|
* import { CodeStarConnectionsClient, CreateHostCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
|
|
34
34
|
* // const { CodeStarConnectionsClient, CreateHostCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
|
|
35
35
|
* const client = new CodeStarConnectionsClient(config);
|
|
36
|
+
* const input = {
|
|
37
|
+
* Name: "STRING_VALUE", // required
|
|
38
|
+
* ProviderType: "STRING_VALUE", // required
|
|
39
|
+
* ProviderEndpoint: "STRING_VALUE", // required
|
|
40
|
+
* VpcConfiguration: {
|
|
41
|
+
* VpcId: "STRING_VALUE", // required
|
|
42
|
+
* SubnetIds: [ // required
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* SecurityGroupIds: [ // required
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* TlsCertificate: "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* Tags: [
|
|
51
|
+
* {
|
|
52
|
+
* Key: "STRING_VALUE", // required
|
|
53
|
+
* Value: "STRING_VALUE", // required
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
56
|
+
* };
|
|
36
57
|
* const command = new CreateHostCommand(input);
|
|
37
58
|
* const response = await client.send(command);
|
|
38
59
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteConnectionCommandOutput extends DeleteConnectionOutput, _
|
|
|
26
26
|
* import { CodeStarConnectionsClient, DeleteConnectionCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
|
|
27
27
|
* // const { CodeStarConnectionsClient, DeleteConnectionCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
|
|
28
28
|
* const client = new CodeStarConnectionsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ConnectionArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteConnectionCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface DeleteHostCommandOutput extends DeleteHostOutput, __MetadataBea
|
|
|
29
29
|
* import { CodeStarConnectionsClient, DeleteHostCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
|
|
30
30
|
* // const { CodeStarConnectionsClient, DeleteHostCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
|
|
31
31
|
* const client = new CodeStarConnectionsClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* HostArn: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new DeleteHostCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetConnectionCommandOutput extends GetConnectionOutput, __Metad
|
|
|
26
26
|
* import { CodeStarConnectionsClient, GetConnectionCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
|
|
27
27
|
* // const { CodeStarConnectionsClient, GetConnectionCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
|
|
28
28
|
* const client = new CodeStarConnectionsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ConnectionArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetConnectionCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface GetHostCommandOutput extends GetHostOutput, __MetadataBearer {
|
|
|
27
27
|
* import { CodeStarConnectionsClient, GetHostCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
|
|
28
28
|
* // const { CodeStarConnectionsClient, GetHostCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
|
|
29
29
|
* const client = new CodeStarConnectionsClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* HostArn: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new GetHostCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface ListConnectionsCommandOutput extends ListConnectionsOutput, __M
|
|
|
26
26
|
* import { CodeStarConnectionsClient, ListConnectionsCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
|
|
27
27
|
* // const { CodeStarConnectionsClient, ListConnectionsCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
|
|
28
28
|
* const client = new CodeStarConnectionsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ProviderTypeFilter: "STRING_VALUE",
|
|
31
|
+
* HostArnFilter: "STRING_VALUE",
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
29
35
|
* const command = new ListConnectionsCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListHostsCommandOutput extends ListHostsOutput, __MetadataBeare
|
|
|
26
26
|
* import { CodeStarConnectionsClient, ListHostsCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
|
|
27
27
|
* // const { CodeStarConnectionsClient, ListHostsCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
|
|
28
28
|
* const client = new CodeStarConnectionsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* MaxResults: Number("int"),
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListHostsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
|
|
|
26
26
|
* import { CodeStarConnectionsClient, ListTagsForResourceCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
|
|
27
27
|
* // const { CodeStarConnectionsClient, ListTagsForResourceCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
|
|
28
28
|
* const client = new CodeStarConnectionsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,15 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
|
|
|
27
27
|
* import { CodeStarConnectionsClient, TagResourceCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
|
|
28
28
|
* // const { CodeStarConnectionsClient, TagResourceCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
|
|
29
29
|
* const client = new CodeStarConnectionsClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
32
|
+
* Tags: [ // required
|
|
33
|
+
* {
|
|
34
|
+
* Key: "STRING_VALUE", // required
|
|
35
|
+
* Value: "STRING_VALUE", // required
|
|
36
|
+
* },
|
|
37
|
+
* ],
|
|
38
|
+
* };
|
|
30
39
|
* const command = new TagResourceCommand(input);
|
|
31
40
|
* const response = await client.send(command);
|
|
32
41
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
|
|
|
26
26
|
* import { CodeStarConnectionsClient, UntagResourceCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
|
|
27
27
|
* // const { CodeStarConnectionsClient, UntagResourceCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
|
|
28
28
|
* const client = new CodeStarConnectionsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
+
* TagKeys: [ // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,20 @@ export interface UpdateHostCommandOutput extends UpdateHostOutput, __MetadataBea
|
|
|
26
26
|
* import { CodeStarConnectionsClient, UpdateHostCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
|
|
27
27
|
* // const { CodeStarConnectionsClient, UpdateHostCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
|
|
28
28
|
* const client = new CodeStarConnectionsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* HostArn: "STRING_VALUE", // required
|
|
31
|
+
* ProviderEndpoint: "STRING_VALUE",
|
|
32
|
+
* VpcConfiguration: {
|
|
33
|
+
* VpcId: "STRING_VALUE", // required
|
|
34
|
+
* SubnetIds: [ // required
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* SecurityGroupIds: [ // required
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* TlsCertificate: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* };
|
|
29
43
|
* const command = new UpdateHostCommand(input);
|
|
30
44
|
* const response = await client.send(command);
|
|
31
45
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codestar-connections",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codestar Connections Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|