Skip to content

Commit 56f5862

Browse files
authored
Feat: add AWSClient, ClientResolvedConfiguration, MetadataBearer interfaces (#256)
1 parent bb4c62c commit 56f5862

File tree

582 files changed

+1074
-603
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

582 files changed

+1074
-603
lines changed

packages/client-codecommit-node/CodeCommitClient.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,14 @@ import { InputTypesUnion } from "./types/InputTypesUnion";
3232
import { OutputTypesUnion } from "./types/OutputTypesUnion";
3333
import { clientVersion, ServiceMetadata } from "./model/ServiceMetadata";
3434

35-
export class CodeCommitClient {
36-
protected readonly config: CodeCommitResolvedConfiguration;
35+
export class CodeCommitClient
36+
implements
37+
__aws_sdk_types.AWSClient<
38+
InputTypesUnion,
39+
OutputTypesUnion,
40+
_stream.Readable
41+
> {
42+
readonly config: CodeCommitResolvedConfiguration;
3743

3844
readonly middlewareStack = new __aws_sdk_middleware_stack.MiddlewareStack<
3945
InputTypesUnion,

packages/client-codecommit-node/CodeCommitConfiguration.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,11 @@ export interface CodeCommitResolvableConfiguration
159159
}
160160

161161
export interface CodeCommitResolvedConfiguration
162-
extends CodeCommitConfiguration {
162+
extends CodeCommitConfiguration,
163+
__aws_sdk_types.ClientResolvedConfigurationBase<
164+
OutputTypesUnion,
165+
_stream.Readable
166+
> {
163167
_user_injected_http_handler: boolean;
164168

165169
base64Decoder: __aws_sdk_types.Decoder;

packages/client-codecommit-node/types/BatchGetRepositoriesOutput.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import * as __aws_sdk_types from "@aws-sdk/types";
44
/**
55
* <p>Represents the output of a batch get repositories operation.</p>
66
*/
7-
export interface BatchGetRepositoriesOutput {
7+
export interface BatchGetRepositoriesOutput
8+
extends __aws_sdk_types.MetadataBearer {
89
/**
910
* <p>A list of repositories returned by the batch get repositories operation.</p>
1011
*/

packages/client-codecommit-node/types/CreateBranchOutput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as __aws_sdk_types from "@aws-sdk/types";
33
/**
44
* CreateBranchOutput shape
55
*/
6-
export interface CreateBranchOutput {
6+
export interface CreateBranchOutput extends __aws_sdk_types.MetadataBearer {
77
/**
88
* Metadata about the response received, including the HTTP status code, HTTP headers, and any request identifiers recognized by the SDK.
99
*/

packages/client-codecommit-node/types/CreatePullRequestOutput.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import * as __aws_sdk_types from "@aws-sdk/types";
44
/**
55
* CreatePullRequestOutput shape
66
*/
7-
export interface CreatePullRequestOutput {
7+
export interface CreatePullRequestOutput
8+
extends __aws_sdk_types.MetadataBearer {
89
/**
910
* <p>Information about the newly created pull request.</p>
1011
*/

packages/client-codecommit-node/types/CreateRepositoryOutput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as __aws_sdk_types from "@aws-sdk/types";
44
/**
55
* <p>Represents the output of a create repository operation.</p>
66
*/
7-
export interface CreateRepositoryOutput {
7+
export interface CreateRepositoryOutput extends __aws_sdk_types.MetadataBearer {
88
/**
99
* <p>Information about the newly created repository.</p>
1010
*/

packages/client-codecommit-node/types/DeleteBranchOutput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as __aws_sdk_types from "@aws-sdk/types";
44
/**
55
* <p>Represents the output of a delete branch operation.</p>
66
*/
7-
export interface DeleteBranchOutput {
7+
export interface DeleteBranchOutput extends __aws_sdk_types.MetadataBearer {
88
/**
99
* <p>Information about the branch deleted by the operation, including the branch name and the commit ID that was the tip of the branch.</p>
1010
*/

packages/client-codecommit-node/types/DeleteCommentContentOutput.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import * as __aws_sdk_types from "@aws-sdk/types";
44
/**
55
* DeleteCommentContentOutput shape
66
*/
7-
export interface DeleteCommentContentOutput {
7+
export interface DeleteCommentContentOutput
8+
extends __aws_sdk_types.MetadataBearer {
89
/**
910
* <p>Information about the comment you just deleted.</p>
1011
*/

packages/client-codecommit-node/types/DeleteFileOutput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as __aws_sdk_types from "@aws-sdk/types";
33
/**
44
* DeleteFileOutput shape
55
*/
6-
export interface DeleteFileOutput {
6+
export interface DeleteFileOutput extends __aws_sdk_types.MetadataBearer {
77
/**
88
* <p>The full commit ID of the commit that contains the change that deletes the file.</p>
99
*/

packages/client-codecommit-node/types/DeleteRepositoryOutput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as __aws_sdk_types from "@aws-sdk/types";
33
/**
44
* <p>Represents the output of a delete repository operation.</p>
55
*/
6-
export interface DeleteRepositoryOutput {
6+
export interface DeleteRepositoryOutput extends __aws_sdk_types.MetadataBearer {
77
/**
88
* <p>The ID of the repository that was deleted.</p>
99
*/

packages/client-codecommit-node/types/DescribePullRequestEventsOutput.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import * as __aws_sdk_types from "@aws-sdk/types";
44
/**
55
* DescribePullRequestEventsOutput shape
66
*/
7-
export interface DescribePullRequestEventsOutput {
7+
export interface DescribePullRequestEventsOutput
8+
extends __aws_sdk_types.MetadataBearer {
89
/**
910
* <p>Information about the pull request events.</p>
1011
*/

packages/client-codecommit-node/types/GetBlobOutput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as __aws_sdk_types from "@aws-sdk/types";
33
/**
44
* <p>Represents the output of a get blob operation.</p>
55
*/
6-
export interface GetBlobOutput {
6+
export interface GetBlobOutput extends __aws_sdk_types.MetadataBearer {
77
/**
88
* <p>The content of the blob, usually a file.</p>
99
*/

packages/client-codecommit-node/types/GetBranchOutput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as __aws_sdk_types from "@aws-sdk/types";
44
/**
55
* <p>Represents the output of a get branch operation.</p>
66
*/
7-
export interface GetBranchOutput {
7+
export interface GetBranchOutput extends __aws_sdk_types.MetadataBearer {
88
/**
99
* <p>The name of the branch.</p>
1010
*/

packages/client-codecommit-node/types/GetCommentOutput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as __aws_sdk_types from "@aws-sdk/types";
44
/**
55
* GetCommentOutput shape
66
*/
7-
export interface GetCommentOutput {
7+
export interface GetCommentOutput extends __aws_sdk_types.MetadataBearer {
88
/**
99
* <p>The contents of the comment.</p>
1010
*/

packages/client-codecommit-node/types/GetCommentsForComparedCommitOutput.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import * as __aws_sdk_types from "@aws-sdk/types";
44
/**
55
* GetCommentsForComparedCommitOutput shape
66
*/
7-
export interface GetCommentsForComparedCommitOutput {
7+
export interface GetCommentsForComparedCommitOutput
8+
extends __aws_sdk_types.MetadataBearer {
89
/**
910
* <p>A list of comment objects on the compared commit.</p>
1011
*/

packages/client-codecommit-node/types/GetCommentsForPullRequestOutput.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import * as __aws_sdk_types from "@aws-sdk/types";
44
/**
55
* GetCommentsForPullRequestOutput shape
66
*/
7-
export interface GetCommentsForPullRequestOutput {
7+
export interface GetCommentsForPullRequestOutput
8+
extends __aws_sdk_types.MetadataBearer {
89
/**
910
* <p>An array of comment objects on the pull request.</p>
1011
*/

packages/client-codecommit-node/types/GetCommitOutput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as __aws_sdk_types from "@aws-sdk/types";
44
/**
55
* <p>Represents the output of a get commit operation.</p>
66
*/
7-
export interface GetCommitOutput {
7+
export interface GetCommitOutput extends __aws_sdk_types.MetadataBearer {
88
/**
99
* <p>A commit data type object that contains information about the specified commit.</p>
1010
*/

packages/client-codecommit-node/types/GetDifferencesOutput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as __aws_sdk_types from "@aws-sdk/types";
44
/**
55
* GetDifferencesOutput shape
66
*/
7-
export interface GetDifferencesOutput {
7+
export interface GetDifferencesOutput extends __aws_sdk_types.MetadataBearer {
88
/**
99
* <p>A differences data type object that contains information about the differences, including whether the difference is added, modified, or deleted (A, D, M).</p>
1010
*/

packages/client-codecommit-node/types/GetFileOutput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as __aws_sdk_types from "@aws-sdk/types";
33
/**
44
* GetFileOutput shape
55
*/
6-
export interface GetFileOutput {
6+
export interface GetFileOutput extends __aws_sdk_types.MetadataBearer {
77
/**
88
* <p>The full commit ID of the commit that contains the content returned by GetFile.</p>
99
*/

packages/client-codecommit-node/types/GetFolderOutput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import * as __aws_sdk_types from "@aws-sdk/types";
77
/**
88
* GetFolderOutput shape
99
*/
10-
export interface GetFolderOutput {
10+
export interface GetFolderOutput extends __aws_sdk_types.MetadataBearer {
1111
/**
1212
* <p>The full commit ID used as a reference for which version of the folder content is returned.</p>
1313
*/

packages/client-codecommit-node/types/GetMergeConflictsOutput.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import * as __aws_sdk_types from "@aws-sdk/types";
33
/**
44
* GetMergeConflictsOutput shape
55
*/
6-
export interface GetMergeConflictsOutput {
6+
export interface GetMergeConflictsOutput
7+
extends __aws_sdk_types.MetadataBearer {
78
/**
89
* <p>A Boolean value that indicates whether the code is mergable by the specified merge option.</p>
910
*/

packages/client-codecommit-node/types/GetPullRequestOutput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as __aws_sdk_types from "@aws-sdk/types";
44
/**
55
* GetPullRequestOutput shape
66
*/
7-
export interface GetPullRequestOutput {
7+
export interface GetPullRequestOutput extends __aws_sdk_types.MetadataBearer {
88
/**
99
* <p>Information about the specified pull request.</p>
1010
*/

packages/client-codecommit-node/types/GetRepositoryOutput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as __aws_sdk_types from "@aws-sdk/types";
44
/**
55
* <p>Represents the output of a get repository operation.</p>
66
*/
7-
export interface GetRepositoryOutput {
7+
export interface GetRepositoryOutput extends __aws_sdk_types.MetadataBearer {
88
/**
99
* <p>Information about the repository.</p>
1010
*/

packages/client-codecommit-node/types/GetRepositoryTriggersOutput.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import * as __aws_sdk_types from "@aws-sdk/types";
44
/**
55
* <p>Represents the output of a get repository triggers operation.</p>
66
*/
7-
export interface GetRepositoryTriggersOutput {
7+
export interface GetRepositoryTriggersOutput
8+
extends __aws_sdk_types.MetadataBearer {
89
/**
910
* <p>The system-generated unique ID for the trigger.</p>
1011
*/

packages/client-codecommit-node/types/ListBranchesOutput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as __aws_sdk_types from "@aws-sdk/types";
33
/**
44
* <p>Represents the output of a list branches operation.</p>
55
*/
6-
export interface ListBranchesOutput {
6+
export interface ListBranchesOutput extends __aws_sdk_types.MetadataBearer {
77
/**
88
* <p>The list of branch names.</p>
99
*/

packages/client-codecommit-node/types/ListPullRequestsOutput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as __aws_sdk_types from "@aws-sdk/types";
33
/**
44
* ListPullRequestsOutput shape
55
*/
6-
export interface ListPullRequestsOutput {
6+
export interface ListPullRequestsOutput extends __aws_sdk_types.MetadataBearer {
77
/**
88
* <p>The system-generated IDs of the pull requests.</p>
99
*/

packages/client-codecommit-node/types/ListRepositoriesOutput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as __aws_sdk_types from "@aws-sdk/types";
44
/**
55
* <p>Represents the output of a list repositories operation.</p>
66
*/
7-
export interface ListRepositoriesOutput {
7+
export interface ListRepositoriesOutput extends __aws_sdk_types.MetadataBearer {
88
/**
99
* <p>Lists the repositories called by the list repositories operation.</p>
1010
*/

packages/client-codecommit-node/types/MergePullRequestByFastForwardOutput.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import * as __aws_sdk_types from "@aws-sdk/types";
44
/**
55
* MergePullRequestByFastForwardOutput shape
66
*/
7-
export interface MergePullRequestByFastForwardOutput {
7+
export interface MergePullRequestByFastForwardOutput
8+
extends __aws_sdk_types.MetadataBearer {
89
/**
910
* <p>Information about the specified pull request, including information about the merge.</p>
1011
*/

packages/client-codecommit-node/types/PostCommentForComparedCommitOutput.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ import * as __aws_sdk_types from "@aws-sdk/types";
55
/**
66
* PostCommentForComparedCommitOutput shape
77
*/
8-
export interface PostCommentForComparedCommitOutput {
8+
export interface PostCommentForComparedCommitOutput
9+
extends __aws_sdk_types.MetadataBearer {
910
/**
1011
* <p>The name of the repository where you posted a comment on the comparison between commits.</p>
1112
*/

packages/client-codecommit-node/types/PostCommentForPullRequestOutput.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ import * as __aws_sdk_types from "@aws-sdk/types";
55
/**
66
* PostCommentForPullRequestOutput shape
77
*/
8-
export interface PostCommentForPullRequestOutput {
8+
export interface PostCommentForPullRequestOutput
9+
extends __aws_sdk_types.MetadataBearer {
910
/**
1011
* <p>The name of the repository where you posted a comment on a pull request.</p>
1112
*/

packages/client-codecommit-node/types/PostCommentReplyOutput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as __aws_sdk_types from "@aws-sdk/types";
44
/**
55
* PostCommentReplyOutput shape
66
*/
7-
export interface PostCommentReplyOutput {
7+
export interface PostCommentReplyOutput extends __aws_sdk_types.MetadataBearer {
88
/**
99
* <p>Information about the reply to a comment.</p>
1010
*/

packages/client-codecommit-node/types/PutFileOutput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as __aws_sdk_types from "@aws-sdk/types";
33
/**
44
* PutFileOutput shape
55
*/
6-
export interface PutFileOutput {
6+
export interface PutFileOutput extends __aws_sdk_types.MetadataBearer {
77
/**
88
* <p>The full SHA of the commit that contains this file change.</p>
99
*/

packages/client-codecommit-node/types/PutRepositoryTriggersOutput.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import * as __aws_sdk_types from "@aws-sdk/types";
33
/**
44
* <p>Represents the output of a put repository triggers operation.</p>
55
*/
6-
export interface PutRepositoryTriggersOutput {
6+
export interface PutRepositoryTriggersOutput
7+
extends __aws_sdk_types.MetadataBearer {
78
/**
89
* <p>The system-generated unique ID for the create or update operation.</p>
910
*/

packages/client-codecommit-node/types/TestRepositoryTriggersOutput.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import * as __aws_sdk_types from "@aws-sdk/types";
44
/**
55
* <p>Represents the output of a test repository triggers operation.</p>
66
*/
7-
export interface TestRepositoryTriggersOutput {
7+
export interface TestRepositoryTriggersOutput
8+
extends __aws_sdk_types.MetadataBearer {
89
/**
910
* <p>The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas.</p>
1011
*/

packages/client-codecommit-node/types/UpdateCommentOutput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as __aws_sdk_types from "@aws-sdk/types";
44
/**
55
* UpdateCommentOutput shape
66
*/
7-
export interface UpdateCommentOutput {
7+
export interface UpdateCommentOutput extends __aws_sdk_types.MetadataBearer {
88
/**
99
* <p>Information about the updated comment.</p>
1010
*/

packages/client-codecommit-node/types/UpdateDefaultBranchOutput.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import * as __aws_sdk_types from "@aws-sdk/types";
33
/**
44
* UpdateDefaultBranchOutput shape
55
*/
6-
export interface UpdateDefaultBranchOutput {
6+
export interface UpdateDefaultBranchOutput
7+
extends __aws_sdk_types.MetadataBearer {
78
/**
89
* Metadata about the response received, including the HTTP status code, HTTP headers, and any request identifiers recognized by the SDK.
910
*/

packages/client-codecommit-node/types/UpdatePullRequestDescriptionOutput.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import * as __aws_sdk_types from "@aws-sdk/types";
44
/**
55
* UpdatePullRequestDescriptionOutput shape
66
*/
7-
export interface UpdatePullRequestDescriptionOutput {
7+
export interface UpdatePullRequestDescriptionOutput
8+
extends __aws_sdk_types.MetadataBearer {
89
/**
910
* <p>Information about the updated pull request.</p>
1011
*/

packages/client-codecommit-node/types/UpdatePullRequestStatusOutput.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import * as __aws_sdk_types from "@aws-sdk/types";
44
/**
55
* UpdatePullRequestStatusOutput shape
66
*/
7-
export interface UpdatePullRequestStatusOutput {
7+
export interface UpdatePullRequestStatusOutput
8+
extends __aws_sdk_types.MetadataBearer {
89
/**
910
* <p>Information about the pull request.</p>
1011
*/

packages/client-codecommit-node/types/UpdatePullRequestTitleOutput.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import * as __aws_sdk_types from "@aws-sdk/types";
44
/**
55
* UpdatePullRequestTitleOutput shape
66
*/
7-
export interface UpdatePullRequestTitleOutput {
7+
export interface UpdatePullRequestTitleOutput
8+
extends __aws_sdk_types.MetadataBearer {
89
/**
910
* <p>Information about the updated pull request.</p>
1011
*/

packages/client-codecommit-node/types/UpdateRepositoryDescriptionOutput.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import * as __aws_sdk_types from "@aws-sdk/types";
33
/**
44
* UpdateRepositoryDescriptionOutput shape
55
*/
6-
export interface UpdateRepositoryDescriptionOutput {
6+
export interface UpdateRepositoryDescriptionOutput
7+
extends __aws_sdk_types.MetadataBearer {
78
/**
89
* Metadata about the response received, including the HTTP status code, HTTP headers, and any request identifiers recognized by the SDK.
910
*/

packages/client-codecommit-node/types/UpdateRepositoryNameOutput.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import * as __aws_sdk_types from "@aws-sdk/types";
33
/**
44
* UpdateRepositoryNameOutput shape
55
*/
6-
export interface UpdateRepositoryNameOutput {
6+
export interface UpdateRepositoryNameOutput
7+
extends __aws_sdk_types.MetadataBearer {
78
/**
89
* Metadata about the response received, including the HTTP status code, HTTP headers, and any request identifiers recognized by the SDK.
910
*/

0 commit comments

Comments
 (0)