aws-sdk-ec2 1.25.0 → 1.26.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 385ecdae6c5618f1c5c453082b21123a4f56c4e1
4
- data.tar.gz: 6fbdaadfa0143893dd944b97b625295ad5722b33
3
+ metadata.gz: d026bd05ec2b566cd48c80e9ef6df07a76ee7f94
4
+ data.tar.gz: 87d99827d56bff34bb21a8784afa8cf80e051eba
5
5
  SHA512:
6
- metadata.gz: 5846bcc77d4b51873d4012fff584f75088c9ed872da4a6de6252da112f55d5fec111fa12cdfbeac0473fbe52bf1cb53b11c4bca0202cbdcc057a7d86df6c83ba
7
- data.tar.gz: 9a64c660c13a5d5b52eb6bc600a7c3a53e932461059ab87b4a34ec80ded7951b122afabcea6c6421e9cc60fc66d2eb99833f42952b666438dfb5508f2f4c4337
6
+ metadata.gz: 1e21e5d5734bf41d2bcee057d6a0d588f99f8c8592f508c2549bc653d755cb5987f4bfd7ba98c2d0aeb3b414fe3615590047764ad92d629129e3214344e09b57
7
+ data.tar.gz: e1fd28e1d61a5d4cc269675502aa48d0f53ba9694a69197b91b0bd51f4a478aeec268951ebc3bb948be0da24f09864fb194b986d379268e507440ea855dba6ff
@@ -65,6 +65,6 @@ require_relative 'aws-sdk-ec2/customizations'
65
65
  # @service
66
66
  module Aws::EC2
67
67
 
68
- GEM_VERSION = '1.25.0'
68
+ GEM_VERSION = '1.26.0'
69
69
 
70
70
  end
@@ -4716,7 +4716,7 @@ module Aws::EC2
4716
4716
  # @option params [required, String] :group_name
4717
4717
  # The name of the security group.
4718
4718
  #
4719
- # Constraints: Up to 255 characters in length
4719
+ # Constraints: Up to 255 characters in length. Cannot start with `sg-`.
4720
4720
  #
4721
4721
  # Constraints for EC2-Classic: ASCII characters
4722
4722
  #
@@ -7785,6 +7785,58 @@ module Aws::EC2
7785
7785
  req.send_request(options)
7786
7786
  end
7787
7787
 
7788
+ # Describes the longer ID format settings for all resource types in a
7789
+ # specific region. This request is useful for performing a quick audit
7790
+ # to determine whether a specific region is fully opted in for longer
7791
+ # IDs (17-character IDs).
7792
+ #
7793
+ # This request only returns information about resource types that
7794
+ # support longer IDs.
7795
+ #
7796
+ # The following resource types support longer IDs: `bundle` \|
7797
+ # `conversion-task` \| `dhcp-options` \| `elastic-ip-allocation` \|
7798
+ # `elastic-ip-association` \| `export-task` \| `flow-log` \| `image` \|
7799
+ # `import-task` \| `instance` \| `internet-gateway` \| `network-acl` \|
7800
+ # `network-acl-association` \| `network-interface` \|
7801
+ # `network-interface-attachment` \| `prefix-list` \| `reservation` \|
7802
+ # `route-table` \| `route-table-association` \| `security-group` \|
7803
+ # `snapshot` \| `subnet` \| `subnet-cidr-block-association` \| `volume`
7804
+ # \| `vpc` \| `vpc-cidr-block-association` \| `vpc-peering-connection`.
7805
+ #
7806
+ # @option params [Boolean] :dry_run
7807
+ # Checks whether you have the required permissions for the action,
7808
+ # without actually making the request, and provides an error response.
7809
+ # If you have the required permissions, the error response is
7810
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
7811
+ #
7812
+ # @return [Types::DescribeAggregateIdFormatResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7813
+ #
7814
+ # * {Types::DescribeAggregateIdFormatResult#use_long_ids_aggregated #use_long_ids_aggregated} => Boolean
7815
+ # * {Types::DescribeAggregateIdFormatResult#statuses #statuses} => Array<Types::IdFormat>
7816
+ #
7817
+ # @example Request syntax with placeholder values
7818
+ #
7819
+ # resp = client.describe_aggregate_id_format({
7820
+ # dry_run: false,
7821
+ # })
7822
+ #
7823
+ # @example Response structure
7824
+ #
7825
+ # resp.use_long_ids_aggregated #=> Boolean
7826
+ # resp.statuses #=> Array
7827
+ # resp.statuses[0].deadline #=> Time
7828
+ # resp.statuses[0].resource #=> String
7829
+ # resp.statuses[0].use_long_ids #=> Boolean
7830
+ #
7831
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAggregateIdFormat AWS API Documentation
7832
+ #
7833
+ # @overload describe_aggregate_id_format(params = {})
7834
+ # @param [Hash] params ({})
7835
+ def describe_aggregate_id_format(params = {}, options = {})
7836
+ req = build_request(:describe_aggregate_id_format, params)
7837
+ req.send_request(options)
7838
+ end
7839
+
7788
7840
  # Describes one or more of the Availability Zones that are available to
7789
7841
  # you. The results include zones only for the region you're currently
7790
7842
  # using. If there is an event impacting an Availability Zone, you can
@@ -9136,8 +9188,15 @@ module Aws::EC2
9136
9188
  # whose ID formats can be modified; it does not return information about
9137
9189
  # other resource types.
9138
9190
  #
9139
- # The following resource types support longer IDs: `instance` \|
9140
- # `reservation` \| `snapshot` \| `volume`.
9191
+ # The following resource types support longer IDs: `bundle` \|
9192
+ # `conversion-task` \| `dhcp-options` \| `elastic-ip-allocation` \|
9193
+ # `elastic-ip-association` \| `export-task` \| `flow-log` \| `image` \|
9194
+ # `import-task` \| `instance` \| `internet-gateway` \| `network-acl` \|
9195
+ # `network-acl-association` \| `network-interface` \|
9196
+ # `network-interface-attachment` \| `prefix-list` \| `reservation` \|
9197
+ # `route-table` \| `route-table-association` \| `security-group` \|
9198
+ # `snapshot` \| `subnet` \| `subnet-cidr-block-association` \| `volume`
9199
+ # \| `vpc` \| `vpc-cidr-block-association` \| `vpc-peering-connection`.
9141
9200
  #
9142
9201
  # These settings apply to the IAM user who makes the request; they do
9143
9202
  # not apply to the entire AWS account. By default, an IAM user defaults
