aws-sdk-cognitoidentityprovider 1.141.0 → 1.142.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5dccc661f68c30db85ba338710c4bdbc7bfb5f9061c3b0d01ee9793d84798969
4
- data.tar.gz: 04c4698ea1b5db138560b23600e447e7c2f371601d8c687bd5f19dfbac5a9a92
3
+ metadata.gz: d9b1a928c12b772fbeeacfa10f699cd7d9a9aa8be250008464c4ad18ad8d6959
4
+ data.tar.gz: ec2183f072f0068221abdc4c5f166abff6f4c9f35caeb93370bfa25292fa6eec
5
5
  SHA512:
6
- metadata.gz: a7b92356db9a29c5fe3406a1d5f8b3640b7f7960fc4baee9c5aad489c88e1afa40b8fb6ae8c2d4a6dd8725daccf7590357f9516a27db7d38e6c30a403c8a9b16
7
- data.tar.gz: d46115aa0f9c1071e4c3336d2e23130659a37f24ac1fdf185b6194355391b2cc24ab7c83ea5da425881f801ab86ec312ee12227981e34077d97bc10c0fff8e3c
6
+ metadata.gz: cb3839d04da6dfaf6cfd6f42e0081c0d90e8b6562fa825ba573547a9ea9c4f52ce5acd11f043a0ef53e7e8fac2c68ecb62a71d6f60c3227455e39b451e858d07
7
+ data.tar.gz: a73898bf37ce7f637329423537a5c97910c13ee19e584f968a9d7ae6780bc29f591c0d558ee7391ca4c00e8ea98fa0f2bc81c7ee55f880650d4c387b7c0ffd78
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.142.0 (2026-05-19)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.141.0 (2026-05-13)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.141.0
1
+ 1.142.0
@@ -13668,7 +13668,7 @@ module Aws::CognitoIdentityProvider
13668
13668
  tracer: tracer
13669
13669
  )
13670
13670
  context[:gem_name] = 'aws-sdk-cognitoidentityprovider'
13671
- context[:gem_version] = '1.141.0'
13671
+ context[:gem_version] = '1.142.0'
13672
13672
  Seahorse::Client::Request.new(handlers, context)
13673
13673
  end
13674
13674
 
@@ -54,7 +54,7 @@ module Aws::CognitoIdentityProvider
54
54
  autoload :EndpointProvider, 'aws-sdk-cognitoidentityprovider/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-cognitoidentityprovider/endpoints'
56
56
 
57
- GEM_VERSION = '1.141.0'
57
+ GEM_VERSION = '1.142.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -86,21 +86,7 @@ module Aws
86
86
  def add_custom_attributes: (
87
87
  user_pool_id: ::String,
88
88
  custom_attributes: Array[
89
- {
90
- name: ::String?,
91
- attribute_data_type: ("String" | "Number" | "DateTime" | "Boolean")?,
92
- developer_only_attribute: bool?,
93
- mutable: bool?,
94
- required: bool?,
95
- number_attribute_constraints: {
96
- min_value: ::String?,
97
- max_value: ::String?
98
- }?,
99
- string_attribute_constraints: {
100
- min_length: ::String?,
101
- max_length: ::String?
102
- }?
103
- },
89
+ Params::schema_attribute_type
104
90
  ]
105
91
  ) -> _AddCustomAttributesResponseSuccess
106
92
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddCustomAttributesResponseSuccess
@@ -148,13 +134,13 @@ module Aws
148
134
  {
149
135
  name: ::String,
150
136
  value: ::String?
151
- },
137
+ }
152
138
  ],
153
139
  ?validation_data: Array[
154
140
  {
155
141
  name: ::String,
156
142
  value: ::String?
157
- },
143
+ }
158
144
  ],
159
145
  ?temporary_password: ::String,
160
146
  ?force_alias_creation: bool,
@@ -273,18 +259,7 @@ module Aws
273
259
  ?analytics_metadata: {
274
260
  analytics_endpoint_id: ::String?
275
261
  },
276
- ?context_data: {
277
- ip_address: ::String,
278
- server_name: ::String,
279
- server_path: ::String,
280
- http_headers: Array[
281
- {
282
- header_name: ::String?,
283
- header_value: ::String?
284
- },
285
- ],
286
- encoded_data: ::String?
287
- },
262
+ ?context_data: Params::context_data_type,
288
263
  ?session: ::String
