aws-sdk-elasticloadbalancingv2 1.3.0 → 1.4.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: 651e686c34eff62ec428a5c9049ab6e37434a749
4
- data.tar.gz: 08bb26fc62e73388f3d225823c2ecb6f595814c2
3
+ metadata.gz: 9543b68011856882d58b835224ea1a4ee0523357
4
+ data.tar.gz: 06f004e60b277e2631ba108aea81bd02cfac4e5a
5
5
  SHA512:
6
- metadata.gz: c03afe5b8dec35a1225eaeb5ae8b9025277219f2601138ac2703584967b92707eb9c3f2cd22f3aeb3242d3c9a34339969286d9ad48d0fa6439f025a91c20aeea
7
- data.tar.gz: 86e85aed42eb0fa8ec94a3761439de625fd1928e40808674c4558e107338b941815ecfde07afef884f0aa7aafe7796f54263a46026d028c825ced0cacff3ea2d
6
+ metadata.gz: 3dfaaa6defbdc0b9d23b47f113f0a042ac2bdda2f83cac7bb6f5a49a0725ca32d7b11d0e6a7efbb13a5e380552fe0627afd1311626f976a27ec7e11aa9fd0cda
7
+ data.tar.gz: 06ccbfd9e41caee1566433c9c38a36f0911a65cac13224ff372fe1c6057cada14edf43dc7b898532424735a09fee9326f2a0bd0b52a97ed285752da0027ddd8a
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-elasticloadbalancingv2/customizations'
43
43
  # @service
44
44
  module Aws::ElasticLoadBalancingV2
45
45
 
46
- GEM_VERSION = '1.3.0'
46
+ GEM_VERSION = '1.4.0'
47
47
 
48
48
  end
@@ -145,6 +145,52 @@ module Aws::ElasticLoadBalancingV2
145
145
 
146
146
  # @!group API Operations
147
147
 
148
+ # Adds the specified certificate to the specified secure listener.
149
+ #
150
+ # If the certificate was already added, the call is successful but the
151
+ # certificate is not added again.
152
+ #
153
+ # To list the certificates for your listener, use
154
+ # DescribeListenerCertificates. To remove certificates from your
155
+ # listener, use RemoveListenerCertificates.
156
+ #
157
+ # @option params [required, String] :listener_arn
158
+ # The Amazon Resource Name (ARN) of the listener.
159
+ #
160
+ # @option params [required, Array<Types::Certificate>] :certificates
161
+ # The certificate to add. You can specify one certificate per call.
162
+ #
163
+ # @return [Types::AddListenerCertificatesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
164
+ #
165
+ # * {Types::AddListenerCertificatesOutput#certificates #certificates} => Array&lt;Types::Certificate&gt;
166
+ #
167
+ # @example Request syntax with placeholder values
168
+ #
169
+ # resp = client.add_listener_certificates({
170
+ # listener_arn: "ListenerArn", # required
171
+ # certificates: [ # required
172
+ # {
173
+ # certificate_arn: "CertificateArn",
174
+ # is_default: false,
175
+ # },
176
+ # ],
177
+ # })
178
+ #
179
+ # @example Response structure
180
+ #
181
+ # resp.certificates #=> Array
182
+ # resp.certificates[0].certificate_arn #=> String
183
+ # resp.certificates[0].is_default #=> Boolean
184
+ #
185
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddListenerCertificates AWS API Documentation
186
+ #
187
+ # @overload add_listener_certificates(params = {})
188
+ # @param [Hash] params ({})
189
+ def add_listener_certificates(params = {}, options = {})
190
+ req = build_request(:add_listener_certificates, params)
191
+ req.send_request(options)
192
+ end
193
+
148
194
  # Adds the specified tags to the specified Elastic Load Balancing
149
195
  # resource. You can tag your Application Load Balancers, Network Load
150
196
  # Balancers, and your target groups.
@@ -350,6 +396,7 @@ module Aws::ElasticLoadBalancingV2
350
396
  # certificates: [
351
397
  # {
352
398
  # certificate_arn: "CertificateArn",
399
+ # is_default: false,
353
400
  # },
354
401
  # ],
355
402
  # default_actions: [ # required