@@ -9148,8 +9207,15 @@ module Aws::EC2
9148
9207
  # `Describe` command for the resource type.
9149
9208
  #
9150
9209
  # @option params [String] :resource
9151
- # The type of resource: `instance` \| `reservation` \| `snapshot` \|
9152
- # `volume`
9210
+ # The type of resource: `bundle` \| `conversion-task` \| `dhcp-options`
9211
+ # \| `elastic-ip-allocation` \| `elastic-ip-association` \|
9212
+ # `export-task` \| `flow-log` \| `image` \| `import-task` \| `instance`
9213
+ # \| `internet-gateway` \| `network-acl` \| `network-acl-association` \|
9214
+ # `network-interface` \| `network-interface-attachment` \| `prefix-list`
9215
+ # \| `reservation` \| `route-table` \| `route-table-association` \|
9216
+ # `security-group` \| `snapshot` \| `subnet` \|
9217
+ # `subnet-cidr-block-association` \| `volume` \| `vpc` \|
9218
+ # `vpc-cidr-block-association` \| `vpc-peering-connection`
9153
9219
  #
9154
9220
  # @return [Types::DescribeIdFormatResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9155
9221
  #
@@ -9185,8 +9251,15 @@ module Aws::EC2
9185
9251
  # information, see [Resource IDs][1] in the *Amazon Elastic Compute
9186
9252
  # Cloud User Guide*.
9187
9253
  #
9188
- # The following resource types support longer IDs: `instance` \|
9189
- # `reservation` \| `snapshot` \| `volume`.
9254
+ # The following resource types support longer IDs: `bundle` \|
9255
+ # `conversion-task` \| `dhcp-options` \| `elastic-ip-allocation` \|
9256
+ # `elastic-ip-association` \| `export-task` \| `flow-log` \| `image` \|
9257
+ # `import-task` \| `instance` \| `internet-gateway` \| `network-acl` \|
9258
+ # `network-acl-association` \| `network-interface` \|
9259
+ # `network-interface-attachment` \| `prefix-list` \| `reservation` \|
9260
+ # `route-table` \| `route-table-association` \| `security-group` \|
9261
+ # `snapshot` \| `subnet` \| `subnet-cidr-block-association` \| `volume`
9262
+ # \| `vpc` \| `vpc-cidr-block-association` \| `vpc-peering-connection`.
9190
9263
  #
9191
9264
  # These settings apply to the principal specified in the request. They
9192
9265
  # do not apply to the principal that makes the request.
@@ -9200,8 +9273,15 @@ module Aws::EC2
9200
9273
  # root user.
9201
9274
  #
9202
9275
  # @option params [String] :resource
9203
- # The type of resource: `instance` \| `reservation` \| `snapshot` \|
9204
- # `volume`
9276
+ # The type of resource: `bundle` \| `conversion-task` \| `dhcp-options`
9277
+ # \| `elastic-ip-allocation` \| `elastic-ip-association` \|
9278
+ # `export-task` \| `flow-log` \| `image` \| `import-task` \| `instance`
9279
+ # \| `internet-gateway` \| `network-acl` \| `network-acl-association` \|
9280
+ # `network-interface` \| `network-interface-attachment` \| `prefix-list`
9281
+ # \| `reservation` \| `route-table` \| `route-table-association` \|
9282
+ # `security-group` \| `snapshot` \| `subnet` \|
9283
+ # `subnet-cidr-block-association` \| `volume` \| `vpc` \|
9284
+ # `vpc-cidr-block-association` \| `vpc-peering-connection`
9205
9285
  #
9206
9286
  # @return [Types::DescribeIdentityIdFormatResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9207
9287
  #
@@ -11948,6 +12028,83 @@ module Aws::EC2
11948
12028
  req.send_request(options)
11949
12029
  end
11950
12030
 
12031
+ # Describes the ID format settings for the root user and all IAM roles
12032
+ # and IAM users that have explicitly specified a longer ID (17-character
12033
+ # ID) preference.
12034
+ #
12035
+ # By default, all IAM roles and IAM users default to the same ID
12036
+ # settings as the root user, unless they explicitly override the
12037
+ # settings. This request is useful for identifying those IAM users and
12038
+ # IAM roles that have overridden the default ID settings.
12039
+ #
12040
+ # The following resource types support longer IDs: `bundle` \|
12041
+ # `conversion-task` \| `dhcp-options` \| `elastic-ip-allocation` \|
12042
+ # `elastic-ip-association` \| `export-task` \| `flow-log` \| `image` \|
12043
+ # `import-task` \| `instance` \| `internet-gateway` \| `network-acl` \|
12044
+ # `network-acl-association` \| `network-interface` \|
12045
+ # `network-interface-attachment` \| `prefix-list` \| `reservation` \|
12046
+ # `route-table` \| `route-table-association` \| `security-group` \|
12047
+ # `snapshot` \| `subnet` \| `subnet-cidr-block-association` \| `volume`
12048
+ # \| `vpc` \| `vpc-cidr-block-association` \| `vpc-peering-connection`.
12049
+ #
12050
+ # @option params [Boolean] :dry_run
12051
+ # Checks whether you have the required permissions for the action,
12052
+ # without actually making the request, and provides an error response.
12053
+ # If you have the required permissions, the error response is
12054
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
12055
+ #
12056
+ # @option params [Array<String>] :resources
12057
+ # The type of resource: `bundle` \| `conversion-task` \| `dhcp-options`
12058
+ # \| `elastic-ip-allocation` \| `elastic-ip-association` \|
12059
+ # `export-task` \| `flow-log` \| `image` \| `import-task` \| `instance`
12060
+ # \| `internet-gateway` \| `network-acl` \| `network-acl-association` \|
12061
+ # `network-interface` \| `network-interface-attachment` \| `prefix-list`
12062
+ # \| `reservation` \| `route-table` \| `route-table-association` \|
12063
+ # `security-group` \| `snapshot` \| `subnet` \|
12064
+ # `subnet-cidr-block-association` \| `volume` \| `vpc` \|
12065
+ # `vpc-cidr-block-association` \| `vpc-peering-connection`
12066
+ #
12067
+ # @option params [Integer] :max_results
12068
+ # The maximum number of results to return in a single call. To retrieve
12069
+ # the remaining results, make another call with the returned NextToken
12070
+ # value.
12071
+ #
12072
+ # @option params [String] :next_token
12073
+ # The token to request the next page of results.
12074
+ #
12075
+ # @return [Types::DescribePrincipalIdFormatResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
12076
+ #
12077
+ # * {Types::DescribePrincipalIdFormatResult#principals #principals} => Array&lt;Types::PrincipalIdFormat&gt;
12078
+ # * {Types::DescribePrincipalIdFormatResult#next_token #next_token} => String
12079
+ #
12080
+ # @example Request syntax with placeholder values
12081
+ #
12082
+ # resp = client.describe_principal_id_format({
12083
+ # dry_run: false,
12084
+ # resources: ["String"],
12085
+ # max_results: 1,
12086
+ # next_token: "String",
12087
+ # })
12088
+ #
12089
+ # @example Response structure
12090
+ #
12091
+ # resp.principals #=> Array
12092
+ # resp.principals[0].arn #=> String
12093
+ # resp.principals[0].statuses #=> Array
12094
+ # resp.principals[0].statuses[0].deadline #=> Time
12095
+ # resp.principals[0].statuses[0].resource #=> String
12096
+ # resp.principals[0].statuses[0].use_long_ids #=> Boolean
12097
+ # resp.next_token #=> String
12098
+ #
12099
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePrincipalIdFormat AWS API Documentation
12100
+ #
12101
+ # @overload describe_principal_id_format(params = {})
12102
+ # @param [Hash] params ({})
12103
+ def describe_principal_id_format(params = {}, options = {})
12104
+ req = build_request(:describe_principal_id_format, params)
12105
+ req.send_request(options)
12106
+ end
12107
+
11951
12108
  # Describes one or more regions that are currently available to you.
