aws-sdk-appflow 1.25.0 → 1.26.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: '08628744bdcecf40a4b8dee4bd92000a96aedf23cb3003b60a537a784f9b8fab'
4
- data.tar.gz: 790e916eeb653dfd4a400d9e912842c89ae616a26d74933c37b36072d15e38e7
3
+ metadata.gz: e6939317be062f5ff1b7a4f64f04cef74df0727bcb1b1fdb416eb03c0ed959b1
4
+ data.tar.gz: 1d39a8c00f636bf0dd6ad7899145543d15b665854dca5f896ad5ab8f3de128a9
5
5
  SHA512:
6
- metadata.gz: 4855ced24f6d2fd7abff5c8a882a0f2b90f6e92e81f1bab1efa1322b46b1a5b2c9f2e9ca8e25fbda810ccb7e87172082e54199a23150ae6aac383488a03d5807
7
- data.tar.gz: 968f63751e83da01be05389355fbba7e9ca32e5155183e86e3d969d9592747e335f6f966cd8dcbb84452dec47c402b9db3ac0106d0ded59ae3d46fc0e7e927d0
6
+ metadata.gz: c892168b94a35dc7f29f5ed30bd90a7aac821f44d3bd60b59b57d8c337dfdd947fe07891ba286ba80aadba2fc4209c6845948a00fe650fb642e91c3bda8ca4a1
7
+ data.tar.gz: 606e3b64d7f613cbd8309e2203b354c21491ed59d6977c9cdd7a832936fda28f9c86bccc2114cb404e34423d2f73bb2c4f15794c125b0b875b84a104d80baf54
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.26.0 (2022-04-14)
5
+ ------------------
6
+
7
+ * Feature - Enables users to pass custom token URL parameters for Oauth2 authentication during create connector profile
8
+
4
9
  1.25.0 (2022-03-03)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.25.0
1
+ 1.26.0
@@ -471,6 +471,9 @@ module Aws::Appflow
471
471
  # o_auth_2_properties: {
472
472
  # token_url: "TokenUrl", # required
473
473
  # o_auth_2_grant_type: "CLIENT_CREDENTIALS", # required, accepts CLIENT_CREDENTIALS, AUTHORIZATION_CODE
474
+ # token_url_custom_properties: {
475
+ # "CustomPropertyKey" => "CustomPropertyValue",
476
+ # },
474
477
  # },
475
478
  # },
476
479
  # },
@@ -1070,6 +1073,15 @@ module Aws::Appflow
1070
1073
  # resp.connector_configuration.authentication_config.o_auth_2_defaults.auth_code_urls[0] #=> String
1071
1074
  # resp.connector_configuration.authentication_config.o_auth_2_defaults.oauth2_grant_types_supported #=> Array
1072
1075
  # resp.connector_configuration.authentication_config.o_auth_2_defaults.oauth2_grant_types_supported[0] #=> String, one of "CLIENT_CREDENTIALS", "AUTHORIZATION_CODE"
1076
+ # resp.connector_configuration.authentication_config.o_auth_2_defaults.oauth2_custom_properties #=> Array
1077
+ # resp.connector_configuration.authentication_config.o_auth_2_defaults.oauth2_custom_properties[0].key #=> String
1078
+ # resp.connector_configuration.authentication_config.o_auth_2_defaults.oauth2_custom_properties[0].is_required #=> Boolean
1079
+ # resp.connector_configuration.authentication_config.o_auth_2_defaults.oauth2_custom_properties[0].label #=> String
1080
+ # resp.connector_configuration.authentication_config.o_auth_2_defaults.oauth2_custom_properties[0].description #=> String
1081
+ # resp.connector_configuration.authentication_config.o_auth_2_defaults.oauth2_custom_properties[0].is_sensitive_field #=> Boolean
1082
+ # resp.connector_configuration.authentication_config.o_auth_2_defaults.oauth2_custom_properties[0].connector_supplied_values #=> Array
1083
+ # resp.connector_configuration.authentication_config.o_auth_2_defaults.oauth2_custom_properties[0].connector_supplied_values[0] #=> String
1084
+ # resp.connector_configuration.authentication_config.o_auth_2_defaults.oauth2_custom_properties[0].type #=> String, one of "TOKEN_URL", "AUTH_URL"
1073
1085
  # resp.connector_configuration.authentication_config.custom_auth_configs #=> Array
