aws-sdk-appflow 1.35.0 → 1.36.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: ff4ab33236677df5738ceb3294e07da184ab3cdc43755290d57f4496d308cc1a
4
- data.tar.gz: 9659dbd9ef2c630ffc7514e514344d667cbed98768599b87308a8019afad2d1d
3
+ metadata.gz: 7a1b04e494fb581ee1bbe70cb258ad5fd31e867701fdf628a96197feca6cb98d
4
+ data.tar.gz: f9507da1b712490291a285edf82798514e449ef90045e5ee7881461e54708e0e
5
5
  SHA512:
6
- metadata.gz: fa6b56673c52f3a034a2426c27b253d2429d2130c018407a114ae5896b88ffce175412ed0191401cf449d178a00f8086cf7765ed41d7885da847daa83e071d49
7
- data.tar.gz: 613ca7034c72047f4f667728be5d52c186e654e550b6a0fa85e1e4e03df5968504a241cef1b994ed12f04f81b5c6693758b76236d5f031b6a4296c26080a8bf9
6
+ metadata.gz: 89cec728febb4a82c70a9cb9939570dfd025300dabc26f06d3b3a2cb90bc05fffdc04931505ee2a62a35247a84c13c1dd83849d9ec622c9baacd2b79756baba7
7
+ data.tar.gz: 92fec2f7d7a789e3b685c3fca6327c7a74da775645aea0560ab74c99a20c15def6ae6471f98d277c87e112776cf9a4df47554105359d5a73ce67fb9482ccdea7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.36.0 (2023-02-23)
5
+ ------------------
6
+
7
+ * Feature - This release enables the customers to choose whether to use Private Link for Metadata and Authorization call when using a private Salesforce connections
8
+
4
9
  1.35.0 (2023-01-19)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.35.0
1
+ 1.36.0
@@ -449,6 +449,7 @@ module Aws::Appflow
449
449
  # salesforce: {
450
450
  # instance_url: "InstanceUrl",
451
451
  # is_sandbox_environment: false,
452
+ # use_private_link_for_metadata_and_authorization: false,
452
453
  # },
453
454
  # service_now: {
454
455
  # instance_url: "InstanceUrl", # required
@@ -1329,6 +1330,7 @@ module Aws::Appflow
1329
1330
  # resp.connector_profile_details[0].connector_profile_properties.redshift.database_name #=> String
1330
1331
  # resp.connector_profile_details[0].connector_profile_properties.salesforce.instance_url #=> String
1331
1332
  # resp.connector_profile_details[0].connector_profile_properties.salesforce.is_sandbox_environment #=> Boolean
1333
+ # resp.connector_profile_details[0].connector_profile_properties.salesforce.use_private_link_for_metadata_and_authorization #=> Boolean
1332
1334
  # resp.connector_profile_details[0].connector_profile_properties.service_now.instance_url #=> String
1333
1335
  # resp.connector_profile_details[0].connector_profile_properties.slack.instance_url #=> String
1334
1336
  # resp.connector_profile_details[0].connector_profile_properties.snowflake.warehouse #=> String
@@ -2264,6 +2266,7 @@ module Aws::Appflow
2264
2266
  # salesforce: {
2265
2267
  # instance_url: "InstanceUrl",
2266
2268
  # is_sandbox_environment: false,
2269
+ # use_private_link_for_metadata_and_authorization: false,
2267
2270
  # },
2268
2271
  # service_now: {
2269
2272
  # instance_url: "InstanceUrl", # required
@@ -2865,7 +2868,7 @@ module Aws::Appflow
2865
2868
  params: params,
2866
2869
  config: config)
2867
2870
  context[:gem_name] = 'aws-sdk-appflow'
2868
- context[:gem_version] = '1.35.0'
2871
+ context[:gem_version] = '1.36.0'
2869
2872
  Seahorse::Client::Request.new(handlers, context)
2870
2873
  end
2871
2874
 
