Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.
get_api_artifactsOne API's artifacts, grouped by type.
get_openapiThe primary OpenAPI for this API.
find_similar_apisAPIs that look like this one.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/aws-waf:aws-waf-ip-sets-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.1.0
info:
title: AWS WAFV2 Ip Sets API
version: '2019-07-29'
description: Generated from AWS's published Smithy model for AWS WAFV2. 5 operation(s).
contact:
name: Amazon Web Services
url: https://aws.amazon.com/contact-us/
license:
name: Apache 2.0
identifier: Apache-2.0
url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://wafv2.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4: []
paths:
/#CreateIPSet:
post:
operationId: CreateIPSet
summary: Create IPSet
description: Creates an IPSet, which you use to identify web requests that originate from specific IP addresses or ranges
of IP addresses. For example, if you're receiving a lot of requests from a ranges of IP addresses, you can configure
WAF to block them using an IPSet that lists those IP addresses.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/CreateIPSetResponse'
'400':
description: WAFDuplicateItemException; WAFInvalidOperationException; WAFInvalidParameterException; WAFLimitsExceededException;
WAFOptimisticLockException; WAFTagOperationException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/WAFDuplicateItemException'
'500':
description: WAFInternalErrorException; WAFTagOperationInternalErrorException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/WAFInternalErrorException'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- AWSWAF_20190729.CreateIPSet
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/CreateIPSetRequest'
tags:
- Ip Sets
/#DeleteIPSet:
post:
operationId: DeleteIPSet
summary: Delete IPSet
description: Deletes the specified IPSet.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/DeleteIPSetResponse'
'400':
description: WAFAssociatedItemException; WAFInvalidOperationException; WAFInvalidParameterException; WAFNonexistentItemException;
WAFOptimisticLockException; WAFTagOperationException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/WAFAssociatedItemException'
'500':
description: WAFInternalErrorException; WAFTagOperationInternalErrorException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/WAFInternalErrorException'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- AWSWAF_20190729.DeleteIPSet
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/DeleteIPSetRequest'
tags:
- Ip Sets
/#GetIPSet:
post:
operationId: GetIPSet
summary: Get IPSet
description: Retrieves the specified IPSet.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/GetIPSetResponse'
'500':
description: WAFInternalErrorException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/WAFInternalErrorException'
'400':
description: WAFInvalidOperationException; WAFInvalidParameterException; WAFNonexistentItemException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/WAFInvalidOperationException'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- AWSWAF_20190729.GetIPSet
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/GetIPSetRequest'
tags:
- Ip Sets
/#ListIPSets:
post:
operationId: ListIPSets
summary: List IPSets
description: Retrieves an array of IPSetSummary objects for the IP sets that you manage.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ListIPSetsResponse'
'500':
description: WAFInternalErrorException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/WAFInternalErrorException'
'400':
description: WAFInvalidOperationException; WAFInvalidParameterException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/WAFInvalidOperationException'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- AWSWAF_20190729.ListIPSets
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ListIPSetsRequest'
tags:
- Ip Sets
/#UpdateIPSet:
post:
operationId: UpdateIPSet
summary: Update IPSet
description: 'Updates the specified IPSet. This operation completely replaces the mutable specifications that you already
have for the IP set with the ones that you provide to this call. To modify an IP set, do the following: Retrieve it
by calling GetIPSet Update its settings as needed Provide the complete IP set specification to this call Temporary
inconsistencies during updates When you create or change a web ACL or other WAF resources, the changes take a small
amount of time to propagate to all areas where the resources are stored. The propagation time can be from a few seconds
to a number of minutes. The following are examples of the temporary inconsistencies that you might notice during change
propagation: After you create a web ACL, if you try to associate it with a resource, you might get an exception indicating
that the web ACL is unavailable. After you add a rule group to a web ACL, the new rule group rules might be in effect
in one area where the web ACL is used and not in another. After you change a rule action setting, you might see the
old action in some places and the new action in others. After you add an IP address to an IP set that is in use in
a blocking rule, the new address '
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/UpdateIPSetResponse'
'400':
description: WAFDuplicateItemException; WAFInvalidOperationException; WAFInvalidParameterException; WAFLimitsExceededException;
WAFNonexistentItemException; WAFOptimisticLockException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/WAFDuplicateItemException'
'500':
description: WAFInternalErrorException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/WAFInternalErrorException'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- AWSWAF_20190729.UpdateIPSet
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/UpdateIPSetRequest'
tags:
- Ip Sets
components:
securitySchemes:
sigv4:
type: apiKey
in: header
name: Authorization
description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
x-aws-sigv4:
signingName: wafv2
schemas:
CreateIPSetRequest:
type: object
properties:
Name:
type: string
description: The name of the IP set. You cannot change the name of an IPSet after you create it.
Scope:
type: string
enum:
- CLOUDFRONT
- REGIONAL
description: 'Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For
an Amplify application, use CLOUDFRONT. To work with CloudFront, you must also specify the Region US East (N.
Virginia) as follows: CLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.'
Description:
type: string
description: A description of the IP set that helps with identification.
IPAddressVersion:
type: string
enum:
- IPV4
- IPV6
description: The version of the IP addresses, either IPV4 or IPV6.
Addresses:
type: array
items:
type: string
description: 'Contains an array of strings that specifies zero or more IP addresses or blocks of IP addresses that
you want WAF to inspect for in incoming requests. All addresses must be specified using Classless Inter-Domain
Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except for /0. Example address strings: For
requests that originated from the IP address 192.0.2.44, specify 192.0.2.44/32. For requests that originated from
IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24. For requests that originated from the IP address
1111:0000:0000:0000:0000:0000:0000:0111, specif'
Tags:
type: array
items:
$ref: '#/components/schemas/Tag'
description: An array of key:value pairs to associate with the resource.
required:
- Name
- Scope
- IPAddressVersion
- Addresses
CreateIPSetResponse:
type: object
properties:
Summary:
$ref: '#/components/schemas/IPSetSummary'
DeleteIPSetRequest:
type: object
properties:
Name:
type: string
description: The name of the IP set. You cannot change the name of an IPSet after you create it.
Scope:
type: string
enum:
- CLOUDFRONT
- REGIONAL
description: 'Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For
an Amplify application, use CLOUDFRONT. To work with CloudFront, you must also specify the Region US East (N.
Virginia) as follows: CLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.'
Id:
type: string
description: A unique identifier for the set. This ID is returned in the responses to create and list commands.
You provide it to operations like update and delete.
LockToken:
type: string
description: A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the
state of the entity at the time of the request. To make changes to the entity associated with the token, you provide
the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to
the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException.
If this happens, perform another get, and use the new token returned by that operation.
required:
- Name
- Scope
- Id
- LockToken
DeleteIPSetResponse:
type: object
properties: {}
GetIPSetRequest:
type: object
properties:
Name:
type: string
description: The name of the IP set. You cannot change the name of an IPSet after you create it.
Scope:
type: string
enum:
- CLOUDFRONT
- REGIONAL
description: 'Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For
an Amplify application, use CLOUDFRONT. To work with CloudFront, you must also specify the Region US East (N.
Virginia) as follows: CLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.'
Id:
type: string
description: A unique identifier for the set. This ID is returned in the responses to create and list commands.
You provide it to operations like update and delete.
required:
- Name
- Scope
- Id
GetIPSetResponse:
type: object
properties:
IPSet:
$ref: '#/components/schemas/IPSet'
LockToken:
type: string
description: A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the
state of the entity at the time of the request. To make changes to the entity associated with the token, you provide
the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to
the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException.
If this happens, perform another get, and use the new token returned by that operation.
IPSet:
type: object
properties:
Name:
type: string
description: The name of the IP set. You cannot change the name of an IPSet after you create it.
Id:
type: string
description: A unique identifier for the set. This ID is returned in the responses to create and list commands.
You provide it to operations like update and delete.
ARN:
type: string
description: The Amazon Resource Name (ARN) of the entity.
Description:
type: string
description: A description of the IP set that helps with identification.
IPAddressVersion:
type: string
enum:
- IPV4
- IPV6
description: The version of the IP addresses, either IPV4 or IPV6.
Addresses:
type: array
items:
type: string
description: 'Contains an array of strings that specifies zero or more IP addresses or blocks of IP addresses that
you want WAF to inspect for in incoming requests. All addresses must be specified using Classless Inter-Domain
Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except for /0. Example address strings: For
requests that originated from the IP address 192.0.2.44, specify 192.0.2.44/32. For requests that originated from
IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24. For requests that originated from the IP address
1111:0000:0000:0000:0000:0000:0000:0111, specif'
required:
- Name
- Id
- ARN
- IPAddressVersion
- Addresses
IPSetSummary:
type: object
properties:
Name:
type: string
description: The name of the IP set. You cannot change the name of an IPSet after you create it.
Id:
type: string
description: A unique identifier for the set. This ID is returned in the responses to create and list commands.
You provide it to operations like update and delete.
Description:
type: string
description: A description of the IP set that helps with identification.
LockToken:
type: string
description: A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the
state of the entity at the time of the request. To make changes to the entity associated with the token, you provide
the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to
the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException.
If this happens, perform another get, and use the new token returned by that operation.
ARN:
type: string
description: The Amazon Resource Name (ARN) of the entity.
ListIPSetsRequest:
type: object
properties:
Scope:
type: string
enum:
- CLOUDFRONT
- REGIONAL
description: 'Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For
an Amplify application, use CLOUDFRONT. To work with CloudFront, you must also specify the Region US East (N.
Virginia) as follows: CLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.'
NextMarker:
type: string
description: When you request a list of objects with a Limit setting, if the number of objects that are still available
for retrieval exceeds the limit, WAF returns a NextMarker value in the response. To retrieve the next batch of
objects, provide the marker from the prior call in your next request.
Limit:
type: integer
description: The maximum number of objects that you want WAF to return for this request. If more objects are available,
in the response, WAF provides a NextMarker value that you can use in a subsequent call to get the next batch of
objects.
required:
- Scope
ListIPSetsResponse:
type: object
properties:
NextMarker:
type: string
description: When you request a list of objects with a Limit setting, if the number of objects that are still available
for retrieval exceeds the limit, WAF returns a NextMarker value in the response. To retrieve the next batch of
objects, provide the marker from the prior call in your next request.
IPSets:
type: array
items:
$ref: '#/components/schemas/IPSetSummary'
description: Array of IPSets. If you specified a Limit in your request, this might not be the full list.
Tag:
type: object
properties:
Key:
type: string
description: Part of the key:value pair that defines a tag. You can use a tag key to describe a category of information,
such as "customer." Tag keys are case-sensitive.
Value:
type: string
description: Part of the key:value pair that defines a tag. You can use a tag value to describe a specific value
within a category, such as "companyA" or "companyB." Tag values are case-sensitive.
required:
- Key
- Value
UpdateIPSetRequest:
type: object
properties:
Name:
type: string
description: The name of the IP set. You cannot change the name of an IPSet after you create it.
Scope:
type: string
enum:
- CLOUDFRONT
- REGIONAL
description: 'Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For
an Amplify application, use CLOUDFRONT. To work with CloudFront, you must also specify the Region US East (N.
Virginia) as follows: CLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.'
Id:
type: string
description: A unique identifier for the set. This ID is returned in the responses to create and list commands.
You provide it to operations like update and delete.
Description:
type: string
description: A description of the IP set that helps with identification.
Addresses:
type: array
items:
type: string
description: 'Contains an array of strings that specifies zero or more IP addresses or blocks of IP addresses that
you want WAF to inspect for in incoming requests. All addresses must be specified using Classless Inter-Domain
Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except for /0. Example address strings: For
requests that originated from the IP address 192.0.2.44, specify 192.0.2.44/32. For requests that originated from
IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24. For requests that originated from the IP address
1111:0000:0000:0000:0000:0000:0000:0111, specif'
LockToken:
type: string
description: A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the
state of the entity at the time of the request. To make changes to the entity associated with the token, you provide
the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to
the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException.
If this happens, perform another get, and use the new token returned by that operation.
required:
- Name
- Scope
- Id
- Addresses
- LockToken
UpdateIPSetResponse:
type: object
properties:
NextLockToken:
type: string
description: A token used for optimistic locking. WAF returns this token to your update requests. You use NextLockToken
in the same manner as you use LockToken.
WAFAssociatedItemException:
type: object
properties:
Message:
type: string
WAFDuplicateItemException:
type: object
properties:
Message:
type: string
WAFInternalErrorException:
type: object
properties:
Message:
type: string
WAFInvalidOperationException:
type: object
properties:
Message:
type: string
x-provenance:
method: harvested
publisher: Amazon Web Services
source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/wafv2/service/2019-07-29/wafv2-2019-07-29.json
note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)