aws-sdk-appflow 1.30.0 → 1.31.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
  SHA256:
3
- metadata.gz: 957ffd1d2b407f7410aa1554e0e3ff5f36dcef3f5b61f8c443094b9068747b13
4
- data.tar.gz: 581cd0255b3dfa2c2ec733f5756e6116514ae9e25a2b5a0fd324569949cccf07
3
+ metadata.gz: 8248e95f418c4d916584dc2e91f4d9dd5dd60116f2f281a30b44e652f1aa4cb9
4
+ data.tar.gz: b10ddf4f889d2cc0d93c2f80b5ba50daadfc5c7fba3069d197f892a940f3448f
5
5
  SHA512:
6
- metadata.gz: 67ea05bb9666646427a1c6bdbdc38a443bd830680215583c315fe6f7057fc0cff9a4c0bf284a6207a922c28e5ea80cc91bedb5158a5a1c3741fb6f48274e3616
7
- data.tar.gz: d06488ad04059c1ec3e2ea270fc62fc322477fc88712a3d40bb1097cccc85e1d74e654531eb07e0c6ff9b0ce3d15fe54ba01a0fb9fd17b0bf3d200f3ba1c6c9f
6
+ metadata.gz: 490629c61befad81f2dbfb9b41f54c685bf4a6f07f09ad7a76568b6b39d5a4dd4ec512e9900a3018032b74ef7cd480665347850afbd73084a81e41a970ef201e
7
+ data.tar.gz: c9492f73d1b31dedba65376f7bd1d3067be8c300ae1e7cfe0e5c4d962fee482cb68a23bfb1417abbe9a4f61cf0ad4803ef478fc65bf6dbe7ac0a720a58909d6a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.31.0 (2022-11-18)
5
+ ------------------
6
+
7
+ * Feature - AppFlow provides a new API called UpdateConnectorRegistration to update a custom connector that customers have previously registered. With this API, customers no longer need to unregister and then register a connector to make an update.
8
+
4
9
  1.30.0 (2022-11-17)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.30.0
1
+ 1.31.0
@@ -1961,9 +1961,9 @@ module Aws::Appflow
1961
1961
  req.send_request(options)
1962
1962
  end
1963
1963
 
1964
- # Registers a new connector with your Amazon Web Services account.
1965
- # Before you can register the connector, you must deploy lambda in your
1966
- # account.
1964
+ # Registers a new custom connector with your Amazon Web Services
1965
+ # account. Before you can register the connector, you must deploy the
1966
+ # associated AWS lambda function in your account.
1967
1967
  #
1968
1968
  # @option params [String] :connector_label
1969
1969
  # The name of the connector. The name is unique for each
@@ -2107,7 +2107,7 @@ module Aws::Appflow
2107
2107
  end
2108
2108
 
2109
2109
  # Unregisters the custom connector registered in your account that
2110
- # matches the connectorLabel provided in the request.
2110
+ # matches the connector label provided in the request.
2111
2111
  #
2112
2112
  # @option params [required, String] :connector_label
2113
2113
  # The label of the connector. The label is unique for each
@@ -2419,6 +2419,54 @@ module Aws::Appflow
2419
2419
  req.send_request(options)
2420
2420
  end
2421
2421
 
2422
+ # Updates a custom connector that you've previously registered. This
2423
+ # operation updates the connector with one of the following:
2424
+ #
2425
+ # * The latest version of the AWS Lambda function that's assigned to
2426
+ # the connector
2427
+ #
2428
+ # * A new AWS Lambda function that you specify
2429
+ #
2430
+ # @option params [required, String] :connector_label
2431
+ # The name of the connector. The name is unique for each connector
2432
+ # registration in your AWS account.
2433
+ #
2434
+ # @option params [String] :description
2435
+ # A description about the update that you're applying to the connector.
2436
+ #
2437
+ # @option params [Types::ConnectorProvisioningConfig] :connector_provisioning_config
2438
+ # Contains information about the configuration of the connector being
2439
+ # registered.
2440
+ #
2441
+ # @return [Types::UpdateConnectorRegistrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2442
+ #
2443
+ # * {Types::UpdateConnectorRegistrationResponse#connector_arn #connector_arn} => String
2444
+ #
2445
+ # @example Request syntax with placeholder values
2446
+ #
2447
+ # resp = client.update_connector_registration({
2448
+ # connector_label: "ConnectorLabel", # required
2449
+ # description: "Description",
2450
+ # connector_provisioning_config: {
2451
+ # lambda: {
2452
+ # lambda_arn: "ARN", # required
2453
+ # },
2454
+ # },
2455
+ # })
2456
+ #
2457
+ # @example Response structure
2458
+ #
2459
+ # resp.connector_arn #=> String
2460
+ #
2461
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/UpdateConnectorRegistration AWS API Documentation
2462
+ #
2463
+ # @overload update_connector_registration(params = {})
2464
+ # @param [Hash] params ({})
2465
+ def update_connector_registration(params = {}, options = {})
2466
+ req = build_request(:update_connector_registration, params)
2467
+ req.send_request(options)
2468
+ end
2469
+
2422
2470
  # Updates an existing flow.
