aws-sdk-cognitoidentityprovider 1.127.0 → 1.128.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.
@@ -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.127.0'
57
+ GEM_VERSION = '1.128.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -655,6 +655,21 @@ module Aws
655
655
  ) -> _CreateResourceServerResponseSuccess
656
656
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateResourceServerResponseSuccess
657
657
 
658
+ interface _CreateTermsResponseSuccess
659
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateTermsResponse]
660
+ def terms: () -> Types::TermsType
661
+ end
662
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoIdentityProvider/Client.html#create_terms-instance_method
663
+ def create_terms: (
664
+ user_pool_id: ::String,
665
+ client_id: ::String,
666
+ terms_name: ::String,
667
+ terms_source: ("LINK"),
668
+ enforcement: ("NONE"),
669
+ ?links: Hash[::String, ::String]
670
+ ) -> _CreateTermsResponseSuccess
671
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTermsResponseSuccess
672
+
658
673
  interface _CreateUserImportJobResponseSuccess
659
674
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateUserImportJobResponse]
660
675
  def user_import_job: () -> Types::UserImportJobType
@@ -886,6 +901,13 @@ module Aws
886
901
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
887
902
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
888
903
 
904
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoIdentityProvider/Client.html#delete_terms-instance_method
905
+ def delete_terms: (
906
+ terms_id: ::String,
907
+ user_pool_id: ::String
908
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
909
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
910
+
889
911
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoIdentityProvider/Client.html#delete_user-instance_method
890
912
  def delete_user: (
891
913
  access_token: ::String
@@ -992,6 +1014,17 @@ module Aws
992
1014
  ) -> _DescribeRiskConfigurationResponseSuccess
993
1015
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeRiskConfigurationResponseSuccess
994
1016
 
1017
+ interface _DescribeTermsResponseSuccess
1018
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTermsResponse]
1019
+ def terms: () -> Types::TermsType
1020
+ end
1021
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoIdentityProvider/Client.html#describe_terms-instance_method
1022
+ def describe_terms: (
1023
+ terms_id: ::String,
1024
+ user_pool_id: ::String
1025
+ ) -> _DescribeTermsResponseSuccess
1026
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTermsResponseSuccess
1027
+
995
1028
  interface _DescribeUserImportJobResponseSuccess
996
1029
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeUserImportJobResponse]
997
1030
  def user_import_job: () -> Types::UserImportJobType
@@ -1299,6 +1332,19 @@ module Aws
1299
1332
  ) -> _ListTagsForResourceResponseSuccess
1300
1333
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
1301
1334
 
1335
+ interface _ListTermsResponseSuccess
1336
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTermsResponse]
1337
+ def terms: () -> ::Array[Types::TermsDescriptionType]
1338
+ def next_token: () -> ::String
1339
+ end
1340
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoIdentityProvider/Client.html#list_terms-instance_method
1341
+ def list_terms: (
1342
+ user_pool_id: ::String,
1343
+ ?max_results: ::Integer,
1344
+ ?next_token: ::String
1345
+ ) -> _ListTermsResponseSuccess
1346
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTermsResponseSuccess
1347
+
1302
1348
  interface _ListUserImportJobsResponseSuccess
1303
1349
  include ::Seahorse::Client::_ResponseSuccess[Types::ListUserImportJobsResponse]
1304
1350
  def user_import_jobs: () -> ::Array[Types::UserImportJobType]
@@ -1780,6 +1826,21 @@ module Aws
1780
1826
  ) -> _UpdateResourceServerResponseSuccess
1781
1827
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateResourceServerResponseSuccess
1782
1828
 
1829
+ interface _UpdateTermsResponseSuccess
1830
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTermsResponse]
1831
+ def terms: () -> Types::TermsType
1832
+ end
1833
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoIdentityProvider/Client.html#update_terms-instance_method
1834
+ def update_terms: (
1835
+ terms_id: ::String,
1836
+ user_pool_id: ::String,
1837
+ ?terms_name: ::String,
1838
+ ?terms_source: ("LINK"),
1839
+ ?enforcement: ("NONE"),
1840
+ ?links: Hash[::String, ::String]
1841
+ ) -> _UpdateTermsResponseSuccess
1842
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTermsResponseSuccess
1843
+
1783
1844
  interface _UpdateUserAttributesResponseSuccess
1784
1845
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateUserAttributesResponse]
1785
1846
  def code_delivery_details_list: () -> ::Array[Types::CodeDeliveryDetailsType]
data/sig/errors.rbs CHANGED
@@ -105,6 +105,9 @@ module Aws
105
105
  class SoftwareTokenMFANotFoundException < ::Aws::Errors::ServiceError
106
106
  def message: () -> ::String
107
107
  end
108
+ class TermsExistsException < ::Aws::Errors::ServiceError
109
+ def message: () -> ::String
110
+ end
108
111
  class TierChangeNotAllowedException < ::Aws::Errors::ServiceError
109
112
  def message: () -> ::String
110
113
  end
data/sig/types.rbs CHANGED
@@ -596,6 +596,21 @@ module Aws::CognitoIdentityProvider
596
596
  SENSITIVE: []
597
597
  end
598
598
 