1074
1086
  # resp.connector_configuration.authentication_config.custom_auth_configs[0].custom_authentication_type #=> String
1075
1087
  # resp.connector_configuration.authentication_config.custom_auth_configs[0].auth_parameters #=> Array
@@ -1272,6 +1284,8 @@ module Aws::Appflow
1272
1284
  # resp.connector_profile_details[0].connector_profile_properties.custom_connector.profile_properties["ProfilePropertyKey"] #=> String
1273
1285
  # resp.connector_profile_details[0].connector_profile_properties.custom_connector.o_auth_2_properties.token_url #=> String
1274
1286
  # resp.connector_profile_details[0].connector_profile_properties.custom_connector.o_auth_2_properties.o_auth_2_grant_type #=> String, one of "CLIENT_CREDENTIALS", "AUTHORIZATION_CODE"
1287
+ # resp.connector_profile_details[0].connector_profile_properties.custom_connector.o_auth_2_properties.token_url_custom_properties #=> Hash
1288
+ # resp.connector_profile_details[0].connector_profile_properties.custom_connector.o_auth_2_properties.token_url_custom_properties["CustomPropertyKey"] #=> String
1275
1289
  # resp.connector_profile_details[0].created_at #=> Time
1276
1290
  # resp.connector_profile_details[0].last_updated_at #=> Time
1277
1291
  # resp.connector_profile_details[0].private_connection_provisioning_state.status #=> String, one of "FAILED", "PENDING", "CREATED"
@@ -1368,6 +1382,15 @@ module Aws::Appflow
1368
1382
  # resp.connector_configurations["ConnectorType"].authentication_config.o_auth_2_defaults.auth_code_urls[0] #=> String
1369
1383
  # resp.connector_configurations["ConnectorType"].authentication_config.o_auth_2_defaults.oauth2_grant_types_supported #=> Array
1370
1384
  # resp.connector_configurations["ConnectorType"].authentication_config.o_auth_2_defaults.oauth2_grant_types_supported[0] #=> String, one of "CLIENT_CREDENTIALS", "AUTHORIZATION_CODE"
1385
+ # resp.connector_configurations["ConnectorType"].authentication_config.o_auth_2_defaults.oauth2_custom_properties #=> Array
1386
+ # resp.connector_configurations["ConnectorType"].authentication_config.o_auth_2_defaults.oauth2_custom_properties[0].key #=> String
1387
+ # resp.connector_configurations["ConnectorType"].authentication_config.o_auth_2_defaults.oauth2_custom_properties[0].is_required #=> Boolean
1388
+ # resp.connector_configurations["ConnectorType"].authentication_config.o_auth_2_defaults.oauth2_custom_properties[0].label #=> String
1389
+ # resp.connector_configurations["ConnectorType"].authentication_config.o_auth_2_defaults.oauth2_custom_properties[0].description #=> String
1390
+ # resp.connector_configurations["ConnectorType"].authentication_config.o_auth_2_defaults.oauth2_custom_properties[0].is_sensitive_field #=> Boolean
1391
+ # resp.connector_configurations["ConnectorType"].authentication_config.o_auth_2_defaults.oauth2_custom_properties[0].connector_supplied_values #=> Array
1392
+ # resp.connector_configurations["ConnectorType"].authentication_config.o_auth_2_defaults.oauth2_custom_properties[0].connector_supplied_values[0] #=> String
1393
+ # resp.connector_configurations["ConnectorType"].authentication_config.o_auth_2_defaults.oauth2_custom_properties[0].type #=> String, one of "TOKEN_URL", "AUTH_URL"
1371
1394
  # resp.connector_configurations["ConnectorType"].authentication_config.custom_auth_configs #=> Array