289
264
  ) -> _AdminInitiateAuthResponseSuccess
290
265
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AdminInitiateAuthResponseSuccess
@@ -386,18 +361,7 @@ module Aws
386
361
  ?analytics_metadata: {
387
362
  analytics_endpoint_id: ::String?
388
363
  },
389
- ?context_data: {
390
- ip_address: ::String,
391
- server_name: ::String,
392
- server_path: ::String,
393
- http_headers: Array[
394
- {
395
- header_name: ::String?,
396
- header_value: ::String?
397
- },
398
- ],
399
- encoded_data: ::String?
400
- },
364
+ ?context_data: Params::context_data_type,
401
365
  ?client_metadata: Hash[::String, ::String]
402
366
  ) -> _AdminRespondToAuthChallengeResponseSuccess
403
367
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AdminRespondToAuthChallengeResponseSuccess
@@ -450,7 +414,7 @@ module Aws
450
414
  {
451
415
  delivery_medium: ("SMS" | "EMAIL")?,
452
416
  attribute_name: ::String?
453
- },
417
+ }
454
418
  ]
455
419
  ) -> _AdminSetUserSettingsResponseSuccess
456
420
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AdminSetUserSettingsResponseSuccess
@@ -490,7 +454,7 @@ module Aws
490
454
  {
491
455
  name: ::String,
492
456
  value: ::String?
493
- },
457
+ }
494
458
  ],
495
459
  ?client_metadata: Hash[::String, ::String]
496
460
  ) -> _AdminUpdateUserAttributesResponseSuccess
@@ -647,7 +611,7 @@ module Aws
647
611
  extension: ("ICO" | "JPEG" | "PNG" | "SVG" | "WEBP"),
648
612
  bytes: ::String?,
649
613
  resource_id: ::String?
650
- },
614
+ }
651
615
  ]
652
616
  ) -> _CreateManagedLoginBrandingResponseSuccess
653
617
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateManagedLoginBrandingResponseSuccess
@@ -665,7 +629,7 @@ module Aws
665
629
  {
666
630
  scope_name: ::String,
667
631
  scope_description: ::String
668
- },
632
+ }
669
633
  ]
670
634
  ) -> _CreateResourceServerResponseSuccess
