aws apigateway124 CLI commands available for Amazon API Gateway.
| Command | API Operation | Sample |
|---|---|---|
create-api-keyCreate an ApiKey resource. | CreateApiKey | |
create-authorizerAdds a new Authorizer resource to an existing RestApi resource. | CreateAuthorizer | |
create-base-path-mappingCreates a new BasePathMapping resource. | CreateBasePathMapping | |
create-deploymentCreates a Deployment resource, which makes a specified RestApi callable over the internet. | CreateDeployment | |
create-documentation-partCreates a documentation part. | CreateDocumentationPart | |
create-documentation-versionCreates a documentation version | CreateDocumentationVersion | |
create-domain-nameCreates a new domain name. | CreateDomainName | |
create-domain-name-access-associationCreates a domain name access association resource between an access association source and a private custom domain name. | CreateDomainNameAccessAssociation | |
create-modelAdds a new Model resource to an existing RestApi resource. | CreateModel | |
create-request-validatorCreates a RequestValidator of a given RestApi. | CreateRequestValidator | |
create-resourceCreates a Resource resource. | CreateResource | |
create-rest-apiCreates a new RestApi resource. | CreateRestApi | |
create-stageCreates a new Stage resource that references a pre-existing Deployment for the API. | CreateStage | |
create-usage-planCreates a usage plan with the throttle and quota limits, as well as the associated API stages, specified in the payload. | CreateUsagePlan | |
create-usage-plan-keyCreates a usage plan key for adding an existing API key to a usage plan. | CreateUsagePlanKey | |
create-vpc-linkCreates a VPC link, under the caller's account in a selected region, in an asynchronous operation that typically takes 2-4 minutes to complete and become operational. The caller must have permissions to create and update VPC Endpoint services. | CreateVpcLink | |
delete-api-keyDeletes the ApiKey resource. | DeleteApiKey | |
delete-authorizerDeletes an existing Authorizer resource. | DeleteAuthorizer | |
delete-base-path-mappingDeletes the BasePathMapping resource. | DeleteBasePathMapping | |
delete-client-certificateDeletes the ClientCertificate resource. | DeleteClientCertificate | |
delete-deploymentDeletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage resources associated with it. | DeleteDeployment | |
delete-documentation-partDeletes a documentation part | DeleteDocumentationPart | |
delete-documentation-versionDeletes a documentation version. | DeleteDocumentationVersion | |
delete-domain-nameDeletes the DomainName resource. | DeleteDomainName | |
delete-domain-name-access-associationDeletes the DomainNameAccessAssociation resource. Only the AWS account that created the DomainNameAccessAssociation resource can delete it. To stop an access association source in another AWS account from accessing your private custom domain name, use the RejectDomainNameAccessAssociation operation | DeleteDomainNameAccessAssociation | |
delete-gateway-responseClears any customization of a GatewayResponse of a specified response type on the given RestApi and resets it with the default settings. | DeleteGatewayResponse | |
delete-integrationRepresents a delete integration. | DeleteIntegration | |
delete-integration-responseRepresents a delete integration response. | DeleteIntegrationResponse | |
delete-methodDeletes an existing Method resource. | DeleteMethod | |
delete-method-responseDeletes an existing MethodResponse resource. | DeleteMethodResponse | |
delete-modelDeletes a model. | DeleteModel | |
delete-request-validatorDeletes a RequestValidator of a given RestApi. | DeleteRequestValidator | |
delete-resourceDeletes a Resource resource. | DeleteResource | |
delete-rest-apiDeletes the specified API. | DeleteRestApi | |
delete-stageDeletes a Stage resource. | DeleteStage | |
delete-usage-planDeletes a usage plan of a given plan Id. | DeleteUsagePlan | |
delete-usage-plan-keyDeletes a usage plan key and remove the underlying API key from the associated usage plan. | DeleteUsagePlanKey | |
delete-vpc-linkDeletes an existing VpcLink of a specified identifier. | DeleteVpcLink | |
flush-stage-authorizers-cacheFlushes all authorizer cache entries on a stage. | FlushStageAuthorizersCache | |
flush-stage-cacheFlushes a stage's cache. | FlushStageCache | |
generate-client-certificateGenerates a ClientCertificate resource. | GenerateClientCertificate | |
get-accountGets information about the current Account resource. | GetAccount | |
get-api-keyGets information about the current ApiKey resource. | GetApiKey | |
get-api-keysGets information about the current ApiKeys resource. | GetApiKeys | |
get-authorizerDescribe an existing Authorizer resource. | GetAuthorizer | |
get-authorizersDescribe an existing Authorizers resource. | GetAuthorizers | |
get-base-path-mappingDescribe a BasePathMapping resource. | GetBasePathMapping | |
get-base-path-mappingsRepresents a collection of BasePathMapping resources. | GetBasePathMappings | |
get-client-certificateGets information about the current ClientCertificate resource. | GetClientCertificate | |
get-client-certificatesGets a collection of ClientCertificate resources. | GetClientCertificates | |
get-deploymentGets information about a Deployment resource. | GetDeployment | |
get-deploymentsGets information about a Deployments collection. | GetDeployments | |
get-documentation-partGets a documentation part. | GetDocumentationPart | |
get-documentation-partsGets documentation parts. | GetDocumentationParts | |
get-documentation-versionGets a documentation version. | GetDocumentationVersion | |
get-documentation-versionsGets documentation versions. | GetDocumentationVersions | |
get-domain-nameRepresents a domain name that is contained in a simpler, more intuitive URL that can be called. | GetDomainName | |
get-domain-name-access-associationsRepresents a collection on DomainNameAccessAssociations resources. | GetDomainNameAccessAssociations | |
get-domain-namesRepresents a collection of DomainName resources. | GetDomainNames | |
get-exportExports a deployed version of a RestApi in a specified format. | GetExport | |
get-gateway-responseGets a GatewayResponse of a specified response type on the given RestApi. | GetGatewayResponse | |
get-gateway-responsesGets the GatewayResponses collection on the given RestApi. If an API developer has not added any definitions for gateway responses, the result will be the API Gateway-generated default GatewayResponses collection for the supported response types. | GetGatewayResponses | |
get-integrationGet the integration settings. | GetIntegration | |
get-integration-responseRepresents a get integration response. | GetIntegrationResponse | |
get-methodDescribe an existing Method resource. | GetMethod | |
get-method-responseDescribes a MethodResponse resource. | GetMethodResponse | |
get-modelDescribes an existing model defined for a RestApi resource. | GetModel | |
get-model-templateGenerates a sample mapping template that can be used to transform a payload into the structure of a model. | GetModelTemplate | |
get-modelsDescribes existing Models defined for a RestApi resource. | GetModels | |
get-request-validatorGets a RequestValidator of a given RestApi. | GetRequestValidator | |
get-request-validatorsGets the RequestValidators collection of a given RestApi. | GetRequestValidators | |
get-resourceLists information about a resource. | GetResource | |
get-resourcesLists information about a collection of Resource resources. | GetResources | |
get-rest-apiLists the RestApi resource in the collection. | GetRestApi | |
get-rest-apisLists the RestApis resources for your collection. | GetRestApis | |
get-sdkGenerates a client SDK for a RestApi and Stage. | GetSdk | |
get-sdk-typeGets an SDK type. | GetSdkType | |
get-sdk-typesGets SDK types | GetSdkTypes | |
get-stageGets information about a Stage resource. | GetStage | |
get-stagesGets information about one or more Stage resources. | GetStages | |
get-tagsGets the Tags collection for a given resource. | GetTags | |
get-usageGets the usage data of a usage plan in a specified time interval. | GetUsage | |
get-usage-planGets a usage plan of a given plan identifier. | GetUsagePlan | |
get-usage-plan-keyGets a usage plan key of a given key identifier. | GetUsagePlanKey | |
get-usage-plan-keysGets all the usage plan keys representing the API keys added to a specified usage plan. | GetUsagePlanKeys | |
get-usage-plansGets all the usage plans of the caller's account. | GetUsagePlans | |
get-vpc-linkGets a specified VPC link under the caller's account in a region. | GetVpcLink | |
get-vpc-linksGets the VpcLinks collection under the caller's account in a selected region. | GetVpcLinks | |
import-api-keysImport API keys from an external source, such as a CSV-formatted file. | ImportApiKeys | |
import-documentation-partsImports documentation parts | ImportDocumentationParts | |
import-rest-apiA feature of the API Gateway control service for creating a new API from an external API definition file. | ImportRestApi | |
put-gateway-responseCreates a customization of a GatewayResponse of a specified response type and status code on the given RestApi. | PutGatewayResponse | |
put-integrationSets up a method's integration. | PutIntegration | |
put-integration-responseRepresents a put integration. | PutIntegrationResponse | |
put-methodAdd a method to an existing Resource resource. | PutMethod | |
put-method-responseAdds a MethodResponse to an existing Method resource. | PutMethodResponse | |
put-rest-apiA feature of the API Gateway control service for updating an existing API with an input of external API definitions. The update can take the form of merging the supplied definition into the existing API or overwriting the existing API. | PutRestApi | |
reject-domain-name-access-associationRejects a domain name access association with a private custom domain name. To reject a domain name access association with an access association source in another AWS account, use this operation. To remove a domain name access association with an access association source in your own account, use t | RejectDomainNameAccessAssociation | |
tag-resourceAdds or updates a tag on a given resource. | TagResource | |
test-invoke-authorizerSimulate the execution of an Authorizer in your RestApi with headers, parameters, and an incoming request body. | TestInvokeAuthorizer | |
test-invoke-methodSimulate the invocation of a Method in your RestApi with headers, parameters, and an incoming request body. | TestInvokeMethod | |
untag-resourceRemoves a tag from a given resource. | UntagResource | |
update-accountChanges information about the current Account resource. | UpdateAccount | |
update-api-keyChanges information about an ApiKey resource. | UpdateApiKey | |
update-authorizerUpdates an existing Authorizer resource. | UpdateAuthorizer | |
update-base-path-mappingChanges information about the BasePathMapping resource. | UpdateBasePathMapping | |
update-client-certificateChanges information about an ClientCertificate resource. | UpdateClientCertificate | |
update-deploymentChanges information about a Deployment resource. | UpdateDeployment | |
update-documentation-partUpdates a documentation part. | UpdateDocumentationPart | |
update-documentation-versionUpdates a documentation version. | UpdateDocumentationVersion | |
update-domain-nameChanges information about the DomainName resource. | UpdateDomainName | |
update-gateway-responseUpdates a GatewayResponse of a specified response type on the given RestApi. | UpdateGatewayResponse | |
update-integrationRepresents an update integration. | UpdateIntegration | |
update-integration-responseRepresents an update integration response. | UpdateIntegrationResponse | |
update-methodUpdates an existing Method resource. | UpdateMethod | |
update-method-responseUpdates an existing MethodResponse resource. | UpdateMethodResponse | |
update-modelChanges information about a model. The maximum size of the model is 400 KB. | UpdateModel | |
update-request-validatorUpdates a RequestValidator of a given RestApi. | UpdateRequestValidator | |
update-resourceChanges information about a Resource resource. | UpdateResource | |
update-rest-apiChanges information about the specified API. | UpdateRestApi | |
update-stageChanges information about a Stage resource. | UpdateStage | |
update-usageGrants a temporary extension to the remaining quota of a usage plan associated with a specified API key. | UpdateUsage | |
update-usage-planUpdates a usage plan of a given plan Id. | UpdateUsagePlan | |
update-vpc-linkUpdates an existing VpcLink of a specified identifier. | UpdateVpcLink |
Everything you need to know about Amazon API Gateway on one page. HD quality, print-friendly.
Download Free InfographicEverything you need to know about Amazon API Gateway on one page. HD quality, print-friendly.
Download Free InfographicAPI Gateway