aws-sdk-ec2 1.293.0 → 1.294.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +22 -1
- data/lib/aws-sdk-ec2/client_api.rb +16 -0
- data/lib/aws-sdk-ec2/types.rb +75 -3
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6ab11351df52d75ecc31b018a3bd2c7f06314915add3183a322dd660dacc0d4
|
4
|
+
data.tar.gz: b456fe82c29ff0d2cecb6054b6710c68ca52ab05e0e74a11f87473237690e082
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1600d330e062f67830e98c003d04279862d888734585c6ff9aba370ca415299da33182625a0fe45e4e3f680b25a90385b9c6198710ad3cbcd98298add537ee4
|
7
|
+
data.tar.gz: '09d3d686526fa871689214dc87c71a6243d799d3c542a923eb82835a06e5c5b678103d2de925aefb5982f5784129651942053012cbf316c4cc848ccf4f9fee14'
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.294.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -4790,6 +4790,10 @@ module Aws::EC2
|
|
4790
4790
|
# The options for managing connection authorization for new client
|
4791
4791
|
# connections.
|
4792
4792
|
#
|
4793
|
+
# @option params [Integer] :session_timeout_hours
|
4794
|
+
#
|
4795
|
+
# @option params [Types::ClientLoginBannerOptions] :client_login_banner_options
|
4796
|
+
#
|
4793
4797
|
# @return [Types::CreateClientVpnEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4794
4798
|
#
|
4795
4799
|
# * {Types::CreateClientVpnEndpointResult#client_vpn_endpoint_id #client_vpn_endpoint_id} => String
|
@@ -4846,6 +4850,11 @@ module Aws::EC2
|
|
4846
4850
|
# enabled: false,
|
4847
4851
|
# lambda_function_arn: "String",
|
4848
4852
|
# },
|
4853
|
+
# session_timeout_hours: 1,
|
4854
|
+
# client_login_banner_options: {
|
4855
|
+
# enabled: false,
|
4856
|
+
# banner_text: "String",
|
4857
|
+
# },
|
4849
4858
|
# })
|
4850
4859
|
#
|
4851
4860
|
# @example Response structure
|
@@ -17816,6 +17825,9 @@ module Aws::EC2
|
|
17816
17825
|
# resp.client_vpn_endpoints[0].client_connect_options.lambda_function_arn #=> String
|
17817
17826
|
# resp.client_vpn_endpoints[0].client_connect_options.status.code #=> String, one of "applying", "applied"
|
17818
17827
|
# resp.client_vpn_endpoints[0].client_connect_options.status.message #=> String
|
17828
|
+
# resp.client_vpn_endpoints[0].session_timeout_hours #=> Integer
|
17829
|
+
# resp.client_vpn_endpoints[0].client_login_banner_options.enabled #=> Boolean
|
17830
|
+
# resp.client_vpn_endpoints[0].client_login_banner_options.banner_text #=> String
|
17819
17831
|
# resp.next_token #=> String
|
17820
17832
|
#
|
17821
17833
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeClientVpnEndpoints AWS API Documentation
|
@@ -38075,6 +38087,10 @@ module Aws::EC2
|
|
38075
38087
|
# The options for managing connection authorization for new client
|
38076
38088
|
# connections.
|
38077
38089
|
#
|
38090
|
+
# @option params [Integer] :session_timeout_hours
|
38091
|
+
#
|
38092
|
+
# @option params [Types::ClientLoginBannerOptions] :client_login_banner_options
|
38093
|
+
#
|
38078
38094
|
# @return [Types::ModifyClientVpnEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
38079
38095
|
#
|
38080
38096
|
# * {Types::ModifyClientVpnEndpointResult#return #return} => Boolean
|
@@ -38104,6 +38120,11 @@ module Aws::EC2
|
|
38104
38120
|
# enabled: false,
|
38105
38121
|
# lambda_function_arn: "String",
|
38106
38122
|
# },
|
38123
|
+
# session_timeout_hours: 1,
|
38124
|
+
# client_login_banner_options: {
|
38125
|
+
# enabled: false,
|
38126
|
+
# banner_text: "String",
|
38127
|
+
# },
|
38107
38128
|
# })
|
38108
38129
|
#
|
38109
38130
|
# @example Response structure
|
@@ -49072,7 +49093,7 @@ module Aws::EC2
|
|
49072
49093
|
params: params,
|
49073
49094
|
config: config)
|
49074
49095
|
context[:gem_name] = 'aws-sdk-ec2'
|
49075
|
-
context[:gem_version] = '1.
|
49096
|
+
context[:gem_version] = '1.294.0'
|
49076
49097
|
Seahorse::Client::Request.new(handlers, context)
|
49077
49098
|
end
|
49078
49099
|
|
@@ -275,6 +275,8 @@ module Aws::EC2
|
|
275
275
|
ClientConnectOptions = Shapes::StructureShape.new(name: 'ClientConnectOptions')
|
276
276
|
ClientConnectResponseOptions = Shapes::StructureShape.new(name: 'ClientConnectResponseOptions')
|
277
277
|
ClientData = Shapes::StructureShape.new(name: 'ClientData')
|
278
|
+
ClientLoginBannerOptions = Shapes::StructureShape.new(name: 'ClientLoginBannerOptions')
|
279
|
+
ClientLoginBannerResponseOptions = Shapes::StructureShape.new(name: 'ClientLoginBannerResponseOptions')
|
278
280
|
ClientVpnAssociationId = Shapes::StringShape.new(name: 'ClientVpnAssociationId')
|
279
281
|
ClientVpnAuthentication = Shapes::StructureShape.new(name: 'ClientVpnAuthentication')
|
280
282
|
ClientVpnAuthenticationList = Shapes::ListShape.new(name: 'ClientVpnAuthenticationList')
|
@@ -3542,6 +3544,14 @@ module Aws::EC2
|
|
3542
3544
|
ClientData.add_member(:upload_start, Shapes::ShapeRef.new(shape: DateTime, location_name: "UploadStart"))
|
3543
3545
|
ClientData.struct_class = Types::ClientData
|
3544
3546
|
|
3547
|
+
ClientLoginBannerOptions.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
|
3548
|
+
ClientLoginBannerOptions.add_member(:banner_text, Shapes::ShapeRef.new(shape: String, location_name: "BannerText"))
|
3549
|
+
ClientLoginBannerOptions.struct_class = Types::ClientLoginBannerOptions
|
3550
|
+
|
3551
|
+
ClientLoginBannerResponseOptions.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
|
3552
|
+
ClientLoginBannerResponseOptions.add_member(:banner_text, Shapes::ShapeRef.new(shape: String, location_name: "bannerText"))
|
3553
|
+
ClientLoginBannerResponseOptions.struct_class = Types::ClientLoginBannerResponseOptions
|
3554
|
+
|
3545
3555
|
ClientVpnAuthentication.add_member(:type, Shapes::ShapeRef.new(shape: ClientVpnAuthenticationType, location_name: "type"))
|
3546
3556
|
ClientVpnAuthentication.add_member(:active_directory, Shapes::ShapeRef.new(shape: DirectoryServiceAuthentication, location_name: "activeDirectory"))
|
3547
3557
|
ClientVpnAuthentication.add_member(:mutual_authentication, Shapes::ShapeRef.new(shape: CertificateAuthentication, location_name: "mutualAuthentication"))
|
@@ -3605,6 +3615,8 @@ module Aws::EC2
|
|
3605
3615
|
ClientVpnEndpoint.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, location_name: "vpcId"))
|
3606
3616
|
ClientVpnEndpoint.add_member(:self_service_portal_url, Shapes::ShapeRef.new(shape: String, location_name: "selfServicePortalUrl"))
|
3607
3617
|
ClientVpnEndpoint.add_member(:client_connect_options, Shapes::ShapeRef.new(shape: ClientConnectResponseOptions, location_name: "clientConnectOptions"))
|
3618
|
+
ClientVpnEndpoint.add_member(:session_timeout_hours, Shapes::ShapeRef.new(shape: Integer, location_name: "sessionTimeoutHours"))
|
3619
|
+
ClientVpnEndpoint.add_member(:client_login_banner_options, Shapes::ShapeRef.new(shape: ClientLoginBannerResponseOptions, location_name: "clientLoginBannerOptions"))
|
3608
3620
|
ClientVpnEndpoint.struct_class = Types::ClientVpnEndpoint
|
3609
3621
|
|
3610
3622
|
ClientVpnEndpointAttributeStatus.add_member(:code, Shapes::ShapeRef.new(shape: ClientVpnEndpointAttributeStatusCode, location_name: "code"))
|
@@ -3819,6 +3831,8 @@ module Aws::EC2
|
|
3819
3831
|
CreateClientVpnEndpointRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, location_name: "VpcId"))
|
3820
3832
|
CreateClientVpnEndpointRequest.add_member(:self_service_portal, Shapes::ShapeRef.new(shape: SelfServicePortal, location_name: "SelfServicePortal"))
|
3821
3833
|
CreateClientVpnEndpointRequest.add_member(:client_connect_options, Shapes::ShapeRef.new(shape: ClientConnectOptions, location_name: "ClientConnectOptions"))
|
3834
|
+
CreateClientVpnEndpointRequest.add_member(:session_timeout_hours, Shapes::ShapeRef.new(shape: Integer, location_name: "SessionTimeoutHours"))
|
3835
|
+
CreateClientVpnEndpointRequest.add_member(:client_login_banner_options, Shapes::ShapeRef.new(shape: ClientLoginBannerOptions, location_name: "ClientLoginBannerOptions"))
|
3822
3836
|
CreateClientVpnEndpointRequest.struct_class = Types::CreateClientVpnEndpointRequest
|
3823
3837
|
|
3824
3838
|
CreateClientVpnEndpointResult.add_member(:client_vpn_endpoint_id, Shapes::ShapeRef.new(shape: String, location_name: "clientVpnEndpointId"))
|
@@ -9440,6 +9454,8 @@ module Aws::EC2
|
|
9440
9454
|
ModifyClientVpnEndpointRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, location_name: "VpcId"))
|
9441
9455
|
ModifyClientVpnEndpointRequest.add_member(:self_service_portal, Shapes::ShapeRef.new(shape: SelfServicePortal, location_name: "SelfServicePortal"))
|
9442
9456
|
ModifyClientVpnEndpointRequest.add_member(:client_connect_options, Shapes::ShapeRef.new(shape: ClientConnectOptions, location_name: "ClientConnectOptions"))
|
9457
|
+
ModifyClientVpnEndpointRequest.add_member(:session_timeout_hours, Shapes::ShapeRef.new(shape: Integer, location_name: "SessionTimeoutHours"))
|
9458
|
+
ModifyClientVpnEndpointRequest.add_member(:client_login_banner_options, Shapes::ShapeRef.new(shape: ClientLoginBannerOptions, location_name: "ClientLoginBannerOptions"))
|
9443
9459
|
ModifyClientVpnEndpointRequest.struct_class = Types::ModifyClientVpnEndpointRequest
|
9444
9460
|
|
9445
9461
|
ModifyClientVpnEndpointResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -5189,6 +5189,44 @@ module Aws::EC2
|
|
5189
5189
|
include Aws::Structure
|
5190
5190
|
end
|
5191
5191
|
|
5192
|
+
# @note When making an API call, you may pass ClientLoginBannerOptions
|
5193
|
+
# data as a hash:
|
5194
|
+
#
|
5195
|
+
# {
|
5196
|
+
# enabled: false,
|
5197
|
+
# banner_text: "String",
|
5198
|
+
# }
|
5199
|
+
#
|
5200
|
+
# @!attribute [rw] enabled
|
5201
|
+
# @return [Boolean]
|
5202
|
+
#
|
5203
|
+
# @!attribute [rw] banner_text
|
5204
|
+
# @return [String]
|
5205
|
+
#
|
5206
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClientLoginBannerOptions AWS API Documentation
|
5207
|
+
#
|
5208
|
+
class ClientLoginBannerOptions < Struct.new(
|
5209
|
+
:enabled,
|
5210
|
+
:banner_text)
|
5211
|
+
SENSITIVE = []
|
5212
|
+
include Aws::Structure
|
5213
|
+
end
|
5214
|
+
|
5215
|
+
# @!attribute [rw] enabled
|
5216
|
+
# @return [Boolean]
|
5217
|
+
#
|
5218
|
+
# @!attribute [rw] banner_text
|
5219
|
+
# @return [String]
|
5220
|
+
#
|
5221
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClientLoginBannerResponseOptions AWS API Documentation
|
5222
|
+
#
|
5223
|
+
class ClientLoginBannerResponseOptions < Struct.new(
|
5224
|
+
:enabled,
|
5225
|
+
:banner_text)
|
5226
|
+
SENSITIVE = []
|
5227
|
+
include Aws::Structure
|
5228
|
+
end
|
5229
|
+
|
5192
5230
|
# Describes the authentication methods used by a Client VPN endpoint.
|
5193
5231
|
# For more information, see [Authentication][1] in the *Client VPN
|
5194
5232
|
# Administrator Guide*.
|
@@ -5504,6 +5542,12 @@ module Aws::EC2
|
|
5504
5542
|
# connections.
|
5505
5543
|
# @return [Types::ClientConnectResponseOptions]
|
5506
5544
|
#
|
5545
|
+
# @!attribute [rw] session_timeout_hours
|
5546
|
+
# @return [Integer]
|
5547
|
+
#
|
5548
|
+
# @!attribute [rw] client_login_banner_options
|
5549
|
+
# @return [Types::ClientLoginBannerResponseOptions]
|
5550
|
+
#
|
5507
5551
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClientVpnEndpoint AWS API Documentation
|
5508
5552
|
#
|
5509
5553
|
class ClientVpnEndpoint < Struct.new(
|
@@ -5527,7 +5571,9 @@ module Aws::EC2
|
|
5527
5571
|
:security_group_ids,
|
5528
5572
|
:vpc_id,
|
5529
5573
|
:self_service_portal_url,
|
5530
|
-
:client_connect_options
|
5574
|
+
:client_connect_options,
|
5575
|
+
:session_timeout_hours,
|
5576
|
+
:client_login_banner_options)
|
5531
5577
|
SENSITIVE = []
|
5532
5578
|
include Aws::Structure
|
5533
5579
|
end
|
@@ -6897,6 +6943,11 @@ module Aws::EC2
|
|
6897
6943
|
# enabled: false,
|
6898
6944
|
# lambda_function_arn: "String",
|
6899
6945
|
# },
|
6946
|
+
# session_timeout_hours: 1,
|
6947
|
+
# client_login_banner_options: {
|
6948
|
+
# enabled: false,
|
6949
|
+
# banner_text: "String",
|
6950
|
+
# },
|
6900
6951
|
# }
|
6901
6952
|
#
|
6902
6953
|
# @!attribute [rw] client_cidr_block
|
@@ -7026,6 +7077,12 @@ module Aws::EC2
|
|
7026
7077
|
# connections.
|
7027
7078
|
# @return [Types::ClientConnectOptions]
|
7028
7079
|
#
|
7080
|
+
# @!attribute [rw] session_timeout_hours
|
7081
|
+
# @return [Integer]
|
7082
|
+
#
|
7083
|
+
# @!attribute [rw] client_login_banner_options
|
7084
|
+
# @return [Types::ClientLoginBannerOptions]
|
7085
|
+
#
|
7029
7086
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateClientVpnEndpointRequest AWS API Documentation
|
7030
7087
|
#
|
7031
7088
|
class CreateClientVpnEndpointRequest < Struct.new(
|
@@ -7044,7 +7101,9 @@ module Aws::EC2
|
|
7044
7101
|
:security_group_ids,
|
7045
7102
|
:vpc_id,
|
7046
7103
|
:self_service_portal,
|
7047
|
-
:client_connect_options
|
7104
|
+
:client_connect_options,
|
7105
|
+
:session_timeout_hours,
|
7106
|
+
:client_login_banner_options)
|
7048
7107
|
SENSITIVE = []
|
7049
7108
|
include Aws::Structure
|
7050
7109
|
end
|
@@ -46175,6 +46234,11 @@ module Aws::EC2
|
|
46175
46234
|
# enabled: false,
|
46176
46235
|
# lambda_function_arn: "String",
|
46177
46236
|
# },
|
46237
|
+
# session_timeout_hours: 1,
|
46238
|
+
# client_login_banner_options: {
|
46239
|
+
# enabled: false,
|
46240
|
+
# banner_text: "String",
|
46241
|
+
# },
|
46178
46242
|
# }
|
46179
46243
|
#
|
46180
46244
|
# @!attribute [rw] client_vpn_endpoint_id
|
@@ -46257,6 +46321,12 @@ module Aws::EC2
|
|
46257
46321
|
# connections.
|
46258
46322
|
# @return [Types::ClientConnectOptions]
|
46259
46323
|
#
|
46324
|
+
# @!attribute [rw] session_timeout_hours
|
46325
|
+
# @return [Integer]
|
46326
|
+
#
|
46327
|
+
# @!attribute [rw] client_login_banner_options
|
46328
|
+
# @return [Types::ClientLoginBannerOptions]
|
46329
|
+
#
|
46260
46330
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyClientVpnEndpointRequest AWS API Documentation
|
46261
46331
|
#
|
46262
46332
|
class ModifyClientVpnEndpointRequest < Struct.new(
|
@@ -46271,7 +46341,9 @@ module Aws::EC2
|
|
46271
46341
|
:security_group_ids,
|
46272
46342
|
:vpc_id,
|
46273
46343
|
:self_service_portal,
|
46274
|
-
:client_connect_options
|
46344
|
+
:client_connect_options,
|
46345
|
+
:session_timeout_hours,
|
46346
|
+
:client_login_banner_options)
|
46275
46347
|
SENSITIVE = []
|
46276
46348
|
include Aws::Structure
|
46277
46349
|
end
|
data/lib/aws-sdk-ec2.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.294.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|