aws-sdk-ec2 1.288.0 → 1.289.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6b2b8eb8c2403f05c9125c5420f7ac7790e2397761585dbbd56912c6739fdd62
4
- data.tar.gz: 7202a471c6de5ab8a64c828bad72ed2489493f0ac23fbc3a43ec0dc6e7ef2245
3
+ metadata.gz: fda179dea953fd18d35bd13de9fe2bc4e7ed2de189f75faf0f8af7af73951c22
4
+ data.tar.gz: ad048e8bf164a9466ff63b9b29c6aba5878886a2573d8e99f3550e73bbb39b34
5
5
  SHA512:
6
- metadata.gz: b0883d2ff3dc7c6927dcb7f2107d1e3ad51b4edb44db5d9ade0f01c60cecd3703d70fe3576b5a39ad69d27734ac43de25e527095718d0ad120facb691cb824b9
7
- data.tar.gz: 052bdaed996487419a7a457f9cad4c6bb74c79b57b282a3a30a1c5225de89870aa054cb7ad1ff86c5cd3375bfc5da43def49065edd8c02c8c0a600c3b53ade11
6
+ metadata.gz: 5ba029542e564de74eee8d0656e5bd0cca1324d0358ee5bc0fb9c19328c60f385f18523bb64ef34bfa2e77f11de4b4ba54fbb010be5c4ce1a2769f11a27750ea
7
+ data.tar.gz: 85b45cf37adc8d6132b13df4c4d9a6bbd863b64288a1d45aaf7a2155e3c7f80f54f6e8a420596550d1e1f28e81949e29ee37f86c1723946a9517d635085c3dd3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.289.0 (2022-01-05)
5
+ ------------------
6
+
7
+ * Feature - This release adds a new API called ModifyVpcEndpointServicePayerResponsibility which allows VPC endpoint service owners to take payer responsibility of their VPC Endpoint connections.
8
+
4
9
  1.288.0 (2021-12-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.288.0
1
+ 1.289.0
@@ -12704,6 +12704,7 @@ module Aws::EC2
12704
12704
  # resp.service_configuration.private_dns_name_configuration.type #=> String
12705
12705
  # resp.service_configuration.private_dns_name_configuration.value #=> String
12706
12706
  # resp.service_configuration.private_dns_name_configuration.name #=> String
12707
+ # resp.service_configuration.payer_responsibility #=> String, one of "ServiceOwner"
12707
12708
  # resp.service_configuration.tags #=> Array
12708
12709
  # resp.service_configuration.tags[0].key #=> String
12709
12710
  # resp.service_configuration.tags[0].value #=> String
@@ -31189,6 +31190,7 @@ module Aws::EC2
31189
31190
  # resp.service_configurations[0].private_dns_name_configuration.type #=> String
31190
31191
  # resp.service_configurations[0].private_dns_name_configuration.value #=> String
31191
31192
  # resp.service_configurations[0].private_dns_name_configuration.name #=> String
31193
+ # resp.service_configurations[0].payer_responsibility #=> String, one of "ServiceOwner"
31192
31194
  # resp.service_configurations[0].tags #=> Array
31193
31195
  # resp.service_configurations[0].tags[0].key #=> String
31194
31196
  # resp.service_configurations[0].tags[0].value #=> String
@@ -31360,6 +31362,7 @@ module Aws::EC2
31360
31362
  # resp.service_details[0].vpc_endpoint_policy_supported #=> Boolean
31361
31363
  # resp.service_details[0].acceptance_required #=> Boolean
31362
31364
  # resp.service_details[0].manages_vpc_endpoints #=> Boolean
31365
+ # resp.service_details[0].payer_responsibility #=> String, one of "ServiceOwner"
31363
31366
  # resp.service_details[0].tags #=> Array
31364
31367
  # resp.service_details[0].tags[0].key #=> String
31365
31368
  # resp.service_details[0].tags[0].value #=> String
@@ -41556,6 +41559,47 @@ module Aws::EC2
41556
41559
  req.send_request(options)
41557
41560
  end
41558
41561
 
41562
+ # Modifies the payer responsibility for your VPC endpoint service.
41563
+ #
41564
+ # @option params [Boolean] :dry_run
41565
+ # Checks whether you have the required permissions for the action,
41566
+ # without actually making the request, and provides an error response.
41567
+ # If you have the required permissions, the error response is
41568
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
41569
+ #
41570
+ # @option params [required, String] :service_id
41571
+ # The ID of the service.
41572
+ #
41573
+ # @option params [required, String] :payer_responsibility
41574
+ # The entity that is responsible for the endpoint costs. The default is
41575
+ # the endpoint owner. If you set the payer responsibility to the service
41576
+ # owner, you cannot set it back to the endpoint owner.
41577
+ #
41578
+ # @return [Types::ModifyVpcEndpointServicePayerResponsibilityResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
41579
+ #
41580
+ # * {Types::ModifyVpcEndpointServicePayerResponsibilityResult#return_value #return_value} => Boolean
41581
+ #
41582
+ # @example Request syntax with placeholder values
41583
+ #
41584
+ # resp = client.modify_vpc_endpoint_service_payer_responsibility({
41585
+ # dry_run: false,
41586
+ # service_id: "VpcEndpointServiceId", # required
41587
+ # payer_responsibility: "ServiceOwner", # required, accepts ServiceOwner
41588
+ # })
41589
+ #
41590
+ # @example Response structure
41591
+ #
41592
+ # resp.return_value #=> Boolean
41593
+ #
41594
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointServicePayerResponsibility AWS API Documentation
41595
+ #
41596
+ # @overload modify_vpc_endpoint_service_payer_responsibility(params = {})
41597
+ # @param [Hash] params ({})
41598
+ def modify_vpc_endpoint_service_payer_responsibility(params = {}, options = {})
41599
+ req = build_request(:modify_vpc_endpoint_service_payer_responsibility, params)
41600
+ req.send_request(options)
41601
+ end
41602
+
41559
41603
  # Modifies the permissions for your [VPC endpoint service][1]. You can
41560
41604
  # add or remove permissions for service consumers (IAM users, IAM roles,
41561
41605
  # and Amazon Web Services accounts) to connect to your endpoint service.
@@ -48743,7 +48787,7 @@ module Aws::EC2
48743
48787
  params: params,
48744
48788
  config: config)