671
635
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateResourceServerResponseSuccess
@@ -704,64 +668,16 @@ module Aws
704
668
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoIdentityProvider/Client.html#create_user_pool-instance_method
705
669
  def create_user_pool: (
706
670
  pool_name: ::String,
707
- ?policies: {
708
- password_policy: {
709
- minimum_length: ::Integer?,
710
- require_uppercase: bool?,
711
- require_lowercase: bool?,
712
- require_numbers: bool?,
713
- require_symbols: bool?,
714
- password_history_size: ::Integer?,
715
- temporary_password_validity_days: ::Integer?
716
- }?,
717
- sign_in_policy: {
718
- allowed_first_auth_factors: Array[("PASSWORD" | "EMAIL_OTP" | "SMS_OTP" | "WEB_AUTHN")]?
719
- }?
720
- },
671
+ ?policies: Params::user_pool_policy_type,
721
672
  ?deletion_protection: ("ACTIVE" | "INACTIVE"),
722
- ?lambda_config: {
723
- pre_sign_up: ::String?,
724
- custom_message: ::String?,
725
- post_confirmation: ::String?,
726
- pre_authentication: ::String?,
727
- post_authentication: ::String?,
728
- define_auth_challenge: ::String?,
729
- create_auth_challenge: ::String?,
730
- verify_auth_challenge_response: ::String?,
731
- pre_token_generation: ::String?,
732
- user_migration: ::String?,
733
- pre_token_generation_config: {
734
- lambda_version: ("V1_0" | "V2_0" | "V3_0"),
735
- lambda_arn: ::String
736
- }?,
737
- custom_sms_sender: {
738
- lambda_version: ("V1_0"),
739
- lambda_arn: ::String
740
- }?,
741
- custom_email_sender: {
742
- lambda_version: ("V1_0"),
743
- lambda_arn: ::String
744
- }?,
745
- kms_key_id: ::String?,
746
- inbound_federation: {
747
- lambda_version: ("V1_0"),
748
- lambda_arn: ::String
749
- }?
750
- },
673
+ ?lambda_config: Params::lambda_config_type,
751
674
  ?auto_verified_attributes: Array[("phone_number" | "email")],
752
675
  ?alias_attributes: Array[("phone_number" | "email" | "preferred_username")],
753
676
  ?username_attributes: Array[("phone_number" | "email")],
754
677
  ?sms_verification_message: ::String,
755
678
  ?email_verification_message: ::String,
756
679
  ?email_verification_subject: ::String,
757
- ?verification_message_template: {
758
- sms_message: ::String?,
759
- email_message: ::String?,
760
- email_subject: ::String?,
761
- email_message_by_link: ::String?,
762
- email_subject_by_link: ::String?,
763
- default_email_option: ("CONFIRM_WITH_LINK" | "CONFIRM_WITH_CODE")?
764
- },
680
+ ?verification_message_template: Params::verification_message_template_type,
765
681
  ?sms_authentication_message: ::String,
766
682
  ?mfa_configuration: ("OFF" | "ON" | "OPTIONAL"),
767
683
  ?user_attribute_update_settings: {
@@ -784,31 +700,9 @@ module Aws
784
700
  sns_region: ::String?
785
701
  },
786
702
  ?user_pool_tags: Hash[::String, ::String],
787
- ?admin_create_user_config: {
788
- allow_admin_create_user_only: bool?,
789
- unused_account_validity_days: ::Integer?,
790
- invite_message_template: {
791
- sms_message: ::String?,
792
- email_message: ::String?,
793
- email_subject: ::String?
794
- }?
795
- },
703
+ ?admin_create_user_config: Params::admin_create_user_config_type,
796
704
  ?schema: Array[
797
- {
798
- name: ::String?,
799
- attribute_data_type: ("String" | "Number" | "DateTime" | "Boolean")?,
800
- developer_only_attribute: bool?,
801
- mutable: bool?,
802
- required: bool?,
803
- number_attribute_constraints: {
804
- min_value: ::String?,
805
- max_value: ::String?
806
- }?,
807
- string_attribute_constraints: {
808
- min_length: ::String?,
809
- max_length: ::String?
810
- }?
811
- },
705
+ Params::schema_attribute_type
812
706
  ],
813
707
  ?user_pool_add_ons: {
814
708
  advanced_security_mode: ("OFF" | "AUDIT" | "ENFORCED"),
@@ -824,7 +718,7 @@ module Aws
824
718
  {
825
719
  priority: ::Integer,
826
720
  name: ("verified_email" | "verified_phone_number" | "admin_only")
827
- },
721
+ }
828
722
  ]?
829
723
  },
830
724
  ?user_pool_tier: ("LITE" | "ESSENTIALS" | "PLUS")
@@ -1544,7 +1438,7 @@ module Aws
1544
1438
  firehose_configuration: {
1545
1439
  stream_arn: ::String?
1546
1440
  }?
1547
- },
1441
+ }
1548
1442
  ]
1549
1443
  ) -> _SetLogDeliveryConfigurationResponseSuccess
1550
1444
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SetLogDeliveryConfigurationResponseSuccess
@@ -1688,7 +1582,7 @@ module Aws
1688
1582
  {
1689
1583
  delivery_medium: ("SMS" | "EMAIL")?,
1690
1584
  attribute_name: ::String?
1691
- },
1585
+ }
1692
1586
  ]
1693
1587
  ) -> _SetUserSettingsResponseSuccess
1694
1588
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SetUserSettingsResponseSuccess
@@ -1710,13 +1604,13 @@ module Aws
1710
1604
  {
1711
1605
  name: ::String,
1712
1606
  value: ::String?
1713
- },
1607
+ }
1714
1608
  ],
1715
1609
  ?validation_data: Array[
1716
1610
  {
1717
1611
  name: ::String,
1718
1612
  value: ::String?
1719
- },
1613
+ }
1720
1614
  ],
1721
1615
  ?analytics_metadata: {
1722
1616
  analytics_endpoint_id: ::String?
@@ -1851,7 +1745,7 @@ module Aws
1851
1745
  extension: ("ICO" | "JPEG" | "PNG" | "SVG" | "WEBP"),
1852
1746
  bytes: ::String?,
1853
1747
  resource_id: ::String?
1854
- },
1748
+ }
1855
1749
  ]
1856
1750
  ) -> _UpdateManagedLoginBrandingResponseSuccess
1857
1751
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateManagedLoginBrandingResponseSuccess
@@ -1869,7 +1763,7 @@ module Aws
1869
1763
  {
1870
1764
  scope_name: ::String,
1871
1765
  scope_description: ::String
1872
- },
1766
+ }
1873
1767
  ]