2423
2471
  #
2424
2472
  # @option params [required, String] :flow_name
@@ -2748,7 +2796,7 @@ module Aws::Appflow
2748
2796
  params: params,
2749
2797
  config: config)
2750
2798
  context[:gem_name] = 'aws-sdk-appflow'
2751
- context[:gem_version] = '1.30.0'
2799
+ context[:gem_version] = '1.31.0'
2752
2800
  Seahorse::Client::Request.new(handlers, context)
2753
2801
  end
2754
2802
 
@@ -375,6 +375,8 @@ module Aws::Appflow
375
375
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
376
376
  UpdateConnectorProfileRequest = Shapes::StructureShape.new(name: 'UpdateConnectorProfileRequest')
377
377
  UpdateConnectorProfileResponse = Shapes::StructureShape.new(name: 'UpdateConnectorProfileResponse')
378
+ UpdateConnectorRegistrationRequest = Shapes::StructureShape.new(name: 'UpdateConnectorRegistrationRequest')
379
+ UpdateConnectorRegistrationResponse = Shapes::StructureShape.new(name: 'UpdateConnectorRegistrationResponse')
378
380
  UpdateFlowRequest = Shapes::StructureShape.new(name: 'UpdateFlowRequest')
379
381
  UpdateFlowResponse = Shapes::StructureShape.new(name: 'UpdateFlowResponse')
380
382
  UpdatedBy = Shapes::StringShape.new(name: 'UpdatedBy')
@@ -1433,6 +1435,14 @@ module Aws::Appflow
1433
1435
  UpdateConnectorProfileResponse.add_member(:connector_profile_arn, Shapes::ShapeRef.new(shape: ConnectorProfileArn, location_name: "connectorProfileArn"))
1434
1436
  UpdateConnectorProfileResponse.struct_class = Types::UpdateConnectorProfileResponse
1435
1437
 
1438
+ UpdateConnectorRegistrationRequest.add_member(:connector_label, Shapes::ShapeRef.new(shape: ConnectorLabel, required: true, location_name: "connectorLabel"))
1439
+ UpdateConnectorRegistrationRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
1440
+ UpdateConnectorRegistrationRequest.add_member(:connector_provisioning_config, Shapes::ShapeRef.new(shape: ConnectorProvisioningConfig, location_name: "connectorProvisioningConfig"))
1441
+ UpdateConnectorRegistrationRequest.struct_class = Types::UpdateConnectorRegistrationRequest
1442
+
1443
+ UpdateConnectorRegistrationResponse.add_member(:connector_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "connectorArn"))
1444
+ UpdateConnectorRegistrationResponse.struct_class = Types::UpdateConnectorRegistrationResponse
1445
+
1436
1446
  UpdateFlowRequest.add_member(:flow_name, Shapes::ShapeRef.new(shape: FlowName, required: true, location_name: "flowName"))
1437
1447
  UpdateFlowRequest.add_member(:description, Shapes::ShapeRef.new(shape: FlowDescription, location_name: "description"))
1438
1448
  UpdateFlowRequest.add_member(:trigger_config, Shapes::ShapeRef.new(shape: TriggerConfig, required: true, location_name: "triggerConfig"))
@@ -1791,6 +1801,23 @@ module Aws::Appflow
1791
1801
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1792
1802
  end)
1793
1803
 