11952
12109
  #
11953
12110
  # For a list of the regions supported by Amazon EC2, see [Regions and
@@ -13254,7 +13411,8 @@ module Aws::EC2
13254
13411
  # @option params [Integer] :max_results
13255
13412
  # The maximum number of results to return in a single call. To retrieve
13256
13413
  # the remaining results, make another request with the returned
13257
- # `NextToken` value. This value can be between 5 and 1000.
13414
+ # `NextToken` value. This value can be between 5 and 1000. If this
13415
+ # parameter is not specified, then all results are returned.
13258
13416
  #
13259
13417
  # @return [Types::DescribeSecurityGroupsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
13260
13418
  #
@@ -18473,9 +18631,18 @@ module Aws::EC2
18473
18631
 
18474
18632
  # Modifies the ID format for the specified resource on a per-region
18475
18633
  # basis. You can specify that resources should receive longer IDs
18476
- # (17-character IDs) when they are created. The following resource types
18477
- # support longer IDs: `instance` \| `reservation` \| `snapshot` \|
18478
- # `volume`.
18634
+ # (17-character IDs) when they are created.
18635
+ #
18636
+ # This request can only be used to modify longer ID settings for
18637
+ # resource types that are within the opt-in period. Resources currently
18638
+ # in their opt-in period include: `bundle` \| `conversion-task` \|
18639
+ # `dhcp-options` \| `elastic-ip-allocation` \| `elastic-ip-association`
18640
+ # \| `export-task` \| `flow-log` \| `image` \| `import-task` \|
18641
+ # `internet-gateway` \| `network-acl` \| `network-acl-association` \|
18642
+ # `network-interface` \| `network-interface-attachment` \| `prefix-list`
18643
+ # \| `route-table` \| `route-table-association` \| `security-group` \|
18644
+ # `subnet` \| `subnet-cidr-block-association` \| `vpc` \|
18645
+ # `vpc-cidr-block-association` \| `vpc-peering-connection`.
18479
18646
  #
18480
18647
  # This setting applies to the IAM user who makes the request; it does
18481
18648
  # not apply to the entire AWS account. By default, an IAM user defaults
@@ -18495,8 +18662,17 @@ module Aws::EC2
18495
18662
  # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/resource-ids.html
18496
18663
  #
18497
18664
  # @option params [required, String] :resource
18498
- # The type of resource: `instance` \| `reservation` \| `snapshot` \|
18499
- # `volume`
18665
+ # The type of resource: `bundle` \| `conversion-task` \| `dhcp-options`
18666
+ # \| `elastic-ip-allocation` \| `elastic-ip-association` \|
18667
+ # `export-task` \| `flow-log` \| `image` \| `import-task` \|
18668
+ # `internet-gateway` \| `network-acl` \| `network-acl-association` \|
18669
+ # `network-interface` \| `network-interface-attachment` \| `prefix-list`
18670
+ # \| `route-table` \| `route-table-association` \| `security-group` \|
18671
+ # `subnet` \| `subnet-cidr-block-association` \| `vpc` \|
18672
+ # `vpc-cidr-block-association` \| `vpc-peering-connection`.
18673
+ #
18674
+ # Alternatively, use the `all-current` option to include all resource
18675
+ # types that are currently within their opt-in period for longer IDs.
18500
18676
  #
18501
18677
  # @option params [required, Boolean] :use_long_ids
18502
18678
  # Indicate whether the resource should use longer IDs (17-character
@@ -18525,9 +18701,19 @@ module Aws::EC2
18525
18701
  # and the root user for an account. You can specify that resources
18526
18702
  # should receive longer IDs (17-character IDs) when they are created.
18527
18703
  #
18528
- # The following resource types support longer IDs: `instance` \|
18529
- # `reservation` \| `snapshot` \| `volume`. For more information, see
18530
- # [Resource IDs][1] in the *Amazon Elastic Compute Cloud User Guide*.
18704
+ # This request can only be used to modify longer ID settings for
18705
+ # resource types that are within the opt-in period. Resources currently
18706
+ # in their opt-in period include: `bundle` \| `conversion-task` \|
18707
+ # `dhcp-options` \| `elastic-ip-allocation` \| `elastic-ip-association`
18708
+ # \| `export-task` \| `flow-log` \| `image` \| `import-task` \|
18709
+ # `internet-gateway` \| `network-acl` \| `network-acl-association` \|
18710
+ # `network-interface` \| `network-interface-attachment` \| `prefix-list`
18711
+ # \| `route-table` \| `route-table-association` \| `security-group` \|
18712
+ # `subnet` \| `subnet-cidr-block-association` \| `vpc` \|
18713
+ # `vpc-cidr-block-association` \| `vpc-peering-connection`..
18714
+ #
18715
+ # For more information, see [Resource IDs][1] in the *Amazon Elastic
18716
+ # Compute Cloud User Guide*.
18531
18717
  #