48745
48789
  context[:gem_name] = 'aws-sdk-ec2'
48746
- context[:gem_version] = '1.288.0'
48790
+ context[:gem_version] = '1.289.0'
48747
48791
  Seahorse::Client::Request.new(handlers, context)
48748
48792
  end
48749
48793
 
@@ -1790,6 +1790,8 @@ module Aws::EC2
1790
1790
  ModifyVpcEndpointResult = Shapes::StructureShape.new(name: 'ModifyVpcEndpointResult')
1791
1791
  ModifyVpcEndpointServiceConfigurationRequest = Shapes::StructureShape.new(name: 'ModifyVpcEndpointServiceConfigurationRequest')
1792
1792
  ModifyVpcEndpointServiceConfigurationResult = Shapes::StructureShape.new(name: 'ModifyVpcEndpointServiceConfigurationResult')
1793
+ ModifyVpcEndpointServicePayerResponsibilityRequest = Shapes::StructureShape.new(name: 'ModifyVpcEndpointServicePayerResponsibilityRequest')
1794
+ ModifyVpcEndpointServicePayerResponsibilityResult = Shapes::StructureShape.new(name: 'ModifyVpcEndpointServicePayerResponsibilityResult')
1793
1795
  ModifyVpcEndpointServicePermissionsRequest = Shapes::StructureShape.new(name: 'ModifyVpcEndpointServicePermissionsRequest')
1794
1796
  ModifyVpcEndpointServicePermissionsResult = Shapes::StructureShape.new(name: 'ModifyVpcEndpointServicePermissionsResult')
1795
1797
  ModifyVpcPeeringConnectionOptionsRequest = Shapes::StructureShape.new(name: 'ModifyVpcPeeringConnectionOptionsRequest')
@@ -1904,6 +1906,7 @@ module Aws::EC2
1904
1906
  PathComponentList = Shapes::ListShape.new(name: 'PathComponentList')
1905
1907
  PathStatement = Shapes::StructureShape.new(name: 'PathStatement')
1906
1908
  PathStatementRequest = Shapes::StructureShape.new(name: 'PathStatementRequest')
1909
+ PayerResponsibility = Shapes::StringShape.new(name: 'PayerResponsibility')
1907
1910
  PaymentOption = Shapes::StringShape.new(name: 'PaymentOption')
1908
1911
  PciId = Shapes::StructureShape.new(name: 'PciId')
1909
1912
  PeeringAttachmentStatus = Shapes::StructureShape.new(name: 'PeeringAttachmentStatus')
