aws-sdk-ec2 1.659.0 → 1.661.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.
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.659.0'
81
+ GEM_VERSION = '1.661.0'
82
82
 
83
83
  end
84
84
 
data/sig/client.rbs CHANGED
@@ -10538,6 +10538,20 @@ module Aws
10538
10538
  ) -> _GetImageBlockPublicAccessStateResponseSuccess
10539
10539
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetImageBlockPublicAccessStateResponseSuccess
10540
10540
 
10541
+ interface _GetImageFindingsResponseSuccess
10542
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetImageFindingsResult]
10543
+ def image_findings: () -> ::Array[Types::ImageFinding]
10544
+ def next_token: () -> ::String
10545
+ end
10546
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#get_image_findings-instance_method
10547
+ def get_image_findings: (
10548
+ image_id: ::String,
10549
+ ?max_results: ::Integer,
10550
+ ?next_token: ::String,
10551
+ ?dry_run: bool
10552
+ ) -> _GetImageFindingsResponseSuccess
10553
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetImageFindingsResponseSuccess
10554
+
10541
10555
  interface _GetInstanceMetadataDefaultsResponseSuccess
10542
10556
  include ::Seahorse::Client::_ResponseSuccess[Types::GetInstanceMetadataDefaultsResult]
10543
10557
  def account_level: () -> Types::InstanceMetadataDefaultsResponse
@@ -11218,6 +11232,20 @@ module Aws
11218
11232
  ) -> _GetSubnetCidrReservationsResponseSuccess
11219
11233
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSubnetCidrReservationsResponseSuccess
11220
11234
 
11235
+ interface _GetTransitGatewayAttachmentNatConfigurationResponseSuccess
11236
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTransitGatewayAttachmentNatConfigurationResult]
11237
+ def transit_gateway_attachment_id: () -> ::String
11238
+ def nat_gateway_support: () -> ("enabled" | "disabled" | "enabling" | "disabling")
11239
+ def nat_system_route_support: () -> ("enable" | "disable")
11240
+ def nat_gateway_rules: () -> ::Array[Types::TransitGatewayNatRule]
11241
+ end
11242
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#get_transit_gateway_attachment_nat_configuration-instance_method
11243
+ def get_transit_gateway_attachment_nat_configuration: (
11244
+ transit_gateway_attachment_id: ::String,
11245
+ ?dry_run: bool
11246
+ ) -> _GetTransitGatewayAttachmentNatConfigurationResponseSuccess
11247
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTransitGatewayAttachmentNatConfigurationResponseSuccess
11248
+
11221
11249
  interface _GetTransitGatewayAttachmentPropagationsResponseSuccess
11222
11250
  include ::Seahorse::Client::_ResponseSuccess[Types::GetTransitGatewayAttachmentPropagationsResult]
11223
11251
  def transit_gateway_attachment_propagations: () -> ::Array[Types::TransitGatewayAttachmentPropagation]
@@ -12840,6 +12868,30 @@ module Aws
12840
12868
  ) -> _ModifyTransitGatewayResponseSuccess
12841
12869
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyTransitGatewayResponseSuccess
12842
12870
 
12871
+ interface _ModifyTransitGatewayAttachmentNatConfigurationResponseSuccess
12872
+ include ::Seahorse::Client::_ResponseSuccess[Types::ModifyTransitGatewayAttachmentNatConfigurationResult]
12873
+ def transit_gateway_attachment_id: () -> ::String
12874
+ def nat_gateway_support: () -> ("enabled" | "disabled" | "enabling" | "disabling")
12875
+ def nat_system_route_support: () -> ("enable" | "disable")
12876
+ def nat_gateway_rules: () -> ::Array[Types::TransitGatewayNatRule]
12877
+ end
12878
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#modify_transit_gateway_attachment_nat_configuration-instance_method
12879
+ def modify_transit_gateway_attachment_nat_configuration: (
12880
+ transit_gateway_attachment_id: ::String,
12881
+ ?nat_gateway_support: ("enable" | "disable"),
12882
+ ?nat_system_route_support: ("enable" | "disable"),
12883
+ ?nat_gateway_rules: Array[
12884
+ {
12885
+ rule_number: ::Integer?,
12886
+ match_source_cidr: ::String?,
12887
+ nat_cidr: ::String?
12888
+ }
12889
+ ],
12890
+ ?reset_nat_gateway_rules: bool,
12891
+ ?dry_run: bool
12892
+ ) -> _ModifyTransitGatewayAttachmentNatConfigurationResponseSuccess
12893
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyTransitGatewayAttachmentNatConfigurationResponseSuccess
12894
+
12843
12895
  interface _ModifyTransitGatewayMeteringPolicyResponseSuccess
