aws-sdk-ec2 1.612.0 → 1.613.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 +159 -2
- data/lib/aws-sdk-ec2/client_api.rb +54 -1
- data/lib/aws-sdk-ec2/instance.rb +7 -1
- data/lib/aws-sdk-ec2/placement_group.rb +6 -0
- data/lib/aws-sdk-ec2/resource.rb +18 -0
- data/lib/aws-sdk-ec2/subnet.rb +12 -0
- data/lib/aws-sdk-ec2/types.rb +167 -6
- data/lib/aws-sdk-ec2/volume.rb +6 -0
- data/lib/aws-sdk-ec2/vpc.rb +12 -0
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +40 -2
- data/sig/instance.rbs +1 -0
- data/sig/placement_group.rbs +1 -0
- data/sig/resource.rbs +3 -0
- data/sig/subnet.rbs +2 -0
- data/sig/types.rbs +42 -1
- data/sig/volume.rbs +1 -0
- data/sig/vpc.rbs +2 -0
- data/sig/waiters.rbs +10 -0
- metadata +1 -1
data/lib/aws-sdk-ec2/types.rb
CHANGED
|
@@ -26150,6 +26150,13 @@ module Aws::EC2
|
|
|
26150
26150
|
# request.
|
|
26151
26151
|
# @return [String]
|
|
26152
26152
|
#
|
|
26153
|
+
# @!attribute [rw] include_managed_resources
|
|
26154
|
+
# Indicates whether to include managed resources in the output. If
|
|
26155
|
+
# this parameter is set to `true`, the output includes resources that
|
|
26156
|
+
# are managed by Amazon Web Services services, even if managed
|
|
26157
|
+
# resource visibility is set to hidden.
|
|
26158
|
+
# @return [Boolean]
|
|
26159
|
+
#
|
|
26153
26160
|
# @!attribute [rw] dry_run
|
|
26154
26161
|
# Checks whether you have the required permissions for the operation,
|
|
26155
26162
|
# without actually making the request, and provides an error response.
|
|
@@ -26234,6 +26241,7 @@ module Aws::EC2
|
|
|
26234
26241
|
:instance_ids,
|
|
26235
26242
|
:max_results,
|
|
26236
26243
|
:next_token,
|
|
26244
|
+
:include_managed_resources,
|
|
26237
26245
|
:dry_run,
|
|
26238
26246
|
:filters,
|
|
26239
26247
|
:include_all_instances)
|
|
@@ -26682,6 +26690,13 @@ module Aws::EC2
|
|
|
26682
26690
|
# Default: Describes all your instances.
|
|
26683
26691
|
# @return [Array<String>]
|
|
26684
26692
|
#
|
|
26693
|
+
# @!attribute [rw] include_managed_resources
|
|
26694
|
+
# Indicates whether to include managed resources in the output. If
|
|
26695
|
+
# this parameter is set to `true`, the output includes resources that
|
|
26696
|
+
# are managed by Amazon Web Services services, even if managed
|
|
26697
|
+
# resource visibility is set to hidden.
|
|
26698
|
+
# @return [Boolean]
|
|
26699
|
+
#
|
|
26685
26700
|
# @!attribute [rw] dry_run
|
|
26686
26701
|
# Checks whether you have the required permissions for the operation,
|
|
26687
26702
|
# without actually making the request, and provides an error response.
|
|
@@ -27170,6 +27185,7 @@ module Aws::EC2
|
|
|
27170
27185
|
#
|
|
27171
27186
|
class DescribeInstancesRequest < Struct.new(
|
|
27172
27187
|
:instance_ids,
|
|
27188
|
+
:include_managed_resources,
|
|
27173
27189
|
:dry_run,
|
|
27174
27190
|
:filters,
|
|
27175
27191
|
:next_token,
|
|
@@ -28125,6 +28141,13 @@ module Aws::EC2
|
|
|
28125
28141
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id
|
|
28126
28142
|
# @return [Boolean]
|
|
28127
28143
|
#
|
|
28144
|
+
# @!attribute [rw] include_managed_resources
|
|
28145
|
+
# Indicates whether to include managed resources in the output. If
|
|
28146
|
+
# this parameter is set to `true`, the output includes resources that
|
|
28147
|
+
# are managed by Amazon Web Services services, even if managed
|
|
28148
|
+
# resource visibility is set to hidden.
|
|
28149
|
+
# @return [Boolean]
|
|
28150
|
+
#
|
|
28128
28151
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLaunchTemplateVersionsRequest AWS API Documentation
|
|
28129
28152
|
#
|
|
28130
28153
|
class DescribeLaunchTemplateVersionsRequest < Struct.new(
|
|
@@ -28137,7 +28160,8 @@ module Aws::EC2
|
|
|
28137
28160
|
:next_token,
|
|
28138
28161
|
:max_results,
|
|
28139
28162
|
:filters,
|
|
28140
|
-
:resolve_alias
|
|
28163
|
+
:resolve_alias,
|
|
28164
|
+
:include_managed_resources)
|
|
28141
28165
|
SENSITIVE = []
|
|
28142
28166
|
include Aws::Structure
|
|
28143
28167
|
end
|
|
@@ -28203,6 +28227,13 @@ module Aws::EC2
|
|
|
28203
28227
|
# `NextToken` value. This value can be between 1 and 200.
|
|
28204
28228
|
# @return [Integer]
|
|
28205
28229
|
#
|
|
28230
|
+
# @!attribute [rw] include_managed_resources
|
|
28231
|
+
# Indicates whether to include managed resources in the output. If
|
|
28232
|
+
# this parameter is set to `true`, the output includes resources that
|
|
28233
|
+
# are managed by Amazon Web Services services, even if managed
|
|
28234
|
+
# resource visibility is set to hidden.
|
|
28235
|
+
# @return [Boolean]
|
|
28236
|
+
#
|
|
28206
28237
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLaunchTemplatesRequest AWS API Documentation
|
|
28207
28238
|
#
|
|
28208
28239
|
class DescribeLaunchTemplatesRequest < Struct.new(
|
|
@@ -28211,7 +28242,8 @@ module Aws::EC2
|
|
|
28211
28242
|
:launch_template_names,
|
|
28212
28243
|
:filters,
|
|
28213
28244
|
:next_token,
|
|
28214
|
-
:max_results
|
|
28245
|
+
:max_results,
|
|
28246
|
+
:include_managed_resources)
|
|
28215
28247
|
SENSITIVE = []
|
|
28216
28248
|
include Aws::Structure
|
|
28217
28249
|
end
|
|
@@ -29620,6 +29652,13 @@ module Aws::EC2
|
|
|
29620
29652
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
|
29621
29653
|
# @return [Integer]
|
|
29622
29654
|
#
|
|
29655
|
+
# @!attribute [rw] include_managed_resources
|
|
29656
|
+
# Indicates whether to include managed resources in the output. If
|
|
29657
|
+
# this parameter is set to `true`, the output includes resources that
|
|
29658
|
+
# are managed by Amazon Web Services services, even if managed
|
|
29659
|
+
# resource visibility is set to hidden.
|
|
29660
|
+
# @return [Boolean]
|
|
29661
|
+
#
|
|
29623
29662
|
# @!attribute [rw] dry_run
|
|
29624
29663
|
# Checks whether you have the required permissions for the action,
|
|
29625
29664
|
# without actually making the request, and provides an error response.
|
|
@@ -29766,6 +29805,7 @@ module Aws::EC2
|
|
|
29766
29805
|
class DescribeNetworkInterfacesRequest < Struct.new(
|
|
29767
29806
|
:next_token,
|
|
29768
29807
|
:max_results,
|
|
29808
|
+
:include_managed_resources,
|
|
29769
29809
|
:dry_run,
|
|
29770
29810
|
:network_interface_ids,
|
|
29771
29811
|
:filters)
|
|
@@ -34411,6 +34451,13 @@ module Aws::EC2
|
|
|
34411
34451
|
# Default: Describes all your volumes.
|
|
34412
34452
|
# @return [Array<String>]
|
|
34413
34453
|
#
|
|
34454
|
+
# @!attribute [rw] include_managed_resources
|
|
34455
|
+
# Indicates whether to include managed resources in the output. If
|
|
34456
|
+
# this parameter is set to `true`, the output includes resources that
|
|
34457
|
+
# are managed by Amazon Web Services services, even if managed
|
|
34458
|
+
# resource visibility is set to hidden.
|
|
34459
|
+
# @return [Boolean]
|
|
34460
|
+
#
|
|
34414
34461
|
# @!attribute [rw] dry_run
|
|
34415
34462
|
# Checks whether you have the required permissions for the action,
|
|
34416
34463
|
# without actually making the request, and provides an error response.
|
|
@@ -34460,6 +34507,7 @@ module Aws::EC2
|
|
|
34460
34507
|
:max_results,
|
|
34461
34508
|
:next_token,
|
|
34462
34509
|
:volume_ids,
|
|
34510
|
+
:include_managed_resources,
|
|
34463
34511
|
:dry_run,
|
|
34464
34512
|
:filters)
|
|
34465
34513
|
SENSITIVE = []
|
|
@@ -34576,6 +34624,13 @@ module Aws::EC2
|
|
|
34576
34624
|
# the response.
|
|
34577
34625
|
# @return [Array<String>]
|
|
34578
34626
|
#
|
|
34627
|
+
# @!attribute [rw] include_managed_resources
|
|
34628
|
+
# Indicates whether to include managed resources in the output. If
|
|
34629
|
+
# this parameter is set to `true`, the output includes resources that
|
|
34630
|
+
# are managed by Amazon Web Services services, even if managed
|
|
34631
|
+
# resource visibility is set to hidden.
|
|
34632
|
+
# @return [Boolean]
|
|
34633
|
+
#
|
|
34579
34634
|
# @!attribute [rw] dry_run
|
|
34580
34635
|
# Checks whether you have the required permissions for the action,
|
|
34581
34636
|
# without actually making the request, and provides an error response.
|
|
@@ -34668,6 +34723,7 @@ module Aws::EC2
|
|
|
34668
34723
|
#
|
|
34669
34724
|
class DescribeVolumesRequest < Struct.new(
|
|
34670
34725
|
:volume_ids,
|
|
34726
|
+
:include_managed_resources,
|
|
34671
34727
|
:dry_run,
|
|
34672
34728
|
:filters,
|
|
34673
34729
|
:next_token,
|
|
@@ -45576,6 +45632,33 @@ module Aws::EC2
|
|
|
45576
45632
|
include Aws::Structure
|
|
45577
45633
|
end
|
|
45578
45634
|
|
|
45635
|
+
# @!attribute [rw] dry_run
|
|
45636
|
+
# Checks whether you have the required permissions for the operation,
|
|
45637
|
+
# without actually making the request, and provides an error response.
|
|
45638
|
+
# If you have the required permissions, the error response is
|
|
45639
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
45640
|
+
# @return [Boolean]
|
|
45641
|
+
#
|
|
45642
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetManagedResourceVisibilityRequest AWS API Documentation
|
|
45643
|
+
#
|
|
45644
|
+
class GetManagedResourceVisibilityRequest < Struct.new(
|
|
45645
|
+
:dry_run)
|
|
45646
|
+
SENSITIVE = []
|
|
45647
|
+
include Aws::Structure
|
|
45648
|
+
end
|
|
45649
|
+
|
|
45650
|
+
# @!attribute [rw] visibility
|
|
45651
|
+
# The managed resource visibility settings for the account.
|
|
45652
|
+
# @return [Types::ManagedResourceVisibilitySettings]
|
|
45653
|
+
#
|
|
45654
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetManagedResourceVisibilityResult AWS API Documentation
|
|
45655
|
+
#
|
|
45656
|
+
class GetManagedResourceVisibilityResult < Struct.new(
|
|
45657
|
+
:visibility)
|
|
45658
|
+
SENSITIVE = []
|
|
45659
|
+
include Aws::Structure
|
|
45660
|
+
end
|
|
45661
|
+
|
|
45579
45662
|
# @!attribute [rw] network_insights_access_scope_analysis_id
|
|
45580
45663
|
# The ID of the Network Access Scope analysis.
|
|
45581
45664
|
# @return [String]
|
|
@@ -60021,6 +60104,23 @@ module Aws::EC2
|
|
|
60021
60104
|
include Aws::Structure
|
|
60022
60105
|
end
|
|
60023
60106
|
|
|
60107
|
+
# Describes the managed resource visibility settings for the account.
|
|
60108
|
+
#
|
|
60109
|
+
# @!attribute [rw] default_visibility
|
|
60110
|
+
# The default visibility setting for managed resources. A value of
|
|
60111
|
+
# `hidden` indicates that managed resources are not included in
|
|
60112
|
+
# Describe operation responses by default. A value of `visible`
|
|
60113
|
+
# indicates that managed resources are included by default.
|
|
60114
|
+
# @return [String]
|
|
60115
|
+
#
|
|
60116
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ManagedResourceVisibilitySettings AWS API Documentation
|
|
60117
|
+
#
|
|
60118
|
+
class ManagedResourceVisibilitySettings < Struct.new(
|
|
60119
|
+
:default_visibility)
|
|
60120
|
+
SENSITIVE = []
|
|
60121
|
+
include Aws::Structure
|
|
60122
|
+
end
|
|
60123
|
+
|
|
60024
60124
|
# Describes the media accelerators for the instance type.
|
|
60025
60125
|
#
|
|
60026
60126
|
# @!attribute [rw] accelerators
|
|
@@ -61332,7 +61432,18 @@ module Aws::EC2
|
|
|
61332
61432
|
:ebs_optimized,
|
|
61333
61433
|
:sriov_net_support,
|
|
61334
61434
|
:ena_support)
|
|
61335
|
-
SENSITIVE = []
|
|
61435
|
+
SENSITIVE = [:value]
|
|
61436
|
+
include Aws::Structure
|
|
61437
|
+
end
|
|
61438
|
+
|
|
61439
|
+
# @!attribute [rw] value
|
|
61440
|
+
# @return [String]
|
|
61441
|
+
#
|
|
61442
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceAttributeUserDataRequest AWS API Documentation
|
|
61443
|
+
#
|
|
61444
|
+
class ModifyInstanceAttributeUserDataRequest < Struct.new(
|
|
61445
|
+
:value)
|
|
61446
|
+
SENSITIVE = [:value]
|
|
61336
61447
|
include Aws::Structure
|
|
61337
61448
|
end
|
|
61338
61449
|
|
|
@@ -62857,6 +62968,39 @@ module Aws::EC2
|
|
|
62857
62968
|
include Aws::Structure
|
|
62858
62969
|
end
|
|
62859
62970
|
|
|
62971
|
+
# @!attribute [rw] dry_run
|
|
62972
|
+
# Checks whether you have the required permissions for the operation,
|
|
62973
|
+
# without actually making the request, and provides an error response.
|
|
62974
|
+
# If you have the required permissions, the error response is
|
|
62975
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
62976
|
+
# @return [Boolean]
|
|
62977
|
+
#
|
|
62978
|
+
# @!attribute [rw] default_visibility
|
|
62979
|
+
# The default visibility setting for managed resources. Valid values:
|
|
62980
|
+
# `hidden` \| `visible`.
|
|
62981
|
+
# @return [String]
|
|
62982
|
+
#
|
|
62983
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyManagedResourceVisibilityRequest AWS API Documentation
|
|
62984
|
+
#
|
|
62985
|
+
class ModifyManagedResourceVisibilityRequest < Struct.new(
|
|
62986
|
+
:dry_run,
|
|
62987
|
+
:default_visibility)
|
|
62988
|
+
SENSITIVE = []
|
|
62989
|
+
include Aws::Structure
|
|
62990
|
+
end
|
|
62991
|
+
|
|
62992
|
+
# @!attribute [rw] visibility
|
|
62993
|
+
# The updated managed resource visibility settings for the account.
|
|
62994
|
+
# @return [Types::ManagedResourceVisibilitySettings]
|
|
62995
|
+
#
|
|
62996
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyManagedResourceVisibilityResult AWS API Documentation
|
|
62997
|
+
#
|
|
62998
|
+
class ModifyManagedResourceVisibilityResult < Struct.new(
|
|
62999
|
+
:visibility)
|
|
63000
|
+
SENSITIVE = []
|
|
63001
|
+
include Aws::Structure
|
|
63002
|
+
end
|
|
63003
|
+
|
|
62860
63004
|
# Contains the parameters for ModifyNetworkInterfaceAttribute.
|
|
62861
63005
|
#
|
|
62862
63006
|
# @!attribute [rw] ena_srd_specification
|
|
@@ -67988,11 +68132,17 @@ module Aws::EC2
|
|
|
67988
68132
|
# principal is the service provider that manages the resource.
|
|
67989
68133
|
# @return [String]
|
|
67990
68134
|
#
|
|
68135
|
+
# @!attribute [rw] hidden_by_default
|
|
68136
|
+
# If `true`, the resource is hidden by default based on the managed
|
|
68137
|
+
# resource visibility settings for the account.
|
|
68138
|
+
# @return [Boolean]
|
|
68139
|
+
#
|
|
67991
68140
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/OperatorResponse AWS API Documentation
|
|
67992
68141
|
#
|
|
67993
68142
|
class OperatorResponse < Struct.new(
|
|
67994
68143
|
:managed,
|
|
67995
|
-
:principal
|
|
68144
|
+
:principal,
|
|
68145
|
+
:hidden_by_default)
|
|
67996
68146
|
SENSITIVE = []
|
|
67997
68147
|
include Aws::Structure
|
|
67998
68148
|
end
|
|
@@ -85632,6 +85782,11 @@ module Aws::EC2
|
|
|
85632
85782
|
# The modification completion or failure time.
|
|
85633
85783
|
# @return [Time]
|
|
85634
85784
|
#
|
|
85785
|
+
# @!attribute [rw] operator
|
|
85786
|
+
# Describes whether the resource is managed by a service provider and,
|
|
85787
|
+
# if so, describes the service provider that manages it.
|
|
85788
|
+
# @return [Types::OperatorResponse]
|
|
85789
|
+
#
|
|
85635
85790
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeModification AWS API Documentation
|
|
85636
85791
|
#
|
|
85637
85792
|
class VolumeModification < Struct.new(
|
|
@@ -85650,7 +85805,8 @@ module Aws::EC2
|
|
|
85650
85805
|
:original_multi_attach_enabled,
|
|
85651
85806
|
:progress,
|
|
85652
85807
|
:start_time,
|
|
85653
|
-
:end_time
|
|
85808
|
+
:end_time,
|
|
85809
|
+
:operator)
|
|
85654
85810
|
SENSITIVE = []
|
|
85655
85811
|
include Aws::Structure
|
|
85656
85812
|
end
|
|
@@ -85934,6 +86090,10 @@ module Aws::EC2
|
|
|
85934
86090
|
# The ID of the Availability Zone.
|
|
85935
86091
|
# @return [String]
|
|
85936
86092
|
#
|
|
86093
|
+
# @!attribute [rw] operator
|
|
86094
|
+
# The service provider that manages the resource.
|
|
86095
|
+
# @return [Types::OperatorResponse]
|
|
86096
|
+
#
|
|
85937
86097
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeStatusItem AWS API Documentation
|
|
85938
86098
|
#
|
|
85939
86099
|
class VolumeStatusItem < Struct.new(
|
|
@@ -85945,7 +86105,8 @@ module Aws::EC2
|
|
|
85945
86105
|
:volume_status,
|
|
85946
86106
|
:attachment_statuses,
|
|
85947
86107
|
:initialization_status_details,
|
|
85948
|
-
:availability_zone_id
|
|
86108
|
+
:availability_zone_id,
|
|
86109
|
+
:operator)
|
|
85949
86110
|
SENSITIVE = []
|
|
85950
86111
|
include Aws::Structure
|
|
85951
86112
|
end
|
data/lib/aws-sdk-ec2/volume.rb
CHANGED
|
@@ -552,6 +552,7 @@ module Aws::EC2
|
|
|
552
552
|
# volume.describe_status({
|
|
553
553
|
# max_results: 1,
|
|
554
554
|
# next_token: "String",
|
|
555
|
+
# include_managed_resources: false,
|
|
555
556
|
# dry_run: false,
|
|
556
557
|
# filters: [
|
|
557
558
|
# {
|
|
@@ -572,6 +573,11 @@ module Aws::EC2
|
|
|
572
573
|
# @option options [String] :next_token
|
|
573
574
|
# The token returned from a previous paginated request. Pagination
|
|
574
575
|
# continues from the end of the items returned by the previous request.
|
|
576
|
+
# @option options [Boolean] :include_managed_resources
|
|
577
|
+
# Indicates whether to include managed resources in the output. If this
|
|
578
|
+
# parameter is set to `true`, the output includes resources that are
|
|
579
|
+
# managed by Amazon Web Services services, even if managed resource
|
|
580
|
+
# visibility is set to hidden.
|
|
575
581
|
# @option options [Boolean] :dry_run
|
|
576
582
|
# Checks whether you have the required permissions for the action,
|
|
577
583
|
# without actually making the request, and provides an error response.
|
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
|
@@ -1023,6 +1023,7 @@ module Aws::EC2
|
|
|
1023
1023
|
#
|
|
1024
1024
|
# instances = vpc.instances({
|
|
1025
1025
|
# instance_ids: ["InstanceId"],
|
|
1026
|
+
# include_managed_resources: false,
|
|
1026
1027
|
# dry_run: false,
|
|
1027
1028
|
# filters: [
|
|
1028
1029
|
# {
|
|
@@ -1036,6 +1037,11 @@ module Aws::EC2
|
|
|
1036
1037
|
# The instance IDs.
|
|
1037
1038
|
#
|
|
1038
1039
|
# Default: Describes all your instances.
|
|
1040
|
+
# @option options [Boolean] :include_managed_resources
|
|
1041
|
+
# Indicates whether to include managed resources in the output. If this
|
|
1042
|
+
# parameter is set to `true`, the output includes resources that are
|
|
1043
|
+
# managed by Amazon Web Services services, even if managed resource
|
|
1044
|
+
# visibility is set to hidden.
|
|
1039
1045
|
# @option options [Boolean] :dry_run
|
|
1040
1046
|
# Checks whether you have the required permissions for the operation,
|
|
1041
1047
|
# without actually making the request, and provides an error response.
|
|
@@ -1690,6 +1696,7 @@ module Aws::EC2
|
|
|
1690
1696
|
# @example Request syntax with placeholder values
|
|
1691
1697
|
#
|
|
1692
1698
|
# network_interfaces = vpc.network_interfaces({
|
|
1699
|
+
# include_managed_resources: false,
|
|
1693
1700
|
# dry_run: false,
|
|
1694
1701
|
# network_interface_ids: ["NetworkInterfaceId"],
|
|
1695
1702
|
# filters: [
|
|
@@ -1700,6 +1707,11 @@ module Aws::EC2
|
|
|
1700
1707
|
# ],
|
|
1701
1708
|
# })
|
|
1702
1709
|
# @param [Hash] options ({})
|
|
1710
|
+
# @option options [Boolean] :include_managed_resources
|
|
1711
|
+
# Indicates whether to include managed resources in the output. If this
|
|
1712
|
+
# parameter is set to `true`, the output includes resources that are
|
|
1713
|
+
# managed by Amazon Web Services services, even if managed resource
|
|
1714
|
+
# visibility is set to hidden.
|
|
1703
1715
|
# @option options [Boolean] :dry_run
|
|
1704
1716
|
# Checks whether you have the required permissions for the action,
|
|
1705
1717
|
# without actually making the request, and provides an error response.
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -7225,6 +7225,7 @@ module Aws
|
|
|
7225
7225
|
?instance_ids: Array[::String],
|
|
7226
7226
|
?max_results: ::Integer,
|
|
7227
7227
|
?next_token: ::String,
|
|
7228
|
+
?include_managed_resources: bool,
|
|
7228
7229
|
?dry_run: bool,
|
|
7229
7230
|
?filters: Array[
|
|
7230
7231
|
{
|
|
@@ -7305,6 +7306,7 @@ module Aws
|
|
|
7305
7306
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#describe_instances-instance_method
|
|
7306
7307
|
def describe_instances: (
|
|
7307
7308
|
?instance_ids: Array[::String],
|
|
7309
|
+
?include_managed_resources: bool,
|
|
7308
7310
|
?dry_run: bool,
|
|
7309
7311
|
?filters: Array[
|
|
7310
7312
|
{
|
|
@@ -7591,7 +7593,8 @@ module Aws
|
|
|
7591
7593
|
values: Array[::String]?
|
|
7592
7594
|
},
|
|
7593
7595
|
],
|
|
7594
|
-
?resolve_alias: bool
|
|
7596
|
+
?resolve_alias: bool,
|
|
7597
|
+
?include_managed_resources: bool
|
|
7595
7598
|
) -> _DescribeLaunchTemplateVersionsResponseSuccess
|
|
7596
7599
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLaunchTemplateVersionsResponseSuccess
|
|
7597
7600
|
|
|
@@ -7612,7 +7615,8 @@ module Aws
|
|
|
7612
7615
|
},
|
|
7613
7616
|
],
|
|
7614
7617
|
?next_token: ::String,
|
|
7615
|
-
?max_results: ::Integer
|
|
7618
|
+
?max_results: ::Integer,
|
|
7619
|
+
?include_managed_resources: bool
|
|
7616
7620
|
) -> _DescribeLaunchTemplatesResponseSuccess
|
|
7617
7621
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLaunchTemplatesResponseSuccess
|
|
7618
7622
|
|
|
@@ -8006,6 +8010,7 @@ module Aws
|
|
|
8006
8010
|
def describe_network_interfaces: (
|
|
8007
8011
|
?next_token: ::String,
|
|
8008
8012
|
?max_results: ::Integer,
|
|
8013
|
+
?include_managed_resources: bool,
|
|
8009
8014
|
?dry_run: bool,
|
|
8010
8015
|
?network_interface_ids: Array[::String],
|
|
8011
8016
|
?filters: Array[
|
|
@@ -9197,6 +9202,7 @@ module Aws
|
|
|
9197
9202
|
?max_results: ::Integer,
|
|
9198
9203
|
?next_token: ::String,
|
|
9199
9204
|
?volume_ids: Array[::String],
|
|
9205
|
+
?include_managed_resources: bool,
|
|
9200
9206
|
?dry_run: bool,
|
|
9201
9207
|
?filters: Array[
|
|
9202
9208
|
{
|
|
@@ -9215,6 +9221,7 @@ module Aws
|
|
|
9215
9221
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#describe_volumes-instance_method
|
|
9216
9222
|
def describe_volumes: (
|
|
9217
9223
|
?volume_ids: Array[::String],
|
|
9224
|
+
?include_managed_resources: bool,
|
|
9218
9225
|
?dry_run: bool,
|
|
9219
9226
|
?filters: Array[
|
|
9220
9227
|
{
|
|
@@ -11249,6 +11256,16 @@ module Aws
|
|
|
11249
11256
|
) -> _GetManagedPrefixListEntriesResponseSuccess
|
|
11250
11257
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetManagedPrefixListEntriesResponseSuccess
|
|
11251
11258
|
|
|
11259
|
+
interface _GetManagedResourceVisibilityResponseSuccess
|
|
11260
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetManagedResourceVisibilityResult]
|
|
11261
|
+
def visibility: () -> Types::ManagedResourceVisibilitySettings
|
|
11262
|
+
end
|
|
11263
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#get_managed_resource_visibility-instance_method
|
|
11264
|
+
def get_managed_resource_visibility: (
|
|
11265
|
+
?dry_run: bool
|
|
11266
|
+
) -> _GetManagedResourceVisibilityResponseSuccess
|
|
11267
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetManagedResourceVisibilityResponseSuccess
|
|
11268
|
+
|
|
11252
11269
|
interface _GetNetworkInsightsAccessScopeAnalysisFindingsResponseSuccess
|
|
11253
11270
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetNetworkInsightsAccessScopeAnalysisFindingsResult]
|
|
11254
11271
|
def network_insights_access_scope_analysis_id: () -> ::String
|
|
@@ -12866,6 +12883,17 @@ module Aws
|
|
|
12866
12883
|
) -> _ModifyManagedPrefixListResponseSuccess
|
|
12867
12884
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyManagedPrefixListResponseSuccess
|
|
12868
12885
|
|
|
12886
|
+
interface _ModifyManagedResourceVisibilityResponseSuccess
|
|
12887
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ModifyManagedResourceVisibilityResult]
|
|
12888
|
+
def visibility: () -> Types::ManagedResourceVisibilitySettings
|
|
12889
|
+
end
|
|
12890
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#modify_managed_resource_visibility-instance_method
|
|
12891
|
+
def modify_managed_resource_visibility: (
|
|
12892
|
+
?dry_run: bool,
|
|
12893
|
+
?default_visibility: ("hidden" | "visible")
|
|
12894
|
+
) -> _ModifyManagedResourceVisibilityResponseSuccess
|
|
12895
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyManagedResourceVisibilityResponseSuccess
|
|
12896
|
+
|
|
12869
12897
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#modify_network_interface_attribute-instance_method
|
|
12870
12898
|
def modify_network_interface_attribute: (
|
|
12871
12899
|
?ena_srd_specification: {
|
|
@@ -15974,6 +16002,7 @@ module Aws
|
|
|
15974
16002
|
| (:image_usage_report_available waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeImageUsageReportsResponseSuccess
|
|
15975
16003
|
| (:instance_exists waiter_name,
|
|
15976
16004
|
?instance_ids: Array[::String],
|
|
16005
|
+
?include_managed_resources: bool,
|
|
15977
16006
|
?dry_run: bool,
|
|
15978
16007
|
?filters: Array[
|
|
15979
16008
|
{
|
|
@@ -15987,6 +16016,7 @@ module Aws
|
|
|
15987
16016
|
| (:instance_exists waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeInstancesResponseSuccess
|
|
15988
16017
|
| (:instance_running waiter_name,
|
|
15989
16018
|
?instance_ids: Array[::String],
|
|
16019
|
+
?include_managed_resources: bool,
|
|
15990
16020
|
?dry_run: bool,
|
|
15991
16021
|
?filters: Array[
|
|
15992
16022
|
{
|
|
@@ -16002,6 +16032,7 @@ module Aws
|
|
|
16002
16032
|
?instance_ids: Array[::String],
|
|
16003
16033
|
?max_results: ::Integer,
|
|
16004
16034
|
?next_token: ::String,
|
|
16035
|
+
?include_managed_resources: bool,
|
|
16005
16036
|
?dry_run: bool,
|
|
16006
16037
|
?filters: Array[
|
|
16007
16038
|
{
|
|
@@ -16014,6 +16045,7 @@ module Aws
|
|
|
16014
16045
|
| (:instance_status_ok waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeInstanceStatusResponseSuccess
|
|
16015
16046
|
| (:instance_stopped waiter_name,
|
|
16016
16047
|
?instance_ids: Array[::String],
|
|
16048
|
+
?include_managed_resources: bool,
|
|
16017
16049
|
?dry_run: bool,
|
|
16018
16050
|
?filters: Array[
|
|
16019
16051
|
{
|
|
@@ -16027,6 +16059,7 @@ module Aws
|
|
|
16027
16059
|
| (:instance_stopped waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeInstancesResponseSuccess
|
|
16028
16060
|
| (:instance_terminated waiter_name,
|
|
16029
16061
|
?instance_ids: Array[::String],
|
|
16062
|
+
?include_managed_resources: bool,
|
|
16030
16063
|
?dry_run: bool,
|
|
16031
16064
|
?filters: Array[
|
|
16032
16065
|
{
|
|
@@ -16093,6 +16126,7 @@ module Aws
|
|
|
16093
16126
|
| (:network_interface_available waiter_name,
|
|
16094
16127
|
?next_token: ::String,
|
|
16095
16128
|
?max_results: ::Integer,
|
|
16129
|
+
?include_managed_resources: bool,
|
|
16096
16130
|
?dry_run: bool,
|
|
16097
16131
|
?network_interface_ids: Array[::String],
|
|
16098
16132
|
?filters: Array[
|
|
@@ -16269,6 +16303,7 @@ module Aws
|
|
|
16269
16303
|
?instance_ids: Array[::String],
|
|
16270
16304
|
?max_results: ::Integer,
|
|
16271
16305
|
?next_token: ::String,
|
|
16306
|
+
?include_managed_resources: bool,
|
|
16272
16307
|
?dry_run: bool,
|
|
16273
16308
|
?filters: Array[
|
|
16274
16309
|
{
|
|
@@ -16281,6 +16316,7 @@ module Aws
|
|
|
16281
16316
|
| (:system_status_ok waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeInstanceStatusResponseSuccess
|
|
16282
16317
|
| (:volume_available waiter_name,
|
|
16283
16318
|
?volume_ids: Array[::String],
|
|
16319
|
+
?include_managed_resources: bool,
|
|
16284
16320
|
?dry_run: bool,
|
|
16285
16321
|
?filters: Array[
|
|
16286
16322
|
{
|
|
@@ -16294,6 +16330,7 @@ module Aws
|
|
|
16294
16330
|
| (:volume_available waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeVolumesResponseSuccess
|
|
16295
16331
|
| (:volume_deleted waiter_name,
|
|
16296
16332
|
?volume_ids: Array[::String],
|
|
16333
|
+
?include_managed_resources: bool,
|
|
16297
16334
|
?dry_run: bool,
|
|
16298
16335
|
?filters: Array[
|
|
16299
16336
|
{
|
|
@@ -16307,6 +16344,7 @@ module Aws
|
|
|
16307
16344
|
| (:volume_deleted waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeVolumesResponseSuccess
|
|
16308
16345
|
| (:volume_in_use waiter_name,
|
|
16309
16346
|
?volume_ids: Array[::String],
|
|
16347
|
+
?include_managed_resources: bool,
|
|
16310
16348
|
?dry_run: bool,
|
|
16311
16349
|
?filters: Array[
|
|
16312
16350
|
{
|
data/sig/instance.rbs
CHANGED
data/sig/placement_group.rbs
CHANGED
data/sig/resource.rbs
CHANGED
|
@@ -846,6 +846,7 @@ module Aws
|
|
|
846
846
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#instances-instance_method
|
|
847
847
|
def instances: (
|
|
848
848
|
?instance_ids: Array[::String],
|
|
849
|
+
?include_managed_resources: bool,
|
|
849
850
|
?dry_run: bool,
|
|
850
851
|
?filters: Array[
|
|
851
852
|
{
|
|
@@ -927,6 +928,7 @@ module Aws
|
|
|
927
928
|
|
|
928
929
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#network_interfaces-instance_method
|
|
929
930
|
def network_interfaces: (
|
|
931
|
+
?include_managed_resources: bool,
|
|
930
932
|
?dry_run: bool,
|
|
931
933
|
?network_interface_ids: Array[::String],
|
|
932
934
|
?filters: Array[
|
|
@@ -1031,6 +1033,7 @@ module Aws
|
|
|
1031
1033
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#volumes-instance_method
|
|
1032
1034
|
def volumes: (
|
|
1033
1035
|
?volume_ids: Array[::String],
|
|
1036
|
+
?include_managed_resources: bool,
|
|
1034
1037
|
?dry_run: bool,
|
|
1035
1038
|
?filters: Array[
|
|
1036
1039
|
{
|
data/sig/subnet.rbs
CHANGED
|
@@ -413,6 +413,7 @@ module Aws
|
|
|
413
413
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#instances-instance_method
|
|
414
414
|
def instances: (
|
|
415
415
|
?instance_ids: Array[::String],
|
|
416
|
+
?include_managed_resources: bool,
|
|
416
417
|
?dry_run: bool,
|
|
417
418
|
?filters: Array[
|
|
418
419
|
{
|
|
@@ -438,6 +439,7 @@ module Aws
|
|
|
438
439
|
|
|
439
440
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#network_interfaces-instance_method
|
|
440
441
|
def network_interfaces: (
|
|
442
|
+
?include_managed_resources: bool,
|
|
441
443
|
?dry_run: bool,
|
|
442
444
|
?network_interface_ids: Array[::String],
|
|
443
445
|
?filters: Array[
|