18532
18718
  # This setting applies to the principal specified in the request; it
18533
18719
  # does not apply to the principal that makes the request.
@@ -18547,8 +18733,17 @@ module Aws::EC2
18547
18733
  # IAM roles, and the root user of the account.
18548
18734
  #
18549
18735
  # @option params [required, String] :resource
18550
- # The type of resource: `instance` \| `reservation` \| `snapshot` \|
18551
- # `volume`
18736
+ # The type of resource: `bundle` \| `conversion-task` \| `dhcp-options`
18737
+ # \| `elastic-ip-allocation` \| `elastic-ip-association` \|
18738
+ # `export-task` \| `flow-log` \| `image` \| `import-task` \|
18739
+ # `internet-gateway` \| `network-acl` \| `network-acl-association` \|
18740
+ # `network-interface` \| `network-interface-attachment` \| `prefix-list`
18741
+ # \| `route-table` \| `route-table-association` \| `security-group` \|
18742
+ # `subnet` \| `subnet-cidr-block-association` \| `vpc` \|
18743
+ # `vpc-cidr-block-association` \| `vpc-peering-connection`.
18744
+ #
18745
+ # Alternatively, use the `all-current` option to include all resource
18746
+ # types that are currently within their opt-in period for longer IDs.
18552
18747
  #
18553
18748
  # @option params [required, Boolean] :use_long_ids
18554
18749
  # Indicates whether the resource should use longer IDs (17-character
@@ -23782,7 +23977,7 @@ module Aws::EC2
23782
23977
  params: params,
23783
23978
  config: config)
23784
23979
  context[:gem_name] = 'aws-sdk-ec2'
23785
- context[:gem_version] = '1.25.0'
23980
+ context[:gem_version] = '1.26.0'
23786
23981
  Seahorse::Client::Request.new(handlers, context)
23787
23982
  end
23788
23983
 
@@ -264,6 +264,8 @@ module Aws::EC2
264
264
  DescribeAccountAttributesResult = Shapes::StructureShape.new(name: 'DescribeAccountAttributesResult')
265
265
  DescribeAddressesRequest = Shapes::StructureShape.new(name: 'DescribeAddressesRequest')
266
266
  DescribeAddressesResult = Shapes::StructureShape.new(name: 'DescribeAddressesResult')
267
+ DescribeAggregateIdFormatRequest = Shapes::StructureShape.new(name: 'DescribeAggregateIdFormatRequest')
268
+ DescribeAggregateIdFormatResult = Shapes::StructureShape.new(name: 'DescribeAggregateIdFormatResult')
267
269
  DescribeAvailabilityZonesRequest = Shapes::StructureShape.new(name: 'DescribeAvailabilityZonesRequest')
268
270
  DescribeAvailabilityZonesResult = Shapes::StructureShape.new(name: 'DescribeAvailabilityZonesResult')
269
271
  DescribeBundleTasksRequest = Shapes::StructureShape.new(name: 'DescribeBundleTasksRequest')
@@ -339,6 +341,8 @@ module Aws::EC2
339
341
  DescribePlacementGroupsResult = Shapes::StructureShape.new(name: 'DescribePlacementGroupsResult')
340
342
  DescribePrefixListsRequest = Shapes::StructureShape.new(name: 'DescribePrefixListsRequest')
341
343
  DescribePrefixListsResult = Shapes::StructureShape.new(name: 'DescribePrefixListsResult')
344
+ DescribePrincipalIdFormatRequest = Shapes::StructureShape.new(name: 'DescribePrincipalIdFormatRequest')
345
+ DescribePrincipalIdFormatResult = Shapes::StructureShape.new(name: 'DescribePrincipalIdFormatResult')
342
346
  DescribeRegionsRequest = Shapes::StructureShape.new(name: 'DescribeRegionsRequest')
343
347
  DescribeRegionsResult = Shapes::StructureShape.new(name: 'DescribeRegionsResult')
344
348
  DescribeReservedInstancesListingsRequest = Shapes::StructureShape.new(name: 'DescribeReservedInstancesListingsRequest')
@@ -804,6 +808,8 @@ module Aws::EC2
804
808
  PriceScheduleSpecificationList = Shapes::ListShape.new(name: 'PriceScheduleSpecificationList')
805
809
  PricingDetail = Shapes::StructureShape.new(name: 'PricingDetail')
806
810
  PricingDetailsList = Shapes::ListShape.new(name: 'PricingDetailsList')
811
+ PrincipalIdFormat = Shapes::StructureShape.new(name: 'PrincipalIdFormat')
812
+ PrincipalIdFormatList = Shapes::ListShape.new(name: 'PrincipalIdFormatList')
807
813
  PrincipalType = Shapes::StringShape.new(name: 'PrincipalType')
808
814
  PrivateIpAddressConfigSet = Shapes::ListShape.new(name: 'PrivateIpAddressConfigSet')
809
815
  PrivateIpAddressSpecification = Shapes::StructureShape.new(name: 'PrivateIpAddressSpecification')
@@ -901,6 +907,7 @@ module Aws::EC2
901
907
  ResetNetworkInterfaceAttributeRequest = Shapes::StructureShape.new(name: 'ResetNetworkInterfaceAttributeRequest')
902
908
  ResetSnapshotAttributeRequest = Shapes::StructureShape.new(name: 'ResetSnapshotAttributeRequest')
903
909
  ResourceIdList = Shapes::ListShape.new(name: 'ResourceIdList')
910
+ ResourceList = Shapes::ListShape.new(name: 'ResourceList')
904
911
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
905
912
  ResponseError = Shapes::StructureShape.new(name: 'ResponseError')
906
913
  ResponseHostIdList = Shapes::ListShape.new(name: 'ResponseHostIdList')
@@ -2145,6 +2152,13 @@ module Aws::EC2
2145
2152
  DescribeAddressesResult.add_member(:addresses, Shapes::ShapeRef.new(shape: AddressList, location_name: "addressesSet"))
2146
2153
  DescribeAddressesResult.struct_class = Types::DescribeAddressesResult
2147
2154
 
2155
+ DescribeAggregateIdFormatRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
2156
+ DescribeAggregateIdFormatRequest.struct_class = Types::DescribeAggregateIdFormatRequest
2157
+
2158
+ DescribeAggregateIdFormatResult.add_member(:use_long_ids_aggregated, Shapes::ShapeRef.new(shape: Boolean, location_name: "useLongIdsAggregated"))
2159
+ DescribeAggregateIdFormatResult.add_member(:statuses, Shapes::ShapeRef.new(shape: IdFormatList, location_name: "statusSet"))
2160
+ DescribeAggregateIdFormatResult.struct_class = Types::DescribeAggregateIdFormatResult
2161
+
2148
2162
  DescribeAvailabilityZonesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