1874
1768
  ) -> _UpdateResourceServerResponseSuccess
1875
1769
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateResourceServerResponseSuccess
@@ -1899,7 +1793,7 @@ module Aws
1899
1793
  {
1900
1794
  name: ::String,
1901
1795
  value: ::String?
1902
- },
1796
+ }
1903
1797
  ],
1904
1798
  access_token: ::String,
1905
1799
  ?client_metadata: Hash[::String, ::String]
@@ -1912,62 +1806,14 @@ module Aws
1912
1806
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoIdentityProvider/Client.html#update_user_pool-instance_method
1913
1807
  def update_user_pool: (
1914
1808
  user_pool_id: ::String,
1915
- ?policies: {
1916
- password_policy: {
1917
- minimum_length: ::Integer?,
1918
- require_uppercase: bool?,
1919
- require_lowercase: bool?,
1920
- require_numbers: bool?,
1921
- require_symbols: bool?,
1922
- password_history_size: ::Integer?,
1923
- temporary_password_validity_days: ::Integer?
1924
- }?,
1925
- sign_in_policy: {
1926
- allowed_first_auth_factors: Array[("PASSWORD" | "EMAIL_OTP" | "SMS_OTP" | "WEB_AUTHN")]?
1927
- }?
1928
- },
1809
+ ?policies: Params::user_pool_policy_type,
1929
1810
  ?deletion_protection: ("ACTIVE" | "INACTIVE"),
1930
- ?lambda_config: {
1931
- pre_sign_up: ::String?,
1932
- custom_message: ::String?,
1933
- post_confirmation: ::String?,
1934
- pre_authentication: ::String?,
1935
- post_authentication: ::String?,
1936
- define_auth_challenge: ::String?,
1937
- create_auth_challenge: ::String?,
1938
- verify_auth_challenge_response: ::String?,
1939
- pre_token_generation: ::String?,
1940
- user_migration: ::String?,
1941
- pre_token_generation_config: {
1942
- lambda_version: ("V1_0" | "V2_0" | "V3_0"),
1943
- lambda_arn: ::String
1944
- }?,
1945
- custom_sms_sender: {
1946
- lambda_version: ("V1_0"),
1947
- lambda_arn: ::String
1948
- }?,
1949
- custom_email_sender: {
1950
- lambda_version: ("V1_0"),
1951
- lambda_arn: ::String
1952
- }?,
1953
- kms_key_id: ::String?,
1954
- inbound_federation: {
1955
- lambda_version: ("V1_0"),
1956
- lambda_arn: ::String
1957
- }?
1958
- },
1811
+ ?lambda_config: Params::lambda_config_type,
1959
1812
  ?auto_verified_attributes: Array[("phone_number" | "email")],
1960
1813
  ?sms_verification_message: ::String,
1961
1814
  ?email_verification_message: ::String,
1962
1815
  ?email_verification_subject: ::String,
1963
- ?verification_message_template: {
1964
- sms_message: ::String?,
1965
- email_message: ::String?,
1966
- email_subject: ::String?,
1967
- email_message_by_link: ::String?,
1968
- email_subject_by_link: ::String?,
1969
- default_email_option: ("CONFIRM_WITH_LINK" | "CONFIRM_WITH_CODE")?
1970
- },
1816
+ ?verification_message_template: Params::verification_message_template_type,
1971
1817
  ?sms_authentication_message: ::String,
1972
1818
  ?user_attribute_update_settings: {
1973
1819
  attributes_require_verification_before_update: Array[("phone_number" | "email")]?
@@ -1990,15 +1836,7 @@ module Aws
1990
1836
  sns_region: ::String?
1991
1837
  },
1992
1838
  ?user_pool_tags: Hash[::String, ::String],
1993
- ?admin_create_user_config: {
1994
- allow_admin_create_user_only: bool?,
1995
- unused_account_validity_days: ::Integer?,
1996
- invite_message_template: {
1997
- sms_message: ::String?,
1998
- email_message: ::String?,
1999
- email_subject: ::String?
2000
- }?
2001
- },
1839
+ ?admin_create_user_config: Params::admin_create_user_config_type,
2002
1840
  ?user_pool_add_ons: {
2003
1841
  advanced_security_mode: ("OFF" | "AUDIT" | "ENFORCED"),
2004
1842
  advanced_security_additional_flows: {
@@ -2010,7 +1848,7 @@ module Aws
2010
1848
  {
2011
1849
  priority: ::Integer,
2012
1850
  name: ("verified_email" | "verified_phone_number" | "admin_only")
2013
- },
1851
+ }
2014
1852
  ]?
2015
1853
  },