@@ -369,6 +416,7 @@ module Aws::ElasticLoadBalancingV2
369
416
  # resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP"
370
417
  # resp.listeners[0].certificates #=> Array
371
418
  # resp.listeners[0].certificates[0].certificate_arn #=> String
419
+ # resp.listeners[0].certificates[0].is_default #=> Boolean
372
420
  # resp.listeners[0].ssl_policy #=> String
373
421
  # resp.listeners[0].default_actions #=> Array
374
422
  # resp.listeners[0].default_actions[0].type #=> String, one of "forward"
@@ -1199,6 +1247,47 @@ module Aws::ElasticLoadBalancingV2
1199
1247
  req.send_request(options)
1200
1248
  end
1201
1249
 
1250
+ # Describes the certificates for the specified secure listener.
1251
+ #
1252
+ # @option params [required, String] :listener_arn
1253
+ # The Amazon Resource Names (ARN) of the listener.
1254
+ #
1255
+ # @option params [String] :marker
1256
+ # The marker for the next set of results. (You received this marker from
1257
+ # a previous call.)
1258
+ #
1259
+ # @option params [Integer] :page_size
1260
+ # The maximum number of results to return with this call.
1261
+ #
1262
+ # @return [Types::DescribeListenerCertificatesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1263
+ #
1264
+ # * {Types::DescribeListenerCertificatesOutput#certificates #certificates} => Array&lt;Types::Certificate&gt;
1265
+ # * {Types::DescribeListenerCertificatesOutput#next_marker #next_marker} => String
1266
+ #
1267
+ # @example Request syntax with placeholder values
1268
+ #
1269
+ # resp = client.describe_listener_certificates({
1270
+ # listener_arn: "ListenerArn", # required
1271
+ # marker: "Marker",
1272
+ # page_size: 1,
1273
+ # })
1274
+ #
1275
+ # @example Response structure
1276
+ #
1277
+ # resp.certificates #=> Array
1278
+ # resp.certificates[0].certificate_arn #=> String
1279
+ # resp.certificates[0].is_default #=> Boolean
1280
+ # resp.next_marker #=> String
1281
+ #
1282
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListenerCertificates AWS API Documentation
1283
+ #
1284
+ # @overload describe_listener_certificates(params = {})
1285
+ # @param [Hash] params ({})
1286
+ def describe_listener_certificates(params = {}, options = {})
1287
+ req = build_request(:describe_listener_certificates, params)
1288
+ req.send_request(options)
1289
+ end
1290
+
1202
1291
  # Describes the specified listeners or the listeners for the specified
1203
1292
  # Application Load Balancer or Network Load Balancer. You must specify
1204
1293
  # either a load balancer or one or more listeners.
@@ -1268,6 +1357,7 @@ module Aws::ElasticLoadBalancingV2
1268
1357
  # resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP"
1269
1358
  # resp.listeners[0].certificates #=> Array
1270
1359
  # resp.listeners[0].certificates[0].certificate_arn #=> String
1360
+ # resp.listeners[0].certificates[0].is_default #=> Boolean
1271
1361
  # resp.listeners[0].ssl_policy #=> String
1272
1362
  # resp.listeners[0].default_actions #=> Array
1273
1363
  # resp.listeners[0].default_actions[0].type #=> String, one of "forward"
@@ -2079,7 +2169,7 @@ module Aws::ElasticLoadBalancingV2
2079
2169
  # [1]: http://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#describe-ssl-policies
2080
2170
  #
2081
2171
  # @option params [Array<Types::Certificate>] :certificates
2082
- # The SSL server certificate.
2172
+ # The default SSL server certificate.
2083
2173
  #
2084
2174
  # @option params [Array<Types::Action>] :default_actions
2085
2175
  # The default action. For Application Load Balancers, the protocol of
@@ -2170,6 +2260,7 @@ module Aws::ElasticLoadBalancingV2
2170
2260
  # certificates: [
2171
2261
  # {
2172
2262
  # certificate_arn: "CertificateArn",
2263
+ # is_default: false,
2173
2264
  # },
2174
2265
  # ],
2175
2266
  # default_actions: [
@@ -2189,6 +2280,7 @@ module Aws::ElasticLoadBalancingV2
2189
2280
  # resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP"