1372
1395
  # resp.connector_configurations["ConnectorType"].authentication_config.custom_auth_configs[0].custom_authentication_type #=> String
1373
1396
  # resp.connector_configurations["ConnectorType"].authentication_config.custom_auth_configs[0].auth_parameters #=> Array
@@ -2157,6 +2180,9 @@ module Aws::Appflow
2157
2180
  # o_auth_2_properties: {
2158
2181
  # token_url: "TokenUrl", # required
2159
2182
  # o_auth_2_grant_type: "CLIENT_CREDENTIALS", # required, accepts CLIENT_CREDENTIALS, AUTHORIZATION_CODE
2183
+ # token_url_custom_properties: {
2184
+ # "CustomPropertyKey" => "CustomPropertyValue",
2185
+ # },
2160
2186
  # },
2161
2187
  # },
2162
2188
  # },
@@ -2622,7 +2648,7 @@ module Aws::Appflow
2622
2648
  params: params,
2623
2649
  config: config)
2624
2650
  context[:gem_name] = 'aws-sdk-appflow'
2625
- context[:gem_version] = '1.25.0'
2651
+ context[:gem_version] = '1.26.0'
2626
2652
  Seahorse::Client::Request.new(handlers, context)
2627
2653
  end
2628
2654
 
@@ -223,6 +223,9 @@ module Aws::Appflow
223
223
  Name = Shapes::StringShape.new(name: 'Name')
224
224
  NextToken = Shapes::StringShape.new(name: 'NextToken')
225
225
  OAuth2Credentials = Shapes::StructureShape.new(name: 'OAuth2Credentials')
226
+ OAuth2CustomParameter = Shapes::StructureShape.new(name: 'OAuth2CustomParameter')
227
+ OAuth2CustomPropType = Shapes::StringShape.new(name: 'OAuth2CustomPropType')
228
+ OAuth2CustomPropertiesList = Shapes::ListShape.new(name: 'OAuth2CustomPropertiesList')
226
229
  OAuth2Defaults = Shapes::StructureShape.new(name: 'OAuth2Defaults')
227
230
  OAuth2GrantType = Shapes::StringShape.new(name: 'OAuth2GrantType')
228
231
  OAuth2GrantTypeSupportedList = Shapes::ListShape.new(name: 'OAuth2GrantTypeSupportedList')
@@ -339,6 +342,7 @@ module Aws::Appflow
339
342
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
340
343
  Timezone = Shapes::StringShape.new(name: 'Timezone')
341
344
  TokenUrl = Shapes::StringShape.new(name: 'TokenUrl')
345
+ TokenUrlCustomProperties = Shapes::MapShape.new(name: 'TokenUrlCustomProperties')
342
346
  TokenUrlList = Shapes::ListShape.new(name: 'TokenUrlList')
343
347
  TrendmicroConnectorOperator = Shapes::StringShape.new(name: 'TrendmicroConnectorOperator')
344
348
  TrendmicroConnectorProfileCredentials = Shapes::StructureShape.new(name: 'TrendmicroConnectorProfileCredentials')
@@ -1013,16 +1017,29 @@ module Aws::Appflow
1013
1017
  OAuth2Credentials.add_member(:o_auth_request, Shapes::ShapeRef.new(shape: ConnectorOAuthRequest, location_name: "oAuthRequest"))
1014
1018
  OAuth2Credentials.struct_class = Types::OAuth2Credentials
1015
1019
 
