aws-sdk-ec2 1.496.0 → 1.497.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: c92e97516147469d52cbce1367c73f20bdcc5c886b4c4dcf473dac266a078bb1
4
- data.tar.gz: 1299d09c7467e6529390a1f73d9afc5e15a6d4d57b73aa528766a3225512279e
3
+ metadata.gz: 8b131fec51e5037c4687703cc3a8a158309d1f9a7f0ecfca6ba4f01b13b82823
4
+ data.tar.gz: f65999a47814628898dd4ee1f6d0b3b54f448cf60a9f7249844431997eaba0af
5
5
  SHA512:
6
- metadata.gz: '0962242f5e81fbf754ef7538cd4b90985a51003fef6f6f7b55a2ef8e7d0d3bbdc0dfd8669ab50623da733790d3eab0ed2c55f3b3a36f96b376929203bc98a5d3'
7
- data.tar.gz: '049574c4b5fc4b51d82c059cedf12a2500ca31eccd107ed07e1c2d450be44108eaa93fccf2e9937ae8233209456c2a2885abaae544e73e9870f74c809ecc34a2'
6
+ metadata.gz: ed03c11256700c538f2408bb51ea0aeafde75b7db1fcf2eba3768ad90eaf1be2bea58f4d92915390f52e168f65b83d597933430e197f6a30b68b44bda9d7a0ef
7
+ data.tar.gz: 739cf4e23bb311166d9d729aac01e552fa7027fee04738cb617a5fbf3287acbc39fd74c4e8ea54a355f7e023f759d896c7e03f1df3cdaceddc9c2cde6c93fdcc
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.497.0 (2024-12-13)
5
+ ------------------
6
+
7
+ * Feature - This release adds GroupId to the response for DeleteSecurityGroup.
8
+
4
9
  1.496.0 (2024-12-09)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.496.0
1
+ 1.497.0
@@ -18398,7 +18398,10 @@ module Aws::EC2
18398
18398
  # If you have the required permissions, the error response is
18399
18399
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
18400
18400
  #
18401
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
18401
+ # @return [Types::DeleteSecurityGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
18402
+ #
18403
+ # * {Types::DeleteSecurityGroupResult#return #return} => Boolean
18404
+ # * {Types::DeleteSecurityGroupResult#group_id #group_id} => String
18402
18405
  #
18403
18406
  #
18404
18407
  # @example Example: To delete a security group
@@ -18421,6 +18424,11 @@ module Aws::EC2
18421
18424
  # dry_run: false,
18422
18425
  # })
18423
18426
  #
18427
+ # @example Response structure
18428
+ #
18429
+ # resp.return #=> Boolean
18430
+ # resp.group_id #=> String
18431
+ #
18424
18432
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSecurityGroup AWS API Documentation
18425
18433
  #
18426
18434
  # @overload delete_security_group(params = {})
@@ -60958,8 +60966,9 @@ module Aws::EC2
60958
60966
  # management account or delegated administrators for the organization.
60959
60967
  #
60960
60968
  # * An S3 bucket must be available before generating the report (you can
60961
- # create a new one or use an existing one), and it must have an
60962
- # appropriate bucket policy. For a sample S3 policy, see *Sample
60969
+ # create a new one or use an existing one), it must be in the same
60970
+ # Region where the report generation request is made, and it must have
60971
+ # an appropriate bucket policy. For a sample S3 policy, see *Sample
60963
60972
  # Amazon S3 policy* under .
60964
60973
  #
60965
60974
  # * Trusted access must be enabled for the service for which the
@@ -60992,7 +61001,9 @@ module Aws::EC2
60992
61001
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
60993
61002
  #
60994
61003
  # @option params [required, String] :s3_bucket
60995
- # The name of the S3 bucket where the report will be saved.
61004
+ # The name of the S3 bucket where the report will be saved. The bucket
61005
+ # must be in the same Region where the report generation request is
61006
+ # made.
60996
61007
  #
60997
61008
  # @option params [String] :s3_prefix
60998
61009
  # The prefix for your S3 object.
@@ -63071,7 +63082,7 @@ module Aws::EC2
63071
63082
  tracer: tracer
63072
63083
  )
63073
63084
  context[:gem_name] = 'aws-sdk-ec2'
63074
- context[:gem_version] = '1.496.0'
63085
+ context[:gem_version] = '1.497.0'
63075
63086
  Seahorse::Client::Request.new(handlers, context)
63076
63087
  end
63077
63088
 
@@ -740,6 +740,7 @@ module Aws::EC2
740
740
  DeleteRouteRequest = Shapes::StructureShape.new(name: 'DeleteRouteRequest')
741
741
  DeleteRouteTableRequest = Shapes::StructureShape.new(name: 'DeleteRouteTableRequest')
742
742
  DeleteSecurityGroupRequest = Shapes::StructureShape.new(name: 'DeleteSecurityGroupRequest')
743
+ DeleteSecurityGroupResult = Shapes::StructureShape.new(name: 'DeleteSecurityGroupResult')
743
744
  DeleteSnapshotRequest = Shapes::StructureShape.new(name: 'DeleteSnapshotRequest')
744
745
  DeleteSpotDatafeedSubscriptionRequest = Shapes::StructureShape.new(name: 'DeleteSpotDatafeedSubscriptionRequest')
745
746
  DeleteSubnetCidrReservationRequest = Shapes::StructureShape.new(name: 'DeleteSubnetCidrReservationRequest')
@@ -6366,6 +6367,10 @@ module Aws::EC2
6366
6367
  DeleteSecurityGroupRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
6367
6368
  DeleteSecurityGroupRequest.struct_class = Types::DeleteSecurityGroupRequest