@@ -7795,7 +7798,7 @@ module Aws::EC2
7795
7798
  HostOffering.add_member(:duration, Shapes::ShapeRef.new(shape: Integer, location_name: "duration"))
7796
7799
  HostOffering.add_member(:hourly_price, Shapes::ShapeRef.new(shape: String, location_name: "hourlyPrice"))
7797
7800
  HostOffering.add_member(:instance_family, Shapes::ShapeRef.new(shape: String, location_name: "instanceFamily"))
7798
- HostOffering.add_member(:offering_id, Shapes::ShapeRef.new(shape: String, location_name: "offeringId"))
7801
+ HostOffering.add_member(:offering_id, Shapes::ShapeRef.new(shape: OfferingId, location_name: "offeringId"))
7799
7802
  HostOffering.add_member(:payment_option, Shapes::ShapeRef.new(shape: PaymentOption, location_name: "paymentOption"))
7800
7803
  HostOffering.add_member(:upfront_price, Shapes::ShapeRef.new(shape: String, location_name: "upfrontPrice"))
7801
7804
  HostOffering.struct_class = Types::HostOffering
@@ -7814,10 +7817,10 @@ module Aws::EC2
7814
7817
  HostReservation.add_member(:duration, Shapes::ShapeRef.new(shape: Integer, location_name: "duration"))
7815
7818
  HostReservation.add_member(:end, Shapes::ShapeRef.new(shape: DateTime, location_name: "end"))
7816
7819
  HostReservation.add_member(:host_id_set, Shapes::ShapeRef.new(shape: ResponseHostIdSet, location_name: "hostIdSet"))
7817
- HostReservation.add_member(:host_reservation_id, Shapes::ShapeRef.new(shape: String, location_name: "hostReservationId"))
7820
+ HostReservation.add_member(:host_reservation_id, Shapes::ShapeRef.new(shape: HostReservationId, location_name: "hostReservationId"))
7818
7821
  HostReservation.add_member(:hourly_price, Shapes::ShapeRef.new(shape: String, location_name: "hourlyPrice"))
7819
7822
  HostReservation.add_member(:instance_family, Shapes::ShapeRef.new(shape: String, location_name: "instanceFamily"))
7820
- HostReservation.add_member(:offering_id, Shapes::ShapeRef.new(shape: String, location_name: "offeringId"))
7823
+ HostReservation.add_member(:offering_id, Shapes::ShapeRef.new(shape: OfferingId, location_name: "offeringId"))
7821
7824
  HostReservation.add_member(:payment_option, Shapes::ShapeRef.new(shape: PaymentOption, location_name: "paymentOption"))
7822
7825
  HostReservation.add_member(:start, Shapes::ShapeRef.new(shape: DateTime, location_name: "start"))
7823
7826
  HostReservation.add_member(:state, Shapes::ShapeRef.new(shape: ReservationState, location_name: "state"))
@@ -9781,6 +9784,14 @@ module Aws::EC2
9781
9784
  ModifyVpcEndpointServiceConfigurationResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
9782
9785
  ModifyVpcEndpointServiceConfigurationResult.struct_class = Types::ModifyVpcEndpointServiceConfigurationResult
9783
9786
 
9787
+ ModifyVpcEndpointServicePayerResponsibilityRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
9788
+ ModifyVpcEndpointServicePayerResponsibilityRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: VpcEndpointServiceId, required: true, location_name: "ServiceId"))
9789
+ ModifyVpcEndpointServicePayerResponsibilityRequest.add_member(:payer_responsibility, Shapes::ShapeRef.new(shape: PayerResponsibility, required: true, location_name: "PayerResponsibility"))
9790
+ ModifyVpcEndpointServicePayerResponsibilityRequest.struct_class = Types::ModifyVpcEndpointServicePayerResponsibilityRequest
9791
+
9792
+ ModifyVpcEndpointServicePayerResponsibilityResult.add_member(:return_value, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
9793
+ ModifyVpcEndpointServicePayerResponsibilityResult.struct_class = Types::ModifyVpcEndpointServicePayerResponsibilityResult
9794
+
9784
9795
  ModifyVpcEndpointServicePermissionsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
9785
9796
  ModifyVpcEndpointServicePermissionsRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: VpcEndpointServiceId, required: true, location_name: "ServiceId"))
9786
9797
  ModifyVpcEndpointServicePermissionsRequest.add_member(:add_allowed_principals, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "AddAllowedPrincipals"))