1020
+ OAuth2CustomParameter.add_member(:key, Shapes::ShapeRef.new(shape: Key, location_name: "key"))
1021
+ OAuth2CustomParameter.add_member(:is_required, Shapes::ShapeRef.new(shape: Boolean, location_name: "isRequired"))
1022
+ OAuth2CustomParameter.add_member(:label, Shapes::ShapeRef.new(shape: Label, location_name: "label"))
1023
+ OAuth2CustomParameter.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
1024
+ OAuth2CustomParameter.add_member(:is_sensitive_field, Shapes::ShapeRef.new(shape: Boolean, location_name: "isSensitiveField"))
1025
+ OAuth2CustomParameter.add_member(:connector_supplied_values, Shapes::ShapeRef.new(shape: ConnectorSuppliedValueList, location_name: "connectorSuppliedValues"))
1026
+ OAuth2CustomParameter.add_member(:type, Shapes::ShapeRef.new(shape: OAuth2CustomPropType, location_name: "type"))
1027
+ OAuth2CustomParameter.struct_class = Types::OAuth2CustomParameter
1028
+
1029
+ OAuth2CustomPropertiesList.member = Shapes::ShapeRef.new(shape: OAuth2CustomParameter)
1030
+
1016
1031
  OAuth2Defaults.add_member(:oauth_scopes, Shapes::ShapeRef.new(shape: OAuthScopeList, location_name: "oauthScopes"))
1017
1032
  OAuth2Defaults.add_member(:token_urls, Shapes::ShapeRef.new(shape: TokenUrlList, location_name: "tokenUrls"))
1018
1033
  OAuth2Defaults.add_member(:auth_code_urls, Shapes::ShapeRef.new(shape: AuthCodeUrlList, location_name: "authCodeUrls"))
1019
1034
  OAuth2Defaults.add_member(:oauth2_grant_types_supported, Shapes::ShapeRef.new(shape: OAuth2GrantTypeSupportedList, location_name: "oauth2GrantTypesSupported"))
1035
+ OAuth2Defaults.add_member(:oauth2_custom_properties, Shapes::ShapeRef.new(shape: OAuth2CustomPropertiesList, location_name: "oauth2CustomProperties"))
1020
1036
  OAuth2Defaults.struct_class = Types::OAuth2Defaults
1021
1037
 
1022
1038
  OAuth2GrantTypeSupportedList.member = Shapes::ShapeRef.new(shape: OAuth2GrantType)
1023
1039
 
1024
1040
  OAuth2Properties.add_member(:token_url, Shapes::ShapeRef.new(shape: TokenUrl, required: true, location_name: "tokenUrl"))
1025
1041
  OAuth2Properties.add_member(:o_auth_2_grant_type, Shapes::ShapeRef.new(shape: OAuth2GrantType, required: true, location_name: "oAuth2GrantType"))
1042
+ OAuth2Properties.add_member(:token_url_custom_properties, Shapes::ShapeRef.new(shape: TokenUrlCustomProperties, location_name: "tokenUrlCustomProperties"))
1026
1043
  OAuth2Properties.struct_class = Types::OAuth2Properties
1027
1044
 
1028
1045
  OAuthCredentials.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientId, required: true, location_name: "clientId"))
@@ -1317,6 +1334,9 @@ module Aws::Appflow
1317
1334
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
1318
1335
  ThrottlingException.struct_class = Types::ThrottlingException
1319
1336
 
1337
+ TokenUrlCustomProperties.key = Shapes::ShapeRef.new(shape: CustomPropertyKey)
1338
+ TokenUrlCustomProperties.value = Shapes::ShapeRef.new(shape: CustomPropertyValue)
1339
+
1320
1340
  TokenUrlList.member = Shapes::ShapeRef.new(shape: TokenUrl)
1321
1341
 
1322
1342
  TrendmicroConnectorProfileCredentials.add_member(:api_secret_key, Shapes::ShapeRef.new(shape: ApiSecretKey, required: true, location_name: "apiSecretKey"))