6368
6369
 
6370
+ DeleteSecurityGroupResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
6371
+ DeleteSecurityGroupResult.add_member(:group_id, Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "groupId"))
6372
+ DeleteSecurityGroupResult.struct_class = Types::DeleteSecurityGroupResult
6373
+
6369
6374
  DeleteSnapshotRequest.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, required: true, location_name: "SnapshotId"))
6370
6375
  DeleteSnapshotRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
6371
6376
  DeleteSnapshotRequest.struct_class = Types::DeleteSnapshotRequest
@@ -18289,7 +18294,7 @@ module Aws::EC2
18289
18294
  o.http_method = "POST"
18290
18295
  o.http_request_uri = "/"
18291
18296
  o.input = Shapes::ShapeRef.new(shape: DeleteSecurityGroupRequest)
18292
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
18297
+ o.output = Shapes::ShapeRef.new(shape: DeleteSecurityGroupResult)
18293
18298
  end)
18294
18299
 
18295
18300
  api.add_operation(:delete_snapshot, Seahorse::Model::Operation.new.tap do |o|
@@ -544,7 +544,7 @@ module Aws::EC2
544
544
  # without actually making the request, and provides an error response.
545
545
  # If you have the required permissions, the error response is
546
546
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
547
- # @return [EmptyStructure]
547
+ # @return [Types::DeleteSecurityGroupResult]
548
548
  def delete(options = {})
549
549
  options = options.merge(group_id: @id)
550
550
  resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
@@ -16288,6 +16288,23 @@ module Aws::EC2
16288
16288
  include Aws::Structure
16289
16289
  end
16290
16290
 
16291
+ # @!attribute [rw] return
16292
+ # Returns `true` if the request succeeds; otherwise, returns an error.
16293
+ # @return [Boolean]
16294
+ #
16295
+ # @!attribute [rw] group_id
16296
+ # The ID of the deleted security group.
16297
+ # @return [String]
16298
+ #
16299
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSecurityGroupResult AWS API Documentation
16300
+ #
16301
+ class DeleteSecurityGroupResult < Struct.new(
16302
+ :return,
16303
+ :group_id)
16304
+ SENSITIVE = []
16305
+ include Aws::Structure
16306
+ end
16307
+
16291
16308
  # @!attribute [rw] snapshot_id
16292
16309
  # The ID of the EBS snapshot.
16293
16310
  # @return [String]
@@ -35199,6 +35216,13 @@ module Aws::EC2
35199
35216
  # and the request returns only results that match all of the specified
35200
35217
  # filters.
35201
35218
  #
35219
+ # For more information, see [List and filter using the CLI and API][1]
35220
+ # in the *Amazon EC2 User Guide*.
35221
+ #
35222
+ #
35223
+ #
35224
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Filtering.html#Filtering_Resources_CLI
35225
+ #
35202
35226
  # @!attribute [rw] name
35203
35227
  # The name of the filter. Filter names are case-sensitive.
35204
35228
  # @return [String]
@@ -67490,7 +67514,9 @@ module Aws::EC2
67490
67514
  # @return [Boolean]
67491
67515
  #
67492
67516
  # @!attribute [rw] s3_bucket
67493
- # The name of the S3 bucket where the report will be saved.
67517
+ # The name of the S3 bucket where the report will be saved. The bucket
67518
+ # must be in the same Region where the report generation request is
67519
+ # made.
67494
67520
  # @return [String]
67495
67521
  #
67496
67522
  # @!attribute [rw] s3_prefix
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.496.0'
81
+ GEM_VERSION = '1.497.0'
82
82
 
83
83
  end
84
84
 
data/sig/client.rbs CHANGED
@@ -4646,13 +4646,18 @@ module Aws
4646
4646
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
4647
4647
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
4648
4648
 
4649
+ interface _DeleteSecurityGroupResponseSuccess
4650
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSecurityGroupResult]
4651
+ def return: () -> bool
4652
+ def group_id: () -> ::String
4653
+ end
4649
4654
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#delete_security_group-instance_method
4650
4655
  def delete_security_group: (
4651
4656
  ?group_id: ::String,
4652
4657
  ?group_name: ::String,
4653
4658
  ?dry_run: bool
4654
- ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
4655
- | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
4659
+ ) -> _DeleteSecurityGroupResponseSuccess
4660
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSecurityGroupResponseSuccess
4656
4661
 
4657
4662
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#delete_snapshot-instance_method
4658
4663
  def delete_snapshot: (
@@ -202,8 +202,8 @@ module Aws
202
202
  def delete: (
203
203
  ?group_name: ::String,
204
204
  ?dry_run: bool
205
- ) -> ::Aws::EmptyStructure
206
- | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
205
+ ) -> Types::DeleteSecurityGroupResult
206
+ | (?Hash[Symbol, untyped]) -> Types::DeleteSecurityGroupResult
207
207
 
208
208
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#revoke_egress-instance_method
209
209
  def revoke_egress: (
data/sig/types.rbs CHANGED
@@ -3759,6 +3759,12 @@ module Aws::EC2
3759
3759
  SENSITIVE: []
3760
3760
  end
3761
3761
 
3762
+ class DeleteSecurityGroupResult
3763
+ attr_accessor return: bool
3764
+ attr_accessor group_id: ::String
3765
+ SENSITIVE: []
3766
+ end
3767
+
3762
3768
  class DeleteSnapshotRequest
3763
3769
  attr_accessor snapshot_id: ::String
3764
3770
  attr_accessor dry_run: bool
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.496.0
4
+ version: 1.497.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-09 00:00:00.000000000 Z
11
+ date: 2024-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core