@@ -10523,7 +10534,7 @@ module Aws::EC2
10523
10534
  Purchase.add_member(:currency_code, Shapes::ShapeRef.new(shape: CurrencyCodeValues, location_name: "currencyCode"))
10524
10535
  Purchase.add_member(:duration, Shapes::ShapeRef.new(shape: Integer, location_name: "duration"))
10525
10536
  Purchase.add_member(:host_id_set, Shapes::ShapeRef.new(shape: ResponseHostIdSet, location_name: "hostIdSet"))
10526
- Purchase.add_member(:host_reservation_id, Shapes::ShapeRef.new(shape: String, location_name: "hostReservationId"))
10537
+ Purchase.add_member(:host_reservation_id, Shapes::ShapeRef.new(shape: HostReservationId, location_name: "hostReservationId"))
10527
10538
  Purchase.add_member(:hourly_price, Shapes::ShapeRef.new(shape: String, location_name: "hourlyPrice"))
10528
10539
  Purchase.add_member(:instance_family, Shapes::ShapeRef.new(shape: String, location_name: "instanceFamily"))
10529
10540
  Purchase.add_member(:payment_option, Shapes::ShapeRef.new(shape: PaymentOption, location_name: "paymentOption"))
@@ -11564,6 +11575,7 @@ module Aws::EC2
11564
11575
  ServiceConfiguration.add_member(:base_endpoint_dns_names, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "baseEndpointDnsNameSet"))
11565
11576
  ServiceConfiguration.add_member(:private_dns_name, Shapes::ShapeRef.new(shape: String, location_name: "privateDnsName"))
11566
11577
  ServiceConfiguration.add_member(:private_dns_name_configuration, Shapes::ShapeRef.new(shape: PrivateDnsNameConfiguration, location_name: "privateDnsNameConfiguration"))
11578
+ ServiceConfiguration.add_member(:payer_responsibility, Shapes::ShapeRef.new(shape: PayerResponsibility, location_name: "payerResponsibility"))
11567
11579
  ServiceConfiguration.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
11568
11580
  ServiceConfiguration.struct_class = Types::ServiceConfiguration
11569
11581
 
@@ -11580,6 +11592,7 @@ module Aws::EC2
11580
11592
  ServiceDetail.add_member(:vpc_endpoint_policy_supported, Shapes::ShapeRef.new(shape: Boolean, location_name: "vpcEndpointPolicySupported"))
11581
11593
  ServiceDetail.add_member(:acceptance_required, Shapes::ShapeRef.new(shape: Boolean, location_name: "acceptanceRequired"))
11582
11594
  ServiceDetail.add_member(:manages_vpc_endpoints, Shapes::ShapeRef.new(shape: Boolean, location_name: "managesVpcEndpoints"))
11595
+ ServiceDetail.add_member(:payer_responsibility, Shapes::ShapeRef.new(shape: PayerResponsibility, location_name: "payerResponsibility"))
11583
11596
  ServiceDetail.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
11584
11597
  ServiceDetail.add_member(:private_dns_name_verification_state, Shapes::ShapeRef.new(shape: DnsNameState, location_name: "privateDnsNameVerificationState"))
11585
11598
  ServiceDetail.struct_class = Types::ServiceDetail
@@ -17232,6 +17245,14 @@ module Aws::EC2
17232
17245
  o.output = Shapes::ShapeRef.new(shape: ModifyVpcEndpointServiceConfigurationResult)
17233
17246
  end)
17234
17247
 
