Skip to content

Commit 3788909

Browse files
authored
docs(client): use interface for command input and output (#2274)
* feat(client-documentation-generator): change command io to interface from type * docs(client): use interface for command input and output It will save users 1 click to go from command to input/output interface definition by getting rid of type alias. * fix(protocol_tests): update protocol test
1 parent 9ab71e8 commit 3788909

File tree

9,622 files changed

+23207
-19820
lines changed

Some content is hidden

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

9,622 files changed

+23207
-19820
lines changed

clients/client-accessanalyzer/commands/ApplyArchiveRuleCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type ApplyArchiveRuleCommandInput = ApplyArchiveRuleRequest;
21-
export type ApplyArchiveRuleCommandOutput = __MetadataBearer;
20+
export interface ApplyArchiveRuleCommandInput extends ApplyArchiveRuleRequest {}
21+
export interface ApplyArchiveRuleCommandOutput extends __MetadataBearer {}
2222

2323
/**
2424
* <p>Retroactively applies the archive rule to existing findings that meet the archive rule

clients/client-accessanalyzer/commands/CancelPolicyGenerationCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type CancelPolicyGenerationCommandInput = CancelPolicyGenerationRequest;
21-
export type CancelPolicyGenerationCommandOutput = CancelPolicyGenerationResponse & __MetadataBearer;
20+
export interface CancelPolicyGenerationCommandInput extends CancelPolicyGenerationRequest {}
21+
export interface CancelPolicyGenerationCommandOutput extends CancelPolicyGenerationResponse, __MetadataBearer {}
2222

2323
/**
2424
* <p>Cancels the requested policy generation.</p>

clients/client-accessanalyzer/commands/CreateAccessPreviewCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type CreateAccessPreviewCommandInput = CreateAccessPreviewRequest;
21-
export type CreateAccessPreviewCommandOutput = CreateAccessPreviewResponse & __MetadataBearer;
20+
export interface CreateAccessPreviewCommandInput extends CreateAccessPreviewRequest {}
21+
export interface CreateAccessPreviewCommandOutput extends CreateAccessPreviewResponse, __MetadataBearer {}
2222

2323
/**
2424
* <p>Creates an access preview that allows you to preview Access Analyzer findings for your resource

clients/client-accessanalyzer/commands/CreateAnalyzerCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type CreateAnalyzerCommandInput = CreateAnalyzerRequest;
21-
export type CreateAnalyzerCommandOutput = CreateAnalyzerResponse & __MetadataBearer;
20+
export interface CreateAnalyzerCommandInput extends CreateAnalyzerRequest {}
21+
export interface CreateAnalyzerCommandOutput extends CreateAnalyzerResponse, __MetadataBearer {}
2222

2323
/**
2424
* <p>Creates an analyzer for your account.</p>

clients/client-accessanalyzer/commands/CreateArchiveRuleCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type CreateArchiveRuleCommandInput = CreateArchiveRuleRequest;
21-
export type CreateArchiveRuleCommandOutput = __MetadataBearer;
20+
export interface CreateArchiveRuleCommandInput extends CreateArchiveRuleRequest {}
21+
export interface CreateArchiveRuleCommandOutput extends __MetadataBearer {}
2222

2323
/**
2424
* <p>Creates an archive rule for the specified analyzer. Archive rules automatically archive

clients/client-accessanalyzer/commands/DeleteAnalyzerCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type DeleteAnalyzerCommandInput = DeleteAnalyzerRequest;
21-
export type DeleteAnalyzerCommandOutput = __MetadataBearer;
20+
export interface DeleteAnalyzerCommandInput extends DeleteAnalyzerRequest {}
21+
export interface DeleteAnalyzerCommandOutput extends __MetadataBearer {}
2222

2323
/**
2424
* <p>Deletes the specified analyzer. When you delete an analyzer, Access Analyzer is disabled for the

clients/client-accessanalyzer/commands/DeleteArchiveRuleCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type DeleteArchiveRuleCommandInput = DeleteArchiveRuleRequest;
21-
export type DeleteArchiveRuleCommandOutput = __MetadataBearer;
20+
export interface DeleteArchiveRuleCommandInput extends DeleteArchiveRuleRequest {}
21+
export interface DeleteArchiveRuleCommandOutput extends __MetadataBearer {}
2222

2323
/**
2424
* <p>Deletes the specified archive rule.</p>

clients/client-accessanalyzer/commands/GetAccessPreviewCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type GetAccessPreviewCommandInput = GetAccessPreviewRequest;
21-
export type GetAccessPreviewCommandOutput = GetAccessPreviewResponse & __MetadataBearer;
20+
export interface GetAccessPreviewCommandInput extends GetAccessPreviewRequest {}
21+
export interface GetAccessPreviewCommandOutput extends GetAccessPreviewResponse, __MetadataBearer {}
2222

2323
/**
2424
* <p>Retrieves information about an access preview for the specified analyzer.</p>

clients/client-accessanalyzer/commands/GetAnalyzedResourceCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type GetAnalyzedResourceCommandInput = GetAnalyzedResourceRequest;
21-
export type GetAnalyzedResourceCommandOutput = GetAnalyzedResourceResponse & __MetadataBearer;
20+
export interface GetAnalyzedResourceCommandInput extends GetAnalyzedResourceRequest {}
21+
export interface GetAnalyzedResourceCommandOutput extends GetAnalyzedResourceResponse, __MetadataBearer {}
2222

2323
/**
2424
* <p>Retrieves information about a resource that was analyzed.</p>

clients/client-accessanalyzer/commands/GetAnalyzerCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type GetAnalyzerCommandInput = GetAnalyzerRequest;
21-
export type GetAnalyzerCommandOutput = GetAnalyzerResponse & __MetadataBearer;
20+
export interface GetAnalyzerCommandInput extends GetAnalyzerRequest {}
21+
export interface GetAnalyzerCommandOutput extends GetAnalyzerResponse, __MetadataBearer {}
2222

2323
/**
2424
* <p>Retrieves information about the specified analyzer.</p>

clients/client-accessanalyzer/commands/GetArchiveRuleCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type GetArchiveRuleCommandInput = GetArchiveRuleRequest;
21-
export type GetArchiveRuleCommandOutput = GetArchiveRuleResponse & __MetadataBearer;
20+
export interface GetArchiveRuleCommandInput extends GetArchiveRuleRequest {}
21+
export interface GetArchiveRuleCommandOutput extends GetArchiveRuleResponse, __MetadataBearer {}
2222

2323
/**
2424
* <p>Retrieves information about an archive rule.</p>

clients/client-accessanalyzer/commands/GetFindingCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type GetFindingCommandInput = GetFindingRequest;
21-
export type GetFindingCommandOutput = GetFindingResponse & __MetadataBearer;
20+
export interface GetFindingCommandInput extends GetFindingRequest {}
21+
export interface GetFindingCommandOutput extends GetFindingResponse, __MetadataBearer {}
2222

2323
/**
2424
* <p>Retrieves information about the specified finding.</p>

clients/client-accessanalyzer/commands/GetGeneratedPolicyCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type GetGeneratedPolicyCommandInput = GetGeneratedPolicyRequest;
21-
export type GetGeneratedPolicyCommandOutput = GetGeneratedPolicyResponse & __MetadataBearer;
20+
export interface GetGeneratedPolicyCommandInput extends GetGeneratedPolicyRequest {}
21+
export interface GetGeneratedPolicyCommandOutput extends GetGeneratedPolicyResponse, __MetadataBearer {}
2222

2323
/**
2424
* <p>Retrieves the policy that was generated using <code>StartPolicyGeneration</code>.

clients/client-accessanalyzer/commands/ListAccessPreviewFindingsCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type ListAccessPreviewFindingsCommandInput = ListAccessPreviewFindingsRequest;
21-
export type ListAccessPreviewFindingsCommandOutput = ListAccessPreviewFindingsResponse & __MetadataBearer;
20+
export interface ListAccessPreviewFindingsCommandInput extends ListAccessPreviewFindingsRequest {}
21+
export interface ListAccessPreviewFindingsCommandOutput extends ListAccessPreviewFindingsResponse, __MetadataBearer {}
2222

2323
/**
2424
* <p>Retrieves a list of access preview findings generated by the specified access

clients/client-accessanalyzer/commands/ListAccessPreviewsCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type ListAccessPreviewsCommandInput = ListAccessPreviewsRequest;
21-
export type ListAccessPreviewsCommandOutput = ListAccessPreviewsResponse & __MetadataBearer;
20+
export interface ListAccessPreviewsCommandInput extends ListAccessPreviewsRequest {}
21+
export interface ListAccessPreviewsCommandOutput extends ListAccessPreviewsResponse, __MetadataBearer {}
2222

2323
/**
2424
* <p>Retrieves a list of access previews for the specified analyzer.</p>

clients/client-accessanalyzer/commands/ListAnalyzedResourcesCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type ListAnalyzedResourcesCommandInput = ListAnalyzedResourcesRequest;
21-
export type ListAnalyzedResourcesCommandOutput = ListAnalyzedResourcesResponse & __MetadataBearer;
20+
export interface ListAnalyzedResourcesCommandInput extends ListAnalyzedResourcesRequest {}
21+
export interface ListAnalyzedResourcesCommandOutput extends ListAnalyzedResourcesResponse, __MetadataBearer {}
2222

2323
/**
2424
* <p>Retrieves a list of resources of the specified type that have been analyzed by the

clients/client-accessanalyzer/commands/ListAnalyzersCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type ListAnalyzersCommandInput = ListAnalyzersRequest;
21-
export type ListAnalyzersCommandOutput = ListAnalyzersResponse & __MetadataBearer;
20+
export interface ListAnalyzersCommandInput extends ListAnalyzersRequest {}
21+
export interface ListAnalyzersCommandOutput extends ListAnalyzersResponse, __MetadataBearer {}
2222

2323
/**
2424
* <p>Retrieves a list of analyzers.</p>

clients/client-accessanalyzer/commands/ListArchiveRulesCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type ListArchiveRulesCommandInput = ListArchiveRulesRequest;
21-
export type ListArchiveRulesCommandOutput = ListArchiveRulesResponse & __MetadataBearer;
20+
export interface ListArchiveRulesCommandInput extends ListArchiveRulesRequest {}
21+
export interface ListArchiveRulesCommandOutput extends ListArchiveRulesResponse, __MetadataBearer {}
2222

2323
/**
2424
* <p>Retrieves a list of archive rules created for the specified analyzer.</p>

clients/client-accessanalyzer/commands/ListFindingsCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type ListFindingsCommandInput = ListFindingsRequest;
21-
export type ListFindingsCommandOutput = ListFindingsResponse & __MetadataBearer;
20+
export interface ListFindingsCommandInput extends ListFindingsRequest {}
21+
export interface ListFindingsCommandOutput extends ListFindingsResponse, __MetadataBearer {}
2222

2323
/**
2424
* <p>Retrieves a list of findings generated by the specified analyzer.</p>

clients/client-accessanalyzer/commands/ListPolicyGenerationsCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type ListPolicyGenerationsCommandInput = ListPolicyGenerationsRequest;
21-
export type ListPolicyGenerationsCommandOutput = ListPolicyGenerationsResponse & __MetadataBearer;
20+
export interface ListPolicyGenerationsCommandInput extends ListPolicyGenerationsRequest {}
21+
export interface ListPolicyGenerationsCommandOutput extends ListPolicyGenerationsResponse, __MetadataBearer {}
2222

2323
/**
2424
* <p>Lists all of the policy generations requested in the last seven days.</p>

clients/client-accessanalyzer/commands/ListTagsForResourceCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type ListTagsForResourceCommandInput = ListTagsForResourceRequest;
21-
export type ListTagsForResourceCommandOutput = ListTagsForResourceResponse & __MetadataBearer;
20+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
21+
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
2222

2323
/**
2424
* <p>Retrieves a list of tags applied to the specified resource.</p>

clients/client-accessanalyzer/commands/StartPolicyGenerationCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type StartPolicyGenerationCommandInput = StartPolicyGenerationRequest;
21-
export type StartPolicyGenerationCommandOutput = StartPolicyGenerationResponse & __MetadataBearer;
20+
export interface StartPolicyGenerationCommandInput extends StartPolicyGenerationRequest {}
21+
export interface StartPolicyGenerationCommandOutput extends StartPolicyGenerationResponse, __MetadataBearer {}
2222

2323
/**
2424
* <p>Starts the policy generation request.</p>

clients/client-accessanalyzer/commands/StartResourceScanCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type StartResourceScanCommandInput = StartResourceScanRequest;
21-
export type StartResourceScanCommandOutput = __MetadataBearer;
20+
export interface StartResourceScanCommandInput extends StartResourceScanRequest {}
21+
export interface StartResourceScanCommandOutput extends __MetadataBearer {}
2222

2323
/**
2424
* <p>Immediately starts a scan of the policies applied to the specified resource.</p>

clients/client-accessanalyzer/commands/TagResourceCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type TagResourceCommandInput = TagResourceRequest;
21-
export type TagResourceCommandOutput = TagResourceResponse & __MetadataBearer;
20+
export interface TagResourceCommandInput extends TagResourceRequest {}
21+
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
2222

2323
/**
2424
* <p>Adds a tag to the specified resource.</p>

clients/client-accessanalyzer/commands/UntagResourceCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type UntagResourceCommandInput = UntagResourceRequest;
21-
export type UntagResourceCommandOutput = UntagResourceResponse & __MetadataBearer;
20+
export interface UntagResourceCommandInput extends UntagResourceRequest {}
21+
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
2222

2323
/**
2424
* <p>Removes a tag from the specified resource.</p>

clients/client-accessanalyzer/commands/UpdateArchiveRuleCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type UpdateArchiveRuleCommandInput = UpdateArchiveRuleRequest;
21-
export type UpdateArchiveRuleCommandOutput = __MetadataBearer;
20+
export interface UpdateArchiveRuleCommandInput extends UpdateArchiveRuleRequest {}
21+
export interface UpdateArchiveRuleCommandOutput extends __MetadataBearer {}
2222

2323
/**
2424
* <p>Updates the criteria and values for the specified archive rule.</p>

clients/client-accessanalyzer/commands/UpdateFindingsCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type UpdateFindingsCommandInput = UpdateFindingsRequest;
21-
export type UpdateFindingsCommandOutput = __MetadataBearer;
20+
export interface UpdateFindingsCommandInput extends UpdateFindingsRequest {}
21+
export interface UpdateFindingsCommandOutput extends __MetadataBearer {}
2222

2323
/**
2424
* <p>Updates the status for the specified findings.</p>

clients/client-accessanalyzer/commands/ValidatePolicyCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type ValidatePolicyCommandInput = ValidatePolicyRequest;
21-
export type ValidatePolicyCommandOutput = ValidatePolicyResponse & __MetadataBearer;
20+
export interface ValidatePolicyCommandInput extends ValidatePolicyRequest {}
21+
export interface ValidatePolicyCommandOutput extends ValidatePolicyResponse, __MetadataBearer {}
2222

2323
/**
2424
* <p>Requests the validation of a policy and returns a list of findings. The findings help

clients/client-acm-pca/commands/CreateCertificateAuthorityAuditReportCommand.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ import {
2020
SerdeContext as __SerdeContext,
2121
} from "@aws-sdk/types";
2222

23-
export type CreateCertificateAuthorityAuditReportCommandInput = CreateCertificateAuthorityAuditReportRequest;
24-
export type CreateCertificateAuthorityAuditReportCommandOutput = CreateCertificateAuthorityAuditReportResponse &
25-
__MetadataBearer;
23+
export interface CreateCertificateAuthorityAuditReportCommandInput
24+
extends CreateCertificateAuthorityAuditReportRequest {}
25+
export interface CreateCertificateAuthorityAuditReportCommandOutput
26+
extends CreateCertificateAuthorityAuditReportResponse,
27+
__MetadataBearer {}
2628

2729
/**
2830
* <p>Creates an audit report that lists every time that your CA private key is used. The

clients/client-acm-pca/commands/CreateCertificateAuthorityCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type CreateCertificateAuthorityCommandInput = CreateCertificateAuthorityRequest;
21-
export type CreateCertificateAuthorityCommandOutput = CreateCertificateAuthorityResponse & __MetadataBearer;
20+
export interface CreateCertificateAuthorityCommandInput extends CreateCertificateAuthorityRequest {}
21+
export interface CreateCertificateAuthorityCommandOutput extends CreateCertificateAuthorityResponse, __MetadataBearer {}
2222

2323
/**
2424
* <p>Creates a root or subordinate private certificate authority (CA). You must specify the

clients/client-acm-pca/commands/CreatePermissionCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type CreatePermissionCommandInput = CreatePermissionRequest;
21-
export type CreatePermissionCommandOutput = __MetadataBearer;
20+
export interface CreatePermissionCommandInput extends CreatePermissionRequest {}
21+
export interface CreatePermissionCommandOutput extends __MetadataBearer {}
2222

2323
/**
2424
* <p>Grants one or more permissions on a private CA to the AWS Certificate Manager (ACM) service

clients/client-acm-pca/commands/DeleteCertificateAuthorityCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type DeleteCertificateAuthorityCommandInput = DeleteCertificateAuthorityRequest;
21-
export type DeleteCertificateAuthorityCommandOutput = __MetadataBearer;
20+
export interface DeleteCertificateAuthorityCommandInput extends DeleteCertificateAuthorityRequest {}
21+
export interface DeleteCertificateAuthorityCommandOutput extends __MetadataBearer {}
2222

2323
/**
2424
* <p>Deletes a private certificate authority (CA). You must provide the Amazon Resource

clients/client-acm-pca/commands/DeletePermissionCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type DeletePermissionCommandInput = DeletePermissionRequest;
21-
export type DeletePermissionCommandOutput = __MetadataBearer;
20+
export interface DeletePermissionCommandInput extends DeletePermissionRequest {}
21+
export interface DeletePermissionCommandOutput extends __MetadataBearer {}
2222

2323
/**
2424
* <p>Revokes permissions on a private CA granted to the AWS Certificate Manager (ACM) service principal

clients/client-acm-pca/commands/DeletePolicyCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
SerdeContext as __SerdeContext,
1818
} from "@aws-sdk/types";
1919

20-
export type DeletePolicyCommandInput = DeletePolicyRequest;
21-
export type DeletePolicyCommandOutput = __MetadataBearer;
20+
export interface DeletePolicyCommandInput extends DeletePolicyRequest {}
21+
export interface DeletePolicyCommandOutput extends __MetadataBearer {}
2222

2323
/**
2424
* <p>Deletes the resource-based policy attached to a private CA. Deletion will remove any

clients/client-acm-pca/commands/DescribeCertificateAuthorityAuditReportCommand.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ import {
2020
SerdeContext as __SerdeContext,
2121
} from "@aws-sdk/types";
2222

23-
export type DescribeCertificateAuthorityAuditReportCommandInput = DescribeCertificateAuthorityAuditReportRequest;
24-
export type DescribeCertificateAuthorityAuditReportCommandOutput = DescribeCertificateAuthorityAuditReportResponse &
25-
__MetadataBearer;
23+
export interface DescribeCertificateAuthorityAuditReportCommandInput
24+
extends DescribeCertificateAuthorityAuditReportRequest {}
25+
export interface DescribeCertificateAuthorityAuditReportCommandOutput
26+
extends DescribeCertificateAuthorityAuditReportResponse,
27+
__MetadataBearer {}
2628

2729
/**
2830
* <p>Lists information about a specific audit report created by calling the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_CreateCertificateAuthorityAuditReport.html">CreateCertificateAuthorityAuditReport</a> action. Audit information is created

0 commit comments

Comments
 (0)