2149
2163
  DescribeAvailabilityZonesRequest.add_member(:zone_names, Shapes::ShapeRef.new(shape: ZoneNameStringList, location_name: "ZoneName"))
2150
2164
  DescribeAvailabilityZonesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
@@ -2507,6 +2521,16 @@ module Aws::EC2
2507
2521
  DescribePrefixListsResult.add_member(:prefix_lists, Shapes::ShapeRef.new(shape: PrefixListSet, location_name: "prefixListSet"))
2508
2522
  DescribePrefixListsResult.struct_class = Types::DescribePrefixListsResult
2509
2523
 
2524
+ DescribePrincipalIdFormatRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
2525
+ DescribePrincipalIdFormatRequest.add_member(:resources, Shapes::ShapeRef.new(shape: ResourceList, location_name: "Resource"))
2526
+ DescribePrincipalIdFormatRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxResults"))
2527
+ DescribePrincipalIdFormatRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
2528
+ DescribePrincipalIdFormatRequest.struct_class = Types::DescribePrincipalIdFormatRequest
2529
+
2530
+ DescribePrincipalIdFormatResult.add_member(:principals, Shapes::ShapeRef.new(shape: PrincipalIdFormatList, location_name: "principalSet"))
2531
+ DescribePrincipalIdFormatResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
2532
+ DescribePrincipalIdFormatResult.struct_class = Types::DescribePrincipalIdFormatResult
2533
+
2510
2534
  DescribeRegionsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
2511
2535
  DescribeRegionsRequest.add_member(:region_names, Shapes::ShapeRef.new(shape: RegionNameStringList, location_name: "RegionName"))
2512
2536
  DescribeRegionsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
@@ -4213,8 +4237,8 @@ module Aws::EC2
4213
4237
  ModifyVpcEndpointServiceConfigurationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
4214
4238
  ModifyVpcEndpointServiceConfigurationRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ServiceId"))
4215
4239
  ModifyVpcEndpointServiceConfigurationRequest.add_member(:acceptance_required, Shapes::ShapeRef.new(shape: Boolean, location_name: "AcceptanceRequired"))
4216
- ModifyVpcEndpointServiceConfigurationRequest.add_member(:add_network_load_balancer_arns, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "addNetworkLoadBalancerArn"))
4217
- ModifyVpcEndpointServiceConfigurationRequest.add_member(:remove_network_load_balancer_arns, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "removeNetworkLoadBalancerArn"))
4240
+ ModifyVpcEndpointServiceConfigurationRequest.add_member(:add_network_load_balancer_arns, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "AddNetworkLoadBalancerArn"))
4241
+ ModifyVpcEndpointServiceConfigurationRequest.add_member(:remove_network_load_balancer_arns, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "RemoveNetworkLoadBalancerArn"))
4218
4242
  ModifyVpcEndpointServiceConfigurationRequest.struct_class = Types::ModifyVpcEndpointServiceConfigurationRequest
4219
4243
 
4220
4244
  ModifyVpcEndpointServiceConfigurationResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
@@ -4483,6 +4507,12 @@ module Aws::EC2
4483
4507
 
4484
4508
  PricingDetailsList.member = Shapes::ShapeRef.new(shape: PricingDetail, location_name: "item")
4485
4509
 
4510
+ PrincipalIdFormat.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
4511
+ PrincipalIdFormat.add_member(:statuses, Shapes::ShapeRef.new(shape: IdFormatList, location_name: "statusSet"))
4512
+ PrincipalIdFormat.struct_class = Types::PrincipalIdFormat
4513
+
4514
+ PrincipalIdFormatList.member = Shapes::ShapeRef.new(shape: PrincipalIdFormat, location_name: "item")
4515
+
4486
4516
  PrivateIpAddressConfigSet.member = Shapes::ShapeRef.new(shape: ScheduledInstancesPrivateIpAddressConfig, location_name: "PrivateIpAddressConfigSet")
4487
4517
 
4488
4518
  PrivateIpAddressSpecification.add_member(:primary, Shapes::ShapeRef.new(shape: Boolean, location_name: "primary"))
@@ -4907,6 +4937,8 @@ module Aws::EC2
4907
4937
 
4908
4938
  ResourceIdList.member = Shapes::ShapeRef.new(shape: String)
4909
4939
 
4940
+ ResourceList.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
4941
+
4910
4942
  ResponseError.add_member(:code, Shapes::ShapeRef.new(shape: LaunchTemplateErrorCode, location_name: "code"))
4911
4943
  ResponseError.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
4912
4944
  ResponseError.struct_class = Types::ResponseError
@@ -6710,6 +6742,14 @@ module Aws::EC2
6710
6742
  o.output = Shapes::ShapeRef.new(shape: DescribeAddressesResult)
6711
6743
  end)
6712
6744
 
6745
+ api.add_operation(:describe_aggregate_id_format, Seahorse::Model::Operation.new.tap do |o|
6746
+ o.name = "DescribeAggregateIdFormat"
6747
+ o.http_method = "POST"
6748
+ o.http_request_uri = "/"
6749
+ o.input = Shapes::ShapeRef.new(shape: DescribeAggregateIdFormatRequest)
6750
+ o.output = Shapes::ShapeRef.new(shape: DescribeAggregateIdFormatResult)
6751
+ end)
6752
+
6713
6753
  api.add_operation(:describe_availability_zones, Seahorse::Model::Operation.new.tap do |o|
6714
6754
  o.name = "DescribeAvailabilityZones"
6715
6755
  o.http_method = "POST"
@@ -7032,6 +7072,14 @@ module Aws::EC2
7032
7072
  o.output = Shapes::ShapeRef.new(shape: DescribePrefixListsResult)
7033
7073
  end)
7034
7074
 
