aws-sdk-ec2 1.340.0 → 1.341.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +11 -2
- data/lib/aws-sdk-ec2/client_api.rb +2 -0
- data/lib/aws-sdk-ec2/types.rb +18 -3
- data/lib/aws-sdk-ec2/vpc.rb +7 -1
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5ada8a68cd6af96c2d1d8ea7217be5f033612a31086ab51ff6daba16791f144
|
4
|
+
data.tar.gz: b807f2830467388553e4edfb388de5ca403511ca9ae4940996ee2dc9dd93815b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac50c79961f8fbdb6c77ffa6f6a42c9593d956aef2267d2941f31afbc5f7614e5a1058424dbe967e23bd2f04ea8e1acaf9cf652a23fd73e5f114493c1eea82e3
|
7
|
+
data.tar.gz: 57db2cff28208b1630b491570113137985e34c629b2f9e0182e1d441cf66397dcd8112b95bc76e36ca44cf71c106b23c723a3bfd8e778731b4ef6ed8a8699b78
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.341.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -32531,6 +32531,7 @@ module Aws::EC2
|
|
32531
32531
|
# * {Types::DescribeVpcAttributeResult#vpc_id #vpc_id} => String
|
32532
32532
|
# * {Types::DescribeVpcAttributeResult#enable_dns_hostnames #enable_dns_hostnames} => Types::AttributeBooleanValue
|
32533
32533
|
# * {Types::DescribeVpcAttributeResult#enable_dns_support #enable_dns_support} => Types::AttributeBooleanValue
|
32534
|
+
# * {Types::DescribeVpcAttributeResult#enable_network_address_usage_metrics #enable_network_address_usage_metrics} => Types::AttributeBooleanValue
|
32534
32535
|
#
|
32535
32536
|
#
|
32536
32537
|
# @example Example: To describe the enableDnsSupport attribute
|
@@ -32573,7 +32574,7 @@ module Aws::EC2
|
|
32573
32574
|
# @example Request syntax with placeholder values
|
32574
32575
|
#
|
32575
32576
|
# resp = client.describe_vpc_attribute({
|
32576
|
-
# attribute: "enableDnsSupport", # required, accepts enableDnsSupport, enableDnsHostnames
|
32577
|
+
# attribute: "enableDnsSupport", # required, accepts enableDnsSupport, enableDnsHostnames, enableNetworkAddressUsageMetrics
|
32577
32578
|
# vpc_id: "VpcId", # required
|
32578
32579
|
# dry_run: false,
|
32579
32580
|
# })
|
@@ -32583,6 +32584,7 @@ module Aws::EC2
|
|
32583
32584
|
# resp.vpc_id #=> String
|
32584
32585
|
# resp.enable_dns_hostnames.value #=> Boolean
|
32585
32586
|
# resp.enable_dns_support.value #=> Boolean
|
32587
|
+
# resp.enable_network_address_usage_metrics.value #=> Boolean
|
32586
32588
|
#
|
32587
32589
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcAttribute AWS API Documentation
|
32588
32590
|
#
|
@@ -43994,6 +43996,10 @@ module Aws::EC2
|
|
43994
43996
|
# @option params [required, String] :vpc_id
|
43995
43997
|
# The ID of the VPC.
|
43996
43998
|
#
|
43999
|
+
# @option params [Types::AttributeBooleanValue] :enable_network_address_usage_metrics
|
44000
|
+
# Indicates whether Network Address Usage metrics are enabled for your
|
44001
|
+
# VPC.
|
44002
|
+
#
|
43997
44003
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
43998
44004
|
#
|
43999
44005
|
#
|
@@ -44032,6 +44038,9 @@ module Aws::EC2
|
|
44032
44038
|
# value: false,
|
44033
44039
|
# },
|
44034
44040
|
# vpc_id: "VpcId", # required
|
44041
|
+
# enable_network_address_usage_metrics: {
|
44042
|
+
# value: false,
|
44043
|
+
# },
|
44035
44044
|
# })
|
44036
44045
|
#
|
44037
44046
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcAttribute AWS API Documentation
|
@@ -52155,7 +52164,7 @@ module Aws::EC2
|
|
52155
52164
|
params: params,
|
52156
52165
|
config: config)
|
52157
52166
|
context[:gem_name] = 'aws-sdk-ec2'
|
52158
|
-
context[:gem_version] = '1.
|
52167
|
+
context[:gem_version] = '1.341.0'
|
52159
52168
|
Seahorse::Client::Request.new(handlers, context)
|
52160
52169
|
end
|
52161
52170
|
|
@@ -6756,6 +6756,7 @@ module Aws::EC2
|
|
6756
6756
|
DescribeVpcAttributeResult.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
|
6757
6757
|
DescribeVpcAttributeResult.add_member(:enable_dns_hostnames, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "enableDnsHostnames"))
|
6758
6758
|
DescribeVpcAttributeResult.add_member(:enable_dns_support, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "enableDnsSupport"))
|
6759
|
+
DescribeVpcAttributeResult.add_member(:enable_network_address_usage_metrics, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "enableNetworkAddressUsageMetrics"))
|
6759
6760
|
DescribeVpcAttributeResult.struct_class = Types::DescribeVpcAttributeResult
|
6760
6761
|
|
6761
6762
|
DescribeVpcClassicLinkDnsSupportRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeVpcClassicLinkDnsSupportMaxResults, location_name: "maxResults"))
|
@@ -10272,6 +10273,7 @@ module Aws::EC2
|
|
10272
10273
|
ModifyVpcAttributeRequest.add_member(:enable_dns_hostnames, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "EnableDnsHostnames"))
|
10273
10274
|
ModifyVpcAttributeRequest.add_member(:enable_dns_support, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "EnableDnsSupport"))
|
10274
10275
|
ModifyVpcAttributeRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "vpcId"))
|
10276
|
+
ModifyVpcAttributeRequest.add_member(:enable_network_address_usage_metrics, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "EnableNetworkAddressUsageMetrics"))
|
10275
10277
|
ModifyVpcAttributeRequest.struct_class = Types::ModifyVpcAttributeRequest
|
10276
10278
|
|
10277
10279
|
ModifyVpcEndpointConnectionNotificationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -29464,7 +29464,7 @@ module Aws::EC2
|
|
29464
29464
|
# data as a hash:
|
29465
29465
|
#
|
29466
29466
|
# {
|
29467
|
-
# attribute: "enableDnsSupport", # required, accepts enableDnsSupport, enableDnsHostnames
|
29467
|
+
# attribute: "enableDnsSupport", # required, accepts enableDnsSupport, enableDnsHostnames, enableNetworkAddressUsageMetrics
|
29468
29468
|
# vpc_id: "VpcId", # required
|
29469
29469
|
# dry_run: false,
|
29470
29470
|
# }
|
@@ -29511,12 +29511,18 @@ module Aws::EC2
|
|
29511
29511
|
# it does not.
|
29512
29512
|
# @return [Types::AttributeBooleanValue]
|
29513
29513
|
#
|
29514
|
+
# @!attribute [rw] enable_network_address_usage_metrics
|
29515
|
+
# Indicates whether Network Address Usage metrics are enabled for your
|
29516
|
+
# VPC.
|
29517
|
+
# @return [Types::AttributeBooleanValue]
|
29518
|
+
#
|
29514
29519
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcAttributeResult AWS API Documentation
|
29515
29520
|
#
|
29516
29521
|
class DescribeVpcAttributeResult < Struct.new(
|
29517
29522
|
:vpc_id,
|
29518
29523
|
:enable_dns_hostnames,
|
29519
|
-
:enable_dns_support
|
29524
|
+
:enable_dns_support,
|
29525
|
+
:enable_network_address_usage_metrics)
|
29520
29526
|
SENSITIVE = []
|
29521
29527
|
include Aws::Structure
|
29522
29528
|
end
|
@@ -51865,6 +51871,9 @@ module Aws::EC2
|
|
51865
51871
|
# value: false,
|
51866
51872
|
# },
|
51867
51873
|
# vpc_id: "VpcId", # required
|
51874
|
+
# enable_network_address_usage_metrics: {
|
51875
|
+
# value: false,
|
51876
|
+
# },
|
51868
51877
|
# }
|
51869
51878
|
#
|
51870
51879
|
# @!attribute [rw] enable_dns_hostnames
|
@@ -51893,12 +51902,18 @@ module Aws::EC2
|
|
51893
51902
|
# The ID of the VPC.
|
51894
51903
|
# @return [String]
|
51895
51904
|
#
|
51905
|
+
# @!attribute [rw] enable_network_address_usage_metrics
|
51906
|
+
# Indicates whether Network Address Usage metrics are enabled for your
|
51907
|
+
# VPC.
|
51908
|
+
# @return [Types::AttributeBooleanValue]
|
51909
|
+
#
|
51896
51910
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcAttributeRequest AWS API Documentation
|
51897
51911
|
#
|
51898
51912
|
class ModifyVpcAttributeRequest < Struct.new(
|
51899
51913
|
:enable_dns_hostnames,
|
51900
51914
|
:enable_dns_support,
|
51901
|
-
:vpc_id
|
51915
|
+
:vpc_id,
|
51916
|
+
:enable_network_address_usage_metrics)
|
51902
51917
|
SENSITIVE = []
|
51903
51918
|
include Aws::Structure
|
51904
51919
|
end
|
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -646,7 +646,7 @@ module Aws::EC2
|
|
646
646
|
# @example Request syntax with placeholder values
|
647
647
|
#
|
648
648
|
# vpc.describe_attribute({
|
649
|
-
# attribute: "enableDnsSupport", # required, accepts enableDnsSupport, enableDnsHostnames
|
649
|
+
# attribute: "enableDnsSupport", # required, accepts enableDnsSupport, enableDnsHostnames, enableNetworkAddressUsageMetrics
|
650
650
|
# dry_run: false,
|
651
651
|
# })
|
652
652
|
# @param [Hash] options ({})
|
@@ -751,6 +751,9 @@ module Aws::EC2
|
|
751
751
|
# enable_dns_support: {
|
752
752
|
# value: false,
|
753
753
|
# },
|
754
|
+
# enable_network_address_usage_metrics: {
|
755
|
+
# value: false,
|
756
|
+
# },
|
754
757
|
# })
|
755
758
|
# @param [Hash] options ({})
|
756
759
|
# @option options [Types::AttributeBooleanValue] :enable_dns_hostnames
|
@@ -771,6 +774,9 @@ module Aws::EC2
|
|
771
774
|
#
|
772
775
|
# You cannot modify the DNS resolution and DNS hostnames attributes in
|
773
776
|
# the same request. Use separate requests for each attribute.
|
777
|
+
# @option options [Types::AttributeBooleanValue] :enable_network_address_usage_metrics
|
778
|
+
# Indicates whether Network Address Usage metrics are enabled for your
|
779
|
+
# VPC.
|
774
780
|
# @return [EmptyStructure]
|
775
781
|
def modify_attribute(options = {})
|
776
782
|
options = options.merge(vpc_id: @id)
|
data/lib/aws-sdk-ec2.rb
CHANGED
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.
|
4
|
+
version: 1.341.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: 2022-10-
|
11
|
+
date: 2022-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|