Skip to content

Commit

Permalink
docs(clients): fix a typo in command examples (#2354)
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanZhengYP authored May 6, 2021
1 parent 2165d4a commit 89403aa
Show file tree
Hide file tree
Showing 9,606 changed files with 9,606 additions and 9,606 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface ApplyArchiveRuleCommandOutput extends __MetadataBearer {}
* <p>Retroactively applies the archive rule to existing findings that meet the archive rule
* criteria.</p>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { AccessAnalyzerClient, ApplyArchiveRuleCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
* // const { AccessAnalyzerClient, ApplyArchiveRuleCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export interface CancelPolicyGenerationCommandOutput extends CancelPolicyGenerat
/**
* <p>Cancels the requested policy generation.</p>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { AccessAnalyzerClient, CancelPolicyGenerationCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
* // const { AccessAnalyzerClient, CancelPolicyGenerationCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface CreateAccessPreviewCommandOutput extends CreateAccessPreviewRes
* <p>Creates an access preview that allows you to preview Access Analyzer findings for your resource
* before deploying resource permissions.</p>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { AccessAnalyzerClient, CreateAccessPreviewCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
* // const { AccessAnalyzerClient, CreateAccessPreviewCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export interface CreateAnalyzerCommandOutput extends CreateAnalyzerResponse, __M
/**
* <p>Creates an analyzer for your account.</p>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { AccessAnalyzerClient, CreateAnalyzerCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
* // const { AccessAnalyzerClient, CreateAnalyzerCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface CreateArchiveRuleCommandOutput extends __MetadataBearer {}
* <p>To learn about filter keys that you can use to create an archive rule, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-reference-filter-keys.html">Access Analyzer filter keys</a> in the <b>IAM User
* Guide</b>.</p>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { AccessAnalyzerClient, CreateArchiveRuleCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
* // const { AccessAnalyzerClient, CreateArchiveRuleCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export interface DeleteAnalyzerCommandOutput extends __MetadataBearer {}
* account or organization in the current or specific Region. All findings that were generated
* by the analyzer are deleted. You cannot undo this action.</p>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { AccessAnalyzerClient, DeleteAnalyzerCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
* // const { AccessAnalyzerClient, DeleteAnalyzerCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export interface DeleteArchiveRuleCommandOutput extends __MetadataBearer {}
/**
* <p>Deletes the specified archive rule.</p>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { AccessAnalyzerClient, DeleteArchiveRuleCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
* // const { AccessAnalyzerClient, DeleteArchiveRuleCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export interface GetAccessPreviewCommandOutput extends GetAccessPreviewResponse,
/**
* <p>Retrieves information about an access preview for the specified analyzer.</p>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { AccessAnalyzerClient, GetAccessPreviewCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
* // const { AccessAnalyzerClient, GetAccessPreviewCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export interface GetAnalyzedResourceCommandOutput extends GetAnalyzedResourceRes
/**
* <p>Retrieves information about a resource that was analyzed.</p>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { AccessAnalyzerClient, GetAnalyzedResourceCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
* // const { AccessAnalyzerClient, GetAnalyzedResourceCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export interface GetAnalyzerCommandOutput extends GetAnalyzerResponse, __Metadat
/**
* <p>Retrieves information about the specified analyzer.</p>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { AccessAnalyzerClient, GetAnalyzerCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
* // const { AccessAnalyzerClient, GetAnalyzerCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export interface GetArchiveRuleCommandOutput extends GetArchiveRuleResponse, __M
* <p>To learn about filter keys that you can use to create an archive rule, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-reference-filter-keys.html">Access Analyzer filter keys</a> in the <b>IAM User
* Guide</b>.</p>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { AccessAnalyzerClient, GetArchiveRuleCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
* // const { AccessAnalyzerClient, GetArchiveRuleCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export interface GetFindingCommandOutput extends GetFindingResponse, __MetadataB
/**
* <p>Retrieves information about the specified finding.</p>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { AccessAnalyzerClient, GetFindingCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
* // const { AccessAnalyzerClient, GetFindingCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface GetGeneratedPolicyCommandOutput extends GetGeneratedPolicyRespo
* <p>Retrieves the policy that was generated using <code>StartPolicyGeneration</code>.
* </p>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { AccessAnalyzerClient, GetGeneratedPolicyCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
* // const { AccessAnalyzerClient, GetGeneratedPolicyCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface ListAccessPreviewFindingsCommandOutput extends ListAccessPrevie
* <p>Retrieves a list of access preview findings generated by the specified access
* preview.</p>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { AccessAnalyzerClient, ListAccessPreviewFindingsCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
* // const { AccessAnalyzerClient, ListAccessPreviewFindingsCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export interface ListAccessPreviewsCommandOutput extends ListAccessPreviewsRespo
/**
* <p>Retrieves a list of access previews for the specified analyzer.</p>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { AccessAnalyzerClient, ListAccessPreviewsCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
* // const { AccessAnalyzerClient, ListAccessPreviewsCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface ListAnalyzedResourcesCommandOutput extends ListAnalyzedResource
* <p>Retrieves a list of resources of the specified type that have been analyzed by the
* specified analyzer..</p>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { AccessAnalyzerClient, ListAnalyzedResourcesCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
* // const { AccessAnalyzerClient, ListAnalyzedResourcesCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export interface ListAnalyzersCommandOutput extends ListAnalyzersResponse, __Met
/**
* <p>Retrieves a list of analyzers.</p>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { AccessAnalyzerClient, ListAnalyzersCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
* // const { AccessAnalyzerClient, ListAnalyzersCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export interface ListArchiveRulesCommandOutput extends ListArchiveRulesResponse,
/**
* <p>Retrieves a list of archive rules created for the specified analyzer.</p>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { AccessAnalyzerClient, ListArchiveRulesCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
* // const { AccessAnalyzerClient, ListArchiveRulesCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export interface ListFindingsCommandOutput extends ListFindingsResponse, __Metad
* <p>To learn about filter keys that you can use to retrieve a list of findings, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-reference-filter-keys.html">Access Analyzer filter keys</a> in the <b>IAM User
* Guide</b>.</p>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { AccessAnalyzerClient, ListFindingsCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
* // const { AccessAnalyzerClient, ListFindingsCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export interface ListPolicyGenerationsCommandOutput extends ListPolicyGeneration
/**
* <p>Lists all of the policy generations requested in the last seven days.</p>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { AccessAnalyzerClient, ListPolicyGenerationsCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
* // const { AccessAnalyzerClient, ListPolicyGenerationsCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
/**
* <p>Retrieves a list of tags applied to the specified resource.</p>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { AccessAnalyzerClient, ListTagsForResourceCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
* // const { AccessAnalyzerClient, ListTagsForResourceCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export interface StartPolicyGenerationCommandOutput extends StartPolicyGeneratio
/**
* <p>Starts the policy generation request.</p>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { AccessAnalyzerClient, StartPolicyGenerationCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
* // const { AccessAnalyzerClient, StartPolicyGenerationCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export interface StartResourceScanCommandOutput extends __MetadataBearer {}
/**
* <p>Immediately starts a scan of the policies applied to the specified resource.</p>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { AccessAnalyzerClient, StartResourceScanCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
* // const { AccessAnalyzerClient, StartResourceScanCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
/**
* <p>Adds a tag to the specified resource.</p>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { AccessAnalyzerClient, TagResourceCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
* // const { AccessAnalyzerClient, TagResourceCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
/**
* <p>Removes a tag from the specified resource.</p>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { AccessAnalyzerClient, UntagResourceCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
* // const { AccessAnalyzerClient, UntagResourceCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export interface UpdateArchiveRuleCommandOutput extends __MetadataBearer {}
/**
* <p>Updates the criteria and values for the specified archive rule.</p>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { AccessAnalyzerClient, UpdateArchiveRuleCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
* // const { AccessAnalyzerClient, UpdateArchiveRuleCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export interface UpdateFindingsCommandOutput extends __MetadataBearer {}
/**
* <p>Updates the status for the specified findings.</p>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { AccessAnalyzerClient, UpdateFindingsCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
* // const { AccessAnalyzerClient, UpdateFindingsCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export interface ValidatePolicyCommandOutput extends ValidatePolicyResponse, __M
* you identify issues and provide actionable recommendations to resolve the issue and enable
* you to author functional policies that meet security best practices. </p>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { AccessAnalyzerClient, ValidatePolicyCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
* // const { AccessAnalyzerClient, ValidatePolicyCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export interface CreateCertificateAuthorityAuditReportCommandOutput
* For more information, see <a href="https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaAuditReport.html#audit-report-encryption">Encrypting Your Audit
* Reports</a>.</p>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { ACMPCAClient, CreateCertificateAuthorityAuditReportCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
* // const { ACMPCAClient, CreateCertificateAuthorityAuditReportCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export interface CreateCertificateAuthorityCommandOutput extends CreateCertifica
* Access to ACM Private CA</a>.</p>
* </note>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { ACMPCAClient, CreateCertificateAuthorityCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
* // const { ACMPCAClient, CreateCertificateAuthorityCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
Expand Down
2 changes: 1 addition & 1 deletion clients/client-acm-pca/commands/CreatePermissionCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export interface CreatePermissionCommandOutput extends __MetadataBearer {}
* </li>
* </ul>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { ACMPCAClient, CreatePermissionCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
* // const { ACMPCAClient, CreatePermissionCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export interface DeleteCertificateAuthorityCommandOutput extends __MetadataBeare
* restoration window of a private CA in the <code>DELETED</code> state. To restore an
* eligible CA, call the <a href="https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_RestoreCertificateAuthority.html">RestoreCertificateAuthority</a> action.</p>
* @example
* User a bare-bones client and the command you need to make an API call.
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { ACMPCAClient, DeleteCertificateAuthorityCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
* // const { ACMPCAClient, DeleteCertificateAuthorityCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
Expand Down
Loading

0 comments on commit 89403aa

Please sign in to comment.