12844
12896
  include ::Seahorse::Client::_ResponseSuccess[Types::ModifyTransitGatewayMeteringPolicyResult]
12845
12897
  def transit_gateway_metering_policy: () -> Types::TransitGatewayMeteringPolicy
@@ -13888,7 +13940,16 @@ module Aws
13888
13940
  maximum_days_since_source_image_created: ::Integer?,
13889
13941
  maximum_days_since_watermark_created: ::Integer?
13890
13942
  }
13891
- ]?
13943
+ ]?,
13944
+ scan_result_condition: {
13945
+ max_days_since_last_finding_scan: ::Integer?,
13946
+ maximum_severity_label: ("informational" | "low" | "medium" | "high" | "critical")?,
13947
+ max_days_since_informational_fix_available: ::Integer?,
13948
+ max_days_since_low_fix_available: ::Integer?,
13949
+ max_days_since_medium_fix_available: ::Integer?,
13950
+ max_days_since_high_fix_available: ::Integer?,
13951
+ max_days_since_critical_fix_available: ::Integer?
13952
+ }?
13892
13953
  }
13893
13954
  ],
13894
13955
  ?dry_run: bool
data/sig/image.rbs CHANGED
@@ -99,6 +99,9 @@ module Aws
99
99
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Image.html#image_watermarks-instance_method
100
100
  def image_watermarks: () -> ::Array[Types::ImageWatermark]
101
101
 
102
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Image.html#scan_results-instance_method
103
+ def scan_results: () -> Types::ScanResults
104
+
102
105
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Image.html#instance_type_specification-instance_method
103
106
  def instance_type_specification: () -> Types::InstanceTypeSpecification
104
107
 
data/sig/types.rbs CHANGED
@@ -10411,6 +10411,20 @@ module Aws::EC2
10411
10411
  SENSITIVE: []
10412
10412
  end
10413
10413
 
10414
+ class GetImageFindingsRequest
10415
+ attr_accessor image_id: ::String
10416
+ attr_accessor max_results: ::Integer
10417
+ attr_accessor next_token: ::String
10418
+ attr_accessor dry_run: bool
10419
+ SENSITIVE: []
10420
+ end
10421
+
10422
+ class GetImageFindingsResult
10423
+ attr_accessor image_findings: ::Array[Types::ImageFinding]
10424
+ attr_accessor next_token: ::String
10425
+ SENSITIVE: []
10426
+ end
10427
+
10414
10428
  class GetInstanceMetadataDefaultsRequest
10415
10429
  attr_accessor dry_run: bool
10416
10430
  SENSITIVE: []
@@ -10994,6 +11008,20 @@ module Aws::EC2
10994
11008
  SENSITIVE: []
10995
11009
  end
10996
11010
 
11011
+ class GetTransitGatewayAttachmentNatConfigurationRequest
11012
+ attr_accessor transit_gateway_attachment_id: ::String
11013
+ attr_accessor dry_run: bool
11014
+ SENSITIVE: []
11015
+ end
11016
+
11017
+ class GetTransitGatewayAttachmentNatConfigurationResult
11018
+ attr_accessor transit_gateway_attachment_id: ::String
11019
+ attr_accessor nat_gateway_support: ("enabled" | "disabled" | "enabling" | "disabling")
11020
+ attr_accessor nat_system_route_support: ("enable" | "disable")
11021
+ attr_accessor nat_gateway_rules: ::Array[Types::TransitGatewayNatRule]
11022
+ SENSITIVE: []
11023
+ end
11024
+
10997
11025
  class GetTransitGatewayAttachmentPropagationsRequest
10998
11026
  attr_accessor transit_gateway_attachment_id: ::String
10999
11027
  attr_accessor filters: ::Array[Types::Filter]
