aws-sdk-ec2 1.15.0 → 1.16.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/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +244 -91
- data/lib/aws-sdk-ec2/client_api.rb +72 -15
- data/lib/aws-sdk-ec2/resource.rb +49 -22
- data/lib/aws-sdk-ec2/subnet.rb +5 -8
- data/lib/aws-sdk-ec2/types.rb +392 -118
- data/lib/aws-sdk-ec2/vpc.rb +41 -14
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c14273f5963c6c83cbbb5d9bbf9daf99dc13024
|
4
|
+
data.tar.gz: fc2101e351f5f0d1096ba9736dc46b3e1dbb2241
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd483411785ace2121d5077b55d2bee9b913c50e0120c8946a6f2f83f1e38d177438a378f9507d3f07db1a5f600dd84a2dd7511e4063e4cae0a7f48d210b7f01
|
7
|
+
data.tar.gz: ccd2f5a5cb539b9ed819e1dea70e4268ced1f689629efac0f356f5ad62dd602e97b4c871a2a6f52da2aec96eea191afcf7679bd0a4a00833f0da1eca7a2e836c
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -4977,22 +4977,20 @@ module Aws::EC2
|
|
4977
4977
|
|
4978
4978
|
# Creates a VPC endpoint for a specified AWS service. An endpoint
|
4979
4979
|
# enables you to create a private connection between your VPC and
|
4980
|
-
# another AWS service in your account. You can
|
4981
|
-
#
|
4982
|
-
#
|
4983
|
-
#
|
4984
|
-
#
|
4985
|
-
#
|
4986
|
-
#
|
4987
|
-
#
|
4988
|
-
#
|
4989
|
-
#
|
4990
|
-
#
|
4991
|
-
#
|
4992
|
-
#
|
4993
|
-
#
|
4994
|
-
#
|
4995
|
-
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
4980
|
+
# another AWS service in your account. You can create a gateway endpoint
|
4981
|
+
# or an interface endpoint.
|
4982
|
+
#
|
4983
|
+
# A gateway endpoint serves as a target for a route in your route table
|
4984
|
+
# for traffic destined for the AWS service. You can specify the VPC
|
4985
|
+
# route tables that use the endpoint, and you can optionally specify an
|
4986
|
+
# endpoint policy to attach to the endpoint that will control access to
|
4987
|
+
# the service from your VPC.
|
4988
|
+
#
|
4989
|
+
# An interface endpoint is a network interface in your subnet with a
|
4990
|
+
# private IP address that serves as an entry point for traffic destined
|
4991
|
+
# to the AWS service. You can specify the subnets in which to create an
|
4992
|
+
# endpoint, and the security groups to associate with the network
|
4993
|
+
# interface.
|
4996
4994
|
#
|
4997
4995
|
# @option params [Boolean] :dry_run
|
4998
4996
|
# Checks whether you have the required permissions for the action,
|
@@ -5000,50 +4998,103 @@ module Aws::EC2
|
|
5000
4998
|
# If you have the required permissions, the error response is
|
5001
4999
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
5002
5000
|
#
|
5003
|
-
# @option params [String] :
|
5004
|
-
#
|
5005
|
-
#
|
5006
|
-
# not specified, we attach a default policy that allows full access to
|
5007
|
-
# the service.
|
5001
|
+
# @option params [String] :vpc_endpoint_type
|
5002
|
+
# The type of endpoint. If not specified, the default is a gateway
|
5003
|
+
# endpoint.
|
5008
5004
|
#
|
5009
|
-
# @option params [
|
5010
|
-
#
|
5005
|
+
# @option params [required, String] :vpc_id
|
5006
|
+
# The ID of the VPC in which the endpoint will be used.
|
5011
5007
|
#
|
5012
5008
|
# @option params [required, String] :service_name
|
5013
5009
|
# The AWS service name, in the form `com.amazonaws.region.service `. To
|
5014
5010
|
# get a list of available services, use the DescribeVpcEndpointServices
|
5015
5011
|
# request.
|
5016
5012
|
#
|
5017
|
-
# @option params [
|
5018
|
-
#
|
5013
|
+
# @option params [String] :policy_document
|
5014
|
+
# (Gateway endpoint) A policy to attach to the endpoint that controls
|
5015
|
+
# access to the service. The policy must be in valid JSON format. If
|
5016
|
+
# this parameter is not specified, we attach a default policy that
|
5017
|
+
# allows full access to the service.
|
5018
|
+
#
|
5019
|
+
# @option params [Array<String>] :route_table_ids
|
5020
|
+
# (Gateway endpoint) One or more route table IDs.
|
5021
|
+
#
|
5022
|
+
# @option params [Array<String>] :subnet_ids
|
5023
|
+
# (Interface endpoint) The ID of one or more subnets in which to create
|
5024
|
+
# a network interface for the endpoint.
|
5025
|
+
#
|
5026
|
+
# @option params [Array<String>] :security_group_ids
|
5027
|
+
# (Interface endpoint) The ID of one or more security groups to
|
5028
|
+
# associate with the network interface.
|
5029
|
+
#
|
5030
|
+
# @option params [String] :client_token
|
5031
|
+
# Unique, case-sensitive identifier you provide to ensure the
|
5032
|
+
# idempotency of the request. For more information, see [How to Ensure
|
5033
|
+
# Idempotency][1].
|
5034
|
+
#
|
5035
|
+
#
|
5036
|
+
#
|
5037
|
+
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
5038
|
+
#
|
5039
|
+
# @option params [Boolean] :private_dns_enabled
|
5040
|
+
# (Interface endpoint) Indicate whether to associate a private hosted
|
5041
|
+
# zone with the specified VPC. The private hosted zone contains a record
|
5042
|
+
# set for the default public DNS name for the service for the region
|
5043
|
+
# (for example, `kinesis.us-east-1.amazonaws.com`) which resolves to the
|
5044
|
+
# private IP addresses of the endpoint network interfaces in the VPC.
|
5045
|
+
# This enables you to make requests to the default public DNS name for
|
5046
|
+
# the service instead of the public DNS names that are automatically
|
5047
|
+
# generated by the VPC endpoint service.
|
5048
|
+
#
|
5049
|
+
# To use a private hosted zone, you must set the following VPC
|
5050
|
+
# attributes to `true`\: `enableDnsHostnames` and `enableDnsSupport`.
|
5051
|
+
# Use ModifyVpcAttribute to set the VPC attributes.
|
5052
|
+
#
|
5053
|
+
# Default: `true`
|
5019
5054
|
#
|
5020
5055
|
# @return [Types::CreateVpcEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5021
5056
|
#
|
5022
|
-
# * {Types::CreateVpcEndpointResult#client_token #client_token} => String
|
5023
5057
|
# * {Types::CreateVpcEndpointResult#vpc_endpoint #vpc_endpoint} => Types::VpcEndpoint
|
5058
|
+
# * {Types::CreateVpcEndpointResult#client_token #client_token} => String
|
5024
5059
|
#
|
5025
5060
|
# @example Request syntax with placeholder values
|
5026
5061
|
#
|
5027
5062
|
# resp = client.create_vpc_endpoint({
|
5028
|
-
# client_token: "String",
|
5029
5063
|
# dry_run: false,
|
5064
|
+
# vpc_endpoint_type: "Interface", # accepts Interface, Gateway
|
5065
|
+
# vpc_id: "String", # required
|
5066
|
+
# service_name: "String", # required
|
5030
5067
|
# policy_document: "String",
|
5031
5068
|
# route_table_ids: ["String"],
|
5032
|
-
#
|
5033
|
-
#
|
5069
|
+
# subnet_ids: ["String"],
|
5070
|
+
# security_group_ids: ["String"],
|
5071
|
+
# client_token: "String",
|
5072
|
+
# private_dns_enabled: false,
|
5034
5073
|
# })
|
5035
5074
|
#
|
5036
5075
|
# @example Response structure
|
5037
5076
|
#
|
5038
|
-
# resp.
|
5039
|
-
# resp.vpc_endpoint.
|
5077
|
+
# resp.vpc_endpoint.vpc_endpoint_id #=> String
|
5078
|
+
# resp.vpc_endpoint.vpc_endpoint_type #=> String, one of "Interface", "Gateway"
|
5079
|
+
# resp.vpc_endpoint.vpc_id #=> String
|
5080
|
+
# resp.vpc_endpoint.service_name #=> String
|
5081
|
+
# resp.vpc_endpoint.state #=> String, one of "PendingAcceptance", "Pending", "Available", "Deleting", "Deleted", "Rejected", "Failed", "Expired"
|
5040
5082
|
# resp.vpc_endpoint.policy_document #=> String
|
5041
5083
|
# resp.vpc_endpoint.route_table_ids #=> Array
|
5042
5084
|
# resp.vpc_endpoint.route_table_ids[0] #=> String
|
5043
|
-
# resp.vpc_endpoint.
|
5044
|
-
# resp.vpc_endpoint.
|
5045
|
-
# resp.vpc_endpoint.
|
5046
|
-
# resp.vpc_endpoint.
|
5085
|
+
# resp.vpc_endpoint.subnet_ids #=> Array
|
5086
|
+
# resp.vpc_endpoint.subnet_ids[0] #=> String
|
5087
|
+
# resp.vpc_endpoint.groups #=> Array
|
5088
|
+
# resp.vpc_endpoint.groups[0].group_id #=> String
|
5089
|
+
# resp.vpc_endpoint.groups[0].group_name #=> String
|
5090
|
+
# resp.vpc_endpoint.private_dns_enabled #=> Boolean
|
5091
|
+
# resp.vpc_endpoint.network_interface_ids #=> Array
|
5092
|
+
# resp.vpc_endpoint.network_interface_ids[0] #=> String
|
5093
|
+
# resp.vpc_endpoint.dns_entries #=> Array
|
5094
|
+
# resp.vpc_endpoint.dns_entries[0].dns_name #=> String
|
5095
|
+
# resp.vpc_endpoint.dns_entries[0].hosted_zone_id #=> String
|
5096
|
+
# resp.vpc_endpoint.creation_timestamp #=> Time
|
5097
|
+
# resp.client_token #=> String
|
5047
5098
|
#
|
5048
5099
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpoint AWS API Documentation
|
5049
5100
|
#
|
@@ -6292,9 +6343,10 @@ module Aws::EC2
|
|
6292
6343
|
req.send_request(options)
|
6293
6344
|
end
|
6294
6345
|
|
6295
|
-
# Deletes one or more specified VPC endpoints. Deleting
|
6296
|
-
# also deletes the endpoint routes in the route tables that
|
6297
|
-
# associated with the endpoint.
|
6346
|
+
# Deletes one or more specified VPC endpoints. Deleting a gateway
|
6347
|
+
# endpoint also deletes the endpoint routes in the route tables that
|
6348
|
+
# were associated with the endpoint. Deleting an interface endpoint
|
6349
|
+
# deletes the endpoint network interfaces.
|
6298
6350
|
#
|
6299
6351
|
# @option params [Boolean] :dry_run
|
6300
6352
|
# Checks whether you have the required permissions for the action,
|
@@ -7498,7 +7550,7 @@ module Aws::EC2
|
|
7498
7550
|
#
|
7499
7551
|
#
|
7500
7552
|
#
|
7501
|
-
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/
|
7553
|
+
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/elastic-gpus.html
|
7502
7554
|
#
|
7503
7555
|
# @option params [Array<String>] :elastic_gpu_ids
|
7504
7556
|
# One or more Elastic GPU IDs.
|
@@ -8436,6 +8488,9 @@ module Aws::EC2
|
|
8436
8488
|
#
|
8437
8489
|
# * `state-reason-message` - The message for the state change.
|
8438
8490
|
#
|
8491
|
+
# * `sriov-net-support` - A value of `simple` indicates that enhanced
|
8492
|
+
# networking with the Intel 82599 VF interface is enabled.
|
8493
|
+
#
|
8439
8494
|
# * `tag`\:*key*=*value* - The key/value combination of a tag assigned
|
8440
8495
|
# to the resource. Specify the key of the tag in the filter name and
|
8441
8496
|
# the value of the tag in the filter value. For example, for the tag
|
@@ -11862,36 +11917,63 @@ module Aws::EC2
|
|
11862
11917
|
#
|
11863
11918
|
# * `description` - The description of the security group.
|
11864
11919
|
#
|
11920
|
+
# * `egress.ip-permission.cidr` - An IPv4 CIDR block for an outbound
|
11921
|
+
# security group rule.
|
11922
|
+
#
|
11923
|
+
# * `egress.ip-permission.from-port` - For an outbound rule, the start
|
11924
|
+
# of port range for the TCP and UDP protocols, or an ICMP type number.
|
11925
|
+
#
|
11926
|
+
# * `egress.ip-permission.group-id` - The ID of a security group that
|
11927
|
+
# has been referenced in an outbound security group rule.
|
11928
|
+
#
|
11929
|
+
# * `egress.ip-permission.group-name` - The name of a security group
|
11930
|
+
# that has been referenced in an outbound security group rule.
|
11931
|
+
#
|
11932
|
+
# * `egress.ip-permission.ipv6-cidr` - An IPv6 CIDR block for an
|
11933
|
+
# outbound security group rule.
|
11934
|
+
#
|
11865
11935
|
# * `egress.ip-permission.prefix-list-id` - The ID (prefix) of the AWS
|
11866
|
-
# service to which
|
11936
|
+
# service to which a security group rule allows outbound access.
|
11937
|
+
#
|
11938
|
+
# * `egress.ip-permission.protocol` - The IP protocol for an outbound
|
11939
|
+
# security group rule (`tcp` \| `udp` \| `icmp` or a protocol number).
|
11940
|
+
#
|
11941
|
+
# * `egress.ip-permission.to-port` - For an outbound rule, the end of
|
11942
|
+
# port range for the TCP and UDP protocols, or an ICMP code.
|
11943
|
+
#
|
11944
|
+
# * `egress.ip-permission.user-id` - The ID of an AWS account that has
|
11945
|
+
# been referenced in an outbound security group rule.
|
11867
11946
|
#
|
11868
11947
|
# * `group-id` - The ID of the security group.
|
11869
11948
|
#
|
11870
11949
|
# * `group-name` - The name of the security group.
|
11871
11950
|
#
|
11872
|
-
# * `ip-permission.cidr` - An IPv4 CIDR
|
11873
|
-
#
|
11951
|
+
# * `ip-permission.cidr` - An IPv4 CIDR block for an inbound security
|
11952
|
+
# group rule.
|
11874
11953
|
#
|
11875
|
-
# * `ip-permission.from-port` -
|
11876
|
-
# UDP protocols, or an ICMP type number.
|
11954
|
+
# * `ip-permission.from-port` - For an inbound rule, the start of port
|
11955
|
+
# range for the TCP and UDP protocols, or an ICMP type number.
|
11877
11956
|
#
|
11878
11957
|
# * `ip-permission.group-id` - The ID of a security group that has been
|
11879
|
-
#
|
11958
|
+
# referenced in an inbound security group rule.
|
11880
11959
|
#
|
11881
11960
|
# * `ip-permission.group-name` - The name of a security group that has
|
11882
|
-
# been
|
11961
|
+
# been referenced in an inbound security group rule.
|
11883
11962
|
#
|
11884
|
-
# * `ip-permission.ipv6-cidr` - An IPv6 CIDR
|
11885
|
-
#
|
11963
|
+
# * `ip-permission.ipv6-cidr` - An IPv6 CIDR block for an inbound
|
11964
|
+
# security group rule.
|
11886
11965
|
#
|
11887
|
-
# * `ip-permission.
|
11888
|
-
#
|
11966
|
+
# * `ip-permission.prefix-list-id` - The ID (prefix) of the AWS service
|
11967
|
+
# from which a security group rule allows inbound access.
|
11889
11968
|
#
|
11890
|
-
# * `ip-permission.
|
11891
|
-
#
|
11969
|
+
# * `ip-permission.protocol` - The IP protocol for an inbound security
|
11970
|
+
# group rule (`tcp` \| `udp` \| `icmp` or a protocol number).
|
11971
|
+
#
|
11972
|
+
# * `ip-permission.to-port` - For an inbound rule, the end of port range
|
11973
|
+
# for the TCP and UDP protocols, or an ICMP code.
|
11892
11974
|
#
|
11893
11975
|
# * `ip-permission.user-id` - The ID of an AWS account that has been
|
11894
|
-
#
|
11976
|
+
# referenced in an inbound security group rule.
|
11895
11977
|
#
|
11896
11978
|
# * `owner-id` - The AWS account ID of the owner of the security group.
|
11897
11979
|
#
|
@@ -14407,6 +14489,16 @@ module Aws::EC2
|
|
14407
14489
|
# If you have the required permissions, the error response is
|
14408
14490
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
14409
14491
|
#
|
14492
|
+
# @option params [Array<String>] :service_names
|
14493
|
+
# One or more service names.
|
14494
|
+
#
|
14495
|
+
# @option params [Array<Types::Filter>] :filters
|
14496
|
+
# One or more filters.
|
14497
|
+
#
|
14498
|
+
# * `service-name`\: The name of the service.
|
14499
|
+
#
|
14500
|
+
# ^
|
14501
|
+
#
|
14410
14502
|
# @option params [Integer] :max_results
|
14411
14503
|
# The maximum number of items to return for this request. The request
|
14412
14504
|
# returns a token that you can specify in a subsequent call to get the
|
@@ -14421,22 +14513,42 @@ module Aws::EC2
|
|
14421
14513
|
#
|
14422
14514
|
# @return [Types::DescribeVpcEndpointServicesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
14423
14515
|
#
|
14424
|
-
# * {Types::DescribeVpcEndpointServicesResult#next_token #next_token} => String
|
14425
14516
|
# * {Types::DescribeVpcEndpointServicesResult#service_names #service_names} => Array<String>
|
14517
|
+
# * {Types::DescribeVpcEndpointServicesResult#service_details #service_details} => Array<Types::ServiceDetail>
|
14518
|
+
# * {Types::DescribeVpcEndpointServicesResult#next_token #next_token} => String
|
14426
14519
|
#
|
14427
14520
|
# @example Request syntax with placeholder values
|
14428
14521
|
#
|
14429
14522
|
# resp = client.describe_vpc_endpoint_services({
|
14430
14523
|
# dry_run: false,
|
14524
|
+
# service_names: ["String"],
|
14525
|
+
# filters: [
|
14526
|
+
# {
|
14527
|
+
# name: "String",
|
14528
|
+
# values: ["String"],
|
14529
|
+
# },
|
14530
|
+
# ],
|
14431
14531
|
# max_results: 1,
|
14432
14532
|
# next_token: "String",
|
14433
14533
|
# })
|
14434
14534
|
#
|
14435
14535
|
# @example Response structure
|
14436
14536
|
#
|
14437
|
-
# resp.next_token #=> String
|
14438
14537
|
# resp.service_names #=> Array
|
14439
14538
|
# resp.service_names[0] #=> String
|
14539
|
+
# resp.service_details #=> Array
|
14540
|
+
# resp.service_details[0].service_name #=> String
|
14541
|
+
# resp.service_details[0].service_type #=> Array
|
14542
|
+
# resp.service_details[0].service_type[0].service_type #=> String, one of "Interface", "Gateway"
|
14543
|
+
# resp.service_details[0].availability_zones #=> Array
|
14544
|
+
# resp.service_details[0].availability_zones[0] #=> String
|
14545
|
+
# resp.service_details[0].owner #=> String
|
14546
|
+
# resp.service_details[0].base_endpoint_dns_names #=> Array
|
14547
|
+
# resp.service_details[0].base_endpoint_dns_names[0] #=> String
|
14548
|
+
# resp.service_details[0].private_dns_name #=> String
|
14549
|
+
# resp.service_details[0].vpc_endpoint_policy_supported #=> Boolean
|
14550
|
+
# resp.service_details[0].acceptance_required #=> Boolean
|
14551
|
+
# resp.next_token #=> String
|
14440
14552
|
#
|
14441
14553
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServices AWS API Documentation
|
14442
14554
|
#
|
@@ -14455,6 +14567,9 @@ module Aws::EC2
|
|
14455
14567
|
# If you have the required permissions, the error response is
|
14456
14568
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
14457
14569
|
#
|
14570
|
+
# @option params [Array<String>] :vpc_endpoint_ids
|
14571
|
+
# One or more endpoint IDs.
|
14572
|
+
#
|
14458
14573
|
# @option params [Array<Types::Filter>] :filters
|
14459
14574
|
# One or more filters.
|
14460
14575
|
#
|
@@ -14479,18 +14594,16 @@ module Aws::EC2
|
|
14479
14594
|
# The token for the next set of items to return. (You received this
|
14480
14595
|
# token from a prior call.)
|
14481
14596
|
#
|
14482
|
-
# @option params [Array<String>] :vpc_endpoint_ids
|
14483
|
-
# One or more endpoint IDs.
|
14484
|
-
#
|
14485
14597
|
# @return [Types::DescribeVpcEndpointsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
14486
14598
|
#
|
14487
|
-
# * {Types::DescribeVpcEndpointsResult#next_token #next_token} => String
|
14488
14599
|
# * {Types::DescribeVpcEndpointsResult#vpc_endpoints #vpc_endpoints} => Array<Types::VpcEndpoint>
|
14600
|
+
# * {Types::DescribeVpcEndpointsResult#next_token #next_token} => String
|
14489
14601
|
#
|
14490
14602
|
# @example Request syntax with placeholder values
|
14491
14603
|
#
|
14492
14604
|
# resp = client.describe_vpc_endpoints({
|
14493
14605
|
# dry_run: false,
|
14606
|
+
# vpc_endpoint_ids: ["String"],
|
14494
14607
|
# filters: [
|
14495
14608
|
# {
|
14496
14609
|
# name: "String",
|
@@ -14499,21 +14612,32 @@ module Aws::EC2
|
|
14499
14612
|
# ],
|
14500
14613
|
# max_results: 1,
|
14501
14614
|
# next_token: "String",
|
14502
|
-
# vpc_endpoint_ids: ["String"],
|
14503
14615
|
# })
|
14504
14616
|
#
|
14505
14617
|
# @example Response structure
|
14506
14618
|
#
|
14507
|
-
# resp.next_token #=> String
|
14508
14619
|
# resp.vpc_endpoints #=> Array
|
14509
|
-
# resp.vpc_endpoints[0].
|
14620
|
+
# resp.vpc_endpoints[0].vpc_endpoint_id #=> String
|
14621
|
+
# resp.vpc_endpoints[0].vpc_endpoint_type #=> String, one of "Interface", "Gateway"
|
14622
|
+
# resp.vpc_endpoints[0].vpc_id #=> String
|
14623
|
+
# resp.vpc_endpoints[0].service_name #=> String
|
14624
|
+
# resp.vpc_endpoints[0].state #=> String, one of "PendingAcceptance", "Pending", "Available", "Deleting", "Deleted", "Rejected", "Failed", "Expired"
|
14510
14625
|
# resp.vpc_endpoints[0].policy_document #=> String
|
14511
14626
|
# resp.vpc_endpoints[0].route_table_ids #=> Array
|
14512
14627
|
# resp.vpc_endpoints[0].route_table_ids[0] #=> String
|
14513
|
-
# resp.vpc_endpoints[0].
|
14514
|
-
# resp.vpc_endpoints[0].
|
14515
|
-
# resp.vpc_endpoints[0].
|
14516
|
-
# resp.vpc_endpoints[0].
|
14628
|
+
# resp.vpc_endpoints[0].subnet_ids #=> Array
|
14629
|
+
# resp.vpc_endpoints[0].subnet_ids[0] #=> String
|
14630
|
+
# resp.vpc_endpoints[0].groups #=> Array
|
14631
|
+
# resp.vpc_endpoints[0].groups[0].group_id #=> String
|
14632
|
+
# resp.vpc_endpoints[0].groups[0].group_name #=> String
|
14633
|
+
# resp.vpc_endpoints[0].private_dns_enabled #=> Boolean
|
14634
|
+
# resp.vpc_endpoints[0].network_interface_ids #=> Array
|
14635
|
+
# resp.vpc_endpoints[0].network_interface_ids[0] #=> String
|
14636
|
+
# resp.vpc_endpoints[0].dns_entries #=> Array
|
14637
|
+
# resp.vpc_endpoints[0].dns_entries[0].dns_name #=> String
|
14638
|
+
# resp.vpc_endpoints[0].dns_entries[0].hosted_zone_id #=> String
|
14639
|
+
# resp.vpc_endpoints[0].creation_timestamp #=> Time
|
14640
|
+
# resp.next_token #=> String
|
14517
14641
|
#
|
14518
14642
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpoints AWS API Documentation
|
14519
14643
|
#
|
@@ -17826,12 +17950,14 @@ module Aws::EC2
|
|
17826
17950
|
req.send_request(options)
|
17827
17951
|
end
|
17828
17952
|
|
17829
|
-
# Modifies attributes of a specified VPC endpoint.
|
17830
|
-
#
|
17831
|
-
#
|
17953
|
+
# Modifies attributes of a specified VPC endpoint. The attributes that
|
17954
|
+
# you can modify depend on the type of VPC endpoint (interface or
|
17955
|
+
# gateway). For more information, see [VPC Endpoints][1] in the *Amazon
|
17956
|
+
# Virtual Private Cloud User Guide*.
|
17832
17957
|
#
|
17833
|
-
#
|
17834
|
-
#
|
17958
|
+
#
|
17959
|
+
#
|
17960
|
+
# [1]: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-endpoints.html
|
17835
17961
|
#
|
17836
17962
|
# @option params [Boolean] :dry_run
|
17837
17963
|
# Checks whether you have the required permissions for the action,
|
@@ -17839,19 +17965,44 @@ module Aws::EC2
|
|
17839
17965
|
# If you have the required permissions, the error response is
|
17840
17966
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
17841
17967
|
#
|
17968
|
+
# @option params [required, String] :vpc_endpoint_id
|
17969
|
+
# The ID of the endpoint.
|
17970
|
+
#
|
17971
|
+
# @option params [Boolean] :reset_policy
|
17972
|
+
# (Gateway endpoint) Specify `true` to reset the policy document to the
|
17973
|
+
# default policy. The default policy allows full access to the service.
|
17974
|
+
#
|
17842
17975
|
# @option params [String] :policy_document
|
17843
|
-
# A policy document to attach to the endpoint. The
|
17844
|
-
# valid JSON format.
|
17976
|
+
# (Gateway endpoint) A policy document to attach to the endpoint. The
|
17977
|
+
# policy must be in valid JSON format.
|
17978
|
+
#
|
17979
|
+
# @option params [Array<String>] :add_route_table_ids
|
17980
|
+
# (Gateway endpoint) One or more route tables IDs to associate with the
|
17981
|
+
# endpoint.
|
17845
17982
|
#
|
17846
17983
|
# @option params [Array<String>] :remove_route_table_ids
|
17847
|
-
# One or more route table IDs to disassociate from
|
17984
|
+
# (Gateway endpoint) One or more route table IDs to disassociate from
|
17985
|
+
# the endpoint.
|
17848
17986
|
#
|
17849
|
-
# @option params [
|
17850
|
-
#
|
17851
|
-
#
|
17987
|
+
# @option params [Array<String>] :add_subnet_ids
|
17988
|
+
# (Interface endpoint) One or more subnet IDs in which to serve the
|
17989
|
+
# endpoint.
|
17852
17990
|
#
|
17853
|
-
# @option params [
|
17854
|
-
#
|
17991
|
+
# @option params [Array<String>] :remove_subnet_ids
|
17992
|
+
# (Interface endpoint) One or more subnets IDs in which to remove the
|
17993
|
+
# endpoint.
|
17994
|
+
#
|
17995
|
+
# @option params [Array<String>] :add_security_group_ids
|
17996
|
+
# (Interface endpoint) One or more security group IDs to associate with
|
17997
|
+
# the network interface.
|
17998
|
+
#
|
17999
|
+
# @option params [Array<String>] :remove_security_group_ids
|
18000
|
+
# (Interface endpoint) One or more security group IDs to disassociate
|
18001
|
+
# from the network interface.
|
18002
|
+
#
|
18003
|
+
# @option params [Boolean] :private_dns_enabled
|
18004
|
+
# (Interface endpoint) Indicate whether a private hosted zone is
|
18005
|
+
# associated with the VPC.
|
17855
18006
|
#
|
17856
18007
|
# @return [Types::ModifyVpcEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
17857
18008
|
#
|
@@ -17860,12 +18011,17 @@ module Aws::EC2
|
|
17860
18011
|
# @example Request syntax with placeholder values
|
17861
18012
|
#
|
17862
18013
|
# resp = client.modify_vpc_endpoint({
|
17863
|
-
# add_route_table_ids: ["String"],
|
17864
18014
|
# dry_run: false,
|
18015
|
+
# vpc_endpoint_id: "String", # required
|
18016
|
+
# reset_policy: false,
|
17865
18017
|
# policy_document: "String",
|
18018
|
+
# add_route_table_ids: ["String"],
|
17866
18019
|
# remove_route_table_ids: ["String"],
|
17867
|
-
#
|
17868
|
-
#
|
18020
|
+
# add_subnet_ids: ["String"],
|
18021
|
+
# remove_subnet_ids: ["String"],
|
18022
|
+
# add_security_group_ids: ["String"],
|
18023
|
+
# remove_security_group_ids: ["String"],
|
18024
|
+
# private_dns_enabled: false,
|
17869
18025
|
# })
|
17870
18026
|
#
|
17871
18027
|
# @example Response structure
|
@@ -20400,14 +20556,11 @@ module Aws::EC2
|
|
20400
20556
|
# [7]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesConnecting.html
|
20401
20557
|
#
|
20402
20558
|
# @option params [Array<Types::BlockDeviceMapping>] :block_device_mappings
|
20403
|
-
#
|
20404
|
-
#
|
20405
|
-
#
|
20406
|
-
#
|
20407
|
-
#
|
20408
|
-
# snapshot. If a snapshot is the basis for the volume, it contains data
|
20409
|
-
# by definition and its encryption status cannot be changed using this
|
20410
|
-
# action.
|
20559
|
+
# One or more block device mapping entries. You can't specify both a
|
20560
|
+
# snapshot ID and an encryption value. This is because only blank
|
20561
|
+
# volumes can be encrypted on creation. If a snapshot is the basis for a
|
20562
|
+
# volume, it is not blank and its encryption status is used for the
|
20563
|
+
# volume encryption status.
|
20411
20564
|
#
|
20412
20565
|
# @option params [required, String] :image_id
|
20413
20566
|
# The ID of the AMI, which you can get by calling DescribeImages.
|
@@ -21562,7 +21715,7 @@ module Aws::EC2
|
|
21562
21715
|
params: params,
|
21563
21716
|
config: config)
|
21564
21717
|
context[:gem_name] = 'aws-sdk-ec2'
|
21565
|
-
context[:gem_version] = '1.
|
21718
|
+
context[:gem_version] = '1.16.0'
|
21566
21719
|
Seahorse::Client::Request.new(handlers, context)
|
21567
21720
|
end
|
21568
21721
|
|