aws-sdk-ec2 1.595.0 → 1.596.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 47a2016f8a6aeb973087b84f8c5f179123886a14c045c744f57beb4429553d64
4
- data.tar.gz: 97ec3aa07aeac8244f326bacc98eeba9a96529bbc14c68c9cc54585279a171fd
3
+ metadata.gz: 8bfad3466b6c0603af135dd2612500e6d548dc4a0963caa161260becef7e344c
4
+ data.tar.gz: ef320ed35ce7678547ba5ab1e4575fb962102a8b12cc568f1b004928d1cbe002
5
5
  SHA512:
6
- metadata.gz: e555e0463a3159a23612a71141f0a71e171e63b4240707bccd794929800318282f508aace04a5fdfc56c4488cbba85dbf54733888b25d02cd19415934e403b00
7
- data.tar.gz: e6f5ae8b4693a9debca31fbc4879881a929557c797a2faaf45b06ae783310bdbc38ffd537f324a91d8a304dc633b5f2e61b6634749b3c3fa6074f71d987b1389
6
+ metadata.gz: 1bbaffddf7b9d62364c369bbf8b0e965f3544147c33618be50c9d73a9ac3ebf4f7043e1933e358c7330978c98835570ff87abd3b9cc006a05680f5d50a9ecfb8
7
+ data.tar.gz: cfba27dd8fbb285f89f7700257e03e9373374878631bc7dfa698f7fb1e3b2d9518270c343b32f86e2336c53003ae35b14d6c9d18e7a2d61ae83cfc01b920503f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.596.0 (2026-01-28)
5
+ ------------------
6
+
7
+ * Feature - SearchTransitGatewayRoutes API response now includes a NextToken field, enabling pagination when retrieving large sets of transit gateway routes. Pass the returned NextToken value in subsequent requests to retrieve the next page of results.
8
+
4
9
  1.595.0 (2026-01-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.595.0
1
+ 1.596.0
@@ -69328,10 +69328,16 @@ module Aws::EC2
69328
69328
  # If you have the required permissions, the error response is
69329
69329
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
69330
69330
  #
69331
+ # @option params [String] :next_token
69332
+ # The token for the next page of results.
69333
+ #
69331
69334
  # @return [Types::SearchTransitGatewayRoutesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
69332
69335
  #
69333
69336
  # * {Types::SearchTransitGatewayRoutesResult#routes #routes} => Array<Types::TransitGatewayRoute>
69334
69337
  # * {Types::SearchTransitGatewayRoutesResult#additional_routes_available #additional_routes_available} => Boolean
69338
+ # * {Types::SearchTransitGatewayRoutesResult#next_token #next_token} => String
69339
+ #
69340
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
69335
69341
  #
69336
69342
  # @example Request syntax with placeholder values
69337
69343
  #
@@ -69345,6 +69351,7 @@ module Aws::EC2
69345
69351
  # ],
69346
69352
  # max_results: 1,
69347
69353
  # dry_run: false,
69354
+ # next_token: "String",
69348
69355
  # })
69349
69356
  #
69350
69357
  # @example Response structure
@@ -69360,6 +69367,7 @@ module Aws::EC2
69360
69367
  # resp.routes[0].type #=> String, one of "static", "propagated"
69361
69368
  # resp.routes[0].state #=> String, one of "pending", "active", "blackhole", "deleting", "deleted"
69362
69369
  # resp.additional_routes_available #=> Boolean
69370
+ # resp.next_token #=> String
69363
69371
  #
69364
69372
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SearchTransitGatewayRoutes AWS API Documentation
69365
69373
  #
@@ -71741,7 +71749,7 @@ module Aws::EC2
71741
71749
  tracer: tracer
71742
71750
  )
71743
71751
  context[:gem_name] = 'aws-sdk-ec2'
71744
- context[:gem_version] = '1.595.0'
71752
+ context[:gem_version] = '1.596.0'
71745
71753
  Seahorse::Client::Request.new(handlers, context)
71746
71754
  end
71747
71755
 
@@ -17001,10 +17001,12 @@ module Aws::EC2
17001
17001
  SearchTransitGatewayRoutesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, required: true, location_name: "Filter"))
17002
17002
  SearchTransitGatewayRoutesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: TransitGatewayMaxResults, location_name: "MaxResults"))
17003
17003
  SearchTransitGatewayRoutesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
17004
+ SearchTransitGatewayRoutesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
17004
17005
  SearchTransitGatewayRoutesRequest.struct_class = Types::SearchTransitGatewayRoutesRequest
17005
17006
 
17006
17007
  SearchTransitGatewayRoutesResult.add_member(:routes, Shapes::ShapeRef.new(shape: TransitGatewayRouteList, location_name: "routeSet"))
17007
17008
  SearchTransitGatewayRoutesResult.add_member(:additional_routes_available, Shapes::ShapeRef.new(shape: Boolean, location_name: "additionalRoutesAvailable"))
