

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

# を設定する AWS SDK for Kotlin
<a name="configuration"></a>

このセクションでは、 を使用してサービスクライアントを設定する方法について説明します AWS SDK for Kotlin。詳細については、 [SDK およびツールリファレンスガイド](https://docs.aws.amazon.com/sdkref/latest/guide/overview.html)を参照してください。これには、すべての AWS SDKs に適用される設定の概要が含まれています。

**Contents**
+ [サービスクライアントを作成する](creating-clients.md)
  + [コードでクライアントを設定する](creating-clients.md#programmatic-config)
  + [環境からクライアントを設定する](creating-clients.md#loading-from-the-environment)
  + [クライアントを閉じる](creating-clients.md#closing-the-client)
+ [AWS リージョン 選択](region-selection.md)
  + [デフォルトのリージョンプロバイダーチェーン](region-selection.md#default-region-provider-chain)
+ [認証情報プロバイダー](credential-providers.md)
  + [デフォルトの認証情報プロバイダーチェーン](credential-providers.md#default-credential-provider-chain)
    + [デフォルトの認証情報プロバイダーチェーンについて説明します。](credential-providers.md#default-credentials-retrieval-order)
  + [認証情報プロバイダーを指定する](credential-providers.md#explicit-credential-provider)
    + [スタンドアロンプロバイダーで認証情報をキャッシュする](credential-providers.md#credentials-caching)
+ [クライアントエンドポイントを設定する](config-endpoint.md)
  + [カスタム設定](config-endpoint.md#config-endpoint-custom-config)
    + [`endpointUrl` を設定する](config-endpoint.md#config-endpoint-custom-config-endpointurl)
    + [`endpointProvider` を設定する](config-endpoint.md#config-endpoint-custom-config-endpointprovider)
      + [`EndpointProvider` のプロパティ](config-endpoint.md#config-endpoint-custom-config-endpointprovider-params)
    + [`endpointUrl`、または `endpointProvider`](config-endpoint.md#config-endpoint-custom-config-which)
    + [Amazon S3 に関する注意事項](config-endpoint.md#config-endpoint-custom-config-s3)
  + [例](config-endpoint.md#config-endpoint-examples)
    + [`endpointUrl` の例](config-endpoint.md#config-endpoint-examples-endpointurl)
    + [`endpointProvider` の例](config-endpoint.md#config-endpoint-examples-endpointprovider)
    + [`endpointUrl` および `endpointProvider`](config-endpoint.md#config-endpoint-examples-both)
+ [HTTP](http.md)
  + [HTTP クライアント設定](http-client-config.md)
    + [基本的な設定](http-client-config.md#basic-http-confg)
      + [インポート](http-client-config.md#basic-config-ex-imports)
      + [コード](http-client-config.md#basic-config-ex-code)
    + [詳細設定](http-client-config.md#advanced-http-config)
      + [HTTP エンジンタイプの指定](http-client-config.md#http-config-engine)
        + [インポート](http-client-config.md#http-config-specify-engine-imports)
        + [コード](http-client-config.md#http-config-specify-engine-code)
        + [`OkHttp4Engine` の使用](http-client-config.md#http-config-okhttp4engine)
        + [明示的な HTTP クライアントを使用する](http-client-config.md#http-client-explicit-usage)
          + [インポート](http-client-config.md#http-client-explicit-usage-ex-imports)
          + [コード](http-client-config.md#http-client-explicit-usage-ex-code)
      + [アイドル接続のモニタリング](http-client-config.md#http-idle-connection-monitoring)
        + [インポート](http-client-config.md#http-idle-connection-ex-imports)
        + [コード](http-client-config.md#http-idle-connection-ex-code)
  + [HTTP プロキシを使用する](using-http-proxy.md)
    + [JVM システムプロパティの使用](using-http-proxy.md#http-proxy-jvm-properties)
    + [環境変数を使用します。](using-http-proxy.md#http-proxy-environment-variables)
    + [EC2 インスタンスでプロキシを使用する](using-http-proxy.md#http-proxy-ec2)
  + [HTTP インターセプター](interceptors.md)
    + [インターセプターの登録](interceptors.md#interceptor-registration)
      + [すべてのサービスクライアントオペレーションのインターセプター](interceptors.md#interceptor-all-ops)
      + [特定のオペレーションのみのインターセプター](interceptors.md#interceptor-specific-ops)
  + [最小 TLS バージョンを強制する](configure-http-tls.md)
    + [HTTP エンジンを設定する](configure-http-tls.md#configure-http-tls-engine)
    + [`sdk.minTls` JVM システムプロパティを設定する](configure-http-tls.md#configure-http-tls-sysprop)
    + [`SDK_MIN_TLS` 環境変数を設定する](configure-http-tls.md#configure-http-tls-envvar)
+ [で再試行する AWS SDK for Kotlin](retries.md)
  + [再試行動作について](retries.md#retries-understanding)
    + [デフォルトの再試行設定](retries.md#retries-default)
    + [どの例外を再試行できますか?](retries.md#retries-default-policy-details)
      + [エラーコードで再試行可能](retries.md#retries-retryable-by-error-code)
      + [HTTP ステータスコードで再試行可能](retries.md#retries-retryable-by-status-code)
      + [エラータイプで再試行可能](retries.md#retries-retryable-by-error-type)
      + [SDK メタデータで再試行可能](retries.md#retries-retryable-by-metadata)
    + [例外が再試行可能かどうかを確認します。](retries.md#retries-check-exception-retryable)
    + [再試行が失敗した場合にコードに到達する例外](retries.md#retries-exception-types-during-retries)
  + [再試行動作のカスタマイズ](retries.md#retries-customizing)
    + [最大試行回数を設定する](retries.md#retires-max-attempts)
    + [遅延とバックオフを設定する](retries.md#retries-delays-backoff)
    + [再試行トークンバケットを設定する](retries.md#retries-token-bucket)
    + [アダプティブ再試行を設定する](retries.md#retries-adaptive-retries)
+ [オブザーバビリティ](observability.md)
  + [`TelemetryProvider` の設定](observability.md#observability-conf-telemetry-provider)
    + [デフォルトのグローバルテレメトリプロバイダーを設定する](observability.md#observability-conf-telemetry-provider-global)
    + [特定のサービスクライアントのテレメトリプロバイダーを設定する](observability.md#observability-conf-telemetry-provider-client)
  + [メトリクス](observability-telemetry-metrics.md)
  + [ログ記録](logging.md)
    + [ワイヤレベルのメッセージのログモードを指定する](logging.md#sdk-log-mode)
      + [コードでログモードを設定する](logging.md#set-log-mode-programmatically)
      + [環境からログモードを設定する](logging.md#set-log-mode-from-enviironment)
  + [テレメトリプロバイダー](observability-telemetry-providers.md)
    + [OpenTelemetry ベースのテレメトリプロバイダーを設定する](observability-telemetry-providers-otel.md)
      + [前提条件](observability-telemetry-providers-otel.md#observability-telemetry-providers-otel-prereqs)
      + [SDK を設定](observability-telemetry-providers-otel.md#observability-telemetry-providers-otel-conf)
      + [リソース](observability-telemetry-providers-otel.md#observability-telemetry-providers-otel-res)
+ [サービスクライアント設定を上書きする](override-client-config.md)
  + [オーバーライドされたクライアントのライフサイクル](override-client-config.md#override-client-lifecycle)
  + [クライアント間で共有されるリソース](override-client-config.md#override-client-shared-res)