@@ -1244,6 +1244,7 @@ module Aws::Appflow
1244
1244
 
1245
1245
  SalesforceConnectorProfileProperties.add_member(:instance_url, Shapes::ShapeRef.new(shape: InstanceUrl, location_name: "instanceUrl"))
1246
1246
  SalesforceConnectorProfileProperties.add_member(:is_sandbox_environment, Shapes::ShapeRef.new(shape: Boolean, location_name: "isSandboxEnvironment"))
1247
+ SalesforceConnectorProfileProperties.add_member(:use_private_link_for_metadata_and_authorization, Shapes::ShapeRef.new(shape: Boolean, location_name: "usePrivateLinkForMetadataAndAuthorization"))
1247
1248
  SalesforceConnectorProfileProperties.struct_class = Types::SalesforceConnectorProfileProperties
1248
1249
 
1249
1250
  SalesforceDataTransferApiList.member = Shapes::ShapeRef.new(shape: SalesforceDataTransferApi)
@@ -50,9 +50,6 @@ module Aws::Appflow
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -14,36 +14,39 @@ module Aws::Appflow
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint)
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
- end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://appflow-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- end
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- return Aws::Endpoints::Endpoint.new(url: "https://appflow-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
- end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://appflow.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://appflow-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://appflow-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://appflow.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://appflow.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://appflow.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end
@@ -4033,11 +4033,55 @@ module Aws::Appflow
4033
4033
  # production environment.
4034
4034
  # @return [Boolean]
4035
4035
  #
4036
+ # @!attribute [rw] use_private_link_for_metadata_and_authorization
4037
+ # If the connection mode for the connector profile is private, this
4038
+ # parameter sets whether Amazon AppFlow uses the private network to
4039
+ # send metadata and authorization calls to Salesforce. Amazon AppFlow
4040
+ # sends private calls through Amazon Web Services PrivateLink. These
4041
+ # calls travel through Amazon Web Services infrastructure without
4042
+ # being exposed to the public internet.
4043
+ #
4044
+ # Set either of the following values:
4045
+ #
4046
+ # true
4047
+ #
4048
+ # : Amazon AppFlow sends all calls to Salesforce over the private
4049
+ # network.
4050
+ #
4051
+ # These private calls are:
4052
+ #
4053
+ # * Calls to get metadata about your Salesforce records. This
4054
+ # metadata describes your Salesforce objects and their fields.
4055
+ #
4056
+ # * Calls to get or refresh access tokens that allow Amazon AppFlow
4057
+ # to access your Salesforce records.
4058
+ #
4059
+ # * Calls to transfer your Salesforce records as part of a flow run.
4060
+ #
4061
+ # false
4062
+ #
4063
+ # : The default value. Amazon AppFlow sends some calls to Salesforce
4064
+ # privately and other calls over the public internet.
4065
+ #
4066
+ # The public calls are:
4067
+ #
4068
+ # * Calls to get metadata about your Salesforce records.
4069
+ #
4070
+ # * Calls to get or refresh access tokens.
4071
+ #
4072
+ # The private calls are:
4073
+ #
4074
+ # * Calls to transfer your Salesforce records as part of a flow run.
4075
+ #
4076
+ # ^
4077
+ # @return [Boolean]
4078
+ #
4036
4079
  # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/SalesforceConnectorProfileProperties AWS API Documentation
4037
4080
  #
4038
4081
  class SalesforceConnectorProfileProperties < Struct.new(
4039
4082
  :instance_url,
4040
- :is_sandbox_environment)
4083
+ :is_sandbox_environment,
4084
+ :use_private_link_for_metadata_and_authorization)
4041
4085
  SENSITIVE = []
4042
4086
  include Aws::Structure
4043
4087
  end
@@ -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.35.0'
55
+ GEM_VERSION = '1.36.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.35.0
4
+ version: 1.36.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: 2023-01-19 00:00:00.000000000 Z
11
+ date: 2023-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core