@@ -997,6 +997,9 @@ module Aws::Appflow
997
997
  # o_auth_2_properties: {
998
998
  # token_url: "TokenUrl", # required
999
999
  # o_auth_2_grant_type: "CLIENT_CREDENTIALS", # required, accepts CLIENT_CREDENTIALS, AUTHORIZATION_CODE
1000
+ # token_url_custom_properties: {
1001
+ # "CustomPropertyKey" => "CustomPropertyValue",
1002
+ # },
1000
1003
  # },
1001
1004
  # },
1002
1005
  # },
@@ -1482,6 +1485,9 @@ module Aws::Appflow
1482
1485
  # o_auth_2_properties: {
1483
1486
  # token_url: "TokenUrl", # required
1484
1487
  # o_auth_2_grant_type: "CLIENT_CREDENTIALS", # required, accepts CLIENT_CREDENTIALS, AUTHORIZATION_CODE
1488
+ # token_url_custom_properties: {
1489
+ # "CustomPropertyKey" => "CustomPropertyValue",
1490
+ # },
1485
1491
  # },
1486
1492
  # },
1487
1493
  # }
@@ -1752,6 +1758,9 @@ module Aws::Appflow
1752
1758
  # o_auth_2_properties: {
1753
1759
  # token_url: "TokenUrl", # required
1754
1760
  # o_auth_2_grant_type: "CLIENT_CREDENTIALS", # required, accepts CLIENT_CREDENTIALS, AUTHORIZATION_CODE
1761
+ # token_url_custom_properties: {
1762
+ # "CustomPropertyKey" => "CustomPropertyValue",
1763
+ # },
1755
1764
  # },
1756
1765
  # },
1757
1766
  # },
@@ -2474,6 +2483,9 @@ module Aws::Appflow
2474
2483
  # o_auth_2_properties: {
2475
2484
  # token_url: "TokenUrl", # required
2476
2485
  # o_auth_2_grant_type: "CLIENT_CREDENTIALS", # required, accepts CLIENT_CREDENTIALS, AUTHORIZATION_CODE
2486
+ # token_url_custom_properties: {
2487
+ # "CustomPropertyKey" => "CustomPropertyValue",
2488
+ # },
2477
2489
  # },
2478
2490
  # }
2479
2491
  #
@@ -4630,6 +4642,55 @@ module Aws::Appflow
4630
4642
  include Aws::Structure
4631
4643
  end
4632
4644
 
4645
+ # Custom parameter required for OAuth 2.0 authentication.
4646
+ #
4647
+ # @!attribute [rw] key
4648
+ # The key of the custom parameter required for OAuth 2.0
4649
+ # authentication.
4650
+ # @return [String]
4651
+ #
4652
+ # @!attribute [rw] is_required
4653
+ # Indicates whether the custom parameter for OAuth 2.0 authentication
4654
+ # is required.
4655
+ # @return [Boolean]
4656
+ #
4657
+ # @!attribute [rw] label
4658
+ # The label of the custom parameter used for OAuth 2.0 authentication.
4659
+ # @return [String]
4660
+ #
4661
+ # @!attribute [rw] description
4662
+ # A description about the custom parameter used for OAuth 2.0
4663
+ # authentication.
4664
+ # @return [String]
4665
+ #
4666
+ # @!attribute [rw] is_sensitive_field
4667
+ # Indicates whether this authentication custom parameter is a
4668
+ # sensitive field.
4669
+ # @return [Boolean]
4670
+ #
4671
+ # @!attribute [rw] connector_supplied_values
4672
+ # Contains default values for this authentication parameter that are
4673
+ # supplied by the connector.
4674
+ # @return [Array<String>]
4675
+ #
4676
+ # @!attribute [rw] type
4677
+ # Indicates whether custom parameter is used with TokenUrl or AuthUrl.
4678
+ # @return [String]
4679
+ #
4680
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/OAuth2CustomParameter AWS API Documentation
4681
+ #
4682
+ class OAuth2CustomParameter < Struct.new(
4683
+ :key,
4684
+ :is_required,
4685
+ :label,
4686
+ :description,
4687
+ :is_sensitive_field,
4688
+ :connector_supplied_values,
4689
+ :type)
4690
+ SENSITIVE = []
4691
+ include Aws::Structure
4692
+ end
4693
+
4633
4694
  # Contains the default values required for OAuth 2.0 authentication.
