AWS singlesignon documentation change
Summary
Added detailed examples section with sample user creation request/response
Security assessment
The change demonstrates user creation with various attributes but doesn't mention security controls, vulnerabilities, or protection mechanisms. It's a documentation improvement without security implications.
Diff
diff --git a/singlesignon/latest/IdentityStoreAPIReference/API_CreateUser.md b/singlesignon/latest/IdentityStoreAPIReference/API_CreateUser.md index f2048dad5..ac27f26f1 100644 --- a//singlesignon/latest/IdentityStoreAPIReference/API_CreateUser.md +++ b//singlesignon/latest/IdentityStoreAPIReference/API_CreateUser.md @@ -5 +5 @@ -Request SyntaxRequest ParametersResponse SyntaxResponse ElementsErrorsSee Also +Request SyntaxRequest ParametersResponse SyntaxResponse ElementsErrorsExamplesSee Also @@ -9,2 +8,0 @@ Request SyntaxRequest ParametersResponse SyntaxResponse ElementsErrorsSee Also -Creates a user within the specified identity store. - @@ -334,0 +333,64 @@ HTTP Status Code: 400 +## Examples + +### Example + +This example creates a new user in the specified identity store. + +#### Sample Request + + + { + "IdentityStoreId": "d-1234567890", + "UserName": "johndoe", + "Name": { + "Formatted": "John Steve Doe", + "FamilyName": "Doe", + "GivenName": "John", + "MiddleName": "Steve", + "HonorificPrefix": "Mr", + "HonorificSuffix": "Jr" + }, + "DisplayName": "John Doe", + "NickName": "Johny", + "ProfileUrl": "www.amazondomains.com", + "Emails": [ + { + "Value": "[email protected]", + "Type": "work", + "Primary": true + } + ], + "Addresses": [ + { + "StreetAddress": "100 Universal City Plaza", + "Locality": "Any Town", + "Region": "WA", + "PostalCode": "12345", + "Country": "USA", + "Formatted": "100 Universal City Plaza Any Town USA", + "Type": "home", + "Primary": true + } + ], + "PhoneNumbers": [ + { + "Value": "832-555-0100", + "Type": "work", + "Primary": true + } + ], + "UserType": "temp", + "Title": "Contractor", + "PreferredLanguage": "en-us", + "Locale": "NA", + "Timezone": "pdt" + } + +#### Sample Response + + + { + "UserId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", + "IdentityStoreId": "d-1234567890" + } +