599
+ class CreateTermsRequest
600
+ attr_accessor user_pool_id: ::String
601
+ attr_accessor client_id: ::String
602
+ attr_accessor terms_name: ::String
603
+ attr_accessor terms_source: ("LINK")
604
+ attr_accessor enforcement: ("NONE")
605
+ attr_accessor links: ::Hash[::String, ::String]
606
+ SENSITIVE: [:client_id]
607
+ end
608
+
609
+ class CreateTermsResponse
610
+ attr_accessor terms: Types::TermsType
611
+ SENSITIVE: []
612
+ end
613
+
599
614
  class CreateUserImportJobRequest
600
615
  attr_accessor job_name: ::String
601
616
  attr_accessor user_pool_id: ::String
@@ -728,6 +743,12 @@ module Aws::CognitoIdentityProvider
728
743
  SENSITIVE: []
729
744
  end
730
745
 
746
+ class DeleteTermsRequest
747
+ attr_accessor terms_id: ::String
748
+ attr_accessor user_pool_id: ::String
749
+ SENSITIVE: []
750
+ end
751
+
731
752
  class DeleteUserAttributesRequest
732
753
  attr_accessor user_attribute_names: ::Array[::String]
733
754
  attr_accessor access_token: ::String
@@ -828,6 +849,17 @@ module Aws::CognitoIdentityProvider
828
849
  SENSITIVE: []
829
850
  end
830
851
 
852
+ class DescribeTermsRequest
853
+ attr_accessor terms_id: ::String
854
+ attr_accessor user_pool_id: ::String
855
+ SENSITIVE: []
856
+ end
857
+
858
+ class DescribeTermsResponse
859
+ attr_accessor terms: Types::TermsType
860
+ SENSITIVE: []
861
+ end
862
+
831
863
  class DescribeUserImportJobRequest
832
864
  attr_accessor user_pool_id: ::String
833
865
  attr_accessor job_id: ::String
@@ -1339,6 +1371,19 @@ module Aws::CognitoIdentityProvider
1339
1371
  SENSITIVE: []
1340
1372
  end
1341
1373
 
1374
+ class ListTermsRequest
1375
+ attr_accessor user_pool_id: ::String
1376
+ attr_accessor max_results: ::Integer
1377
+ attr_accessor next_token: ::String
1378
+ SENSITIVE: []
1379
+ end
1380
+
1381
+ class ListTermsResponse
1382
+ attr_accessor terms: ::Array[Types::TermsDescriptionType]
1383
+ attr_accessor next_token: ::String
1384
+ SENSITIVE: []
1385
+ end
1386
+
1342
1387
  class ListUserImportJobsRequest
1343
1388
  attr_accessor user_pool_id: ::String
1344
1389
  attr_accessor max_results: ::Integer
@@ -1851,6 +1896,33 @@ module Aws::CognitoIdentityProvider
1851
1896
  class TagResourceResponse < Aws::EmptyStructure
1852
1897
  end
1853
1898
 
1899
+ class TermsDescriptionType
1900
+ attr_accessor terms_id: ::String
1901
+ attr_accessor terms_name: ::String
1902
+ attr_accessor enforcement: ("NONE")
1903
+ attr_accessor creation_date: ::Time
1904
+ attr_accessor last_modified_date: ::Time
1905
+ SENSITIVE: []
1906
+ end
1907
+
1908
+ class TermsExistsException
1909
+ attr_accessor message: ::String
1910
+ SENSITIVE: []
1911
+ end
1912
+
1913
+ class TermsType
1914
+ attr_accessor terms_id: ::String
1915
+ attr_accessor user_pool_id: ::String
1916
+ attr_accessor client_id: ::String
1917
+ attr_accessor terms_name: ::String
1918
+ attr_accessor terms_source: ("LINK")
1919
+ attr_accessor enforcement: ("NONE")
1920
+ attr_accessor links: ::Hash[::String, ::String]
1921
+ attr_accessor creation_date: ::Time
1922
+ attr_accessor last_modified_date: ::Time
1923
+ SENSITIVE: [:client_id]
1924
+ end
1925
+
1854
1926
  class TierChangeNotAllowedException
1855
1927
  attr_accessor message: ::String
1856
1928
  SENSITIVE: []
@@ -2000,6 +2072,21 @@ module Aws::CognitoIdentityProvider
2000
2072
  SENSITIVE: []
2001
2073
  end
2002
2074
 
2075
+ class UpdateTermsRequest
2076
+ attr_accessor terms_id: ::String
2077
+ attr_accessor user_pool_id: ::String
2078
+ attr_accessor terms_name: ::String
2079
+ attr_accessor terms_source: ("LINK")
2080
+ attr_accessor enforcement: ("NONE")
2081
+ attr_accessor links: ::Hash[::String, ::String]
2082
+ SENSITIVE: []
2083
+ end
2084
+
2085
+ class UpdateTermsResponse
2086
+ attr_accessor terms: Types::TermsType
2087
+ SENSITIVE: []
2088
+ end
2089
+
2003
2090
  class UpdateUserAttributesRequest
2004
2091
  attr_accessor user_attributes: ::Array[Types::AttributeType]
2005
2092
  attr_accessor access_token: ::String
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.127.0
4
+ version: 1.128.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services