CreateTermsRequest
¶
Source code in docs_src/capo_cognito_identity_provider/types/create_terms_request.py
client_id
instance-attribute
¶
client_id: ClientIdType
The ID of the app client where you want to create terms documents. Must be an app client in the requested user pool.
enforcement
instance-attribute
¶
enforcement: TermsEnforcementType
This parameter is reserved for future use and currently accepts only one value.
links
instance-attribute
¶
links: NotRequired[LinksType]
A map of URLs to languages. For each localized language that will view the requested TermsName, assign a URL. A selection of cognito:default displays for all languages that don't have a language-specific URL.
For example, "cognito:default": "https://terms.example.com", "cognito:spanish": "https://terms.example.com/es".
terms_name
instance-attribute
¶
terms_name: TermsNameType
A friendly name for the document that you want to create in the current request. Must begin with terms-of-use or privacy-policy as identification of the document type. Provide URLs for both terms-of-use and privacy-policy in separate requests.
terms_source
instance-attribute
¶
terms_source: TermsSourceType
This parameter is reserved for future use and currently accepts only one value.
user_pool_id
instance-attribute
¶
user_pool_id: UserPoolIdType
The ID of the user pool where you want to create terms documents.