7075
+ api.add_operation(:describe_principal_id_format, Seahorse::Model::Operation.new.tap do |o|
7076
+ o.name = "DescribePrincipalIdFormat"
7077
+ o.http_method = "POST"
7078
+ o.http_request_uri = "/"
7079
+ o.input = Shapes::ShapeRef.new(shape: DescribePrincipalIdFormatRequest)
7080
+ o.output = Shapes::ShapeRef.new(shape: DescribePrincipalIdFormatResult)
7081
+ end)
7082
+
7035
7083
  api.add_operation(:describe_regions, Seahorse::Model::Operation.new.tap do |o|
7036
7084
  o.name = "DescribeRegions"
7037
7085
  o.http_method = "POST"
@@ -595,7 +595,7 @@ module Aws::EC2
595
595
  # @option options [required, String] :group_name
596
596
  # The name of the security group.
597
597
  #
598
- # Constraints: Up to 255 characters in length
598
+ # Constraints: Up to 255 characters in length. Cannot start with `sg-`.
599
599
  #
600
600
  # Constraints for EC2-Classic: ASCII characters
601
601
  #
@@ -2368,7 +2368,8 @@ module Aws::EC2
2368
2368
  # @option options [Integer] :max_results
2369
2369
  # The maximum number of results to return in a single call. To retrieve
2370
2370
  # the remaining results, make another request with the returned
2371
- # `NextToken` value. This value can be between 5 and 1000.
2371
+ # `NextToken` value. This value can be between 5 and 1000. If this
2372
+ # parameter is not specified, then all results are returned.
2372
2373
  # @return [SecurityGroup::Collection]
2373
2374
  def security_groups(options = {})
2374
2375
  batches = Enumerator.new do |y|
@@ -4171,7 +4171,8 @@ module Aws::EC2
4171
4171
  # @!attribute [rw] group_name
4172
4172
  # The name of the security group.
4173
4173
  #
4174
- # Constraints: Up to 255 characters in length
4174
+ # Constraints: Up to 255 characters in length. Cannot start with
4175
+ # `sg-`.
4175
4176
  #
4176
4177
  # Constraints for EC2-Classic: ASCII characters
4177
4178
  #
@@ -6520,6 +6521,45 @@ module Aws::EC2
6520
6521
  include Aws::Structure
6521
6522
  end
6522
6523
 
6524
+ # @note When making an API call, you may pass DescribeAggregateIdFormatRequest
6525
+ # data as a hash:
6526
+ #
6527
+ # {
6528
+ # dry_run: false,
6529
+ # }
6530
+ #
6531
+ # @!attribute [rw] dry_run
6532
+ # Checks whether you have the required permissions for the action,
6533
+ # without actually making the request, and provides an error response.
6534
+ # If you have the required permissions, the error response is
6535
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
6536
+ # @return [Boolean]
6537
+ #
6538
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAggregateIdFormatRequest AWS API Documentation
6539
+ #
6540
+ class DescribeAggregateIdFormatRequest < Struct.new(
6541
+ :dry_run)
6542
+ include Aws::Structure
6543
+ end
6544
+
6545
+ # @!attribute [rw] use_long_ids_aggregated
6546
+ # Indicates whether all resrouces types in the region are configured
6547
+ # to use longer IDs. This value will only be `true` if all users are
6548
+ # configured to use longer IDs for all resources types in the region.
6549
+ # @return [Boolean]
6550
+ #
6551
+ # @!attribute [rw] statuses
6552
+ # Information about each resource's ID format.
6553
+ # @return [Array<Types::IdFormat>]
6554
+ #
6555
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAggregateIdFormatResult AWS API Documentation
6556
+ #
6557
+ class DescribeAggregateIdFormatResult < Struct.new(
6558
+ :use_long_ids_aggregated,
6559
+ :statuses)
6560
+ include Aws::Structure
6561
+ end
6562
+
6523
6563
  # Contains the parameters for DescribeAvailabilityZones.
6524
6564
  #
6525
6565
  # @note When making an API call, you may pass DescribeAvailabilityZonesRequest
@@ -7715,8 +7755,16 @@ module Aws::EC2
7715
7755
  # }
7716
7756
  #
7717
7757
  # @!attribute [rw] resource
7718
- # The type of resource: `instance` \| `reservation` \| `snapshot` \|
7719
- # `volume`
7758
+ # The type of resource: `bundle` \| `conversion-task` \|
7759
+ # `dhcp-options` \| `elastic-ip-allocation` \|
7760
+ # `elastic-ip-association` \| `export-task` \| `flow-log` \| `image`
7761
+ # \| `import-task` \| `instance` \| `internet-gateway` \|
7762
+ # `network-acl` \| `network-acl-association` \| `network-interface` \|
7763
+ # `network-interface-attachment` \| `prefix-list` \| `reservation` \|
7764
+ # `route-table` \| `route-table-association` \| `security-group` \|
7765
+ # `snapshot` \| `subnet` \| `subnet-cidr-block-association` \|
7766
+ # `volume` \| `vpc` \| `vpc-cidr-block-association` \|
7767
+ # `vpc-peering-connection`
7720
7768
  # @return [String]
7721
7769
  #
7722
7770
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIdFormatRequest AWS API Documentation
@@ -7755,8 +7803,16 @@ module Aws::EC2
7755
7803
  # @return [String]
7756
7804
  #
7757
7805
  # @!attribute [rw] resource
7758
- # The type of resource: `instance` \| `reservation` \| `snapshot` \|
7759
- # `volume`
7806
+ # The type of resource: `bundle` \| `conversion-task` \|
7807
+ # `dhcp-options` \| `elastic-ip-allocation` \|
7808
+ # `elastic-ip-association` \| `export-task` \| `flow-log` \| `image`
7809
+ # \| `import-task` \| `instance` \| `internet-gateway` \|
7810
+ # `network-acl` \| `network-acl-association` \| `network-interface` \|
7811
+ # `network-interface-attachment` \| `prefix-list` \| `reservation` \|
7812
+ # `route-table` \| `route-table-association` \| `security-group` \|
7813
+ # `snapshot` \| `subnet` \| `subnet-cidr-block-association` \|
7814
+ # `volume` \| `vpc` \| `vpc-cidr-block-association` \|
7815
+ # `vpc-peering-connection`
7760
7816
  # @return [String]
7761
7817
  #
7762
7818
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIdentityIdFormatRequest AWS API Documentation
@@ -9827,6 +9883,73 @@ module Aws::EC2
9827
9883
  include Aws::Structure
9828
9884
  end
9829
9885
 
9886
+ # @note When making an API call, you may pass DescribePrincipalIdFormatRequest
9887
+ # data as a hash:
9888
+ #
9889
+ # {
9890
+ # dry_run: false,
9891
+ # resources: ["String"],
9892
+ # max_results: 1,
9893
+ # next_token: "String",
9894
+ # }
9895
+ #
9896
+ # @!attribute [rw] dry_run
9897
+ # Checks whether you have the required permissions for the action,
9898
+ # without actually making the request, and provides an error response.
9899
+ # If you have the required permissions, the error response is
9900
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
9901
+ # @return [Boolean]
9902
+ #
9903
+ # @!attribute [rw] resources
9904
+ # The type of resource: `bundle` \| `conversion-task` \|
9905
+ # `dhcp-options` \| `elastic-ip-allocation` \|
9906
+ # `elastic-ip-association` \| `export-task` \| `flow-log` \| `image`
9907
+ # \| `import-task` \| `instance` \| `internet-gateway` \|
9908
+ # `network-acl` \| `network-acl-association` \| `network-interface` \|
9909
+ # `network-interface-attachment` \| `prefix-list` \| `reservation` \|
9910
+ # `route-table` \| `route-table-association` \| `security-group` \|
9911
+ # `snapshot` \| `subnet` \| `subnet-cidr-block-association` \|
9912
+ # `volume` \| `vpc` \| `vpc-cidr-block-association` \|
9913
+ # `vpc-peering-connection`
9914
+ # @return [Array<String>]
9915
+ #
9916
+ # @!attribute [rw] max_results
9917
+ # The maximum number of results to return in a single call. To
9918
+ # retrieve the remaining results, make another call with the returned
9919
+ # NextToken value.
9920
+ # @return [Integer]
9921
+ #
9922
+ # @!attribute [rw] next_token
9923
+ # The token to request the next page of results.
9924
+ # @return [String]
9925
+ #
9926
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePrincipalIdFormatRequest AWS API Documentation
9927
+ #
9928
+ class DescribePrincipalIdFormatRequest < Struct.new(
9929
+ :dry_run,
9930
+ :resources,
9931
+ :max_results,
9932
+ :next_token)
9933
+ include Aws::Structure
9934
+ end
9935
+
9936
+ # @!attribute [rw] principals
9937
+ # Information about the ID format settings for the ARN.
9938
+ # @return [Array<Types::PrincipalIdFormat>]
9939
+ #
9940
+ # @!attribute [rw] next_token
9941
+ # The token to use to retrieve the next page of results. This value is
9942
+ # null when there are no more results to return.
9943
+ # @return [String]
9944
+ #
9945
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePrincipalIdFormatResult AWS API Documentation
9946
+ #
9947
+ class DescribePrincipalIdFormatResult < Struct.new(
9948
+ :principals,
9949
+ :next_token)
9950
+ include Aws::Structure
9951
+ end
9952
+
9830
9953
  # Contains the parameters for DescribeRegions.
9831
9954
  #
9832
9955
  # @note When making an API call, you may pass DescribeRegionsRequest
@@ -10871,7 +10994,8 @@ module Aws::EC2
10871
10994
  # @!attribute [rw] max_results
10872
10995
  # The maximum number of results to return in a single call. To
10873
10996
  # retrieve the remaining results, make another request with the
10874
- # returned `NextToken` value. This value can be between 5 and 1000.
10997
+ # returned `NextToken` value. This value can be between 5 and 1000. If
10998
+ # this parameter is not specified, then all results are returned.
10875
10999
  # @return [Integer]
10876
11000
  #
10877
11001
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupsRequest AWS API Documentation
@@ -11658,7 +11782,7 @@ module Aws::EC2
11658
11782
  #
11659
11783
  # @!attribute [rw] next_token
11660
11784
  # The token required to retrieve the next set of results. This value
11661
- # is `null` when there are no more results to return.
11785
+ # is an empty string when there are no more results to return.
11662
11786
  # @return [String]
11663
11787
  #
11664
11788
  # @!attribute [rw] spot_price_history
@@ -15924,7 +16048,7 @@ module Aws::EC2
15924
16048
  # @!attribute [rw] format
15925
16049
  # The format of the disk image being imported.
15926
16050
  #
15927
- # Valid values: `RAW` \| `VHD` \| `VMDK` \| `OVA`
16051
+ # Valid values: `VHD` \| `VMDK` \| `OVA`
15928
16052
  # @return [String]
15929
16053
  #
15930
16054
  # @!attribute [rw] snapshot_id
@@ -16274,10 +16398,7 @@ module Aws::EC2
16274
16398
  # @return [String]
16275
16399
  #
16276
16400
  # @!attribute [rw] user_data
16277
- # The user data to make available to the instance. If you are using an
16278
- # AWS SDK or command line tool, Base64-encoding is performed for you,
16279
- # and you can load the text from a file. Otherwise, you must provide
16280
- # Base64-encoded text.
16401
+ # The Base64-encoded user data to make available to the instance.
16281
16402
  # @return [Types::UserData]
16282
16403
  #
16283
16404
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportInstanceLaunchSpecification AWS API Documentation
@@ -18120,10 +18241,7 @@ module Aws::EC2
18120
18241
  # Describes the launch specification for an instance.
18121
18242
  #
18122
18243
  # @!attribute [rw] user_data
18123
- # The user data to make available to the instances. If you are using
18124
- # an AWS SDK or command line tool, Base64-encoding is performed for
18125
- # you, and you can load the text from a file. Otherwise, you must
18126
- # provide Base64-encoded text.
18244
+ # The Base64-encoded user data for the instance.
18127
18245
  # @return [String]
18128
18246
  #
18129
18247
  # @!attribute [rw] security_groups
@@ -19441,8 +19559,18 @@ module Aws::EC2
19441
19559
  # }
19442
19560
  #
19443
19561
  # @!attribute [rw] resource
19444
- # The type of resource: `instance` \| `reservation` \| `snapshot` \|
19445
- # `volume`
19562
+ # The type of resource: `bundle` \| `conversion-task` \|
19563
+ # `dhcp-options` \| `elastic-ip-allocation` \|
19564
+ # `elastic-ip-association` \| `export-task` \| `flow-log` \| `image`
19565
+ # \| `import-task` \| `internet-gateway` \| `network-acl` \|
19566
+ # `network-acl-association` \| `network-interface` \|
19567
+ # `network-interface-attachment` \| `prefix-list` \| `route-table` \|
19568
+ # `route-table-association` \| `security-group` \| `subnet` \|
19569
+ # `subnet-cidr-block-association` \| `vpc` \|
19570
+ # `vpc-cidr-block-association` \| `vpc-peering-connection`.
19571
+ #
19572
+ # Alternatively, use the `all-current` option to include all resource
19573
+ # types that are currently within their opt-in period for longer IDs.
19446
19574
  # @return [String]
19447
19575
  #
19448
19576
  # @!attribute [rw] use_long_ids
@@ -19476,8 +19604,18 @@ module Aws::EC2
19476
19604
  # @return [String]
19477
19605
  #
19478
19606
  # @!attribute [rw] resource
19479
- # The type of resource: `instance` \| `reservation` \| `snapshot` \|
19480
- # `volume`
19607
+ # The type of resource: `bundle` \| `conversion-task` \|
19608
+ # `dhcp-options` \| `elastic-ip-allocation` \|
19609
+ # `elastic-ip-association` \| `export-task` \| `flow-log` \| `image`
19610
+ # \| `import-task` \| `internet-gateway` \| `network-acl` \|
19611
+ # `network-acl-association` \| `network-interface` \|
19612
+ # `network-interface-attachment` \| `prefix-list` \| `route-table` \|
19613
+ # `route-table-association` \| `security-group` \| `subnet` \|
19614
+ # `subnet-cidr-block-association` \| `vpc` \|
19615
+ # `vpc-cidr-block-association` \| `vpc-peering-connection`.
19616
+ #
19617
+ # Alternatively, use the `all-current` option to include all resource
19618
+ # types that are currently within their opt-in period for longer IDs.
19481
19619
  # @return [String]
19482
19620
  #
19483
19621
  # @!attribute [rw] use_long_ids
@@ -21875,6 +22013,24 @@ module Aws::EC2
21875
22013
  include Aws::Structure
21876
22014
  end
21877
22015
 
22016
+ # PrincipalIdFormat description
22017
+ #
22018
+ # @!attribute [rw] arn
22019
+ # PrincipalIdFormatARN description
22020
+ # @return [String]
22021
+ #
22022
+ # @!attribute [rw] statuses
22023
+ # PrincipalIdFormatStatuses description
22024
+ # @return [Array<Types::IdFormat>]
22025
+ #
22026
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PrincipalIdFormat AWS API Documentation
22027
+ #
22028
+ class PrincipalIdFormat < Struct.new(
22029
+ :arn,
22030
+ :statuses)
22031
+ include Aws::Structure
22032
+ end
22033
+
21878
22034
  # Describes a secondary private IPv4 address for a network interface.
21879
22035
  #
21880
22036
  # @note When making an API call, you may pass PrivateIpAddressSpecification
@@ -23268,12 +23424,9 @@ module Aws::EC2
23268
23424
  # @return [String]
23269
23425
  #
23270
23426
  # @!attribute [rw] user_data
23271
- # The user data to make available to the instance. For more
23272
- # information, see [Running Commands on Your Linux Instance at
23273
- # Launch][1] (Linux) and [Adding User Data][2] (Windows). If you are
23274
- # using a command line tool, base64-encoding is performed for you and
23275
- # you can load the text from a file. Otherwise, you must provide
23276
- # base64-encoded text.
23427
+ # The Base64-encoded user data to make available to the instance. For
23428
+ # more information, see [Running Commands on Your Linux Instance at
23429
+ # Launch][1] (Linux) and [Adding User Data][2] (Windows).
23277
23430
  #
23278
23431
  #
23279
23432
  #
@@ -23889,10 +24042,7 @@ module Aws::EC2
23889
24042
  # @return [String]
23890
24043
  #
23891
24044
  # @!attribute [rw] user_data
23892
- # The user data to make available to the instances. If you are using
23893
- # an AWS SDK or command line tool, Base64-encoding is performed for
23894
- # you, and you can load the text from a file. Otherwise, you must
23895
- # provide Base64-encoded text.
24045
+ # The Base64-encoded user data for the instance.
23896
24046
  # @return [String]
23897
24047
  #
23898
24048
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotLaunchSpecification AWS API Documentation
@@ -27005,7 +27155,7 @@ module Aws::EC2
27005
27155
  # @!attribute [rw] format
27006
27156
  # The format of the disk image being imported.
27007
27157
  #
27008
- # Valid values: `RAW` \| `VHD` \| `VMDK` \| `OVA`
27158
+ # Valid values: `VHD` \| `VMDK` \| `OVA`
27009
27159
  # @return [String]
27010
27160
  #
27011
27161
  # @!attribute [rw] url
@@ -27284,10 +27434,7 @@ module Aws::EC2
27284
27434
  # @return [String]
27285
27435
  #
27286
27436
  # @!attribute [rw] user_data
27287
- # The user data to make available to the instances. If you are using
27288
- # an AWS SDK or command line tool, Base64-encoding is performed for
27289
- # you, and you can load the text from a file. Otherwise, you must
27290
- # provide Base64-encoded text.
27437
+ # The Base64-encoded user data to make available to the instances.
27291
27438
  # @return [String]
27292
27439
  #
27293
27440
  # @!attribute [rw] weighted_capacity
@@ -30058,7 +30205,8 @@ module Aws::EC2
30058
30205
  # @!attribute [rw] static_routes_only
30059
30206
  # Indicate whether the VPN connection uses static routes only. If you
30060
30207
  # are creating a VPN connection for a device that does not support
30061
- # BGP, you must specify `true`.
30208
+ # BGP, you must specify `true`. Use CreateVpnConnectionRoute to create
30209
+ # a static route.
30062
30210
  #
30063
30211
  # Default: `false`
30064
30212
  # @return [Boolean]
@@ -393,7 +393,7 @@ module Aws::EC2
393
393
  # @option options [required, String] :group_name
394
394
  # The name of the security group.
395
395
  #
396
- # Constraints: Up to 255 characters in length
396
+ # Constraints: Up to 255 characters in length. Cannot start with `sg-`.
397
397
  #
398
398
  # Constraints for EC2-Classic: ASCII characters
399
399
  #
@@ -1743,7 +1743,8 @@ module Aws::EC2
1743
1743
  # @option options [Integer] :max_results
1744
1744
  # The maximum number of results to return in a single call. To retrieve
1745
1745
  # the remaining results, make another request with the returned
1746
- # `NextToken` value. This value can be between 5 and 1000.
1746
+ # `NextToken` value. This value can be between 5 and 1000. If this
1747
+ # parameter is not specified, then all results are returned.
1747
1748
  # @return [SecurityGroup::Collection]
1748
1749
  def security_groups(options = {})
1749
1750
  batches = Enumerator.new do |y|
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.25.0
4
+ version: 1.26.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: 2018-01-17 00:00:00.000000000 Z
11
+ date: 2018-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4