2190
2281
  # resp.listeners[0].certificates #=> Array
2191
2282
  # resp.listeners[0].certificates[0].certificate_arn #=> String
2283
+ # resp.listeners[0].certificates[0].is_default #=> Boolean
2192
2284
  # resp.listeners[0].ssl_policy #=> String
2193
2285
  # resp.listeners[0].default_actions #=> Array
2194
2286
  # resp.listeners[0].default_actions[0].type #=> String, one of "forward"
@@ -2688,18 +2780,20 @@ module Aws::ElasticLoadBalancingV2
2688
2780
 
2689
2781
  # Registers the specified targets with the specified target group.
2690
2782
  #
2691
- # By default, the load balancer routes requests to registered targets
2692
- # using the protocol and port number for the target group.
2693
- # Alternatively, you can override the port for a target when you
2783
+ # You can register targets by instance ID or by IP address. If the
2784
+ # target is an EC2 instance, it must be in the `running` state when you
2694
2785
  # register it.
2695
2786
  #
2696
- # The target must be in the virtual private cloud (VPC) that you
2697
- # specified for the target group. If the target is an EC2 instance, it
2698
- # must be in the `running` state when you register it.
2787
+ # By default, the load balancer routes requests to registered targets
2788
+ # using the protocol and port for the target group. Alternatively, you
2789
+ # can override the port for a target when you register it. You can
2790
+ # register each EC2 instance or IP address with the same target group
2791
+ # multiple times using different ports.
2699
2792
  #
2700
- # Network Load Balancers do not support the following instance types as
2701
- # targets: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2,
2702
- # M3, and T1.
2793
+ # With a Network Load Balancer, you cannot register instances by
2794
+ # instance ID if they have the following instance types: C1, CC1, CC2,
2795
+ # CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, M3, and T1. You can
2796
+ # register instances of these types by IP address.
2703
2797
  #
2704
2798
  # To remove a target from a target group, use DeregisterTargets.
2705
2799
  #
@@ -2707,9 +2801,7 @@ module Aws::ElasticLoadBalancingV2
2707
2801
  # The Amazon Resource Name (ARN) of the target group.
2708
2802
  #
2709
2803
  # @option params [required, Array<Types::TargetDescription>] :targets
2710
- # The targets. The default port for a target is the port for the target
2711
- # group. You can specify a port override. If a target is already
2712
- # registered, you can register it again using a different port.
2804
+ # The targets.
2713
2805
  #
2714
2806
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2715
2807
  #
@@ -2771,6 +2863,43 @@ module Aws::ElasticLoadBalancingV2
2771
2863
  req.send_request(options)
2772
2864
  end
2773
2865
 
2866
+ # Removes the specified certificate from the specified secure listener.
2867
+ #
2868
+ # You can't remove the default certificate for a listener. To replace
2869
+ # the default certificate, call ModifyListener.
2870
+ #
2871
+ # To list the certificates for your listener, use
2872
+ # DescribeListenerCertificates.
2873
+ #
2874
+ # @option params [required, String] :listener_arn
2875
+ # The Amazon Resource Name (ARN) of the listener.
2876
+ #
2877
+ # @option params [required, Array<Types::Certificate>] :certificates
2878
+ # The certificate to remove. You can specify one certificate per call.
2879
+ #
2880
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2881
+ #
2882
+ # @example Request syntax with placeholder values
2883
+ #
2884
+ # resp = client.remove_listener_certificates({
2885
+ # listener_arn: "ListenerArn", # required
2886
+ # certificates: [ # required
2887
+ # {
2888
+ # certificate_arn: "CertificateArn",
2889
+ # is_default: false,
2890
+ # },
2891
+ # ],
2892
+ # })
2893
+ #
2894
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveListenerCertificates AWS API Documentation
2895
+ #
2896
+ # @overload remove_listener_certificates(params = {})
2897
+ # @param [Hash] params ({})
2898
+ def remove_listener_certificates(params = {}, options = {})
2899
+ req = build_request(:remove_listener_certificates, params)
2900
+ req.send_request(options)
2901
+ end
2902
+
2774
2903
  # Removes the specified tags from the specified Elastic Load Balancing
2775
2904
  # resource.
2776
2905
  #
