@aws-sdk/client-codecatalyst 3.222.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 +312 -0
- package/dist-cjs/CodeCatalyst.js +367 -0
- package/dist-cjs/CodeCatalystClient.js +40 -0
- package/dist-cjs/commands/CreateAccessTokenCommand.js +45 -0
- package/dist-cjs/commands/CreateDevEnvironmentCommand.js +45 -0
- package/dist-cjs/commands/CreateProjectCommand.js +45 -0
- package/dist-cjs/commands/CreateSourceRepositoryBranchCommand.js +45 -0
- package/dist-cjs/commands/DeleteAccessTokenCommand.js +45 -0
- package/dist-cjs/commands/DeleteDevEnvironmentCommand.js +45 -0
- package/dist-cjs/commands/GetDevEnvironmentCommand.js +45 -0
- package/dist-cjs/commands/GetProjectCommand.js +45 -0
- package/dist-cjs/commands/GetSourceRepositoryCloneUrlsCommand.js +45 -0
- package/dist-cjs/commands/GetSpaceCommand.js +45 -0
- package/dist-cjs/commands/GetSubscriptionCommand.js +45 -0
- package/dist-cjs/commands/GetUserDetailsCommand.js +45 -0
- package/dist-cjs/commands/ListAccessTokensCommand.js +45 -0
- package/dist-cjs/commands/ListDevEnvironmentsCommand.js +45 -0
- package/dist-cjs/commands/ListEventLogsCommand.js +45 -0
- package/dist-cjs/commands/ListProjectsCommand.js +45 -0
- package/dist-cjs/commands/ListSourceRepositoriesCommand.js +45 -0
- package/dist-cjs/commands/ListSourceRepositoryBranchesCommand.js +45 -0
- package/dist-cjs/commands/ListSpacesCommand.js +45 -0
- package/dist-cjs/commands/StartDevEnvironmentCommand.js +45 -0
- package/dist-cjs/commands/StartDevEnvironmentSessionCommand.js +45 -0
- package/dist-cjs/commands/StopDevEnvironmentCommand.js +45 -0
- package/dist-cjs/commands/UpdateDevEnvironmentCommand.js +45 -0
- package/dist-cjs/commands/VerifySessionCommand.js +45 -0
- package/dist-cjs/commands/index.js +27 -0
- package/dist-cjs/endpoint/EndpointParameters.js +11 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +214 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/CodeCatalystServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +416 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListAccessTokensPaginator.js +36 -0
- package/dist-cjs/pagination/ListDevEnvironmentsPaginator.js +36 -0
- package/dist-cjs/pagination/ListEventLogsPaginator.js +36 -0
- package/dist-cjs/pagination/ListProjectsPaginator.js +36 -0
- package/dist-cjs/pagination/ListSourceRepositoriesPaginator.js +36 -0
- package/dist-cjs/pagination/ListSourceRepositoryBranchesPaginator.js +36 -0
- package/dist-cjs/pagination/ListSpacesPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +11 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2372 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +46 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +18 -0
- package/dist-es/CodeCatalyst.js +363 -0
- package/dist-es/CodeCatalystClient.js +36 -0
- package/dist-es/commands/CreateAccessTokenCommand.js +41 -0
- package/dist-es/commands/CreateDevEnvironmentCommand.js +41 -0
- package/dist-es/commands/CreateProjectCommand.js +41 -0
- package/dist-es/commands/CreateSourceRepositoryBranchCommand.js +41 -0
- package/dist-es/commands/DeleteAccessTokenCommand.js +41 -0
- package/dist-es/commands/DeleteDevEnvironmentCommand.js +41 -0
- package/dist-es/commands/GetDevEnvironmentCommand.js +41 -0
- package/dist-es/commands/GetProjectCommand.js +41 -0
- package/dist-es/commands/GetSourceRepositoryCloneUrlsCommand.js +41 -0
- package/dist-es/commands/GetSpaceCommand.js +41 -0
- package/dist-es/commands/GetSubscriptionCommand.js +41 -0
- package/dist-es/commands/GetUserDetailsCommand.js +41 -0
- package/dist-es/commands/ListAccessTokensCommand.js +41 -0
- package/dist-es/commands/ListDevEnvironmentsCommand.js +41 -0
- package/dist-es/commands/ListEventLogsCommand.js +41 -0
- package/dist-es/commands/ListProjectsCommand.js +41 -0
- package/dist-es/commands/ListSourceRepositoriesCommand.js +41 -0
- package/dist-es/commands/ListSourceRepositoryBranchesCommand.js +41 -0
- package/dist-es/commands/ListSpacesCommand.js +41 -0
- package/dist-es/commands/StartDevEnvironmentCommand.js +41 -0
- package/dist-es/commands/StartDevEnvironmentSessionCommand.js +41 -0
- package/dist-es/commands/StopDevEnvironmentCommand.js +41 -0
- package/dist-es/commands/UpdateDevEnvironmentCommand.js +41 -0
- package/dist-es/commands/VerifySessionCommand.js +41 -0
- package/dist-es/commands/index.js +24 -0
- package/dist-es/endpoint/EndpointParameters.js +7 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +211 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/CodeCatalystServiceException.js +7 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +337 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAccessTokensPaginator.js +32 -0
- package/dist-es/pagination/ListDevEnvironmentsPaginator.js +32 -0
- package/dist-es/pagination/ListEventLogsPaginator.js +32 -0
- package/dist-es/pagination/ListProjectsPaginator.js +32 -0
- package/dist-es/pagination/ListSourceRepositoriesPaginator.js +32 -0
- package/dist-es/pagination/ListSourceRepositoryBranchesPaginator.js +32 -0
- package/dist-es/pagination/ListSpacesPaginator.js +31 -0
- package/dist-es/pagination/index.js +8 -0
- package/dist-es/protocols/Aws_restJson1.js +2321 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +41 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +14 -0
- package/dist-types/CodeCatalyst.d.ts +291 -0
- package/dist-types/CodeCatalystClient.d.ts +263 -0
- package/dist-types/commands/CreateAccessTokenCommand.d.ts +40 -0
- package/dist-types/commands/CreateDevEnvironmentCommand.d.ts +38 -0
- package/dist-types/commands/CreateProjectCommand.d.ts +37 -0
- package/dist-types/commands/CreateSourceRepositoryBranchCommand.d.ts +40 -0
- package/dist-types/commands/DeleteAccessTokenCommand.d.ts +37 -0
- package/dist-types/commands/DeleteDevEnvironmentCommand.d.ts +37 -0
- package/dist-types/commands/GetDevEnvironmentCommand.d.ts +37 -0
- package/dist-types/commands/GetProjectCommand.d.ts +37 -0
- package/dist-types/commands/GetSourceRepositoryCloneUrlsCommand.d.ts +38 -0
- package/dist-types/commands/GetSpaceCommand.d.ts +37 -0
- package/dist-types/commands/GetSubscriptionCommand.d.ts +38 -0
- package/dist-types/commands/GetUserDetailsCommand.d.ts +37 -0
- package/dist-types/commands/ListAccessTokensCommand.d.ts +37 -0
- package/dist-types/commands/ListDevEnvironmentsCommand.d.ts +37 -0
- package/dist-types/commands/ListEventLogsCommand.d.ts +37 -0
- package/dist-types/commands/ListProjectsCommand.d.ts +37 -0
- package/dist-types/commands/ListSourceRepositoriesCommand.d.ts +37 -0
- package/dist-types/commands/ListSourceRepositoryBranchesCommand.d.ts +37 -0
- package/dist-types/commands/ListSpacesCommand.d.ts +37 -0
- package/dist-types/commands/StartDevEnvironmentCommand.d.ts +37 -0
- package/dist-types/commands/StartDevEnvironmentSessionCommand.d.ts +37 -0
- package/dist-types/commands/StopDevEnvironmentCommand.d.ts +37 -0
- package/dist-types/commands/UpdateDevEnvironmentCommand.d.ts +37 -0
- package/dist-types/commands/VerifySessionCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +24 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +17 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/CodeCatalystServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1601 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListAccessTokensPaginator.d.ts +4 -0
- package/dist-types/pagination/ListDevEnvironmentsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListEventLogsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListProjectsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListSourceRepositoriesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListSourceRepositoryBranchesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListSpacesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +8 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +74 -0
- package/dist-types/runtimeConfig.browser.d.ts +36 -0
- package/dist-types/runtimeConfig.d.ts +36 -0
- package/dist-types/runtimeConfig.native.d.ts +35 -0
- package/dist-types/runtimeConfig.shared.d.ts +16 -0
- package/dist-types/ts3.4/CodeCatalyst.d.ts +412 -0
- package/dist-types/ts3.4/CodeCatalystClient.d.ts +253 -0
- package/dist-types/ts3.4/commands/CreateAccessTokenCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateDevEnvironmentCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/CreateSourceRepositoryBranchCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteAccessTokenCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteDevEnvironmentCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetDevEnvironmentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetProjectCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetSourceRepositoryCloneUrlsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetSpaceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetSubscriptionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetUserDetailsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListAccessTokensCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListDevEnvironmentsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListEventLogsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListProjectsCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListSourceRepositoriesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListSourceRepositoryBranchesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListSpacesCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/StartDevEnvironmentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/StartDevEnvironmentSessionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/StopDevEnvironmentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateDevEnvironmentCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/VerifySessionCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/index.d.ts +24 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +32 -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/index.d.ts +6 -0
- package/dist-types/ts3.4/models/CodeCatalystServiceException.d.ts +7 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +662 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
- package/dist-types/ts3.4/pagination/ListAccessTokensPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDevEnvironmentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEventLogsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListProjectsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSourceRepositoriesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSourceRepositoryBranchesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSpacesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +293 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +68 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +68 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +57 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +16 -0
- package/package.json +100 -0
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@aws-sdk/middleware-endpoint";
|
|
3
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
4
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
5
|
+
import { TokenInputConfig, TokenResolvedConfig } from "@aws-sdk/middleware-token";
|
|
6
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
|
+
import { CreateAccessTokenCommandInput, CreateAccessTokenCommandOutput } from "./commands/CreateAccessTokenCommand";
|
|
11
|
+
import { CreateDevEnvironmentCommandInput, CreateDevEnvironmentCommandOutput } from "./commands/CreateDevEnvironmentCommand";
|
|
12
|
+
import { CreateProjectCommandInput, CreateProjectCommandOutput } from "./commands/CreateProjectCommand";
|
|
13
|
+
import { CreateSourceRepositoryBranchCommandInput, CreateSourceRepositoryBranchCommandOutput } from "./commands/CreateSourceRepositoryBranchCommand";
|
|
14
|
+
import { DeleteAccessTokenCommandInput, DeleteAccessTokenCommandOutput } from "./commands/DeleteAccessTokenCommand";
|
|
15
|
+
import { DeleteDevEnvironmentCommandInput, DeleteDevEnvironmentCommandOutput } from "./commands/DeleteDevEnvironmentCommand";
|
|
16
|
+
import { GetDevEnvironmentCommandInput, GetDevEnvironmentCommandOutput } from "./commands/GetDevEnvironmentCommand";
|
|
17
|
+
import { GetProjectCommandInput, GetProjectCommandOutput } from "./commands/GetProjectCommand";
|
|
18
|
+
import { GetSourceRepositoryCloneUrlsCommandInput, GetSourceRepositoryCloneUrlsCommandOutput } from "./commands/GetSourceRepositoryCloneUrlsCommand";
|
|
19
|
+
import { GetSpaceCommandInput, GetSpaceCommandOutput } from "./commands/GetSpaceCommand";
|
|
20
|
+
import { GetSubscriptionCommandInput, GetSubscriptionCommandOutput } from "./commands/GetSubscriptionCommand";
|
|
21
|
+
import { GetUserDetailsCommandInput, GetUserDetailsCommandOutput } from "./commands/GetUserDetailsCommand";
|
|
22
|
+
import { ListAccessTokensCommandInput, ListAccessTokensCommandOutput } from "./commands/ListAccessTokensCommand";
|
|
23
|
+
import { ListDevEnvironmentsCommandInput, ListDevEnvironmentsCommandOutput } from "./commands/ListDevEnvironmentsCommand";
|
|
24
|
+
import { ListEventLogsCommandInput, ListEventLogsCommandOutput } from "./commands/ListEventLogsCommand";
|
|
25
|
+
import { ListProjectsCommandInput, ListProjectsCommandOutput } from "./commands/ListProjectsCommand";
|
|
26
|
+
import { ListSourceRepositoriesCommandInput, ListSourceRepositoriesCommandOutput } from "./commands/ListSourceRepositoriesCommand";
|
|
27
|
+
import { ListSourceRepositoryBranchesCommandInput, ListSourceRepositoryBranchesCommandOutput } from "./commands/ListSourceRepositoryBranchesCommand";
|
|
28
|
+
import { ListSpacesCommandInput, ListSpacesCommandOutput } from "./commands/ListSpacesCommand";
|
|
29
|
+
import { StartDevEnvironmentCommandInput, StartDevEnvironmentCommandOutput } from "./commands/StartDevEnvironmentCommand";
|
|
30
|
+
import { StartDevEnvironmentSessionCommandInput, StartDevEnvironmentSessionCommandOutput } from "./commands/StartDevEnvironmentSessionCommand";
|
|
31
|
+
import { StopDevEnvironmentCommandInput, StopDevEnvironmentCommandOutput } from "./commands/StopDevEnvironmentCommand";
|
|
32
|
+
import { UpdateDevEnvironmentCommandInput, UpdateDevEnvironmentCommandOutput } from "./commands/UpdateDevEnvironmentCommand";
|
|
33
|
+
import { VerifySessionCommandInput, VerifySessionCommandOutput } from "./commands/VerifySessionCommand";
|
|
34
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
35
|
+
export declare type ServiceInputTypes = CreateAccessTokenCommandInput | CreateDevEnvironmentCommandInput | CreateProjectCommandInput | CreateSourceRepositoryBranchCommandInput | DeleteAccessTokenCommandInput | DeleteDevEnvironmentCommandInput | GetDevEnvironmentCommandInput | GetProjectCommandInput | GetSourceRepositoryCloneUrlsCommandInput | GetSpaceCommandInput | GetSubscriptionCommandInput | GetUserDetailsCommandInput | ListAccessTokensCommandInput | ListDevEnvironmentsCommandInput | ListEventLogsCommandInput | ListProjectsCommandInput | ListSourceRepositoriesCommandInput | ListSourceRepositoryBranchesCommandInput | ListSpacesCommandInput | StartDevEnvironmentCommandInput | StartDevEnvironmentSessionCommandInput | StopDevEnvironmentCommandInput | UpdateDevEnvironmentCommandInput | VerifySessionCommandInput;
|
|
36
|
+
export declare type ServiceOutputTypes = CreateAccessTokenCommandOutput | CreateDevEnvironmentCommandOutput | CreateProjectCommandOutput | CreateSourceRepositoryBranchCommandOutput | DeleteAccessTokenCommandOutput | DeleteDevEnvironmentCommandOutput | GetDevEnvironmentCommandOutput | GetProjectCommandOutput | GetSourceRepositoryCloneUrlsCommandOutput | GetSpaceCommandOutput | GetSubscriptionCommandOutput | GetUserDetailsCommandOutput | ListAccessTokensCommandOutput | ListDevEnvironmentsCommandOutput | ListEventLogsCommandOutput | ListProjectsCommandOutput | ListSourceRepositoriesCommandOutput | ListSourceRepositoryBranchesCommandOutput | ListSpacesCommandOutput | StartDevEnvironmentCommandOutput | StartDevEnvironmentSessionCommandOutput | StopDevEnvironmentCommandOutput | UpdateDevEnvironmentCommandOutput | VerifySessionCommandOutput;
|
|
37
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
38
|
+
/**
|
|
39
|
+
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
40
|
+
*/
|
|
41
|
+
requestHandler?: __HttpHandler;
|
|
42
|
+
/**
|
|
43
|
+
* A constructor for a class implementing the {@link __Hash} interface
|
|
44
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
45
|
+
* @internal
|
|
46
|
+
*/
|
|
47
|
+
sha256?: __HashConstructor;
|
|
48
|
+
/**
|
|
49
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
50
|
+
* @internal
|
|
51
|
+
*/
|
|
52
|
+
urlParser?: __UrlParser;
|
|
53
|
+
/**
|
|
54
|
+
* A function that can calculate the length of a request body.
|
|
55
|
+
* @internal
|
|
56
|
+
*/
|
|
57
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
58
|
+
/**
|
|
59
|
+
* A function that converts a stream into an array of bytes.
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
62
|
+
streamCollector?: __StreamCollector;
|
|
63
|
+
/**
|
|
64
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
base64Decoder?: __Decoder;
|
|
68
|
+
/**
|
|
69
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
base64Encoder?: __Encoder;
|
|
73
|
+
/**
|
|
74
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
utf8Decoder?: __Decoder;
|
|
78
|
+
/**
|
|
79
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
utf8Encoder?: __Encoder;
|
|
83
|
+
/**
|
|
84
|
+
* The runtime environment.
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
runtime?: string;
|
|
88
|
+
/**
|
|
89
|
+
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
90
|
+
* trait of an operation.
|
|
91
|
+
*/
|
|
92
|
+
disableHostPrefix?: boolean;
|
|
93
|
+
/**
|
|
94
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
95
|
+
*/
|
|
96
|
+
maxAttempts?: number | __Provider<number>;
|
|
97
|
+
/**
|
|
98
|
+
* Specifies which retry algorithm to use.
|
|
99
|
+
*/
|
|
100
|
+
retryMode?: string | __Provider<string>;
|
|
101
|
+
/**
|
|
102
|
+
* Optional logger for logging debug/info/warn/error.
|
|
103
|
+
*/
|
|
104
|
+
logger?: __Logger;
|
|
105
|
+
/**
|
|
106
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
107
|
+
*/
|
|
108
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
109
|
+
/**
|
|
110
|
+
* Enables FIPS compatible endpoints.
|
|
111
|
+
*/
|
|
112
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
113
|
+
/**
|
|
114
|
+
* Unique service identifier.
|
|
115
|
+
* @internal
|
|
116
|
+
*/
|
|
117
|
+
serviceId?: string;
|
|
118
|
+
/**
|
|
119
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
120
|
+
* @internal
|
|
121
|
+
*/
|
|
122
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
123
|
+
/**
|
|
124
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
125
|
+
*/
|
|
126
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
127
|
+
}
|
|
128
|
+
declare type CodeCatalystClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & TokenInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
129
|
+
/**
|
|
130
|
+
* The configuration interface of CodeCatalystClient class constructor that set the region, credentials and other options.
|
|
131
|
+
*/
|
|
132
|
+
export interface CodeCatalystClientConfig extends CodeCatalystClientConfigType {
|
|
133
|
+
}
|
|
134
|
+
declare type CodeCatalystClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & TokenResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
135
|
+
/**
|
|
136
|
+
* The resolved configuration interface of CodeCatalystClient class. This is resolved and normalized from the {@link CodeCatalystClientConfig | constructor configuration interface}.
|
|
137
|
+
*/
|
|
138
|
+
export interface CodeCatalystClientResolvedConfig extends CodeCatalystClientResolvedConfigType {
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* <note>
|
|
142
|
+
* <p>
|
|
143
|
+
* <b>Amazon CodeCatalyst is in preview release and subject to change.</b>
|
|
144
|
+
* </p>
|
|
145
|
+
* </note>
|
|
146
|
+
* <p>Welcome to the Amazon CodeCatalyst API reference. This reference provides descriptions of operations and data types for Amazon CodeCatalyst. You can use the Amazon CodeCatalyst
|
|
147
|
+
* API to work with the following objects. </p>
|
|
148
|
+
* <p>Dev Environments and the Amazon Web Services Toolkits, by calling the following:</p>
|
|
149
|
+
* <ul>
|
|
150
|
+
* <li>
|
|
151
|
+
* <p>
|
|
152
|
+
* <a>CreateAccessToken</a>, which creates a personal access token (PAT) for the current user.</p>
|
|
153
|
+
* </li>
|
|
154
|
+
* <li>
|
|
155
|
+
* <p>
|
|
156
|
+
* <a>CreateDevEnvironment</a>, which creates a Dev Environment,
|
|
157
|
+
* where you can quickly work on the code stored in the source repositories of your project.</p>
|
|
158
|
+
* </li>
|
|
159
|
+
* <li>
|
|
160
|
+
* <p>
|
|
161
|
+
* <a>CreateProject</a> which creates a project in a specified space.</p>
|
|
162
|
+
* </li>
|
|
163
|
+
* <li>
|
|
164
|
+
* <p>
|
|
165
|
+
* <a>CreateSourceRepositoryBranch</a>, which creates a branch in a specified repository where you can work on code.</p>
|
|
166
|
+
* </li>
|
|
167
|
+
* <li>
|
|
168
|
+
* <p>
|
|
169
|
+
* <a>DeleteDevEnvironment</a>, which deletes a Dev Environment.</p>
|
|
170
|
+
* </li>
|
|
171
|
+
* <li>
|
|
172
|
+
* <p>
|
|
173
|
+
* <a>GetDevEnvironment</a>, which returns information about a Dev Environment.</p>
|
|
174
|
+
* </li>
|
|
175
|
+
* <li>
|
|
176
|
+
* <p>
|
|
177
|
+
* <a>GetProject</a>, which returns information about a project.</p>
|
|
178
|
+
* </li>
|
|
179
|
+
* <li>
|
|
180
|
+
* <p>
|
|
181
|
+
* <a>GetSourceRepositoryCloneUrls</a>, which returns information about the URLs that can be used with a Git client to clone a source
|
|
182
|
+
* repository.</p>
|
|
183
|
+
* </li>
|
|
184
|
+
* <li>
|
|
185
|
+
* <p>
|
|
186
|
+
* <a>GetSubscription</a>, which returns information about the Amazon Web Services account used for billing purposes
|
|
187
|
+
* and the billing plan for the space.</p>
|
|
188
|
+
* </li>
|
|
189
|
+
* <li>
|
|
190
|
+
* <p>
|
|
191
|
+
* <a>GetUserDetails</a>, which returns information about a user in Amazon CodeCatalyst.</p>
|
|
192
|
+
* </li>
|
|
193
|
+
* <li>
|
|
194
|
+
* <p>
|
|
195
|
+
* <a>ListDevEnvironments</a>, which retrives a list of Dev Environments in a project.</p>
|
|
196
|
+
* </li>
|
|
197
|
+
* <li>
|
|
198
|
+
* <p>
|
|
199
|
+
* <a>ListProjects</a>, which retrieves a list of projects in a space.</p>
|
|
200
|
+
* </li>
|
|
201
|
+
* <li>
|
|
202
|
+
* <p>
|
|
203
|
+
* <a>ListSourceRepositories</a>, which retrieves a list of source repositories in a project.</p>
|
|
204
|
+
* </li>
|
|
205
|
+
* <li>
|
|
206
|
+
* <p>
|
|
207
|
+
* <a>ListSourceRepositoryBranches</a>, which retrieves a list of branches in a source repository.</p>
|
|
208
|
+
* </li>
|
|
209
|
+
* <li>
|
|
210
|
+
* <p>
|
|
211
|
+
* <a>ListSpaces</a>, which retrieves a list of spaces.</p>
|
|
212
|
+
* </li>
|
|
213
|
+
* <li>
|
|
214
|
+
* <p>
|
|
215
|
+
* <a>StartDevEnvironment</a>, which starts a specified Dev Environment and puts it into an active state.</p>
|
|
216
|
+
* </li>
|
|
217
|
+
* <li>
|
|
218
|
+
* <p>
|
|
219
|
+
* <a>StartDevEnvironmentSession</a>, which starts a session to a specified Dev Environment.</p>
|
|
220
|
+
* </li>
|
|
221
|
+
* <li>
|
|
222
|
+
* <p>
|
|
223
|
+
* <a>StopDevEnvironment</a>, which stops a specified Dev Environment and puts it into an stopped state.</p>
|
|
224
|
+
* </li>
|
|
225
|
+
* <li>
|
|
226
|
+
* <p>
|
|
227
|
+
* <a>UpdateDevEnvironment</a>, which changes one or more values for a Dev Environment.</p>
|
|
228
|
+
* </li>
|
|
229
|
+
* <li>
|
|
230
|
+
* <p>
|
|
231
|
+
* <a>VerifySession</a>, which verifies whether the calling user has a valid Amazon CodeCatalyst login and session.</p>
|
|
232
|
+
* </li>
|
|
233
|
+
* </ul>
|
|
234
|
+
* <p>Security, activity, and resource management in Amazon CodeCatalyst, by calling the following:</p>
|
|
235
|
+
* <ul>
|
|
236
|
+
* <li>
|
|
237
|
+
* <p>
|
|
238
|
+
* <a>DeleteAccessToken</a>, which deletes a specified personal access token (PAT).</p>
|
|
239
|
+
* </li>
|
|
240
|
+
* <li>
|
|
241
|
+
* <p>
|
|
242
|
+
* <a>ListAccessTokens</a>, which lists all personal access tokens (PATs) associated with a user.</p>
|
|
243
|
+
* </li>
|
|
244
|
+
* <li>
|
|
245
|
+
* <p>
|
|
246
|
+
* <a>ListEventLogs</a>, which retrieves a list of events that occurred during a specified time period in a space.</p>
|
|
247
|
+
* </li>
|
|
248
|
+
* </ul>
|
|
249
|
+
*/
|
|
250
|
+
export declare class CodeCatalystClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CodeCatalystClientResolvedConfig> {
|
|
251
|
+
/**
|
|
252
|
+
* The resolved configuration of CodeCatalystClient class. This is resolved and normalized from the {@link CodeCatalystClientConfig | constructor configuration interface}.
|
|
253
|
+
*/
|
|
254
|
+
readonly config: CodeCatalystClientResolvedConfig;
|
|
255
|
+
constructor(configuration: CodeCatalystClientConfig);
|
|
256
|
+
/**
|
|
257
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
258
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
259
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
260
|
+
*/
|
|
261
|
+
destroy(): void;
|
|
262
|
+
}
|
|
263
|
+
export {};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
|
+
import { CreateAccessTokenRequest, CreateAccessTokenResponse } from "../models/models_0";
|
|
6
|
+
export interface CreateAccessTokenCommandInput extends CreateAccessTokenRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface CreateAccessTokenCommandOutput extends CreateAccessTokenResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Creates a personal access token (PAT) for the current user. A personal access token (PAT) is similar to a password.
|
|
12
|
+
* It is associated with your user account. You use PATs to access Amazon CodeCatalyst resources such as source repositories from third-party applications
|
|
13
|
+
* like Git and integrated development environments (IDEs). For more information, see
|
|
14
|
+
* <a href="https://docs.aws.amazon.com/codecatalyst/latest/userguide/ipa-tokens-keys.html">Managing personal access tokens in Amazon CodeCatalyst</a>.</p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { CodeCatalystClient, CreateAccessTokenCommand } from "@aws-sdk/client-codecatalyst"; // ES Modules import
|
|
19
|
+
* // const { CodeCatalystClient, CreateAccessTokenCommand } = require("@aws-sdk/client-codecatalyst"); // CommonJS import
|
|
20
|
+
* const client = new CodeCatalystClient(config);
|
|
21
|
+
* const command = new CreateAccessTokenCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link CreateAccessTokenCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link CreateAccessTokenCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link CodeCatalystClientResolvedConfig | config} for CodeCatalystClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class CreateAccessTokenCommand extends $Command<CreateAccessTokenCommandInput, CreateAccessTokenCommandOutput, CodeCatalystClientResolvedConfig> {
|
|
31
|
+
readonly input: CreateAccessTokenCommandInput;
|
|
32
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
33
|
+
constructor(input: CreateAccessTokenCommandInput);
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCatalystClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAccessTokenCommandInput, CreateAccessTokenCommandOutput>;
|
|
38
|
+
private serialize;
|
|
39
|
+
private deserialize;
|
|
40
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
|
+
import { CreateDevEnvironmentRequest, CreateDevEnvironmentResponse } from "../models/models_0";
|
|
6
|
+
export interface CreateDevEnvironmentCommandInput extends CreateDevEnvironmentRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface CreateDevEnvironmentCommandOutput extends CreateDevEnvironmentResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Creates a Dev Environment in Amazon CodeCatalyst, a cloud-based development Dev Environment that you can use to quickly work on the code stored in the source repositories of your project.
|
|
12
|
+
* By default, a Dev Environment is configured to have a 2 core processor, 4GB of RAM, and 16GB of persistent storage. </p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { CodeCatalystClient, CreateDevEnvironmentCommand } from "@aws-sdk/client-codecatalyst"; // ES Modules import
|
|
17
|
+
* // const { CodeCatalystClient, CreateDevEnvironmentCommand } = require("@aws-sdk/client-codecatalyst"); // CommonJS import
|
|
18
|
+
* const client = new CodeCatalystClient(config);
|
|
19
|
+
* const command = new CreateDevEnvironmentCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link CreateDevEnvironmentCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link CreateDevEnvironmentCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link CodeCatalystClientResolvedConfig | config} for CodeCatalystClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class CreateDevEnvironmentCommand extends $Command<CreateDevEnvironmentCommandInput, CreateDevEnvironmentCommandOutput, CodeCatalystClientResolvedConfig> {
|
|
29
|
+
readonly input: CreateDevEnvironmentCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: CreateDevEnvironmentCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCatalystClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateDevEnvironmentCommandInput, CreateDevEnvironmentCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
|
+
import { CreateProjectRequest, CreateProjectResponse } from "../models/models_0";
|
|
6
|
+
export interface CreateProjectCommandInput extends CreateProjectRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface CreateProjectCommandOutput extends CreateProjectResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Creates a project in a specified space.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { CodeCatalystClient, CreateProjectCommand } from "@aws-sdk/client-codecatalyst"; // ES Modules import
|
|
16
|
+
* // const { CodeCatalystClient, CreateProjectCommand } = require("@aws-sdk/client-codecatalyst"); // CommonJS import
|
|
17
|
+
* const client = new CodeCatalystClient(config);
|
|
18
|
+
* const command = new CreateProjectCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link CreateProjectCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link CreateProjectCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link CodeCatalystClientResolvedConfig | config} for CodeCatalystClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class CreateProjectCommand extends $Command<CreateProjectCommandInput, CreateProjectCommandOutput, CodeCatalystClientResolvedConfig> {
|
|
28
|
+
readonly input: CreateProjectCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: CreateProjectCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCatalystClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateProjectCommandInput, CreateProjectCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
|
+
import { CreateSourceRepositoryBranchRequest, CreateSourceRepositoryBranchResponse } from "../models/models_0";
|
|
6
|
+
export interface CreateSourceRepositoryBranchCommandInput extends CreateSourceRepositoryBranchRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface CreateSourceRepositoryBranchCommandOutput extends CreateSourceRepositoryBranchResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Creates a branch in a specified source repository in Amazon CodeCatalyst. </p>
|
|
12
|
+
* <note>
|
|
13
|
+
* <p>This API only creates a branch in a source repository hosted in Amazon CodeCatalyst. You cannot use this API to create a branch in a linked repository.</p>
|
|
14
|
+
* </note>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { CodeCatalystClient, CreateSourceRepositoryBranchCommand } from "@aws-sdk/client-codecatalyst"; // ES Modules import
|
|
19
|
+
* // const { CodeCatalystClient, CreateSourceRepositoryBranchCommand } = require("@aws-sdk/client-codecatalyst"); // CommonJS import
|
|
20
|
+
* const client = new CodeCatalystClient(config);
|
|
21
|
+
* const command = new CreateSourceRepositoryBranchCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link CreateSourceRepositoryBranchCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link CreateSourceRepositoryBranchCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link CodeCatalystClientResolvedConfig | config} for CodeCatalystClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class CreateSourceRepositoryBranchCommand extends $Command<CreateSourceRepositoryBranchCommandInput, CreateSourceRepositoryBranchCommandOutput, CodeCatalystClientResolvedConfig> {
|
|
31
|
+
readonly input: CreateSourceRepositoryBranchCommandInput;
|
|
32
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
33
|
+
constructor(input: CreateSourceRepositoryBranchCommandInput);
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCatalystClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateSourceRepositoryBranchCommandInput, CreateSourceRepositoryBranchCommandOutput>;
|
|
38
|
+
private serialize;
|
|
39
|
+
private deserialize;
|
|
40
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
|
+
import { DeleteAccessTokenRequest, DeleteAccessTokenResponse } from "../models/models_0";
|
|
6
|
+
export interface DeleteAccessTokenCommandInput extends DeleteAccessTokenRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteAccessTokenCommandOutput extends DeleteAccessTokenResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Deletes a specified personal access token (PAT). A personal access token can only be deleted by the user who created it.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { CodeCatalystClient, DeleteAccessTokenCommand } from "@aws-sdk/client-codecatalyst"; // ES Modules import
|
|
16
|
+
* // const { CodeCatalystClient, DeleteAccessTokenCommand } = require("@aws-sdk/client-codecatalyst"); // CommonJS import
|
|
17
|
+
* const client = new CodeCatalystClient(config);
|
|
18
|
+
* const command = new DeleteAccessTokenCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link DeleteAccessTokenCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link DeleteAccessTokenCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link CodeCatalystClientResolvedConfig | config} for CodeCatalystClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class DeleteAccessTokenCommand extends $Command<DeleteAccessTokenCommandInput, DeleteAccessTokenCommandOutput, CodeCatalystClientResolvedConfig> {
|
|
28
|
+
readonly input: DeleteAccessTokenCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: DeleteAccessTokenCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCatalystClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAccessTokenCommandInput, DeleteAccessTokenCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
|
+
import { DeleteDevEnvironmentRequest, DeleteDevEnvironmentResponse } from "../models/models_0";
|
|
6
|
+
export interface DeleteDevEnvironmentCommandInput extends DeleteDevEnvironmentRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteDevEnvironmentCommandOutput extends DeleteDevEnvironmentResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Deletes a Dev Environment. </p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { CodeCatalystClient, DeleteDevEnvironmentCommand } from "@aws-sdk/client-codecatalyst"; // ES Modules import
|
|
16
|
+
* // const { CodeCatalystClient, DeleteDevEnvironmentCommand } = require("@aws-sdk/client-codecatalyst"); // CommonJS import
|
|
17
|
+
* const client = new CodeCatalystClient(config);
|
|
18
|
+
* const command = new DeleteDevEnvironmentCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link DeleteDevEnvironmentCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link DeleteDevEnvironmentCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link CodeCatalystClientResolvedConfig | config} for CodeCatalystClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class DeleteDevEnvironmentCommand extends $Command<DeleteDevEnvironmentCommandInput, DeleteDevEnvironmentCommandOutput, CodeCatalystClientResolvedConfig> {
|
|
28
|
+
readonly input: DeleteDevEnvironmentCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: DeleteDevEnvironmentCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCatalystClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteDevEnvironmentCommandInput, DeleteDevEnvironmentCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
|
+
import { GetDevEnvironmentRequest, GetDevEnvironmentResponse } from "../models/models_0";
|
|
6
|
+
export interface GetDevEnvironmentCommandInput extends GetDevEnvironmentRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface GetDevEnvironmentCommandOutput extends GetDevEnvironmentResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Returns information about a Dev Environment for a source repository in a project. Dev Environments are specific to the user who creates them.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { CodeCatalystClient, GetDevEnvironmentCommand } from "@aws-sdk/client-codecatalyst"; // ES Modules import
|
|
16
|
+
* // const { CodeCatalystClient, GetDevEnvironmentCommand } = require("@aws-sdk/client-codecatalyst"); // CommonJS import
|
|
17
|
+
* const client = new CodeCatalystClient(config);
|
|
18
|
+
* const command = new GetDevEnvironmentCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link GetDevEnvironmentCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link GetDevEnvironmentCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link CodeCatalystClientResolvedConfig | config} for CodeCatalystClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class GetDevEnvironmentCommand extends $Command<GetDevEnvironmentCommandInput, GetDevEnvironmentCommandOutput, CodeCatalystClientResolvedConfig> {
|
|
28
|
+
readonly input: GetDevEnvironmentCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: GetDevEnvironmentCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCatalystClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetDevEnvironmentCommandInput, GetDevEnvironmentCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
|
+
import { GetProjectRequest, GetProjectResponse } from "../models/models_0";
|
|
6
|
+
export interface GetProjectCommandInput extends GetProjectRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface GetProjectCommandOutput extends GetProjectResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Returns information about a project.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { CodeCatalystClient, GetProjectCommand } from "@aws-sdk/client-codecatalyst"; // ES Modules import
|
|
16
|
+
* // const { CodeCatalystClient, GetProjectCommand } = require("@aws-sdk/client-codecatalyst"); // CommonJS import
|
|
17
|
+
* const client = new CodeCatalystClient(config);
|
|
18
|
+
* const command = new GetProjectCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link GetProjectCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link GetProjectCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link CodeCatalystClientResolvedConfig | config} for CodeCatalystClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class GetProjectCommand extends $Command<GetProjectCommandInput, GetProjectCommandOutput, CodeCatalystClientResolvedConfig> {
|
|
28
|
+
readonly input: GetProjectCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: GetProjectCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCatalystClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetProjectCommandInput, GetProjectCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
|
|
5
|
+
import { GetSourceRepositoryCloneUrlsRequest, GetSourceRepositoryCloneUrlsResponse } from "../models/models_0";
|
|
6
|
+
export interface GetSourceRepositoryCloneUrlsCommandInput extends GetSourceRepositoryCloneUrlsRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface GetSourceRepositoryCloneUrlsCommandOutput extends GetSourceRepositoryCloneUrlsResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Returns information about the URLs that can be used with a Git client to clone a source
|
|
12
|
+
* repository.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { CodeCatalystClient, GetSourceRepositoryCloneUrlsCommand } from "@aws-sdk/client-codecatalyst"; // ES Modules import
|
|
17
|
+
* // const { CodeCatalystClient, GetSourceRepositoryCloneUrlsCommand } = require("@aws-sdk/client-codecatalyst"); // CommonJS import
|
|
18
|
+
* const client = new CodeCatalystClient(config);
|
|
19
|
+
* const command = new GetSourceRepositoryCloneUrlsCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link GetSourceRepositoryCloneUrlsCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link GetSourceRepositoryCloneUrlsCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link CodeCatalystClientResolvedConfig | config} for CodeCatalystClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class GetSourceRepositoryCloneUrlsCommand extends $Command<GetSourceRepositoryCloneUrlsCommandInput, GetSourceRepositoryCloneUrlsCommandOutput, CodeCatalystClientResolvedConfig> {
|
|
29
|
+
readonly input: GetSourceRepositoryCloneUrlsCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: GetSourceRepositoryCloneUrlsCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCatalystClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSourceRepositoryCloneUrlsCommandInput, GetSourceRepositoryCloneUrlsCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|