17248
+ api.add_operation(:modify_vpc_endpoint_service_payer_responsibility, Seahorse::Model::Operation.new.tap do |o|
17249
+ o.name = "ModifyVpcEndpointServicePayerResponsibility"
17250
+ o.http_method = "POST"
17251
+ o.http_request_uri = "/"
17252
+ o.input = Shapes::ShapeRef.new(shape: ModifyVpcEndpointServicePayerResponsibilityRequest)
17253
+ o.output = Shapes::ShapeRef.new(shape: ModifyVpcEndpointServicePayerResponsibilityResult)
17254
+ end)
17255
+
17235
17256
  api.add_operation(:modify_vpc_endpoint_service_permissions, Seahorse::Model::Operation.new.tap do |o|
17236
17257
  o.name = "ModifyVpcEndpointServicePermissions"
17237
17258
  o.http_method = "POST"
@@ -49105,6 +49105,55 @@ module Aws::EC2
49105
49105
  include Aws::Structure
49106
49106
  end
49107
49107
 
49108
+ # @note When making an API call, you may pass ModifyVpcEndpointServicePayerResponsibilityRequest
49109
+ # data as a hash:
49110
+ #
49111
+ # {
49112
+ # dry_run: false,
49113
+ # service_id: "VpcEndpointServiceId", # required
49114
+ # payer_responsibility: "ServiceOwner", # required, accepts ServiceOwner
49115
+ # }
49116
+ #
49117
+ # @!attribute [rw] dry_run
49118
+ # Checks whether you have the required permissions for the action,
49119
+ # without actually making the request, and provides an error response.
49120
+ # If you have the required permissions, the error response is
49121
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
49122
+ # @return [Boolean]
49123
+ #
49124
+ # @!attribute [rw] service_id
49125
+ # The ID of the service.
49126
+ # @return [String]
49127
+ #
49128
+ # @!attribute [rw] payer_responsibility
49129
+ # The entity that is responsible for the endpoint costs. The default
49130
+ # is the endpoint owner. If you set the payer responsibility to the
49131
+ # service owner, you cannot set it back to the endpoint owner.
49132
+ # @return [String]
49133
+ #
49134
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointServicePayerResponsibilityRequest AWS API Documentation
49135
+ #
49136
+ class ModifyVpcEndpointServicePayerResponsibilityRequest < Struct.new(
49137
+ :dry_run,
49138
+ :service_id,
49139
+ :payer_responsibility)
49140
+ SENSITIVE = []
49141
+ include Aws::Structure
49142
+ end
49143
+
49144
+ # @!attribute [rw] return_value
49145
+ # Returns `true` if the request succeeds; otherwise, it returns an
49146
+ # error.
49147
+ # @return [Boolean]
49148
+ #
49149
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointServicePayerResponsibilityResult AWS API Documentation
49150
+ #
49151
+ class ModifyVpcEndpointServicePayerResponsibilityResult < Struct.new(
49152
+ :return_value)
49153
+ SENSITIVE = []
49154
+ include Aws::Structure
49155
+ end
49156
+
49108
49157
  # @note When making an API call, you may pass ModifyVpcEndpointServicePermissionsRequest
49109
49158
  # data as a hash:
49110
49159
  #
@@ -60177,6 +60226,10 @@ module Aws::EC2
60177
60226
  # configuration.
60178
60227
  # @return [Types::PrivateDnsNameConfiguration]
60179
60228
  #
60229
+ # @!attribute [rw] payer_responsibility
60230
+ # The payer responsibility.
60231
+ # @return [String]
60232
+ #
60180
60233
  # @!attribute [rw] tags
60181
60234
  # Any tags assigned to the service.
60182
60235
  # @return [Array<Types::Tag>]
@@ -60196,6 +60249,7 @@ module Aws::EC2
60196
60249
  :base_endpoint_dns_names,
60197
60250
  :private_dns_name,
60198
60251
  :private_dns_name_configuration,
60252
+ :payer_responsibility,
60199
60253
  :tags)
60200
60254
  SENSITIVE = []
60201
60255
  include Aws::Structure
@@ -60250,6 +60304,10 @@ module Aws::EC2
60250
60304
  # restricted.
60251
60305
  # @return [Boolean]
60252
60306
  #
60307
+ # @!attribute [rw] payer_responsibility
60308
+ # The payer responsibility.
60309
+ # @return [String]
60310
+ #
60253
60311
  # @!attribute [rw] tags
60254
60312
  # Any tags assigned to the service.
60255
60313
  # @return [Array<Types::Tag>]
@@ -60275,6 +60333,7 @@ module Aws::EC2
60275
60333
  :vpc_endpoint_policy_supported,
60276
60334
  :acceptance_required,
60277
60335
  :manages_vpc_endpoints,
60336
+ :payer_responsibility,
60278
60337
  :tags,
60279
60338
  :private_dns_name_verification_state)
60280
60339
  SENSITIVE = []
data/lib/aws-sdk-ec2.rb CHANGED
@@ -72,6 +72,6 @@ require_relative 'aws-sdk-ec2/customizations'
72
72
  # @!group service
73
73
  module Aws::EC2
74
74
 
75
- GEM_VERSION = '1.288.0'
75
+ GEM_VERSION = '1.289.0'
76
76
 
77
77
  end
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.288.0
4
+ version: 1.289.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: 2021-12-21 00:00:00.000000000 Z
11
+ date: 2022-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4