aws-sdk-cognitoidentityprovider 1.107.0 → 1.109.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: 012e3ad6365a20eb07468afb2a40fa3edd66776cf24c703d5197736de6e8c65e
4
- data.tar.gz: ed98c135f1cf55e151b7ed88421e3f1e7862481de9ad0d0ae5607b1bf90522a8
3
+ metadata.gz: f9219bd9e0d4b3cccc14db211e04547e06c1710a33829f4fe39e9485f12196fd
4
+ data.tar.gz: 395602c1db8f0a0df2a95a8c20d75d2d00389e8a0a5e9e2d6bdc9cfc977851ed
5
5
  SHA512:
6
- metadata.gz: eea08789ab017497e2d1ee5143fcca3c8d4f20410a82890fd211a060f69d73ea37428e0c9052074f82f6630907ad625acd7fd5bcd60ac0ba6d668dcf837b8459
7
- data.tar.gz: 51d0cd556c36945956e5600f8f7b0b09eb67795269a6e89ee5064ba8c3cbcaa5ed90313f8d705f21df14e1e0f33d4e9e763fd44dbab85a064e176c895361ca04
6
+ metadata.gz: 0edda0c85a0df2f0bbb42ae4bd842f7616ce1dc16b040b484b44a2811dc61bee158cf3de6b6156765a79986c411ddf74aee7bdea9ee6fe2bf244f95bf48c4b91
7
+ data.tar.gz: 425626d0aaa6869ac6dd0be73de0bda9bfc3f15f8264d2927202ea2a14540f4f86b641b00975c18bf9a72624d7e1ce4e95aa8cf4c7d6e4aefe4d0460a253622b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.109.0 (2024-11-06)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.108.0 (2024-10-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.107.0 (2024-09-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.107.0
1
+ 1.109.0
@@ -2326,13 +2326,13 @@ module Aws::CognitoIdentityProvider
2326
2326
  #
2327
2327
  # SMS\_MFA
2328
2328
  #
2329
- # : `"ChallengeName": "SMS_MFA", "ChallengeResponses": \{"SMS_MFA_CODE":
2330
- # "[code]", "USERNAME": "[username]"\}`
2329
+ # : `"ChallengeName": "SMS_MFA", "ChallengeResponses": {"SMS_MFA_CODE":
2330
+ # "[code]", "USERNAME": "[username]"}`
2331
2331
  #
2332
2332
  # EMAIL\_OTP
2333
2333
  #
2334
2334
  # : `"ChallengeName": "EMAIL_OTP", "ChallengeResponses":
2335
- # \{"EMAIL_OTP_CODE": "[code]", "USERNAME": "[username]"\}`
2335
+ # {"EMAIL_OTP_CODE": "[code]", "USERNAME": "[username]"}`
2336
2336
  #
2337
2337
  # PASSWORD\_VERIFIER
2338
2338
  #
@@ -2342,23 +2342,23 @@ module Aws::CognitoIdentityProvider
2342
2342
  # pool returns a `NotAuthorizedException` error.
2343
2343
  #
2344
2344
  # `"ChallengeName": "PASSWORD_VERIFIER", "ChallengeResponses":
2345
- # \{"PASSWORD_CLAIM_SIGNATURE": "[claim_signature]",
2345
+ # {"PASSWORD_CLAIM_SIGNATURE": "[claim_signature]",
2346
2346
  # "PASSWORD_CLAIM_SECRET_BLOCK": "[secret_block]", "TIMESTAMP":
2347
- # [timestamp], "USERNAME": "[username]"\}`
2347
+ # [timestamp], "USERNAME": "[username]"}`
2348
2348
  #
2349
2349
  # Add `"DEVICE_KEY"` when you sign in with a remembered device.
2350
2350
  #
2351
2351
  # CUSTOM\_CHALLENGE
2352
2352
  #
2353
2353
  # : `"ChallengeName": "CUSTOM_CHALLENGE", "ChallengeResponses":
2354
- # \{"USERNAME": "[username]", "ANSWER": "[challenge_answer]"\}`
2354
+ # {"USERNAME": "[username]", "ANSWER": "[challenge_answer]"}`
2355
2355
  #
2356
2356
  # Add `"DEVICE_KEY"` when you sign in with a remembered device.
2357
2357
  #
2358
2358
  # NEW\_PASSWORD\_REQUIRED
2359
2359
  #
2360
2360
  # : `"ChallengeName": "NEW_PASSWORD_REQUIRED", "ChallengeResponses":
2361
- # \{"NEW_PASSWORD": "[new_password]", "USERNAME": "[username]"\}`
2361
+ # {"NEW_PASSWORD": "[new_password]", "USERNAME": "[username]"}`
2362
2362
  #
2363
2363
  # To set any required attributes that `InitiateAuth` returned in an
2364
2364
  # `requiredAttributes` parameter, add
@@ -2378,33 +2378,33 @@ module Aws::CognitoIdentityProvider
2378
2378
  # SOFTWARE\_TOKEN\_MFA
2379
2379
  #
2380
2380
  # : `"ChallengeName": "SOFTWARE_TOKEN_MFA", "ChallengeResponses":
2381
- # \{"USERNAME": "[username]", "SOFTWARE_TOKEN_MFA_CODE":
2382
- # [authenticator_code]\}`
2381
+ # {"USERNAME": "[username]", "SOFTWARE_TOKEN_MFA_CODE":
2382
+ # [authenticator_code]}`
2383
2383
  #
2384
2384
  # DEVICE\_SRP\_AUTH
2385
2385
  #
2386
2386
  # : `"ChallengeName": "DEVICE_SRP_AUTH", "ChallengeResponses":
2387
- # \{"USERNAME": "[username]", "DEVICE_KEY": "[device_key]", "SRP_A":
2388
- # "[srp_a]"\}`
2387
+ # {"USERNAME": "[username]", "DEVICE_KEY": "[device_key]", "SRP_A":
2388
+ # "[srp_a]"}`
2389
2389
  #
2390
2390
  # DEVICE\_PASSWORD\_VERIFIER
2391
2391
  #
2392
2392
  # : `"ChallengeName": "DEVICE_PASSWORD_VERIFIER", "ChallengeResponses":
2393
- # \{"DEVICE_KEY": "[device_key]", "PASSWORD_CLAIM_SIGNATURE":
2393
+ # {"DEVICE_KEY": "[device_key]", "PASSWORD_CLAIM_SIGNATURE":
2394
2394
  # "[claim_signature]", "PASSWORD_CLAIM_SECRET_BLOCK":
2395
2395
  # "[secret_block]", "TIMESTAMP": [timestamp], "USERNAME":
2396
- # "[username]"\}`
2396
+ # "[username]"}`
2397
2397
  #
2398
2398
  # MFA\_SETUP
2399
2399
  #
2400
- # : `"ChallengeName": "MFA_SETUP", "ChallengeResponses": \{"USERNAME":
2401
- # "[username]"\}, "SESSION": "[Session ID from VerifySoftwareToken]"`
2400
+ # : `"ChallengeName": "MFA_SETUP", "ChallengeResponses": {"USERNAME":
2401
+ # "[username]"}, "SESSION": "[Session ID from VerifySoftwareToken]"`
2402
2402
  #
2403
2403
  # SELECT\_MFA\_TYPE
2404
2404
  #
2405
2405
  # : `"ChallengeName": "SELECT_MFA_TYPE", "ChallengeResponses":
2406
- # \{"USERNAME": "[username]", "ANSWER": "[SMS_MFA or
2407
- # SOFTWARE_TOKEN_MFA]"\}`
2406
+ # {"USERNAME": "[username]", "ANSWER": "[SMS_MFA or
2407
+ # SOFTWARE_TOKEN_MFA]"}`
2408
2408
  #
2409
2409
  # For more information about `SECRET_HASH`, see [Computing secret hash
2410
2410
  # values][1]. For information about `DEVICE_KEY`, see [Working with user
@@ -3692,7 +3692,7 @@ module Aws::CognitoIdentityProvider
3692
3692
  # discover endpoint URLs from `oidc_issuer`: `attributes_url`,
3693
3693
  # `authorize_url`, `jwks_uri`, `token_url`.
3694
3694
  #
3695
- # Create or update request: `"ProviderDetails": \{
3695
+ # Create or update request: `"ProviderDetails": {
3696
3696
  # "attributes_request_method": "GET", "attributes_url":
3697
3697
  # "https://auth.example.com/userInfo", "authorize_scopes": "openid
3698
3698
  # profile email", "authorize_url":
@@ -3700,9 +3700,9 @@ module Aws::CognitoIdentityProvider
3700
3700
  # "1example23456789", "client_secret": "provider-app-client-secret",
3701
3701
  # "jwks_uri": "https://auth.example.com/.well-known/jwks.json",
3702
3702
  # "oidc_issuer": "https://auth.example.com", "token_url":
3703
- # "https://example.com/token" \}`
3703
+ # "https://example.com/token" }`
3704
3704
  #
3705
- # Describe response: `"ProviderDetails": \{
3705
+ # Describe response: `"ProviderDetails": {
3706
3706
  # "attributes_request_method": "GET", "attributes_url":
3707
3707
  # "https://auth.example.com/userInfo",
3708
3708
  # "attributes_url_add_attributes": "false", "authorize_scopes":
@@ -3711,55 +3711,55 @@ module Aws::CognitoIdentityProvider
3711
3711
  # "1example23456789", "client_secret": "provider-app-client-secret",
3712
3712
  # "jwks_uri": "https://auth.example.com/.well-known/jwks.json",
3713
3713
  # "oidc_issuer": "https://auth.example.com", "token_url":
3714
- # "https://example.com/token" \}`
3714
+ # "https://example.com/token" }`
3715
3715
  #
3716
3716
  # SAML
3717
3717
  #
3718
- # : Create or update request with Metadata URL: `"ProviderDetails": \{
3718
+ # : Create or update request with Metadata URL: `"ProviderDetails": {
3719
3719
  # "IDPInit": "true", "IDPSignout": "true", "EncryptedResponses" :
3720
3720
  # "true", "MetadataURL": "https://auth.example.com/sso/saml/metadata",
3721
- # "RequestSigningAlgorithm": "rsa-sha256" \}`
3721
+ # "RequestSigningAlgorithm": "rsa-sha256" }`
3722
3722
  #
3723
- # Create or update request with Metadata file: `"ProviderDetails": \{
3723
+ # Create or update request with Metadata file: `"ProviderDetails": {
3724
3724
  # "IDPInit": "true", "IDPSignout": "true", "EncryptedResponses" :
3725
3725
  # "true", "MetadataFile": "[metadata XML]", "RequestSigningAlgorithm":
3726
- # "rsa-sha256" \}`
3726
+ # "rsa-sha256" }`
3727
3727
  #
3728
3728
  # The value of `MetadataFile` must be the plaintext metadata document
3729
3729
  # with all quote (") characters escaped by backslashes.
3730
3730
  #
3731
- # Describe response: `"ProviderDetails": \{ "IDPInit": "true",
3731
+ # Describe response: `"ProviderDetails": { "IDPInit": "true",
3732
3732
  # "IDPSignout": "true", "EncryptedResponses" : "true",
3733
3733
  # "ActiveEncryptionCertificate": "[certificate]", "MetadataURL":
3734
3734
  # "https://auth.example.com/sso/saml/metadata",
3735
3735
  # "RequestSigningAlgorithm": "rsa-sha256", "SLORedirectBindingURI":
3736
3736
  # "https://auth.example.com/slo/saml", "SSORedirectBindingURI":
3737
- # "https://auth.example.com/sso/saml" \}`
3737
+ # "https://auth.example.com/sso/saml" }`
3738
3738
  #
3739
3739
  # LoginWithAmazon
3740
3740
  #
3741
- # : Create or update request: `"ProviderDetails": \{ "authorize_scopes":
3741
+ # : Create or update request: `"ProviderDetails": { "authorize_scopes":
3742
3742
  # "profile postal_code", "client_id":
3743
3743
  # "amzn1.application-oa2-client.1example23456789", "client_secret":
3744
3744
  # "provider-app-client-secret"`
3745
3745
  #
3746
- # Describe response: `"ProviderDetails": \{ "attributes_url":
3746
+ # Describe response: `"ProviderDetails": { "attributes_url":
3747
3747
  # "https://api.amazon.com/user/profile",
3748
3748
  # "attributes_url_add_attributes": "false", "authorize_scopes":
3749
3749
  # "profile postal_code", "authorize_url":
3750
3750
  # "https://www.amazon.com/ap/oa", "client_id":
3751
3751
  # "amzn1.application-oa2-client.1example23456789", "client_secret":
3752
3752
  # "provider-app-client-secret", "token_request_method": "POST",
3753
- # "token_url": "https://api.amazon.com/auth/o2/token" \}`
3753
+ # "token_url": "https://api.amazon.com/auth/o2/token" }`
3754
3754
  #
3755
3755
  # Google
3756
3756
  #
3757
- # : Create or update request: `"ProviderDetails": \{ "authorize_scopes":
3757
+ # : Create or update request: `"ProviderDetails": { "authorize_scopes":
3758
3758
  # "email profile openid", "client_id":
3759
3759
  # "1example23456789.apps.googleusercontent.com", "client_secret":
3760
- # "provider-app-client-secret" \}`
3760
+ # "provider-app-client-secret" }`
3761
3761
  #
3762
- # Describe response: `"ProviderDetails": \{ "attributes_url":
3762
+ # Describe response: `"ProviderDetails": { "attributes_url":
3763
3763
  # "https://people.googleapis.com/v1/people/me?personFields=",
3764
3764
  # "attributes_url_add_attributes": "true", "authorize_scopes": "email
3765
3765
  # profile openid", "authorize_url":
@@ -3767,37 +3767,36 @@ module Aws::CognitoIdentityProvider
3767
3767
  # "1example23456789.apps.googleusercontent.com", "client_secret":
3768
3768
  # "provider-app-client-secret", "oidc_issuer":
3769
3769
  # "https://accounts.google.com", "token_request_method": "POST",
3770
- # "token_url": "https://www.googleapis.com/oauth2/v4/token" \}`
3770
+ # "token_url": "https://www.googleapis.com/oauth2/v4/token" }`
3771
3771
  #
3772
3772
  # SignInWithApple
3773
3773
  #
3774
- # : Create or update request: `"ProviderDetails": \{ "authorize_scopes":
3774
+ # : Create or update request: `"ProviderDetails": { "authorize_scopes":
3775
3775
  # "email name", "client_id": "com.example.cognito", "private_key":
3776
- # "1EXAMPLE", "key_id": "2EXAMPLE", "team_id": "3EXAMPLE" \}`
3776
+ # "1EXAMPLE", "key_id": "2EXAMPLE", "team_id": "3EXAMPLE" }`
3777
3777
  #
3778
- # Describe response: `"ProviderDetails": \{
3778
+ # Describe response: `"ProviderDetails": {
3779
3779
  # "attributes_url_add_attributes": "false", "authorize_scopes": "email
3780
3780
  # name", "authorize_url": "https://appleid.apple.com/auth/authorize",
3781
3781
  # "client_id": "com.example.cognito", "key_id": "1EXAMPLE",
3782
3782
  # "oidc_issuer": "https://appleid.apple.com", "team_id": "2EXAMPLE",
3783
3783
  # "token_request_method": "POST", "token_url":
3784
- # "https://appleid.apple.com/auth/token" \}`
3784
+ # "https://appleid.apple.com/auth/token" }`
3785
3785
  #
3786
3786
  # Facebook
3787
3787
  #
3788
- # : Create or update request: `"ProviderDetails": \{ "api_version":
3788
+ # : Create or update request: `"ProviderDetails": { "api_version":
3789
3789
  # "v17.0", "authorize_scopes": "public_profile, email", "client_id":
3790
- # "1example23456789", "client_secret": "provider-app-client-secret"
3791
- # \}`
3790
+ # "1example23456789", "client_secret": "provider-app-client-secret" }`
3792
3791
  #
3793
- # Describe response: `"ProviderDetails": \{ "api_version": "v17.0",
3792
+ # Describe response: `"ProviderDetails": { "api_version": "v17.0",
3794
3793
  # "attributes_url": "https://graph.facebook.com/v17.0/me?fields=",
3795
3794
  # "attributes_url_add_attributes": "true", "authorize_scopes":
3796
3795
  # "public_profile, email", "authorize_url":
3797
3796
  # "https://www.facebook.com/v17.0/dialog/oauth", "client_id":
3798
3797
  # "1example23456789", "client_secret": "provider-app-client-secret",
3799
3798
  # "token_request_method": "GET", "token_url":
3800
- # "https://graph.facebook.com/v17.0/oauth/access_token" \}`
3799
+ # "https://graph.facebook.com/v17.0/oauth/access_token" }`
3801
3800
  #
3802
3801
  # @option params [Hash<String,String>] :attribute_mapping
3803
3802
  # A mapping of IdP attributes to standard and custom user pool
@@ -8303,13 +8302,13 @@ module Aws::CognitoIdentityProvider
8303
8302
  #
8304
8303
  # SMS\_MFA
8305
8304
  #
8306
- # : `"ChallengeName": "SMS_MFA", "ChallengeResponses": \{"SMS_MFA_CODE":
8307
- # "[code]", "USERNAME": "[username]"\}`
8305
+ # : `"ChallengeName": "SMS_MFA", "ChallengeResponses": {"SMS_MFA_CODE":
8306
+ # "[code]", "USERNAME": "[username]"}`
8308
8307
  #
8309
8308
  # EMAIL\_OTP
8310
8309
  #
8311
8310
  # : `"ChallengeName": "EMAIL_OTP", "ChallengeResponses":
8312
- # \{"EMAIL_OTP_CODE": "[code]", "USERNAME": "[username]"\}`
8311
+ # {"EMAIL_OTP_CODE": "[code]", "USERNAME": "[username]"}`
8313
8312
  #
8314
8313
  # PASSWORD\_VERIFIER
8315
8314
  #
@@ -8319,23 +8318,23 @@ module Aws::CognitoIdentityProvider
8319
8318
  # pool returns a `NotAuthorizedException` error.
8320
8319
  #
8321
8320
  # `"ChallengeName": "PASSWORD_VERIFIER", "ChallengeResponses":
8322
- # \{"PASSWORD_CLAIM_SIGNATURE": "[claim_signature]",
8321
+ # {"PASSWORD_CLAIM_SIGNATURE": "[claim_signature]",
8323
8322
  # "PASSWORD_CLAIM_SECRET_BLOCK": "[secret_block]", "TIMESTAMP":
8324
- # [timestamp], "USERNAME": "[username]"\}`
8323
+ # [timestamp], "USERNAME": "[username]"}`
8325
8324
  #
8326
8325
  # Add `"DEVICE_KEY"` when you sign in with a remembered device.
8327
8326
  #
8328
8327
  # CUSTOM\_CHALLENGE
8329
8328
  #
8330
8329
  # : `"ChallengeName": "CUSTOM_CHALLENGE", "ChallengeResponses":
8331
- # \{"USERNAME": "[username]", "ANSWER": "[challenge_answer]"\}`
8330
+ # {"USERNAME": "[username]", "ANSWER": "[challenge_answer]"}`
8332
8331
  #
8333
8332
  # Add `"DEVICE_KEY"` when you sign in with a remembered device.
8334
8333
  #
8335
8334
  # NEW\_PASSWORD\_REQUIRED
8336
8335
  #
8337
8336
  # : `"ChallengeName": "NEW_PASSWORD_REQUIRED", "ChallengeResponses":
8338
- # \{"NEW_PASSWORD": "[new_password]", "USERNAME": "[username]"\}`
8337
+ # {"NEW_PASSWORD": "[new_password]", "USERNAME": "[username]"}`
8339
8338
  #
8340
8339
  # To set any required attributes that `InitiateAuth` returned in an
8341
8340
  # `requiredAttributes` parameter, add
@@ -8355,33 +8354,33 @@ module Aws::CognitoIdentityProvider
8355
8354
  # SOFTWARE\_TOKEN\_MFA
8356
8355
  #
8357
8356
  # : `"ChallengeName": "SOFTWARE_TOKEN_MFA", "ChallengeResponses":
8358
- # \{"USERNAME": "[username]", "SOFTWARE_TOKEN_MFA_CODE":
8359
- # [authenticator_code]\}`
8357
+ # {"USERNAME": "[username]", "SOFTWARE_TOKEN_MFA_CODE":
8358
+ # [authenticator_code]}`
8360
8359
  #
8361
8360
  # DEVICE\_SRP\_AUTH
8362
8361
  #
8363
8362
  # : `"ChallengeName": "DEVICE_SRP_AUTH", "ChallengeResponses":
8364
- # \{"USERNAME": "[username]", "DEVICE_KEY": "[device_key]", "SRP_A":
8365
- # "[srp_a]"\}`
8363
+ # {"USERNAME": "[username]", "DEVICE_KEY": "[device_key]", "SRP_A":
8364
+ # "[srp_a]"}`
8366
8365
  #
8367
8366
  # DEVICE\_PASSWORD\_VERIFIER
8368
8367
  #
8369
8368
  # : `"ChallengeName": "DEVICE_PASSWORD_VERIFIER", "ChallengeResponses":
8370
- # \{"DEVICE_KEY": "[device_key]", "PASSWORD_CLAIM_SIGNATURE":
8369
+ # {"DEVICE_KEY": "[device_key]", "PASSWORD_CLAIM_SIGNATURE":
8371
8370
  # "[claim_signature]", "PASSWORD_CLAIM_SECRET_BLOCK":
8372
8371
  # "[secret_block]", "TIMESTAMP": [timestamp], "USERNAME":
8373
- # "[username]"\}`
8372
+ # "[username]"}`
8374
8373
  #
8375
8374
  # MFA\_SETUP
8376
8375
  #
8377
- # : `"ChallengeName": "MFA_SETUP", "ChallengeResponses": \{"USERNAME":
8378
- # "[username]"\}, "SESSION": "[Session ID from VerifySoftwareToken]"`
8376
+ # : `"ChallengeName": "MFA_SETUP", "ChallengeResponses": {"USERNAME":
8377
+ # "[username]"}, "SESSION": "[Session ID from VerifySoftwareToken]"`
8379
8378
  #
8380
8379
  # SELECT\_MFA\_TYPE
8381
8380
  #
8382
8381
  # : `"ChallengeName": "SELECT_MFA_TYPE", "ChallengeResponses":
8383
- # \{"USERNAME": "[username]", "ANSWER": "[SMS_MFA or
8384
- # SOFTWARE_TOKEN_MFA]"\}`
8382
+ # {"USERNAME": "[username]", "ANSWER": "[SMS_MFA or
8383
+ # SOFTWARE_TOKEN_MFA]"}`
8385
8384
  #
8386
8385
  # For more information about `SECRET_HASH`, see [Computing secret hash
8387
8386
  # values][1]. For information about `DEVICE_KEY`, see [Working with user
@@ -9600,7 +9599,7 @@ module Aws::CognitoIdentityProvider
9600
9599
  # discover endpoint URLs from `oidc_issuer`: `attributes_url`,
9601
9600
  # `authorize_url`, `jwks_uri`, `token_url`.
9602
9601
  #
9603
- # Create or update request: `"ProviderDetails": \{
9602
+ # Create or update request: `"ProviderDetails": {
9604
9603
  # "attributes_request_method": "GET", "attributes_url":
9605
9604
  # "https://auth.example.com/userInfo", "authorize_scopes": "openid
9606
9605
  # profile email", "authorize_url":
@@ -9608,9 +9607,9 @@ module Aws::CognitoIdentityProvider
9608
9607
  # "1example23456789", "client_secret": "provider-app-client-secret",
9609
9608
  # "jwks_uri": "https://auth.example.com/.well-known/jwks.json",
9610
9609
  # "oidc_issuer": "https://auth.example.com", "token_url":
9611
- # "https://example.com/token" \}`
9610
+ # "https://example.com/token" }`
9612
9611
  #
9613
- # Describe response: `"ProviderDetails": \{
9612
+ # Describe response: `"ProviderDetails": {
9614
9613
  # "attributes_request_method": "GET", "attributes_url":
9615
9614
  # "https://auth.example.com/userInfo",
9616
9615
  # "attributes_url_add_attributes": "false", "authorize_scopes":
@@ -9619,55 +9618,55 @@ module Aws::CognitoIdentityProvider
9619
9618
  # "1example23456789", "client_secret": "provider-app-client-secret",
9620
9619
  # "jwks_uri": "https://auth.example.com/.well-known/jwks.json",
9621
9620
  # "oidc_issuer": "https://auth.example.com", "token_url":
9622
- # "https://example.com/token" \}`
9621
+ # "https://example.com/token" }`
9623
9622
  #
9624
9623
  # SAML
9625
9624
  #
9626
- # : Create or update request with Metadata URL: `"ProviderDetails": \{
9625
+ # : Create or update request with Metadata URL: `"ProviderDetails": {
9627
9626
  # "IDPInit": "true", "IDPSignout": "true", "EncryptedResponses" :
9628
9627
  # "true", "MetadataURL": "https://auth.example.com/sso/saml/metadata",
9629
- # "RequestSigningAlgorithm": "rsa-sha256" \}`
9628
+ # "RequestSigningAlgorithm": "rsa-sha256" }`
9630
9629
  #
9631
- # Create or update request with Metadata file: `"ProviderDetails": \{
9630
+ # Create or update request with Metadata file: `"ProviderDetails": {
9632
9631
  # "IDPInit": "true", "IDPSignout": "true", "EncryptedResponses" :
9633
9632
  # "true", "MetadataFile": "[metadata XML]", "RequestSigningAlgorithm":
9634
- # "rsa-sha256" \}`
9633
+ # "rsa-sha256" }`
9635
9634
  #
9636
9635
  # The value of `MetadataFile` must be the plaintext metadata document
9637
9636
  # with all quote (") characters escaped by backslashes.
9638
9637
  #
9639
- # Describe response: `"ProviderDetails": \{ "IDPInit": "true",
9638
+ # Describe response: `"ProviderDetails": { "IDPInit": "true",
9640
9639
  # "IDPSignout": "true", "EncryptedResponses" : "true",
9641
9640
  # "ActiveEncryptionCertificate": "[certificate]", "MetadataURL":
9642
9641
  # "https://auth.example.com/sso/saml/metadata",
9643
9642
  # "RequestSigningAlgorithm": "rsa-sha256", "SLORedirectBindingURI":
9644
9643
  # "https://auth.example.com/slo/saml", "SSORedirectBindingURI":
9645
- # "https://auth.example.com/sso/saml" \}`
9644
+ # "https://auth.example.com/sso/saml" }`
9646
9645
  #
9647
9646
  # LoginWithAmazon
9648
9647
  #
9649
- # : Create or update request: `"ProviderDetails": \{ "authorize_scopes":
9648
+ # : Create or update request: `"ProviderDetails": { "authorize_scopes":
9650
9649
  # "profile postal_code", "client_id":
9651
9650
  # "amzn1.application-oa2-client.1example23456789", "client_secret":
9652
9651
  # "provider-app-client-secret"`
9653
9652
  #
9654
- # Describe response: `"ProviderDetails": \{ "attributes_url":
9653
+ # Describe response: `"ProviderDetails": { "attributes_url":
9655
9654
  # "https://api.amazon.com/user/profile",
9656
9655
  # "attributes_url_add_attributes": "false", "authorize_scopes":
9657
9656
  # "profile postal_code", "authorize_url":
9658
9657
  # "https://www.amazon.com/ap/oa", "client_id":
9659
9658
  # "amzn1.application-oa2-client.1example23456789", "client_secret":
9660
9659
  # "provider-app-client-secret", "token_request_method": "POST",
9661
- # "token_url": "https://api.amazon.com/auth/o2/token" \}`
9660
+ # "token_url": "https://api.amazon.com/auth/o2/token" }`
9662
9661
  #
9663
9662
  # Google
9664
9663
  #
9665
- # : Create or update request: `"ProviderDetails": \{ "authorize_scopes":
9664
+ # : Create or update request: `"ProviderDetails": { "authorize_scopes":
9666
9665
  # "email profile openid", "client_id":
9667
9666
  # "1example23456789.apps.googleusercontent.com", "client_secret":
9668
- # "provider-app-client-secret" \}`
9667
+ # "provider-app-client-secret" }`
9669
9668
  #
9670
- # Describe response: `"ProviderDetails": \{ "attributes_url":
9669
+ # Describe response: `"ProviderDetails": { "attributes_url":
9671
9670
  # "https://people.googleapis.com/v1/people/me?personFields=",
9672
9671
  # "attributes_url_add_attributes": "true", "authorize_scopes": "email
9673
9672
  # profile openid", "authorize_url":
@@ -9675,37 +9674,36 @@ module Aws::CognitoIdentityProvider
9675
9674
  # "1example23456789.apps.googleusercontent.com", "client_secret":
9676
9675
  # "provider-app-client-secret", "oidc_issuer":
9677
9676
  # "https://accounts.google.com", "token_request_method": "POST",
9678
- # "token_url": "https://www.googleapis.com/oauth2/v4/token" \}`
9677
+ # "token_url": "https://www.googleapis.com/oauth2/v4/token" }`
9679
9678
  #
9680
9679
  # SignInWithApple
9681
9680
  #
9682
- # : Create or update request: `"ProviderDetails": \{ "authorize_scopes":
9681
+ # : Create or update request: `"ProviderDetails": { "authorize_scopes":
9683
9682
  # "email name", "client_id": "com.example.cognito", "private_key":
9684
- # "1EXAMPLE", "key_id": "2EXAMPLE", "team_id": "3EXAMPLE" \}`
9683
+ # "1EXAMPLE", "key_id": "2EXAMPLE", "team_id": "3EXAMPLE" }`
9685
9684
  #
9686
- # Describe response: `"ProviderDetails": \{
9685
+ # Describe response: `"ProviderDetails": {
9687
9686
  # "attributes_url_add_attributes": "false", "authorize_scopes": "email
9688
9687
  # name", "authorize_url": "https://appleid.apple.com/auth/authorize",
9689
9688
  # "client_id": "com.example.cognito", "key_id": "1EXAMPLE",
9690
9689
  # "oidc_issuer": "https://appleid.apple.com", "team_id": "2EXAMPLE",
9691
9690
  # "token_request_method": "POST", "token_url":
9692
- # "https://appleid.apple.com/auth/token" \}`
9691
+ # "https://appleid.apple.com/auth/token" }`
9693
9692
  #
9694
9693
  # Facebook
9695
9694
  #
9696
- # : Create or update request: `"ProviderDetails": \{ "api_version":
9695
+ # : Create or update request: `"ProviderDetails": { "api_version":
9697
9696
  # "v17.0", "authorize_scopes": "public_profile, email", "client_id":
9698
- # "1example23456789", "client_secret": "provider-app-client-secret"
9699
- # \}`
9697
+ # "1example23456789", "client_secret": "provider-app-client-secret" }`
9700
9698
  #
9701
- # Describe response: `"ProviderDetails": \{ "api_version": "v17.0",
9699
+ # Describe response: `"ProviderDetails": { "api_version": "v17.0",
9702
9700
  # "attributes_url": "https://graph.facebook.com/v17.0/me?fields=",
9703
9701
  # "attributes_url_add_attributes": "true", "authorize_scopes":
9704
9702
  # "public_profile, email", "authorize_url":
9705
9703
  # "https://www.facebook.com/v17.0/dialog/oauth", "client_id":
9706
9704
  # "1example23456789", "client_secret": "provider-app-client-secret",
9707
9705
  # "token_request_method": "GET", "token_url":
9708
- # "https://graph.facebook.com/v17.0/oauth/access_token" \}`
9706
+ # "https://graph.facebook.com/v17.0/oauth/access_token" }`
9709
9707
  #
9710
9708
  # @option params [Hash<String,String>] :attribute_mapping
9711
9709
  # The IdP attribute mapping to be changed.
@@ -10937,7 +10935,7 @@ module Aws::CognitoIdentityProvider
10937
10935
  tracer: tracer
10938
10936
  )
10939
10937
  context[:gem_name] = 'aws-sdk-cognitoidentityprovider'
10940
- context[:gem_version] = '1.107.0'
10938
+ context[:gem_version] = '1.109.0'
10941
10939
  Seahorse::Client::Request.new(handlers, context)
10942
10940
  end
10943
10941
 
@@ -52,15 +52,18 @@ module Aws::CognitoIdentityProvider
52
52
  self[:region] = options[:region]
53
53
  self[:use_dual_stack] = options[:use_dual_stack]
54
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
- if self[:use_dual_stack].nil?
56
- raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
- end
58
55
  self[:use_fips] = options[:use_fips]
59
56
  self[:use_fips] = false if self[:use_fips].nil?
60
- if self[:use_fips].nil?
61
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
- end
63
57
  self[:endpoint] = options[:endpoint]
64
58
  end
59
+
60
+ def self.create(config, options={})
61
+ new({
62
+ region: config.region,
63
+ use_dual_stack: config.use_dualstack_endpoint,
64
+ use_fips: config.use_fips_endpoint,
65
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
66
+ }.merge(options))
67
+ end
65
68
  end
66
69
  end