Skip to content

Commit 6c5b677

Browse files
author
awstools
committed
docs(client-api-gateway): Documentation updates for Amazon API Gateway
1 parent 920eafe commit 6c5b677

File tree

87 files changed

+1742
-2660
lines changed

Some content is hidden

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

87 files changed

+1742
-2660
lines changed

clients/client-api-gateway/src/APIGateway.ts

Lines changed: 110 additions & 82 deletions
Large diffs are not rendered by default.

clients/client-api-gateway/src/commands/CreateApiKeyCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ export interface CreateApiKeyCommandInput extends CreateApiKeyRequest {}
2323
export interface CreateApiKeyCommandOutput extends ApiKey, __MetadataBearer {}
2424

2525
/**
26-
* <p>Create an <a>ApiKey</a> resource. </p>
27-
* <div class="seeAlso"><a href="https://docs.aws.amazon.com/cli/latest/reference/apigateway/create-api-key.html">AWS CLI</a></div>
26+
* <p>Create an ApiKey resource. </p>
2827
* @example
2928
* Use a bare-bones client and the command you need to make an API call.
3029
* ```javascript

clients/client-api-gateway/src/commands/CreateAuthorizerCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ export interface CreateAuthorizerCommandInput extends CreateAuthorizerRequest {}
2323
export interface CreateAuthorizerCommandOutput extends Authorizer, __MetadataBearer {}
2424

2525
/**
26-
* <p>Adds a new <a>Authorizer</a> resource to an existing <a>RestApi</a> resource.</p>
27-
* <div class="seeAlso"><a href="https://docs.aws.amazon.com/cli/latest/reference/apigateway/create-authorizer.html">AWS CLI</a></div>
26+
* <p>Adds a new Authorizer resource to an existing RestApi resource.</p>
2827
* @example
2928
* Use a bare-bones client and the command you need to make an API call.
3029
* ```javascript

clients/client-api-gateway/src/commands/CreateBasePathMappingCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export interface CreateBasePathMappingCommandInput extends CreateBasePathMapping
2323
export interface CreateBasePathMappingCommandOutput extends BasePathMapping, __MetadataBearer {}
2424

2525
/**
26-
* <p>Creates a new <a>BasePathMapping</a> resource.</p>
26+
* <p>Creates a new BasePathMapping resource.</p>
2727
* @example
2828
* Use a bare-bones client and the command you need to make an API call.
2929
* ```javascript

clients/client-api-gateway/src/commands/CreateDeploymentCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export interface CreateDeploymentCommandInput extends CreateDeploymentRequest {}
2323
export interface CreateDeploymentCommandOutput extends Deployment, __MetadataBearer {}
2424

2525
/**
26-
* <p>Creates a <a>Deployment</a> resource, which makes a specified <a>RestApi</a> callable over the internet.</p>
26+
* <p>Creates a Deployment resource, which makes a specified RestApi callable over the internet.</p>
2727
* @example
2828
* Use a bare-bones client and the command you need to make an API call.
2929
* ```javascript

clients/client-api-gateway/src/commands/CreateDocumentationPartCommand.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,23 @@ import {
2222
export interface CreateDocumentationPartCommandInput extends CreateDocumentationPartRequest {}
2323
export interface CreateDocumentationPartCommandOutput extends DocumentationPart, __MetadataBearer {}
2424

25+
/**
26+
* <p>Creates a documentation part.</p>
27+
* @example
28+
* Use a bare-bones client and the command you need to make an API call.
29+
* ```javascript
30+
* import { APIGatewayClient, CreateDocumentationPartCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
31+
* // const { APIGatewayClient, CreateDocumentationPartCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
32+
* const client = new APIGatewayClient(config);
33+
* const command = new CreateDocumentationPartCommand(input);
34+
* const response = await client.send(command);
35+
* ```
36+
*
37+
* @see {@link CreateDocumentationPartCommandInput} for command's `input` shape.
38+
* @see {@link CreateDocumentationPartCommandOutput} for command's `response` shape.
39+
* @see {@link APIGatewayClientResolvedConfig | config} for APIGatewayClient's `config` shape.
40+
*
41+
*/
2542
export class CreateDocumentationPartCommand extends $Command<
2643
CreateDocumentationPartCommandInput,
2744
CreateDocumentationPartCommandOutput,

clients/client-api-gateway/src/commands/CreateDocumentationVersionCommand.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,23 @@ import {
2222
export interface CreateDocumentationVersionCommandInput extends CreateDocumentationVersionRequest {}
2323
export interface CreateDocumentationVersionCommandOutput extends DocumentationVersion, __MetadataBearer {}
2424

25+
/**
26+
* <p>Creates a documentation version</p>
27+
* @example
28+
* Use a bare-bones client and the command you need to make an API call.
29+
* ```javascript
30+
* import { APIGatewayClient, CreateDocumentationVersionCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import
31+
* // const { APIGatewayClient, CreateDocumentationVersionCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import
32+
* const client = new APIGatewayClient(config);
33+
* const command = new CreateDocumentationVersionCommand(input);
34+
* const response = await client.send(command);
35+
* ```
36+
*
37+
* @see {@link CreateDocumentationVersionCommandInput} for command's `input` shape.
38+
* @see {@link CreateDocumentationVersionCommandOutput} for command's `response` shape.
39+
* @see {@link APIGatewayClientResolvedConfig | config} for APIGatewayClient's `config` shape.
40+
*
41+
*/
2542
export class CreateDocumentationVersionCommand extends $Command<
2643
CreateDocumentationVersionCommandInput,
2744
CreateDocumentationVersionCommandOutput,

clients/client-api-gateway/src/commands/CreateModelCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export interface CreateModelCommandInput extends CreateModelRequest {}
2323
export interface CreateModelCommandOutput extends Model, __MetadataBearer {}
2424

2525
/**
26-
* <p>Adds a new <a>Model</a> resource to an existing <a>RestApi</a> resource.</p>
26+
* <p>Adds a new Model resource to an existing RestApi resource.</p>
2727
* @example
2828
* Use a bare-bones client and the command you need to make an API call.
2929
* ```javascript

clients/client-api-gateway/src/commands/CreateRequestValidatorCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export interface CreateRequestValidatorCommandInput extends CreateRequestValidat
2323
export interface CreateRequestValidatorCommandOutput extends RequestValidator, __MetadataBearer {}
2424

2525
/**
26-
* <p>Creates a <a>ReqeustValidator</a> of a given <a>RestApi</a>.</p>
26+
* <p>Creates a RequestValidator of a given RestApi.</p>
2727
* @example
2828
* Use a bare-bones client and the command you need to make an API call.
2929
* ```javascript

clients/client-api-gateway/src/commands/CreateResourceCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export interface CreateResourceCommandInput extends CreateResourceRequest {}
2323
export interface CreateResourceCommandOutput extends Resource, __MetadataBearer {}
2424

2525
/**
26-
* <p>Creates a <a>Resource</a> resource.</p>
26+
* <p>Creates a Resource resource.</p>
2727
* @example
2828
* Use a bare-bones client and the command you need to make an API call.
2929
* ```javascript

0 commit comments

Comments
 (0)