@@ -3092,7 +3221,7 @@ module Aws::ElasticLoadBalancingV2
3092
3221
  params: params,
3093
3222
  config: config)
3094
3223
  context[:gem_name] = 'aws-sdk-elasticloadbalancingv2'
3095
- context[:gem_version] = '1.3.0'
3224
+ context[:gem_version] = '1.4.0'
3096
3225
  Seahorse::Client::Request.new(handlers, context)
3097
3226
  end
3098
3227
 
@@ -14,6 +14,8 @@ module Aws::ElasticLoadBalancingV2
14
14
  Action = Shapes::StructureShape.new(name: 'Action')
15
15
  ActionTypeEnum = Shapes::StringShape.new(name: 'ActionTypeEnum')
16
16
  Actions = Shapes::ListShape.new(name: 'Actions')
17
+ AddListenerCertificatesInput = Shapes::StructureShape.new(name: 'AddListenerCertificatesInput')
18
+ AddListenerCertificatesOutput = Shapes::StructureShape.new(name: 'AddListenerCertificatesOutput')
17
19
  AddTagsInput = Shapes::StructureShape.new(name: 'AddTagsInput')
18
20
  AddTagsOutput = Shapes::StructureShape.new(name: 'AddTagsOutput')
19
21
  AllocationId = Shapes::StringShape.new(name: 'AllocationId')
@@ -41,6 +43,7 @@ module Aws::ElasticLoadBalancingV2
41
43
  CreateTargetGroupOutput = Shapes::StructureShape.new(name: 'CreateTargetGroupOutput')
42
44
  CreatedTime = Shapes::TimestampShape.new(name: 'CreatedTime')
43
45
  DNSName = Shapes::StringShape.new(name: 'DNSName')
46
+ Default = Shapes::BooleanShape.new(name: 'Default')
44
47
  DeleteListenerInput = Shapes::StructureShape.new(name: 'DeleteListenerInput')
45
48
  DeleteListenerOutput = Shapes::StructureShape.new(name: 'DeleteListenerOutput')
46
49
  DeleteLoadBalancerInput = Shapes::StructureShape.new(name: 'DeleteLoadBalancerInput')
@@ -53,6 +56,8 @@ module Aws::ElasticLoadBalancingV2
53
56
  DeregisterTargetsOutput = Shapes::StructureShape.new(name: 'DeregisterTargetsOutput')
54
57
  DescribeAccountLimitsInput = Shapes::StructureShape.new(name: 'DescribeAccountLimitsInput')
55
58
  DescribeAccountLimitsOutput = Shapes::StructureShape.new(name: 'DescribeAccountLimitsOutput')
59
+ DescribeListenerCertificatesInput = Shapes::StructureShape.new(name: 'DescribeListenerCertificatesInput')
60
+ DescribeListenerCertificatesOutput = Shapes::StructureShape.new(name: 'DescribeListenerCertificatesOutput')
56
61
  DescribeListenersInput = Shapes::StructureShape.new(name: 'DescribeListenersInput')
57
62
  DescribeListenersOutput = Shapes::StructureShape.new(name: 'DescribeListenersOutput')
58
63
  DescribeLoadBalancerAttributesInput = Shapes::StructureShape.new(name: 'DescribeLoadBalancerAttributesInput')
@@ -138,6 +143,8 @@ module Aws::ElasticLoadBalancingV2
138
143
  ProtocolEnum = Shapes::StringShape.new(name: 'ProtocolEnum')
139
144
  RegisterTargetsInput = Shapes::StructureShape.new(name: 'RegisterTargetsInput')
140
145
  RegisterTargetsOutput = Shapes::StructureShape.new(name: 'RegisterTargetsOutput')
146
+ RemoveListenerCertificatesInput = Shapes::StructureShape.new(name: 'RemoveListenerCertificatesInput')
147
+ RemoveListenerCertificatesOutput = Shapes::StructureShape.new(name: 'RemoveListenerCertificatesOutput')
141
148
  RemoveTagsInput = Shapes::StructureShape.new(name: 'RemoveTagsInput')
142
149
  RemoveTagsOutput = Shapes::StructureShape.new(name: 'RemoveTagsOutput')
