

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# AWS SDK を使用した Amazon Cognito のコード例。
<a name="service_code_examples"></a>

次のコード例は、Amazon Cognito を AWS Software Development Kit (SDK) と使用する方法を示しています。

AWS SDK デベロッパーガイドとコード例の詳細なリストについては、「[AWS SDK でのこのサービスの使用](sdk-general-information-section.md)」を参照してください。このトピックには、使用開始方法に関する情報と、以前の SDK バージョンの詳細も含まれています。

**Contents**
+ [Amazon Cognito ID](service_code_examples_cognito-identity.md)
  + [基本](service_code_examples_cognito-identity_basics.md)
    + [アクション](service_code_examples_cognito-identity_actions.md)
      + [`CreateIdentityPool`](cognito-identity_example_cognito-identity_CreateIdentityPool_section.md)
      + [`DeleteIdentityPool`](cognito-identity_example_cognito-identity_DeleteIdentityPool_section.md)
      + [`DescribeIdentityPool`](cognito-identity_example_cognito-identity_DescribeIdentityPool_section.md)
      + [`GetCredentialsForIdentity`](cognito-identity_example_cognito-identity_GetCredentialsForIdentity_section.md)
      + [`GetIdentityPoolRoles`](cognito-identity_example_cognito-identity_GetIdentityPoolRoles_section.md)
      + [`ListIdentityPools`](cognito-identity_example_cognito-identity_ListIdentityPools_section.md)
      + [`SetIdentityPoolRoles`](cognito-identity_example_cognito-identity_SetIdentityPoolRoles_section.md)
      + [`UpdateIdentityPool`](cognito-identity_example_cognito-identity_UpdateIdentityPool_section.md)
  + [シナリオ](service_code_examples_cognito-identity_scenarios.md)
    + [Amazon Textract エクスプローラーアプリケーションを作成する](cognito-identity_example_cross_TextractExplorer_section.md)
+ [Amazon Cognito ID プロバイダー](service_code_examples_cognito-identity-provider.md)
  + [基本](service_code_examples_cognito-identity-provider_basics.md)
    + [Hello Amazon Cognito](cognito-identity-provider_example_cognito-identity-provider_Hello_section.md)
    + [アクション](service_code_examples_cognito-identity-provider_actions.md)
      + [`AdminCreateUser`](cognito-identity-provider_example_cognito-identity-provider_AdminCreateUser_section.md)
      + [`AdminGetUser`](cognito-identity-provider_example_cognito-identity-provider_AdminGetUser_section.md)
      + [`AdminInitiateAuth`](cognito-identity-provider_example_cognito-identity-provider_AdminInitiateAuth_section.md)
      + [`AdminRespondToAuthChallenge`](cognito-identity-provider_example_cognito-identity-provider_AdminRespondToAuthChallenge_section.md)
      + [`AdminSetUserPassword`](cognito-identity-provider_example_cognito-identity-provider_AdminSetUserPassword_section.md)
      + [`AssociateSoftwareToken`](cognito-identity-provider_example_cognito-identity-provider_AssociateSoftwareToken_section.md)
      + [`ConfirmDevice`](cognito-identity-provider_example_cognito-identity-provider_ConfirmDevice_section.md)
      + [`ConfirmForgotPassword`](cognito-identity-provider_example_cognito-identity-provider_ConfirmForgotPassword_section.md)
      + [`ConfirmSignUp`](cognito-identity-provider_example_cognito-identity-provider_ConfirmSignUp_section.md)
      + [`CreateUserPool`](cognito-identity-provider_example_cognito-identity-provider_CreateUserPool_section.md)
      + [`CreateUserPoolClient`](cognito-identity-provider_example_cognito-identity-provider_CreateUserPoolClient_section.md)
      + [`DeleteUser`](cognito-identity-provider_example_cognito-identity-provider_DeleteUser_section.md)
      + [`ForgotPassword`](cognito-identity-provider_example_cognito-identity-provider_ForgotPassword_section.md)
      + [`InitiateAuth`](cognito-identity-provider_example_cognito-identity-provider_InitiateAuth_section.md)
      + [`ListUserPools`](cognito-identity-provider_example_cognito-identity-provider_ListUserPools_section.md)
      + [`ListUsers`](cognito-identity-provider_example_cognito-identity-provider_ListUsers_section.md)
      + [`ResendConfirmationCode`](cognito-identity-provider_example_cognito-identity-provider_ResendConfirmationCode_section.md)
      + [`RespondToAuthChallenge`](cognito-identity-provider_example_cognito-identity-provider_RespondToAuthChallenge_section.md)
      + [`SignUp`](cognito-identity-provider_example_cognito-identity-provider_SignUp_section.md)
      + [`UpdateUserPool`](cognito-identity-provider_example_cognito-identity-provider_UpdateUserPool_section.md)
      + [`VerifySoftwareToken`](cognito-identity-provider_example_cognito-identity-provider_VerifySoftwareToken_section.md)
  + [シナリオ](service_code_examples_cognito-identity-provider_scenarios.md)
    + [Lambda 関数を使用して登録済みのユーザーを自動的に確認する](cognito-identity-provider_example_cross_CognitoAutoConfirmUser_section.md)
    + [Lambda 関数を使用して登録済みのユーザーを自動的に移行する](cognito-identity-provider_example_cross_CognitoAutoMigrateUser_section.md)
    + [Amazon Cognito ユーザープールの開始方法](cognito-identity-provider_example_cognito_identity_provider_GettingStarted_066_section.md)
    + [MFA を必要とするユーザープールでユーザーをサインアップする](cognito-identity-provider_example_cognito-identity-provider_Scenario_SignUpUserWithMfa_section.md)
    + [Amazon Cognito のアイデンティティプールを使用する](cognito-identity-provider_example_cross_CognitoFlows_section.md)
    + [Amazon Cognito ユーザー認証後に Lambda 関数を使用してカスタムアクティビティデータを書き込む](cognito-identity-provider_example_cross_CognitoCustomActivityLog_section.md)
+ [Amazon Cognito Sync](service_code_examples_cognito-sync.md)
  + [基本](service_code_examples_cognito-sync_basics.md)
    + [アクション](service_code_examples_cognito-sync_actions.md)
      + [`ListIdentityPoolUsage`](cognito-sync_example_cognito-sync_ListIdentityPoolUsage_section.md)