Skip to content

ChangeCidrCollectionRequest

Source code in docs_src/capo_route_53/types/change_cidr_collection_request.py
class ChangeCidrCollectionRequest(TypedDict, closed=True):
    id: "capo_route_53.types.uuid.UUID"
    """<p>The UUID of the CIDR collection to update.</p>"""
    collection_version: NotRequired[
        "capo_route_53.types.collection_version.CollectionVersion"
    ]
    """<p>A sequential counter that Amazon Route 53 sets to 1 when you create a collection and increments it by 1 each time you update the collection.</p> <p>We recommend that you use <code>ListCidrCollection</code> to get the current value of <code>CollectionVersion</code> for the collection that you want to update, and then include that value with the change request. This prevents Route 53 from overwriting an intervening update: </p> <ul> <li> <p>If the value in the request matches the value of <code>CollectionVersion</code> in the collection, Route 53 updates the collection.</p> </li> <li> <p>If the value of <code>CollectionVersion</code> in the collection is greater than the value in the request, the collection was changed after you got the version number. Route 53 does not update the collection, and it returns a <code>CidrCollectionVersionMismatch</code> error. </p> </li> </ul>"""
    changes: "capo_route_53.types.cidr_collection_changes.CidrCollectionChanges"
    """<p> Information about changes to a CIDR collection.</p>"""

changes instance-attribute

Information about changes to a CIDR collection.

collection_version instance-attribute

collection_version: NotRequired[CollectionVersion]

A sequential counter that Amazon Route 53 sets to 1 when you create a collection and increments it by 1 each time you update the collection.

We recommend that you use ListCidrCollection to get the current value of CollectionVersion for the collection that you want to update, and then include that value with the change request. This prevents Route 53 from overwriting an intervening update:

  • If the value in the request matches the value of CollectionVersion in the collection, Route 53 updates the collection.

  • If the value of CollectionVersion in the collection is greater than the value in the request, the collection was changed after you got the version number. Route 53 does not update the collection, and it returns a CidrCollectionVersionMismatch error.

id instance-attribute

id: UUID

The UUID of the CIDR collection to update.