143
150
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
@@ -224,6 +231,13 @@ module Aws::ElasticLoadBalancingV2
224
231
 
225
232
  Actions.member = Shapes::ShapeRef.new(shape: Action)
226
233
 
234
+ AddListenerCertificatesInput.add_member(:listener_arn, Shapes::ShapeRef.new(shape: ListenerArn, required: true, location_name: "ListenerArn"))
235
+ AddListenerCertificatesInput.add_member(:certificates, Shapes::ShapeRef.new(shape: CertificateList, required: true, location_name: "Certificates"))
236
+ AddListenerCertificatesInput.struct_class = Types::AddListenerCertificatesInput
237
+
238
+ AddListenerCertificatesOutput.add_member(:certificates, Shapes::ShapeRef.new(shape: CertificateList, location_name: "Certificates"))
239
+ AddListenerCertificatesOutput.struct_class = Types::AddListenerCertificatesOutput
240
+
227
241
  AddTagsInput.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArns, required: true, location_name: "ResourceArns"))
228
242
  AddTagsInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
229
243
  AddTagsInput.struct_class = Types::AddTagsInput
@@ -238,6 +252,7 @@ module Aws::ElasticLoadBalancingV2
238
252
  AvailabilityZones.member = Shapes::ShapeRef.new(shape: AvailabilityZone)
239
253
 
240
254
  Certificate.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "CertificateArn"))
255
+ Certificate.add_member(:is_default, Shapes::ShapeRef.new(shape: Default, location_name: "IsDefault"))
241
256
  Certificate.struct_class = Types::Certificate
242
257
 
243
258
  CertificateList.member = Shapes::ShapeRef.new(shape: Certificate)
@@ -333,6 +348,15 @@ module Aws::ElasticLoadBalancingV2
333
348
  DescribeAccountLimitsOutput.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "NextMarker"))
334
349
  DescribeAccountLimitsOutput.struct_class = Types::DescribeAccountLimitsOutput
335
350
 
351
+ DescribeListenerCertificatesInput.add_member(:listener_arn, Shapes::ShapeRef.new(shape: ListenerArn, required: true, location_name: "ListenerArn"))
352
+ DescribeListenerCertificatesInput.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location_name: "Marker"))
353
+ DescribeListenerCertificatesInput.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location_name: "PageSize"))
354
+ DescribeListenerCertificatesInput.struct_class = Types::DescribeListenerCertificatesInput
355
+
356
+ DescribeListenerCertificatesOutput.add_member(:certificates, Shapes::ShapeRef.new(shape: CertificateList, location_name: "Certificates"))
357
+ DescribeListenerCertificatesOutput.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "NextMarker"))
358
+ DescribeListenerCertificatesOutput.struct_class = Types::DescribeListenerCertificatesOutput
359
+
336
360
  DescribeListenersInput.add_member(:load_balancer_arn, Shapes::ShapeRef.new(shape: LoadBalancerArn, location_name: "LoadBalancerArn"))
337
361
  DescribeListenersInput.add_member(:listener_arns, Shapes::ShapeRef.new(shape: ListenerArns, location_name: "ListenerArns"))
338
362
  DescribeListenersInput.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location_name: "Marker"))
@@ -521,6 +545,12 @@ module Aws::ElasticLoadBalancingV2
521
545
 
522
546
  RegisterTargetsOutput.struct_class = Types::RegisterTargetsOutput
523
547
 
548
+ RemoveListenerCertificatesInput.add_member(:listener_arn, Shapes::ShapeRef.new(shape: ListenerArn, required: true, location_name: "ListenerArn"))
549
+ RemoveListenerCertificatesInput.add_member(:certificates, Shapes::ShapeRef.new(shape: CertificateList, required: true, location_name: "Certificates"))
550
+ RemoveListenerCertificatesInput.struct_class = Types::RemoveListenerCertificatesInput
551
+
552
+ RemoveListenerCertificatesOutput.struct_class = Types::RemoveListenerCertificatesOutput
553
+
524
554
  RemoveTagsInput.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArns, required: true, location_name: "ResourceArns"))
525
555
  RemoveTagsInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "TagKeys"))
526
556
  RemoveTagsInput.struct_class = Types::RemoveTagsInput
