aws-sdk-appflow 1.37.0 → 1.39.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-appflow/client.rb +14 -6
- data/lib/aws-sdk-appflow/client_api.rb +4 -0
- data/lib/aws-sdk-appflow/types.rb +75 -3
- data/lib/aws-sdk-appflow.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 83e61885b65c7cafcae7903743983818337d88368477b6c320e81a7a00ba6e1b
|
|
4
|
+
data.tar.gz: a5cafbf04f0e518ab36c04918012343a1789be5591d2188e738fb90e82a0ffb0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6c1942e9bbea35232f743bc9c70cf3494f7037b4637d3ac49f6b7dfb627cd401086c7c83b245e173e3022539ab554778ec62759c84af6a324280d9a05d10a9bd
|
|
7
|
+
data.tar.gz: 221eba0f46f38361ae3d02c7bd3c46460ac8b60763b94c3ca033427745039b2f8797391a7336a084fbde0cc3792aa9fb906695dba9ddc058979c9f8c32e1e2dd
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.39.0 (2023-04-28)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds Jwt Support for Salesforce Credentials.
|
|
8
|
+
|
|
9
|
+
1.38.0 (2023-04-24)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Increased the max length for RefreshToken and AuthCode from 2048 to 4096.
|
|
13
|
+
|
|
4
14
|
1.37.0 (2023-04-17)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.39.0
|
|
@@ -515,7 +515,7 @@ module Aws::Appflow
|
|
|
515
515
|
# },
|
|
516
516
|
# o_auth_2_properties: {
|
|
517
517
|
# token_url: "TokenUrl", # required
|
|
518
|
-
# o_auth_2_grant_type: "CLIENT_CREDENTIALS", # required, accepts CLIENT_CREDENTIALS, AUTHORIZATION_CODE
|
|
518
|
+
# o_auth_2_grant_type: "CLIENT_CREDENTIALS", # required, accepts CLIENT_CREDENTIALS, AUTHORIZATION_CODE, JWT_BEARER
|
|
519
519
|
# token_url_custom_properties: {
|
|
520
520
|
# "CustomPropertyKey" => "CustomPropertyValue",
|
|
521
521
|
# },
|
|
@@ -584,6 +584,8 @@ module Aws::Appflow
|
|
|
584
584
|
# redirect_uri: "RedirectUri",
|
|
585
585
|
# },
|
|
586
586
|
# client_credentials_arn: "ClientCredentialsArn",
|
|
587
|
+
# o_auth_2_grant_type: "CLIENT_CREDENTIALS", # accepts CLIENT_CREDENTIALS, AUTHORIZATION_CODE, JWT_BEARER
|
|
588
|
+
# jwt_token: "JwtToken",
|
|
587
589
|
# },
|
|
588
590
|
# service_now: {
|
|
589
591
|
# username: "Username", # required
|
|
@@ -1152,6 +1154,8 @@ module Aws::Appflow
|
|
|
1152
1154
|
# resp.connector_configuration.connector_metadata.salesforce.o_auth_scopes[0] #=> String
|
|
1153
1155
|
# resp.connector_configuration.connector_metadata.salesforce.data_transfer_apis #=> Array
|
|
1154
1156
|
# resp.connector_configuration.connector_metadata.salesforce.data_transfer_apis[0] #=> String, one of "AUTOMATIC", "BULKV2", "REST_SYNC"
|
|
1157
|
+
# resp.connector_configuration.connector_metadata.salesforce.oauth2_grant_types_supported #=> Array
|
|
1158
|
+
# resp.connector_configuration.connector_metadata.salesforce.oauth2_grant_types_supported[0] #=> String, one of "CLIENT_CREDENTIALS", "AUTHORIZATION_CODE", "JWT_BEARER"
|
|
1155
1159
|
# resp.connector_configuration.connector_metadata.slack.o_auth_scopes #=> Array
|
|
1156
1160
|
# resp.connector_configuration.connector_metadata.slack.o_auth_scopes[0] #=> String
|
|
1157
1161
|
# resp.connector_configuration.connector_metadata.snowflake.supported_regions #=> Array
|
|
@@ -1180,7 +1184,7 @@ module Aws::Appflow
|
|
|
1180
1184
|
# resp.connector_configuration.authentication_config.o_auth_2_defaults.auth_code_urls #=> Array
|
|
1181
1185
|
# resp.connector_configuration.authentication_config.o_auth_2_defaults.auth_code_urls[0] #=> String
|
|
1182
1186
|
# resp.connector_configuration.authentication_config.o_auth_2_defaults.oauth2_grant_types_supported #=> Array
|
|
1183
|
-
# resp.connector_configuration.authentication_config.o_auth_2_defaults.oauth2_grant_types_supported[0] #=> String, one of "CLIENT_CREDENTIALS", "AUTHORIZATION_CODE"
|
|
1187
|
+
# resp.connector_configuration.authentication_config.o_auth_2_defaults.oauth2_grant_types_supported[0] #=> String, one of "CLIENT_CREDENTIALS", "AUTHORIZATION_CODE", "JWT_BEARER"
|
|
1184
1188
|
# resp.connector_configuration.authentication_config.o_auth_2_defaults.oauth2_custom_properties #=> Array
|
|
1185
1189
|
# resp.connector_configuration.authentication_config.o_auth_2_defaults.oauth2_custom_properties[0].key #=> String
|
|
1186
1190
|
# resp.connector_configuration.authentication_config.o_auth_2_defaults.oauth2_custom_properties[0].is_required #=> Boolean
|
|
@@ -1397,7 +1401,7 @@ module Aws::Appflow
|
|
|
1397
1401
|
# resp.connector_profile_details[0].connector_profile_properties.custom_connector.profile_properties #=> Hash
|
|
1398
1402
|
# resp.connector_profile_details[0].connector_profile_properties.custom_connector.profile_properties["ProfilePropertyKey"] #=> String
|
|
1399
1403
|
# resp.connector_profile_details[0].connector_profile_properties.custom_connector.o_auth_2_properties.token_url #=> String
|
|
1400
|
-
# 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"
|
|
1404
|
+
# 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", "JWT_BEARER"
|
|
1401
1405
|
# resp.connector_profile_details[0].connector_profile_properties.custom_connector.o_auth_2_properties.token_url_custom_properties #=> Hash
|
|
1402
1406
|
# resp.connector_profile_details[0].connector_profile_properties.custom_connector.o_auth_2_properties.token_url_custom_properties["CustomPropertyKey"] #=> String
|
|
1403
1407
|
# resp.connector_profile_details[0].connector_profile_properties.pardot.instance_url #=> String
|
|
@@ -1472,6 +1476,8 @@ module Aws::Appflow
|
|
|
1472
1476
|
# resp.connector_configurations["ConnectorType"].connector_metadata.salesforce.o_auth_scopes[0] #=> String
|
|
1473
1477
|
# resp.connector_configurations["ConnectorType"].connector_metadata.salesforce.data_transfer_apis #=> Array
|
|
1474
1478
|
# resp.connector_configurations["ConnectorType"].connector_metadata.salesforce.data_transfer_apis[0] #=> String, one of "AUTOMATIC", "BULKV2", "REST_SYNC"
|
|
1479
|
+
# resp.connector_configurations["ConnectorType"].connector_metadata.salesforce.oauth2_grant_types_supported #=> Array
|
|
1480
|
+
# resp.connector_configurations["ConnectorType"].connector_metadata.salesforce.oauth2_grant_types_supported[0] #=> String, one of "CLIENT_CREDENTIALS", "AUTHORIZATION_CODE", "JWT_BEARER"
|
|
1475
1481
|
# resp.connector_configurations["ConnectorType"].connector_metadata.slack.o_auth_scopes #=> Array
|
|
1476
1482
|
# resp.connector_configurations["ConnectorType"].connector_metadata.slack.o_auth_scopes[0] #=> String
|
|
1477
1483
|
# resp.connector_configurations["ConnectorType"].connector_metadata.snowflake.supported_regions #=> Array
|
|
@@ -1500,7 +1506,7 @@ module Aws::Appflow
|
|
|
1500
1506
|
# resp.connector_configurations["ConnectorType"].authentication_config.o_auth_2_defaults.auth_code_urls #=> Array
|
|
1501
1507
|
# resp.connector_configurations["ConnectorType"].authentication_config.o_auth_2_defaults.auth_code_urls[0] #=> String
|
|
1502
1508
|
# resp.connector_configurations["ConnectorType"].authentication_config.o_auth_2_defaults.oauth2_grant_types_supported #=> Array
|
|
1503
|
-
# resp.connector_configurations["ConnectorType"].authentication_config.o_auth_2_defaults.oauth2_grant_types_supported[0] #=> String, one of "CLIENT_CREDENTIALS", "AUTHORIZATION_CODE"
|
|
1509
|
+
# resp.connector_configurations["ConnectorType"].authentication_config.o_auth_2_defaults.oauth2_grant_types_supported[0] #=> String, one of "CLIENT_CREDENTIALS", "AUTHORIZATION_CODE", "JWT_BEARER"
|
|
1504
1510
|
# resp.connector_configurations["ConnectorType"].authentication_config.o_auth_2_defaults.oauth2_custom_properties #=> Array
|
|
1505
1511
|
# resp.connector_configurations["ConnectorType"].authentication_config.o_auth_2_defaults.oauth2_custom_properties[0].key #=> String
|
|
1506
1512
|
# resp.connector_configurations["ConnectorType"].authentication_config.o_auth_2_defaults.oauth2_custom_properties[0].is_required #=> Boolean
|
|
@@ -2421,7 +2427,7 @@ module Aws::Appflow
|
|
|
2421
2427
|
# },
|
|
2422
2428
|
# o_auth_2_properties: {
|
|
2423
2429
|
# token_url: "TokenUrl", # required
|
|
2424
|
-
# o_auth_2_grant_type: "CLIENT_CREDENTIALS", # required, accepts CLIENT_CREDENTIALS, AUTHORIZATION_CODE
|
|
2430
|
+
# o_auth_2_grant_type: "CLIENT_CREDENTIALS", # required, accepts CLIENT_CREDENTIALS, AUTHORIZATION_CODE, JWT_BEARER
|
|
2425
2431
|
# token_url_custom_properties: {
|
|
2426
2432
|
# "CustomPropertyKey" => "CustomPropertyValue",
|
|
2427
2433
|
# },
|
|
@@ -2490,6 +2496,8 @@ module Aws::Appflow
|
|
|
2490
2496
|
# redirect_uri: "RedirectUri",
|
|
2491
2497
|
# },
|
|
2492
2498
|
# client_credentials_arn: "ClientCredentialsArn",
|
|
2499
|
+
# o_auth_2_grant_type: "CLIENT_CREDENTIALS", # accepts CLIENT_CREDENTIALS, AUTHORIZATION_CODE, JWT_BEARER
|
|
2500
|
+
# jwt_token: "JwtToken",
|
|
2493
2501
|
# },
|
|
2494
2502
|
# service_now: {
|
|
2495
2503
|
# username: "Username", # required
|
|
@@ -3020,7 +3028,7 @@ module Aws::Appflow
|
|
|
3020
3028
|
params: params,
|
|
3021
3029
|
config: config)
|
|
3022
3030
|
context[:gem_name] = 'aws-sdk-appflow'
|
|
3023
|
-
context[:gem_version] = '1.
|
|
3031
|
+
context[:gem_version] = '1.39.0'
|
|
3024
3032
|
Seahorse::Client::Request.new(handlers, context)
|
|
3025
3033
|
end
|
|
3026
3034
|
|
|
@@ -208,6 +208,7 @@ module Aws::Appflow
|
|
|
208
208
|
InstanceUrl = Shapes::StringShape.new(name: 'InstanceUrl')
|
|
209
209
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
|
210
210
|
JavaBoolean = Shapes::BooleanShape.new(name: 'JavaBoolean')
|
|
211
|
+
JwtToken = Shapes::StringShape.new(name: 'JwtToken')
|
|
211
212
|
KMSArn = Shapes::StringShape.new(name: 'KMSArn')
|
|
212
213
|
Key = Shapes::StringShape.new(name: 'Key')
|
|
213
214
|
Label = Shapes::StringShape.new(name: 'Label')
|
|
@@ -1244,6 +1245,8 @@ module Aws::Appflow
|
|
|
1244
1245
|
SalesforceConnectorProfileCredentials.add_member(:refresh_token, Shapes::ShapeRef.new(shape: RefreshToken, location_name: "refreshToken"))
|
|
1245
1246
|
SalesforceConnectorProfileCredentials.add_member(:o_auth_request, Shapes::ShapeRef.new(shape: ConnectorOAuthRequest, location_name: "oAuthRequest"))
|
|
1246
1247
|
SalesforceConnectorProfileCredentials.add_member(:client_credentials_arn, Shapes::ShapeRef.new(shape: ClientCredentialsArn, location_name: "clientCredentialsArn"))
|
|
1248
|
+
SalesforceConnectorProfileCredentials.add_member(:o_auth_2_grant_type, Shapes::ShapeRef.new(shape: OAuth2GrantType, location_name: "oAuth2GrantType"))
|
|
1249
|
+
SalesforceConnectorProfileCredentials.add_member(:jwt_token, Shapes::ShapeRef.new(shape: JwtToken, location_name: "jwtToken"))
|
|
1247
1250
|
SalesforceConnectorProfileCredentials.struct_class = Types::SalesforceConnectorProfileCredentials
|
|
1248
1251
|
|
|
1249
1252
|
SalesforceConnectorProfileProperties.add_member(:instance_url, Shapes::ShapeRef.new(shape: InstanceUrl, location_name: "instanceUrl"))
|
|
@@ -1262,6 +1265,7 @@ module Aws::Appflow
|
|
|
1262
1265
|
|
|
1263
1266
|
SalesforceMetadata.add_member(:o_auth_scopes, Shapes::ShapeRef.new(shape: OAuthScopeList, location_name: "oAuthScopes"))
|
|
1264
1267
|
SalesforceMetadata.add_member(:data_transfer_apis, Shapes::ShapeRef.new(shape: SalesforceDataTransferApiList, location_name: "dataTransferApis"))
|
|
1268
|
+
SalesforceMetadata.add_member(:oauth2_grant_types_supported, Shapes::ShapeRef.new(shape: OAuth2GrantTypeSupportedList, location_name: "oauth2GrantTypesSupported"))
|
|
1265
1269
|
SalesforceMetadata.struct_class = Types::SalesforceMetadata
|
|
1266
1270
|
|
|
1267
1271
|
SalesforceSourceProperties.add_member(:object, Shapes::ShapeRef.new(shape: Object, required: true, location_name: "object"))
|
|
@@ -4076,14 +4076,54 @@ module Aws::Appflow
|
|
|
4076
4076
|
# secret of the connected app.
|
|
4077
4077
|
# @return [String]
|
|
4078
4078
|
#
|
|
4079
|
+
# @!attribute [rw] o_auth_2_grant_type
|
|
4080
|
+
# Specifies the OAuth 2.0 grant type that Amazon AppFlow uses when it
|
|
4081
|
+
# requests an access token from Salesforce. Amazon AppFlow requires an
|
|
4082
|
+
# access token each time it attempts to access your Salesforce
|
|
4083
|
+
# records.
|
|
4084
|
+
#
|
|
4085
|
+
# You can specify one of the following values:
|
|
4086
|
+
#
|
|
4087
|
+
# AUTHORIZATION\_CODE
|
|
4088
|
+
#
|
|
4089
|
+
# : Amazon AppFlow passes an authorization code when it requests the
|
|
4090
|
+
# access token from Salesforce. Amazon AppFlow receives the
|
|
4091
|
+
# authorization code from Salesforce after you log in to your
|
|
4092
|
+
# Salesforce account and authorize Amazon AppFlow to access your
|
|
4093
|
+
# records.
|
|
4094
|
+
#
|
|
4095
|
+
# CLIENT\_CREDENTIALS
|
|
4096
|
+
#
|
|
4097
|
+
# : Amazon AppFlow passes client credentials (a client ID and client
|
|
4098
|
+
# secret) when it requests the access token from Salesforce. You
|
|
4099
|
+
# provide these credentials to Amazon AppFlow when you define the
|
|
4100
|
+
# connection to your Salesforce account.
|
|
4101
|
+
#
|
|
4102
|
+
# JWT\_BEARER
|
|
4103
|
+
#
|
|
4104
|
+
# : Amazon AppFlow passes a JSON web token (JWT) when it requests the
|
|
4105
|
+
# access token from Salesforce. You provide the JWT to Amazon
|
|
4106
|
+
# AppFlow when you define the connection to your Salesforce account.
|
|
4107
|
+
# When you use this grant type, you don't need to log in to your
|
|
4108
|
+
# Salesforce account to authorize Amazon AppFlow to access your
|
|
4109
|
+
# records.
|
|
4110
|
+
# @return [String]
|
|
4111
|
+
#
|
|
4112
|
+
# @!attribute [rw] jwt_token
|
|
4113
|
+
# A JSON web token (JWT) that authorizes Amazon AppFlow to access your
|
|
4114
|
+
# Salesforce records.
|
|
4115
|
+
# @return [String]
|
|
4116
|
+
#
|
|
4079
4117
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/SalesforceConnectorProfileCredentials AWS API Documentation
|
|
4080
4118
|
#
|
|
4081
4119
|
class SalesforceConnectorProfileCredentials < Struct.new(
|
|
4082
4120
|
:access_token,
|
|
4083
4121
|
:refresh_token,
|
|
4084
4122
|
:o_auth_request,
|
|
4085
|
-
:client_credentials_arn
|
|
4086
|
-
|
|
4123
|
+
:client_credentials_arn,
|
|
4124
|
+
:o_auth_2_grant_type,
|
|
4125
|
+
:jwt_token)
|
|
4126
|
+
SENSITIVE = [:access_token, :client_credentials_arn, :jwt_token]
|
|
4087
4127
|
include Aws::Structure
|
|
4088
4128
|
end
|
|
4089
4129
|
|
|
@@ -4250,11 +4290,43 @@ module Aws::Appflow
|
|
|
4250
4290
|
# flows transfers data to or from Salesforce.
|
|
4251
4291
|
# @return [Array<String>]
|
|
4252
4292
|
#
|
|
4293
|
+
# @!attribute [rw] oauth2_grant_types_supported
|
|
4294
|
+
# The OAuth 2.0 grant types that Amazon AppFlow can use when it
|
|
4295
|
+
# requests an access token from Salesforce. Amazon AppFlow requires an
|
|
4296
|
+
# access token each time it attempts to access your Salesforce
|
|
4297
|
+
# records.
|
|
4298
|
+
#
|
|
4299
|
+
# AUTHORIZATION\_CODE
|
|
4300
|
+
#
|
|
4301
|
+
# : Amazon AppFlow passes an authorization code when it requests the
|
|
4302
|
+
# access token from Salesforce. Amazon AppFlow receives the
|
|
4303
|
+
# authorization code from Salesforce after you log in to your
|
|
4304
|
+
# Salesforce account and authorize Amazon AppFlow to access your
|
|
4305
|
+
# records.
|
|
4306
|
+
#
|
|
4307
|
+
# CLIENT\_CREDENTIALS
|
|
4308
|
+
#
|
|
4309
|
+
# : Amazon AppFlow passes client credentials (a client ID and client
|
|
4310
|
+
# secret) when it requests the access token from Salesforce. You
|
|
4311
|
+
# provide these credentials to Amazon AppFlow when you define the
|
|
4312
|
+
# connection to your Salesforce account.
|
|
4313
|
+
#
|
|
4314
|
+
# JWT\_BEARER
|
|
4315
|
+
#
|
|
4316
|
+
# : Amazon AppFlow passes a JSON web token (JWT) when it requests the
|
|
4317
|
+
# access token from Salesforce. You provide the JWT to Amazon
|
|
4318
|
+
# AppFlow when you define the connection to your Salesforce account.
|
|
4319
|
+
# When you use this grant type, you don't need to log in to your
|
|
4320
|
+
# Salesforce account to authorize Amazon AppFlow to access your
|
|
4321
|
+
# records.
|
|
4322
|
+
# @return [Array<String>]
|
|
4323
|
+
#
|
|
4253
4324
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/SalesforceMetadata AWS API Documentation
|
|
4254
4325
|
#
|
|
4255
4326
|
class SalesforceMetadata < Struct.new(
|
|
4256
4327
|
:o_auth_scopes,
|
|
4257
|
-
:data_transfer_apis
|
|
4328
|
+
:data_transfer_apis,
|
|
4329
|
+
:oauth2_grant_types_supported)
|
|
4258
4330
|
SENSITIVE = []
|
|
4259
4331
|
include Aws::Structure
|
|
4260
4332
|
end
|
data/lib/aws-sdk-appflow.rb
CHANGED
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.
|
|
4
|
+
version: 1.39.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-04-
|
|
11
|
+
date: 2023-04-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|