Creates terms documents for the requested app client
Source:R/cognitoidentityprovider_operations.R
cognitoidentityprovider_create_terms.RdCreates terms documents for the requested app client. When Terms and conditions and Privacy policy documents are configured, the app client displays links to them in the sign-up page of managed login for the app client.
See https://www.paws-r-sdk.com/docs/cognitoidentityprovider_create_terms/ for full documentation.
Usage
cognitoidentityprovider_create_terms(
UserPoolId,
ClientId,
TermsName,
TermsSource,
Enforcement,
Links = NULL
)Arguments
- UserPoolId
[required] The ID of the user pool where you want to create terms documents.
- ClientId
[required] The ID of the app client where you want to create terms documents. Must be an app client in the requested user pool.
- TermsName
[required] A friendly name for the document that you want to create in the current request. Must begin with
terms-of-useorprivacy-policyas identification of the document type. Provide URLs for bothterms-of-useandprivacy-policyin separate requests.- TermsSource
[required] This parameter is reserved for future use and currently accepts only one value.
- Enforcement
[required] This parameter is reserved for future use and currently accepts only one value.
- Links
A map of URLs to languages. For each localized language that will view the requested
TermsName, assign a URL. A selection ofcognito:defaultdisplays 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".