4634
4695
  #
4635
4696
  # @!attribute [rw] oauth_scopes
@@ -4648,13 +4709,18 @@ module Aws::Appflow
4648
4709
  # OAuth 2.0 grant types supported by the connector.
4649
4710
  # @return [Array<String>]
4650
4711
  #
4712
+ # @!attribute [rw] oauth2_custom_properties
4713
+ # List of custom parameters required for OAuth 2.0 authentication.
4714
+ # @return [Array<Types::OAuth2CustomParameter>]
4715
+ #
4651
4716
  # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/OAuth2Defaults AWS API Documentation
4652
4717
  #
4653
4718
  class OAuth2Defaults < Struct.new(
4654
4719
  :oauth_scopes,
4655
4720
  :token_urls,
4656
4721
  :auth_code_urls,
4657
- :oauth2_grant_types_supported)
4722
+ :oauth2_grant_types_supported,
4723
+ :oauth2_custom_properties)
4658
4724
  SENSITIVE = []
4659
4725
  include Aws::Structure
4660
4726
  end
@@ -4667,6 +4733,9 @@ module Aws::Appflow
4667
4733
  # {
4668
4734
  # token_url: "TokenUrl", # required
4669
4735
  # o_auth_2_grant_type: "CLIENT_CREDENTIALS", # required, accepts CLIENT_CREDENTIALS, AUTHORIZATION_CODE
4736
+ # token_url_custom_properties: {
4737
+ # "CustomPropertyKey" => "CustomPropertyValue",
4738
+ # },
4670
4739
  # }
4671
4740
  #
4672
4741
  # @!attribute [rw] token_url
@@ -4678,11 +4747,18 @@ module Aws::Appflow
4678
4747
  # authentication.
4679
4748
  # @return [String]
4680
4749
  #
4750
+ # @!attribute [rw] token_url_custom_properties
4751
+ # Associates your token URL with a map of properties that you define.
4752
+ # Use this parameter to provide any additional details that the
4753
+ # connector requires to authenticate your request.
4754
+ # @return [Hash<String,String>]
4755
+ #
4681
4756
  # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/OAuth2Properties AWS API Documentation
4682
4757
  #
4683
4758
  class OAuth2Properties < Struct.new(
4684
4759
  :token_url,
4685
- :o_auth_2_grant_type)
4760
+ :o_auth_2_grant_type,
4761
+ :token_url_custom_properties)
4686
4762
  SENSITIVE = []
4687
4763
  include Aws::Structure
4688
4764
  end
@@ -6871,6 +6947,9 @@ module Aws::Appflow
6871
6947
  # o_auth_2_properties: {
6872
6948
  # token_url: "TokenUrl", # required
6873
6949
  # o_auth_2_grant_type: "CLIENT_CREDENTIALS", # required, accepts CLIENT_CREDENTIALS, AUTHORIZATION_CODE
6950
+ # token_url_custom_properties: {
6951
+ # "CustomPropertyKey" => "CustomPropertyValue",
6952
+ # },
6874
6953
  # },
6875
6954
  # },
6876
6955
  # },
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-appflow/customizations'
48
48
  # @!group service
49
49
  module Aws::Appflow
50
50
 
51
- GEM_VERSION = '1.25.0'
51
+ GEM_VERSION = '1.26.0'
52
52
 
53
53
  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.25.0
4
+ version: 1.26.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-03-03 00:00:00.000000000 Z
11
+ date: 2022-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core