Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions awscli/examples/apigateway/get-api-key.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
**To get the per-region information about a specific API key**

Command::

aws apigateway get-api-key --api-key 8bklk8bl1k3sB38D9B3l0enyWT8c09B30lkq0blk --region us-west-2

Output::

{
"description": "My first key",
"enabled": true,
"stageKeys": [
"a1b2c3d4e5/dev",
"e5d4c3b2a1/dev"
],
"lastUpdatedDate": 1456184515,
"createdDate": 1456184452,
"id": "8bklk8bl1k3sB38D9B3l0enyWT8c09B30lkq0blk",
"name": "My key"
}

17 changes: 17 additions & 0 deletions awscli/examples/apigateway/get-authorizer.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
**To get the API Gateway per-API Authorizer settings**

Command::

aws apigateway get-authorizer --rest-api-id 1234123412 --authorizer-id gfi4n3 --region us-west-2

Output::

{
"authorizerResultTtlInSeconds": 300,
"name": "MyAuthorizer",
"type": "TOKEN",
"identitySource": "method.request.header.Authorization",
"authorizerUri": "arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:123412341234:function:authorizer_function/invocations",
"id": "gfi4n3"
}

14 changes: 14 additions & 0 deletions awscli/examples/apigateway/get-base-path-mapping.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
**To get the per-region base path mapping for a custom domain name**

Command::

aws apigateway get-base-path-mapping --domain-name subdomain.domain.tld --base-path v1 --region us-west-2

Output::

{
"basePath": "v1",
"restApiId": "1234w4321e",
"stage": "api"
}

2 changes: 1 addition & 1 deletion awscli/examples/apigateway/get-base-path-mappings.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
**To get the per-region base path mapping for a custom domain name**
**To get the per-region base path mappings for a custom domain name**

Command::

Expand Down