@@ -677,6 +707,17 @@ module Aws::ElasticLoadBalancingV2
677
707
  "xmlNamespace" => "http://elasticloadbalancing.amazonaws.com/doc/2015-12-01/",
678
708
  }
679
709
 
710
+ api.add_operation(:add_listener_certificates, Seahorse::Model::Operation.new.tap do |o|
711
+ o.name = "AddListenerCertificates"
712
+ o.http_method = "POST"
713
+ o.http_request_uri = "/"
714
+ o.input = Shapes::ShapeRef.new(shape: AddListenerCertificatesInput)
715
+ o.output = Shapes::ShapeRef.new(shape: AddListenerCertificatesOutput)
716
+ o.errors << Shapes::ShapeRef.new(shape: ListenerNotFoundException)
717
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCertificatesException)
718
+ o.errors << Shapes::ShapeRef.new(shape: CertificateNotFoundException)
719
+ end)
720
+
680
721
  api.add_operation(:add_tags, Seahorse::Model::Operation.new.tap do |o|
681
722
  o.name = "AddTags"
682
723
  o.http_method = "POST"
@@ -815,6 +856,15 @@ module Aws::ElasticLoadBalancingV2
815
856
  o.output = Shapes::ShapeRef.new(shape: DescribeAccountLimitsOutput)
816
857
  end)
817
858
 
859
+ api.add_operation(:describe_listener_certificates, Seahorse::Model::Operation.new.tap do |o|
860
+ o.name = "DescribeListenerCertificates"
861
+ o.http_method = "POST"
862
+ o.http_request_uri = "/"
863
+ o.input = Shapes::ShapeRef.new(shape: DescribeListenerCertificatesInput)
864
+ o.output = Shapes::ShapeRef.new(shape: DescribeListenerCertificatesOutput)
865
+ o.errors << Shapes::ShapeRef.new(shape: ListenerNotFoundException)
866
+ end)
867
+
818
868
  api.add_operation(:describe_listeners, Seahorse::Model::Operation.new.tap do |o|
819
869
  o.name = "DescribeListeners"
820
870
  o.http_method = "POST"
@@ -997,6 +1047,16 @@ module Aws::ElasticLoadBalancingV2
997
1047
  o.errors << Shapes::ShapeRef.new(shape: TooManyRegistrationsForTargetIdException)
998
1048
  end)
999
1049
 
1050
+ api.add_operation(:remove_listener_certificates, Seahorse::Model::Operation.new.tap do |o|
1051
+ o.name = "RemoveListenerCertificates"
1052
+ o.http_method = "POST"
1053
+ o.http_request_uri = "/"
1054
+ o.input = Shapes::ShapeRef.new(shape: RemoveListenerCertificatesInput)
1055
+ o.output = Shapes::ShapeRef.new(shape: RemoveListenerCertificatesOutput)
1056
+ o.errors << Shapes::ShapeRef.new(shape: ListenerNotFoundException)
1057
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1058
+ end)
1059
+
1000
1060
  api.add_operation(:remove_tags, Seahorse::Model::Operation.new.tap do |o|
1001
1061
  o.name = "RemoveTags"
1002
1062
  o.http_method = "POST"
@@ -34,6 +34,46 @@ module Aws::ElasticLoadBalancingV2
34
34
  include Aws::Structure
35
35
  end
36
36
 
37
+ # @note When making an API call, you may pass AddListenerCertificatesInput
38
+ # data as a hash:
39
+ #
40
+ # {
41
+ # listener_arn: "ListenerArn", # required
42
+ # certificates: [ # required
43
+ # {
44
+ # certificate_arn: "CertificateArn",
45
+ # is_default: false,
46
+ # },
47
+ # ],
48
+ # }
49
+ #
50
+ # @!attribute [rw] listener_arn
51
+ # The Amazon Resource Name (ARN) of the listener.
52
+ # @return [String]
53
+ #
54
+ # @!attribute [rw] certificates
55
+ # The certificate to add. You can specify one certificate per call.
56
+ # @return [Array<Types::Certificate>]
57
+ #
58
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddListenerCertificatesInput AWS API Documentation
59
+ #
60
+ class AddListenerCertificatesInput < Struct.new(
61
+ :listener_arn,
62
+ :certificates)
63
+ include Aws::Structure
64
+ end
65
+
66
+ # @!attribute [rw] certificates
67
+ # Information about the certificates.
68
+ # @return [Array<Types::Certificate>]
69
+ #
70
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddListenerCertificatesOutput AWS API Documentation
71
+ #
72
+ class AddListenerCertificatesOutput < Struct.new(
73
+ :certificates)
74
+ include Aws::Structure
75
+ end
76
+
37
77
  # @note When making an API call, you may pass AddTagsInput
38
78
  # data as a hash:
39
79
  #
@@ -90,24 +130,29 @@ module Aws::ElasticLoadBalancingV2
90
130
  include Aws::Structure
91
131
  end
92
132
 
93
- # Information about an SSL server certificate deployed on a load
94
- # balancer.
133
+ # Information about an SSL server certificate.
95
134
  #
96
135
  # @note When making an API call, you may pass Certificate
97
136
  # data as a hash:
98
137
  #
99
138
  # {
100
139
  # certificate_arn: "CertificateArn",
140
+ # is_default: false,
101
141
  # }
102
142
  #
103
143
  # @!attribute [rw] certificate_arn
104
144
  # The Amazon Resource Name (ARN) of the certificate.
105
145
  # @return [String]
106
146
  #
147
+ # @!attribute [rw] is_default
148
+ # Indicates whether the certificate is the default certificate.
149
+ # @return [Boolean]
150
+ #
107
151
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Certificate AWS API Documentation
108
152
  #
109
153
  class Certificate < Struct.new(
110
- :certificate_arn)
154
+ :certificate_arn,
155
+ :is_default)
111
156
  include Aws::Structure