2016
1854
  ?pool_name: ::String,
data/sig/params.rbs ADDED
@@ -0,0 +1,108 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CognitoIdentityProvider
10
+ module Params
11
+ type schema_attribute_type = {
12
+ name: ::String?,
13
+ attribute_data_type: ("String" | "Number" | "DateTime" | "Boolean")?,
14
+ developer_only_attribute: bool?,
15
+ mutable: bool?,
16
+ required: bool?,
17
+ number_attribute_constraints: {
18
+ min_value: ::String?,
19
+ max_value: ::String?
20
+ }?,
21
+ string_attribute_constraints: {
22
+ min_length: ::String?,
23
+ max_length: ::String?
24
+ }?
25
+ }
26
+
27
+ type context_data_type = {
28
+ ip_address: ::String,
29
+ server_name: ::String,
30
+ server_path: ::String,
31
+ http_headers: Array[
32
+ {
33
+ header_name: ::String?,
34
+ header_value: ::String?
35
+ }
36
+ ],
37
+ encoded_data: ::String?
38
+ }
39
+
40
+ type password_policy_type = {
41
+ minimum_length: ::Integer?,
42
+ require_uppercase: bool?,
43
+ require_lowercase: bool?,
44
+ require_numbers: bool?,
45
+ require_symbols: bool?,
46
+ password_history_size: ::Integer?,
47
+ temporary_password_validity_days: ::Integer?
48
+ }
49
+
50
+ type user_pool_policy_type = {
51
+ password_policy: Params::password_policy_type?,
52
+ sign_in_policy: {
53
+ allowed_first_auth_factors: Array[("PASSWORD" | "EMAIL_OTP" | "SMS_OTP" | "WEB_AUTHN")]?
54
+ }?
55
+ }
56
+
57
+ type lambda_config_type = {
58
+ pre_sign_up: ::String?,
59
+ custom_message: ::String?,
60
+ post_confirmation: ::String?,
61
+ pre_authentication: ::String?,
62
+ post_authentication: ::String?,
63
+ define_auth_challenge: ::String?,
64
+ create_auth_challenge: ::String?,
65
+ verify_auth_challenge_response: ::String?,
66
+ pre_token_generation: ::String?,
67
+ user_migration: ::String?,
68
+ pre_token_generation_config: {
69
+ lambda_version: ("V1_0" | "V2_0" | "V3_0"),
70
+ lambda_arn: ::String
71
+ }?,
72
+ custom_sms_sender: {
73
+ lambda_version: ("V1_0"),
74
+ lambda_arn: ::String
75
+ }?,
76
+ custom_email_sender: {
77
+ lambda_version: ("V1_0"),
78
+ lambda_arn: ::String
79
+ }?,
80
+ kms_key_id: ::String?,
81
+ inbound_federation: {
82
+ lambda_version: ("V1_0"),
83
+ lambda_arn: ::String
84
+ }?
85
+ }
86
+
87
+ type verification_message_template_type = {
88
+ sms_message: ::String?,
89
+ email_message: ::String?,
90
+ email_subject: ::String?,
91
+ email_message_by_link: ::String?,
92
+ email_subject_by_link: ::String?,
93
+ default_email_option: ("CONFIRM_WITH_LINK" | "CONFIRM_WITH_CODE")?
94
+ }
95
+
96
+ type admin_create_user_config_type = {
97
+ allow_admin_create_user_only: bool?,
98
+ unused_account_validity_days: ::Integer?,
99
+ invite_message_template: {
100
+ sms_message: ::String?,
101
+ email_message: ::String?,
102
+ email_subject: ::String?
103
+ }?
104
+ }
105
+
106
+ end
107
+ end
108
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cognitoidentityprovider
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.141.0
4
+ version: 1.142.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -67,6 +67,7 @@ files:
67
67
  - lib/aws-sdk-cognitoidentityprovider/types.rb
68
68
  - sig/client.rbs
69
69
  - sig/errors.rbs
70
+ - sig/params.rbs
70
71
  - sig/resource.rbs
71
72
  - sig/types.rbs
72
73
  - sig/waiters.rbs