@@ -11450,6 +11478,7 @@ module Aws::EC2
11450
11478
  attr_accessor free_tier_eligible: bool
11451
11479
  attr_accessor public_ssm_parameter_name: ::String
11452
11480
  attr_accessor image_watermarks: ::Array[Types::ImageWatermark]
11481
+ attr_accessor scan_results: Types::ScanResults
11453
11482
  attr_accessor instance_type_specification: Types::InstanceTypeSpecification
11454
11483
  attr_accessor image_id: ::String
11455
11484
  attr_accessor image_location: ::String
@@ -11500,6 +11529,7 @@ module Aws::EC2
11500
11529
  attr_accessor deprecation_time_condition: Types::DeprecationTimeCondition
11501
11530
  attr_accessor creation_date_condition: Types::CreationDateCondition
11502
11531
  attr_accessor image_watermarks: ::Array[Types::ImageWatermarkFilterResponse]
11532
+ attr_accessor scan_result_condition: Types::ScanResultCondition
11503
11533
  SENSITIVE: []
11504
11534
  end
11505
11535
 
@@ -11510,6 +11540,7 @@ module Aws::EC2
11510
11540
  attr_accessor deprecation_time_condition: Types::DeprecationTimeConditionRequest
11511
11541
  attr_accessor creation_date_condition: Types::CreationDateConditionRequest
11512
11542
  attr_accessor image_watermarks: ::Array[Types::ImageWatermarkFilterRequest]
11543
+ attr_accessor scan_result_condition: Types::ScanResultConditionRequest
11513
11544
  SENSITIVE: []
11514
11545
  end
11515
11546
 
@@ -11523,6 +11554,18 @@ module Aws::EC2
11523
11554
  SENSITIVE: [:url]
11524
11555
  end
11525
11556
 
11557
+ class ImageFinding
11558
+ attr_accessor fix_available: bool
11559
+ attr_accessor score: ::Float
11560
+ attr_accessor first_observed_at: ::Time
11561
+ attr_accessor updated_at: ::Time
11562
+ attr_accessor title: ::String
11563
+ attr_accessor paths: ::Array[::String]
11564
+ attr_accessor severity_label: ("informational" | "low" | "medium" | "high" | "critical")
11565
+ attr_accessor snapshot_id: ::String
11566
+ SENSITIVE: []
11567
+ end
11568
+
11526
11569
  class ImageMetadata
11527
11570
  attr_accessor image_id: ::String
11528
11571
  attr_accessor name: ::String
@@ -14791,6 +14834,24 @@ module Aws::EC2
14791
14834
  SENSITIVE: []
14792
14835
  end
14793
14836
 
14837
+ class ModifyTransitGatewayAttachmentNatConfigurationRequest
14838
+ attr_accessor transit_gateway_attachment_id: ::String
14839
+ attr_accessor nat_gateway_support: ("enable" | "disable")
14840
+ attr_accessor nat_system_route_support: ("enable" | "disable")
14841
+ attr_accessor nat_gateway_rules: ::Array[Types::TransitGatewayNatRuleRequest]
14842
+ attr_accessor reset_nat_gateway_rules: bool
14843
+ attr_accessor dry_run: bool
14844
+ SENSITIVE: []
14845
+ end
14846
+
14847
+ class ModifyTransitGatewayAttachmentNatConfigurationResult
14848
+ attr_accessor transit_gateway_attachment_id: ::String
14849
+ attr_accessor nat_gateway_support: ("enabled" | "disabled" | "enabling" | "disabling")
14850
+ attr_accessor nat_system_route_support: ("enable" | "disable")
14851
+ attr_accessor nat_gateway_rules: ::Array[Types::TransitGatewayNatRule]
14852
+ SENSITIVE: []
14853
+ end
14854
+
14794
14855
  class ModifyTransitGatewayMeteringPolicyRequest
14795
14856
  attr_accessor transit_gateway_metering_policy_id: ::String
14796
14857
  attr_accessor add_middlebox_attachment_ids: ::Array[::String]
@@ -17541,6 +17602,39 @@ module Aws::EC2
17541
17602
  SENSITIVE: [:upload_policy, :upload_policy_signature]
17542
17603
  end
17543
17604
 