112
157
  end
113
158
 
@@ -140,6 +185,7 @@ module Aws::ElasticLoadBalancingV2
140
185
  # certificates: [
141
186
  # {
142
187
  # certificate_arn: "CertificateArn",
188
+ # is_default: false,
143
189
  # },
144
190
  # ],
145
191
  # default_actions: [ # required
@@ -715,6 +761,54 @@ module Aws::ElasticLoadBalancingV2
715
761
  include Aws::Structure
716
762
  end
717
763
 
764
+ # @note When making an API call, you may pass DescribeListenerCertificatesInput
765
+ # data as a hash:
766
+ #
767
+ # {
768
+ # listener_arn: "ListenerArn", # required
769
+ # marker: "Marker",
770
+ # page_size: 1,
771
+ # }
772
+ #
773
+ # @!attribute [rw] listener_arn
774
+ # The Amazon Resource Names (ARN) of the listener.
775
+ # @return [String]
776
+ #
777
+ # @!attribute [rw] marker
778
+ # The marker for the next set of results. (You received this marker
779
+ # from a previous call.)
780
+ # @return [String]
781
+ #
782
+ # @!attribute [rw] page_size
783
+ # The maximum number of results to return with this call.
784
+ # @return [Integer]
785
+ #
786
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListenerCertificatesInput AWS API Documentation
787
+ #
788
+ class DescribeListenerCertificatesInput < Struct.new(
789
+ :listener_arn,
790
+ :marker,
791
+ :page_size)
792
+ include Aws::Structure
793
+ end
794
+
795
+ # @!attribute [rw] certificates
796
+ # Information about the certificates.
797
+ # @return [Array<Types::Certificate>]
798
+ #
799
+ # @!attribute [rw] next_marker
800
+ # The marker to use when requesting the next set of results. If there
801
+ # are no additional results, the string is empty.
802
+ # @return [String]
803
+ #
804
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListenerCertificatesOutput AWS API Documentation
805
+ #
806
+ class DescribeListenerCertificatesOutput < Struct.new(
807
+ :certificates,
808
+ :next_marker)
809
+ include Aws::Structure
810
+ end
811
+
718
812
  # @note When making an API call, you may pass DescribeListenersInput
719
813
  # data as a hash:
720
814
  #
@@ -1399,6 +1493,7 @@ module Aws::ElasticLoadBalancingV2
1399
1493
  # certificates: [
1400
1494
  # {
1401
1495
  # certificate_arn: "CertificateArn",
1496
+ # is_default: false,
1402
1497
  # },