17009
+ SearchTransitGatewayRoutesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
17008
17010
  SearchTransitGatewayRoutesResult.struct_class = Types::SearchTransitGatewayRoutesResult
17009
17011
 
17010
17012
  SecurityGroup.add_member(:group_id, Shapes::ShapeRef.new(shape: String, location_name: "groupId"))
@@ -26004,6 +26006,13 @@ module Aws::EC2
26004
26006
  o.http_request_uri = "/"
26005
26007
  o.input = Shapes::ShapeRef.new(shape: SearchTransitGatewayRoutesRequest)
26006
26008
  o.output = Shapes::ShapeRef.new(shape: SearchTransitGatewayRoutesResult)
26009
+ o[:pager] = Aws::Pager.new(
26010
+ more_results: "additional_routes_available",
26011
+ limit_key: "max_results",
26012
+ tokens: {
26013
+ "next_token" => "next_token"
26014
+ }
26015
+ )
26007
26016
  end)
26008
26017
 
26009
26018
  api.add_operation(:send_diagnostic_interrupt, Seahorse::Model::Operation.new.tap do |o|
@@ -75247,13 +75247,18 @@ module Aws::EC2
75247
75247
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
75248
75248
  # @return [Boolean]
75249
75249
  #
75250
+ # @!attribute [rw] next_token
75251
+ # The token for the next page of results.
75252
+ # @return [String]
75253
+ #
75250
75254
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SearchTransitGatewayRoutesRequest AWS API Documentation
75251
75255
  #
75252
75256
  class SearchTransitGatewayRoutesRequest < Struct.new(
75253
75257
  :transit_gateway_route_table_id,
75254
75258
  :filters,
75255
75259
  :max_results,
75256
- :dry_run)
75260
+ :dry_run,
75261
+ :next_token)
75257
75262
  SENSITIVE = []
75258
75263
  include Aws::Structure
75259
75264
  end
@@ -75266,11 +75271,17 @@ module Aws::EC2
75266
75271
  # Indicates whether there are additional routes available.
75267
75272
  # @return [Boolean]
75268
75273
  #
75274
+ # @!attribute [rw] next_token
75275
+ # The token to use to retrieve the next page of results. This value is
75276
+ # `null` when there are no more results to return.
75277
+ # @return [String]
75278
+ #
75269
75279
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SearchTransitGatewayRoutesResult AWS API Documentation
75270
75280
  #
75271
75281
  class SearchTransitGatewayRoutesResult < Struct.new(
75272
75282
  :routes,
75273
- :additional_routes_available)
75283
+ :additional_routes_available,
75284
+ :next_token)
75274
75285
  SENSITIVE = []
75275
75286
  include Aws::Structure
75276
75287
  end
data/lib/aws-sdk-ec2.rb CHANGED
@@ -78,7 +78,7 @@ module Aws::EC2
78
78
  autoload :VpcPeeringConnection, 'aws-sdk-ec2/vpc_peering_connection'
79
79
  autoload :VpcAddress, 'aws-sdk-ec2/vpc_address'
80
80
 
81
- GEM_VERSION = '1.595.0'
81
+ GEM_VERSION = '1.596.0'
82
82
 
83
83
  end
84
84
 
data/sig/client.rbs CHANGED
@@ -15230,6 +15230,7 @@ module Aws
15230
15230
  include ::Seahorse::Client::_ResponseSuccess[Types::SearchTransitGatewayRoutesResult]
15231
15231
  def routes: () -> ::Array[Types::TransitGatewayRoute]
15232
15232
  def additional_routes_available: () -> bool
15233
+ def next_token: () -> ::String
15233
15234
  end
15234
15235
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#search_transit_gateway_routes-instance_method
15235
15236
  def search_transit_gateway_routes: (
@@ -15241,7 +15242,8 @@ module Aws
15241
15242
  },
15242
15243
  ],
15243
15244
  ?max_results: ::Integer,
15244
- ?dry_run: bool
15245
+ ?dry_run: bool,
15246
+ ?next_token: ::String
15245
15247
  ) -> _SearchTransitGatewayRoutesResponseSuccess
15246
15248
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchTransitGatewayRoutesResponseSuccess
15247
15249
 
data/sig/types.rbs CHANGED
@@ -16203,12 +16203,14 @@ module Aws::EC2
16203
16203
  attr_accessor filters: ::Array[Types::Filter]
16204
16204
  attr_accessor max_results: ::Integer
16205
16205
  attr_accessor dry_run: bool
16206
+ attr_accessor next_token: ::String
16206
16207
  SENSITIVE: []
16207
16208
  end
16208
16209
 
16209
16210
  class SearchTransitGatewayRoutesResult
16210
16211
  attr_accessor routes: ::Array[Types::TransitGatewayRoute]
16211
16212
  attr_accessor additional_routes_available: bool
16213
+ attr_accessor next_token: ::String
16212
16214
  SENSITIVE: []
16213
16215
  end
16214
16216
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.595.0
4
+ version: 1.596.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services