Configuration for accessing Amazon Route53Domains service
상속: Amazon.Runtime.ClientConfig
예제 #1
0
        public DomainChecker(ITldProviderClient tldProviderClient)
        {
            _tldProviderClient = tldProviderClient;

            ACCESS_KEY = ConfigurationManager.AppSettings["Aws.Route53.AccessKey"];
            SECRET_KEY = ConfigurationManager.AppSettings["Aws.Route53.SecretKey"];

            var credentials = new BasicAWSCredentials(ACCESS_KEY, SECRET_KEY);
            var config = new AmazonRoute53DomainsConfig()
            {
                RegionEndpoint = RegionEndpoint.USEast1
            };

            _amazonRoute53DomainsClient = new AmazonRoute53DomainsClient(credentials, config);
        }
 /// <summary>
 /// Constructs AmazonRoute53DomainsClient with AWS Credentials and an
 /// AmazonRoute53DomainsClient Configuration object.
 /// </summary>
 /// <param name="credentials">AWS Credentials</param>
 /// <param name="clientConfig">The AmazonRoute53DomainsClient Configuration Object</param>
 public AmazonRoute53DomainsClient(AWSCredentials credentials, AmazonRoute53DomainsConfig clientConfig)
     : base(credentials, clientConfig)
 {
 }
 /// <summary>
 /// Constructs AmazonRoute53DomainsClient with AWS Access Key ID, AWS Secret Key and an
 /// AmazonRoute53DomainsClient Configuration object.
 /// </summary>
 /// <param name="awsAccessKeyId">AWS Access Key ID</param>
 /// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
 /// <param name="awsSessionToken">AWS Session Token</param>
 /// <param name="clientConfig">The AmazonRoute53DomainsClient Configuration Object</param>
 public AmazonRoute53DomainsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonRoute53DomainsConfig clientConfig)
     : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
 {
 }
예제 #4
0
 /// <summary>
 /// Constructs AmazonRoute53DomainsClient with AWS Access Key ID, AWS Secret Key and an
 /// AmazonRoute53DomainsClient Configuration object. 
 /// </summary>
 /// <param name="awsAccessKeyId">AWS Access Key ID</param>
 /// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
 /// <param name="awsSessionToken">AWS Session Token</param>
 /// <param name="clientConfig">The AmazonRoute53DomainsClient Configuration Object</param>
 public AmazonRoute53DomainsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonRoute53DomainsConfig clientConfig)
     : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
 {
 }
예제 #5
0
 /// <summary>
 /// Constructs AmazonRoute53DomainsClient with AWS Credentials and an
 /// AmazonRoute53DomainsClient Configuration object.
 /// </summary>
 /// <param name="credentials">AWS Credentials</param>
 /// <param name="clientConfig">The AmazonRoute53DomainsClient Configuration Object</param>
 public AmazonRoute53DomainsClient(AWSCredentials credentials, AmazonRoute53DomainsConfig clientConfig)
     : base(credentials, clientConfig)
 {
 }
예제 #6
0
 /// <summary>
 /// Constructs AmazonRoute53DomainsClient with the credentials loaded from the application's
 /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
 /// 
 /// Example App.config with credentials set. 
 /// <code>
 /// &lt;?xml version="1.0" encoding="utf-8" ?&gt;
 /// &lt;configuration&gt;
 ///     &lt;appSettings&gt;
 ///         &lt;add key="AWSProfileName" value="AWS Default"/&gt;
 ///     &lt;/appSettings&gt;
 /// &lt;/configuration&gt;
 /// </code>
 ///
 /// </summary>
 /// <param name="config">The AmazonRoute53DomainsClient Configuration Object</param>
 public AmazonRoute53DomainsClient(AmazonRoute53DomainsConfig config)
     : base(FallbackCredentialsFactory.GetCredentials(), config) { }
예제 #7
0
 /// <summary>
 /// Create a client for the Amazon Route53Domains Service with AWSCredentials and an AmazonRoute53Domains Configuration object.
 /// </summary>
 /// <param name="credentials">AWS Credentials</param>
 /// <param name="config">Configuration options for the service like HTTP Proxy, # of connections, etc</param>
 /// <returns>An Amazon Route53Domains client</returns>
 /// <remarks>
 /// </remarks>
 public static IAmazonRoute53Domains CreateAmazonRoute53DomainsClient(AWSCredentials credentials, AmazonRoute53DomainsConfig config)
 {
     return new AmazonRoute53DomainsClient(credentials, config);
 }
예제 #8
0
 /// <summary>
 /// Create a client for the Amazon Route53Domains Service with the specified configuration
 /// </summary>
 /// <param name="awsAccessKey">The AWS Access Key associated with the account</param>
 /// <param name="awsSecretAccessKey">The AWS Secret Access Key associated with the account</param>
 /// <param name="config">Configuration options for the service like HTTP Proxy, # of connections, etc
 /// </param>
 /// <returns>An Amazon Route53Domains client</returns>
 /// <remarks>
 /// </remarks>
 public static IAmazonRoute53Domains CreateAmazonRoute53DomainsClient(
     string awsAccessKey,
     string awsSecretAccessKey, AmazonRoute53DomainsConfig config
     )
 {
     return new AmazonRoute53DomainsClient(awsAccessKey, awsSecretAccessKey, config);
 }
예제 #9
0
 /// <summary>
 /// Create a client for the Amazon Route53Domains Service with the credentials loaded from the application's
 /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
 /// 
 /// Example App.config with credentials set. 
 /// <code>
 /// &lt;?xml version="1.0" encoding="utf-8" ?&gt;
 /// &lt;configuration&gt;
 ///     &lt;appSettings&gt;
 ///         &lt;add key="AWSProfileName" value="AWS Default"/&gt;
 ///     &lt;/appSettings&gt;
 /// &lt;/configuration&gt;
 /// </code>
 /// </summary>
 /// <param name="config">Configuration options for the service like HTTP Proxy, # of connections, etc</param>
 /// <returns>An Amazon Route53Domains client</returns>
 public static IAmazonRoute53Domains CreateAmazonRoute53DomainsClient(AmazonRoute53DomainsConfig config)
 {
     return new AmazonRoute53DomainsClient(config);
 }
예제 #10
0
 /// <summary>
 /// Constructs AmazonRoute53DomainsClient with AWS Credentials and an
 /// AmazonRoute53DomainsClient Configuration object.
 /// </summary>
 /// <param name="credentials">AWS Credentials</param>
 /// <param name="clientConfig">The AmazonRoute53DomainsClient Configuration Object</param>
 public AmazonRoute53DomainsClient(AWSCredentials credentials, AmazonRoute53DomainsConfig clientConfig)
     : base(credentials, clientConfig, AuthenticationTypes.User | AuthenticationTypes.Session)
 {
 }
예제 #11
0
 /// <summary>
 /// Constructs AmazonRoute53DomainsClient with AWS Access Key ID, AWS Secret Key and an
 /// AmazonRoute53DomainsClient Configuration object.
 /// </summary>
 /// <param name="awsAccessKeyId">AWS Access Key ID</param>
 /// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
 /// <param name="awsSessionToken">AWS Session Token</param>
 /// <param name="clientConfig">The AmazonRoute53DomainsClient Configuration Object</param>
 public AmazonRoute53DomainsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonRoute53DomainsConfig clientConfig)
     : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig, AuthenticationTypes.User | AuthenticationTypes.Session)
 {
 }