1804
+ api.add_operation(:update_connector_registration, Seahorse::Model::Operation.new.tap do |o|
1805
+ o.name = "UpdateConnectorRegistration"
1806
+ o.http_method = "POST"
1807
+ o.http_request_uri = "/update-connector-registration"
1808
+ o.input = Shapes::ShapeRef.new(shape: UpdateConnectorRegistrationRequest)
1809
+ o.output = Shapes::ShapeRef.new(shape: UpdateConnectorRegistrationResponse)
1810
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1811
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1812
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1813
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1814
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1815
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1816
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1817
+ o.errors << Shapes::ShapeRef.new(shape: ConnectorServerException)
1818
+ o.errors << Shapes::ShapeRef.new(shape: ConnectorAuthenticationException)
1819
+ end)
1820
+
1794
1821
  api.add_operation(:update_flow, Seahorse::Model::Operation.new.tap do |o|
1795
1822
  o.name = "UpdateFlow"
1796
1823
  o.http_method = "POST"
@@ -305,6 +305,20 @@ module Aws::Appflow
305
305
  end
306
306
  end
307
307
 
308
+ class UpdateConnectorRegistration
309
+ def self.build(context)
310
+ unless context.config.regional_endpoint
311
+ endpoint = context.config.endpoint.to_s
312
+ end
313
+ Aws::Appflow::EndpointParameters.new(
314
+ region: context.config.region,
315
+ use_dual_stack: context.config.use_dualstack_endpoint,
316
+ use_fips: context.config.use_fips_endpoint,
317
+ endpoint: endpoint,
318
+ )
319
+ end
320
+ end
321
+
308
322
  class UpdateFlow
309
323
  def self.build(context)
310
324
  unless context.config.regional_endpoint
@@ -98,6 +98,8 @@ module Aws::Appflow
98
98
  Aws::Appflow::Endpoints::UntagResource.build(context)
99
99
  when :update_connector_profile
100
100
  Aws::Appflow::Endpoints::UpdateConnectorProfile.build(context)
101
+ when :update_connector_registration
102
+ Aws::Appflow::Endpoints::UpdateConnectorRegistration.build(context)
101
103
  when :update_flow
102
104
  Aws::Appflow::Endpoints::UpdateFlow.build(context)
103
105
  end
@@ -6026,7 +6026,7 @@ module Aws::Appflow
6026
6026
  # option, you ensure that your flow writes consistent output, but
6027
6027
  # you decrease performance for large data transfers that are better
6028
6028
  # suited for Bulk API 2.0. In some cases, if your flow attempts to
6029
- # transfer a vary large set of data, it might fail with a timed out
6029
+ # transfer a vary large set of data, it might fail wituh a timed out
6030
6030
  # error.
6031
6031
  # @return [String]
6032
6032
  #
@@ -7549,6 +7549,56 @@ module Aws::Appflow
7549
7549
  include Aws::Structure
7550
7550
  end
7551
7551
 
7552
+ # @note When making an API call, you may pass UpdateConnectorRegistrationRequest
7553
+ # data as a hash:
7554
+ #
7555
+ # {
7556
+ # connector_label: "ConnectorLabel", # required
7557
+ # description: "Description",
7558
+ # connector_provisioning_config: {
7559
+ # lambda: {
7560
+ # lambda_arn: "ARN", # required
7561
+ # },
7562
+ # },
7563
+ # }
7564
+ #
7565
+ # @!attribute [rw] connector_label
7566
+ # The name of the connector. The name is unique for each connector
7567
+ # registration in your AWS account.
7568
+ # @return [String]
7569
+ #
7570
+ # @!attribute [rw] description
7571
+ # A description about the update that you're applying to the
7572
+ # connector.
7573
+ # @return [String]
7574
+ #
7575
+ # @!attribute [rw] connector_provisioning_config
7576
+ # Contains information about the configuration of the connector being
7577
+ # registered.
7578
+ # @return [Types::ConnectorProvisioningConfig]
7579
+ #
7580
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/UpdateConnectorRegistrationRequest AWS API Documentation
7581
+ #
7582
+ class UpdateConnectorRegistrationRequest < Struct.new(
7583
+ :connector_label,
7584
+ :description,
7585
+ :connector_provisioning_config)
7586
+ SENSITIVE = []
7587
+ include Aws::Structure
7588
+ end
7589
+
7590
+ # @!attribute [rw] connector_arn
7591
+ # The ARN of the connector being updated.
7592
+ # @return [String]
7593
+ #
7594
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/UpdateConnectorRegistrationResponse AWS API Documentation
7595
+ #
7596
+ class UpdateConnectorRegistrationResponse < Struct.new(
7597
+ :connector_arn)
7598
+ SENSITIVE = []
7599
+ include Aws::Structure
7600
+ end
7601
+
7552
7602
  # @note When making an API call, you may pass UpdateFlowRequest
7553
7603
  # data as a hash:
7554
7604
  #
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-appflow/customizations'
52
52
  # @!group service
53
53
  module Aws::Appflow
54
54
 
55
- GEM_VERSION = '1.30.0'
55
+ GEM_VERSION = '1.31.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-appflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.30.0
4
+ version: 1.31.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-11-17 00:00:00.000000000 Z
11
+ date: 2022-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core