1403
1498
  # ],
1404
1499
  # default_actions: [
@@ -1434,7 +1529,7 @@ module Aws::ElasticLoadBalancingV2
1434
1529
  # @return [String]
1435
1530
  #
1436
1531
  # @!attribute [rw] certificates
1437
- # The SSL server certificate.
1532
+ # The default SSL server certificate.
1438
1533
  # @return [Array<Types::Certificate>]
1439
1534
  #
1440
1535
  # @!attribute [rw] default_actions
@@ -1707,10 +1802,7 @@ module Aws::ElasticLoadBalancingV2
1707
1802
  # @return [String]
1708
1803
  #
1709
1804
  # @!attribute [rw] targets
1710
- # The targets. The default port for a target is the port for the
1711
- # target group. You can specify a port override. If a target is
1712
- # already registered, you can register it again using a different
1713
- # port.
1805
+ # The targets.
1714
1806
  # @return [Array<Types::TargetDescription>]
1715
1807
  #
1716
1808
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RegisterTargetsInput AWS API Documentation
@@ -1725,6 +1817,39 @@ module Aws::ElasticLoadBalancingV2
1725
1817
  #
1726
1818
  class RegisterTargetsOutput < Aws::EmptyStructure; end
1727
1819
 
1820
+ # @note When making an API call, you may pass RemoveListenerCertificatesInput
1821
+ # data as a hash:
1822
+ #
1823
+ # {
1824
+ # listener_arn: "ListenerArn", # required
1825
+ # certificates: [ # required
1826
+ # {
1827
+ # certificate_arn: "CertificateArn",
1828
+ # is_default: false,
1829
+ # },
1830
+ # ],
1831
+ # }
1832
+ #
1833
+ # @!attribute [rw] listener_arn
1834
+ # The Amazon Resource Name (ARN) of the listener.
1835
+ # @return [String]
1836
+ #
1837
+ # @!attribute [rw] certificates
1838
+ # The certificate to remove. You can specify one certificate per call.
1839
+ # @return [Array<Types::Certificate>]
1840
+ #
1841
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveListenerCertificatesInput AWS API Documentation
1842
+ #
1843
+ class RemoveListenerCertificatesInput < Struct.new(
1844
+ :listener_arn,
1845
+ :certificates)
1846
+ include Aws::Structure
1847
+ end
1848
+
1849
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveListenerCertificatesOutput AWS API Documentation
1850
+ #
1851
+ class RemoveListenerCertificatesOutput < Aws::EmptyStructure; end
1852
+
1728
1853
  # @note When making an API call, you may pass RemoveTagsInput
1729
1854
  # data as a hash:
1730
1855
  #
@@ -2144,16 +2269,19 @@ module Aws::ElasticLoadBalancingV2
2144
2269
  # @return [Integer]
2145
2270
  #
2146
2271
  # @!attribute [rw] availability_zone
2147
- # The Availability Zone where the IP address is to be registered.
2148
- # Specify `all` to register an IP address outside the target group VPC
2149
- # with all Availability Zones that are enabled for the load balancer.
2150
- #
2151
- # If the IP address is in a subnet of the VPC for the target group,
2152
- # the Availability Zone is automatically detected and this parameter
2153
- # is optional.
2272
+ # An Availability Zone or `all`. This determines whether the target
2273
+ # receives traffic from the load balancer nodes in the specified
2274
+ # Availability Zone or from all enabled Availability Zones for the
2275
+ # load balancer.
2154
2276
  #
2155
2277
  # This parameter is not supported if the target type of the target
2156
- # group is `instance`.
2278
+ # group is `instance`. If the IP address is in a subnet of the VPC for
2279
+ # the target group, the Availability Zone is automatically detected
2280
+ # and this parameter is optional. If the IP address is outside the
2281
+ # VPC, this parameter is required.
2282
+ #
2283
+ # With an Application Load Balancer, if the IP address is outside the
2284
+ # VPC for the target group, the only supported value is `all`.
2157
2285
  # @return [String]
2158
2286
  #
2159
2287
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetDescription AWS API Documentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-elasticloadbalancingv2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.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: 2017-09-13 00:00:00.000000000 Z
11
+ date: 2017-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core