17605
+ class ScanResultCondition
17606
+ attr_accessor max_days_since_last_finding_scan: ::Integer
17607
+ attr_accessor maximum_severity_label: ("informational" | "low" | "medium" | "high" | "critical")
17608
+ attr_accessor max_days_since_informational_fix_available: ::Integer
17609
+ attr_accessor max_days_since_low_fix_available: ::Integer
17610
+ attr_accessor max_days_since_medium_fix_available: ::Integer
17611
+ attr_accessor max_days_since_high_fix_available: ::Integer
17612
+ attr_accessor max_days_since_critical_fix_available: ::Integer
17613
+ SENSITIVE: []
17614
+ end
17615
+
17616
+ class ScanResultConditionRequest
17617
+ attr_accessor max_days_since_last_finding_scan: ::Integer
17618
+ attr_accessor maximum_severity_label: ("informational" | "low" | "medium" | "high" | "critical")
17619
+ attr_accessor max_days_since_informational_fix_available: ::Integer
17620
+ attr_accessor max_days_since_low_fix_available: ::Integer
17621
+ attr_accessor max_days_since_medium_fix_available: ::Integer
17622
+ attr_accessor max_days_since_high_fix_available: ::Integer
17623
+ attr_accessor max_days_since_critical_fix_available: ::Integer
17624
+ SENSITIVE: []
17625
+ end
17626
+
17627
+ class ScanResults
17628
+ attr_accessor highest_finding_severity_label: ("informational" | "low" | "medium" | "high" | "critical")
17629
+ attr_accessor finding_scan_date: ::Time
17630
+ attr_accessor informational_fix_available_since: ::Time
17631
+ attr_accessor low_fix_available_since: ::Time
17632
+ attr_accessor medium_fix_available_since: ::Time
17633
+ attr_accessor high_fix_available_since: ::Time
17634
+ attr_accessor critical_fix_available_since: ::Time
17635
+ SENSITIVE: []
17636
+ end
17637
+
17544
17638
  class ScheduledInstance
17545
17639
  attr_accessor availability_zone: ::String
17546
17640
  attr_accessor create_date: ::Time
@@ -18763,6 +18857,7 @@ module Aws::EC2
18763
18857
  attr_accessor association: Types::TransitGatewayAttachmentAssociation
18764
18858
  attr_accessor creation_time: ::Time
18765
18859
  attr_accessor tags: ::Array[Types::Tag]
18860
+ attr_accessor nat_gateway_support: ("enabled" | "disabled" | "enabling" | "disabling")
18766
18861
  SENSITIVE: []
18767
18862
  end
18768
18863
 
@@ -18967,6 +19062,21 @@ module Aws::EC2
18967
19062
  SENSITIVE: []
18968
19063
  end
18969
19064
 
19065
+ class TransitGatewayNatRule
19066
+ attr_accessor rule_number: ::Integer
19067
+ attr_accessor match_source_cidr: ::String
19068
+ attr_accessor nat_cidr: ::String
19069
+ attr_accessor state: ("pending" | "activated" | "deactivated" | "deleting")
19070
+ SENSITIVE: []
19071
+ end
19072
+
19073
+ class TransitGatewayNatRuleRequest
19074
+ attr_accessor rule_number: ::Integer
19075
+ attr_accessor match_source_cidr: ::String
19076
+ attr_accessor nat_cidr: ::String
19077
+ SENSITIVE: []
19078
+ end
19079
+
18970
19080
  class TransitGatewayOptions
18971
19081
  attr_accessor amazon_side_asn: ::Integer
18972
19082
  attr_accessor transit_gateway_cidr_blocks: ::Array[::String]
@@ -19104,7 +19214,7 @@ module Aws::EC2
19104
19214
  attr_accessor prefix_list_id: ::String
19105
19215
  attr_accessor transit_gateway_route_table_announcement_id: ::String
19106
19216
  attr_accessor transit_gateway_attachments: ::Array[Types::TransitGatewayRouteAttachment]
19107
- attr_accessor type: ("static" | "propagated")
19217
+ attr_accessor type: ("static" | "propagated" | "system")
19108
19218
  attr_accessor state: ("pending" | "active" | "blackhole" | "deleting" | "deleted")
19109
19219
  SENSITIVE: []
19110
19220
  end
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.659.0
4
+ version: 1.661.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services