@aws-sdk/client-codecommit 3.952.0 → 3.953.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-cjs/index.js +2040 -1516
- package/dist-cjs/runtimeConfig.shared.js +7 -6
- package/dist-es/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.js +2 -2
- package/dist-es/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.js +2 -2
- package/dist-es/commands/BatchDescribeMergeConflictsCommand.js +2 -2
- package/dist-es/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.js +2 -2
- package/dist-es/commands/BatchGetCommitsCommand.js +2 -2
- package/dist-es/commands/BatchGetRepositoriesCommand.js +2 -2
- package/dist-es/commands/CreateApprovalRuleTemplateCommand.js +2 -2
- package/dist-es/commands/CreateBranchCommand.js +2 -2
- package/dist-es/commands/CreateCommitCommand.js +2 -2
- package/dist-es/commands/CreatePullRequestApprovalRuleCommand.js +2 -2
- package/dist-es/commands/CreatePullRequestCommand.js +2 -2
- package/dist-es/commands/CreateRepositoryCommand.js +2 -2
- package/dist-es/commands/CreateUnreferencedMergeCommitCommand.js +2 -2
- package/dist-es/commands/DeleteApprovalRuleTemplateCommand.js +2 -2
- package/dist-es/commands/DeleteBranchCommand.js +2 -2
- package/dist-es/commands/DeleteCommentContentCommand.js +2 -2
- package/dist-es/commands/DeleteFileCommand.js +2 -2
- package/dist-es/commands/DeletePullRequestApprovalRuleCommand.js +2 -2
- package/dist-es/commands/DeleteRepositoryCommand.js +2 -2
- package/dist-es/commands/DescribeMergeConflictsCommand.js +2 -2
- package/dist-es/commands/DescribePullRequestEventsCommand.js +2 -2
- package/dist-es/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.js +2 -2
- package/dist-es/commands/EvaluatePullRequestApprovalRulesCommand.js +2 -2
- package/dist-es/commands/GetApprovalRuleTemplateCommand.js +2 -2
- package/dist-es/commands/GetBlobCommand.js +2 -2
- package/dist-es/commands/GetBranchCommand.js +2 -2
- package/dist-es/commands/GetCommentCommand.js +2 -2
- package/dist-es/commands/GetCommentReactionsCommand.js +2 -2
- package/dist-es/commands/GetCommentsForComparedCommitCommand.js +2 -2
- package/dist-es/commands/GetCommentsForPullRequestCommand.js +2 -2
- package/dist-es/commands/GetCommitCommand.js +2 -2
- package/dist-es/commands/GetDifferencesCommand.js +2 -2
- package/dist-es/commands/GetFileCommand.js +2 -2
- package/dist-es/commands/GetFolderCommand.js +2 -2
- package/dist-es/commands/GetMergeCommitCommand.js +2 -2
- package/dist-es/commands/GetMergeConflictsCommand.js +2 -2
- package/dist-es/commands/GetMergeOptionsCommand.js +2 -2
- package/dist-es/commands/GetPullRequestApprovalStatesCommand.js +2 -2
- package/dist-es/commands/GetPullRequestCommand.js +2 -2
- package/dist-es/commands/GetPullRequestOverrideStateCommand.js +2 -2
- package/dist-es/commands/GetRepositoryCommand.js +2 -2
- package/dist-es/commands/GetRepositoryTriggersCommand.js +2 -2
- package/dist-es/commands/ListApprovalRuleTemplatesCommand.js +2 -2
- package/dist-es/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.js +2 -2
- package/dist-es/commands/ListBranchesCommand.js +2 -2
- package/dist-es/commands/ListFileCommitHistoryCommand.js +2 -2
- package/dist-es/commands/ListPullRequestsCommand.js +2 -2
- package/dist-es/commands/ListRepositoriesCommand.js +2 -2
- package/dist-es/commands/ListRepositoriesForApprovalRuleTemplateCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/MergeBranchesByFastForwardCommand.js +2 -2
- package/dist-es/commands/MergeBranchesBySquashCommand.js +2 -2
- package/dist-es/commands/MergeBranchesByThreeWayCommand.js +2 -2
- package/dist-es/commands/MergePullRequestByFastForwardCommand.js +2 -2
- package/dist-es/commands/MergePullRequestBySquashCommand.js +2 -2
- package/dist-es/commands/MergePullRequestByThreeWayCommand.js +2 -2
- package/dist-es/commands/OverridePullRequestApprovalRulesCommand.js +2 -2
- package/dist-es/commands/PostCommentForComparedCommitCommand.js +2 -2
- package/dist-es/commands/PostCommentForPullRequestCommand.js +2 -2
- package/dist-es/commands/PostCommentReplyCommand.js +2 -2
- package/dist-es/commands/PutCommentReactionCommand.js +2 -2
- package/dist-es/commands/PutFileCommand.js +2 -2
- package/dist-es/commands/PutRepositoryTriggersCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/TestRepositoryTriggersCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateApprovalRuleTemplateContentCommand.js +2 -2
- package/dist-es/commands/UpdateApprovalRuleTemplateDescriptionCommand.js +2 -2
- package/dist-es/commands/UpdateApprovalRuleTemplateNameCommand.js +2 -2
- package/dist-es/commands/UpdateCommentCommand.js +2 -2
- package/dist-es/commands/UpdateDefaultBranchCommand.js +2 -2
- package/dist-es/commands/UpdatePullRequestApprovalRuleContentCommand.js +2 -2
- package/dist-es/commands/UpdatePullRequestApprovalStateCommand.js +2 -2
- package/dist-es/commands/UpdatePullRequestDescriptionCommand.js +2 -2
- package/dist-es/commands/UpdatePullRequestStatusCommand.js +2 -2
- package/dist-es/commands/UpdatePullRequestTitleCommand.js +2 -2
- package/dist-es/commands/UpdateRepositoryDescriptionCommand.js +2 -2
- package/dist-es/commands/UpdateRepositoryEncryptionKeyCommand.js +2 -2
- package/dist-es/commands/UpdateRepositoryNameCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +7 -6
- package/dist-es/schemas/schemas_0.js +938 -888
- package/dist-types/CodeCommitClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +475 -528
- package/dist-types/ts3.4/CodeCommitClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +474 -528
- package/package.json +34 -34
|
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
|
|
|
5
5
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
-
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type
|
|
8
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { AssociateApprovalRuleTemplateWithRepositoryCommandInput, AssociateApprovalRuleTemplateWithRepositoryCommandOutput } from "./commands/AssociateApprovalRuleTemplateWithRepositoryCommand";
|
|
11
11
|
import { BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput, BatchAssociateApprovalRuleTemplateWithRepositoriesCommandOutput } from "./commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand";
|
|
@@ -220,15 +220,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
220
220
|
* Optional extensions
|
|
221
221
|
*/
|
|
222
222
|
extensions?: RuntimeExtension[];
|
|
223
|
-
/**
|
|
224
|
-
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
225
|
-
* may be overridden. A default will always be set by the client.
|
|
226
|
-
* Available options depend on the service's supported protocols and will not be validated by
|
|
227
|
-
* the client.
|
|
228
|
-
* @alpha
|
|
229
|
-
*
|
|
230
|
-
*/
|
|
231
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
232
223
|
/**
|
|
233
224
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
234
225
|
*/
|
package/dist-types/index.d.ts
CHANGED
|
@@ -394,6 +394,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
394
394
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
395
395
|
export type { CodeCommitExtensionConfiguration } from "./extensionConfiguration";
|
|
396
396
|
export * from "./commands";
|
|
397
|
+
export * from "./schemas/schemas_0";
|
|
397
398
|
export * from "./pagination";
|
|
398
399
|
export * from "./models/enums";
|
|
399
400
|
export * from "./models/errors";
|
|
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: CodeCommitClientConfig) => {
|
|
|
17
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
18
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
19
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
|
-
apiVersion: string;
|
|
21
20
|
cacheMiddleware?: boolean | undefined;
|
|
21
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_1Protocol;
|
|
22
|
+
protocolSettings: {
|
|
23
|
+
defaultNamespace?: string;
|
|
24
|
+
[setting: string]: unknown;
|
|
25
|
+
};
|
|
26
|
+
apiVersion: string;
|
|
22
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
23
28
|
base64Decoder: import("@smithy/types").Decoder;
|
|
24
29
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: CodeCommitClientConfig) => {
|
|
|
29
34
|
profile?: string;
|
|
30
35
|
logger: import("@smithy/types").Logger;
|
|
31
36
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
33
37
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
34
38
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
35
39
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: CodeCommitClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
22
|
-
apiVersion: string;
|
|
23
22
|
cacheMiddleware?: boolean | undefined;
|
|
23
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_1Protocol;
|
|
24
|
+
protocolSettings: {
|
|
25
|
+
defaultNamespace?: string;
|
|
26
|
+
[setting: string]: unknown;
|
|
27
|
+
};
|
|
28
|
+
apiVersion: string;
|
|
24
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
25
30
|
base64Decoder: import("@smithy/types").Decoder;
|
|
26
31
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: CodeCommitClientConfig) => {
|
|
|
31
36
|
profile?: string;
|
|
32
37
|
logger: import("@smithy/types").Logger;
|
|
33
38
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
35
39
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
36
40
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
37
41
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: CodeCommitClientConfig) => {
|
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
|
-
apiVersion: string;
|
|
10
9
|
cacheMiddleware?: boolean;
|
|
10
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_1Protocol;
|
|
11
|
+
protocolSettings: {
|
|
12
|
+
defaultNamespace?: string;
|
|
13
|
+
[setting: string]: unknown;
|
|
14
|
+
};
|
|
15
|
+
apiVersion: string;
|
|
11
16
|
urlParser: import("@smithy/types").UrlParser;
|
|
12
17
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
13
18
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: CodeCommitClientConfig) => {
|
|
|
27
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
33
|
logger: import("@smithy/types").Logger;
|
|
29
34
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
31
35
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
32
36
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
37
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
1
2
|
import type { CodeCommitClientConfig } from "./CodeCommitClient";
|
|
2
3
|
/**
|
|
3
4
|
* @internal
|
|
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: CodeCommitClientConfig) => {
|
|
|
14
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CodeCommitHttpAuthSchemeProvider;
|
|
15
16
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
17
|
logger: import("@smithy/types").Logger;
|
|
17
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").
|
|
18
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsJson1_1Protocol;
|
|
19
|
+
protocolSettings: {
|
|
20
|
+
[setting: string]: unknown;
|
|
21
|
+
defaultNamespace?: string;
|
|
22
|
+
};
|
|
18
23
|
serviceId: string;
|
|
19
24
|
urlParser: import("@smithy/types").UrlParser;
|
|
20
25
|
utf8Decoder: import("@smithy/types").Decoder;
|