Class: Aws::Route53::Types::ChangeCidrCollectionRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-route53/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#changesArray<Types::CidrCollectionChange>

Information about changes to a CIDR collection.

Returns:



666
667
668
669
670
671
672
# File 'lib/aws-sdk-route53/types.rb', line 666

class ChangeCidrCollectionRequest < Struct.new(
  :id,
  :collection_version,
  :changes)
  SENSITIVE = []
  include Aws::Structure
end

#collection_versionInteger

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.

Returns:

  • (Integer)


666
667
668
669
670
671
672
# File 'lib/aws-sdk-route53/types.rb', line 666

class ChangeCidrCollectionRequest < Struct.new(
  :id,
  :collection_version,
  :changes)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The UUID of the CIDR collection to update.

Returns:

  • (String)


666
667
668
669
670
671
672
# File 'lib/aws-sdk-route53/types.rb', line 666

class ChangeCidrCollectionRequest < Struct.new(
  :id,
  :collection_version,
  :changes)
  SENSITIVE = []
  include Aws::Structure
end