/// <summary> /// Constructs AmazonRoute53Client with AWS Credentials and an /// AmazonRoute53Client Configuration object. /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="clientConfig">The AmazonRoute53Client Configuration Object</param> public AmazonRoute53Client(AWSCredentials credentials, AmazonRoute53Config clientConfig) : base(credentials, clientConfig, AuthenticationTypes.User | AuthenticationTypes.Session) { }
/// <summary> /// Create a client for the Amazon Route53 Service with AWSCredentials and an AmazonRoute53 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 Route53 client</returns> /// <remarks> /// </remarks> public static AmazonRoute53 CreateAmazonRoute53Client(AWSCredentials credentials, AmazonRoute53Config config) { return new AmazonRoute53Client(credentials, config); }
/// <summary> /// Constructs AmazonRoute53Client with AWS Access Key ID, AWS Secret Key and an /// AmazonRoute53Client 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 AmazonRoute53Client Configuration Object</param> public AmazonRoute53Client(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonRoute53Config clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig, AuthenticationTypes.User | AuthenticationTypes.Session) { }
/// <summary> /// Create a client for the Amazon Route53 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> /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSAccessKey" value="********************"/> /// <add key="AWSSecretKey" value="****************************************"/> /// </appSettings> /// </configuration> /// </code> /// </summary> /// <param name="config">Configuration options for the service like HTTP Proxy, # of connections, etc</param> /// <returns>An Amazon Route53 client</returns> public static AmazonRoute53 CreateAmazonRoute53Client(AmazonRoute53Config config) { return new AmazonRoute53Client(config); }
/// <summary> /// Create a client for the Amazon Route53 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 Route53 client</returns> /// <remarks> /// </remarks> public static AmazonRoute53 CreateAmazonRoute53Client( string awsAccessKey, string awsSecretAccessKey, AmazonRoute53Config config ) { return new AmazonRoute53Client(awsAccessKey, awsSecretAccessKey, config); }
/// <summary> /// Constructs AmazonRoute53Client with AWS Access Key ID, AWS Secret Key and an /// AmazonRoute53Client Configuration object. If the config object's /// UseSecureStringForAwsSecretKey is false, the AWS Secret Key /// is stored as a clear-text string. Please use this option only /// if the application environment doesn't allow the use of SecureStrings. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="clientConfig">The AmazonRoute53Client Configuration Object</param> public AmazonRoute53Client(string awsAccessKeyId, string awsSecretAccessKey, AmazonRoute53Config clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig, AuthenticationTypes.User) { }
/// <summary> /// Constructs AmazonRoute53Client 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> /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSAccessKey" value="********************"/> /// <add key="AWSSecretKey" value="****************************************"/> /// </appSettings> /// </configuration> /// </code> /// /// </summary> /// <param name="config">The AmazonRoute53 Configuration Object</param> public AmazonRoute53Client(AmazonRoute53Config config) : base(FallbackCredentialsFactory.GetCredentials(), config, true, AuthenticationTypes.User) { }
/// <summary> /// Constructs AmazonRoute53Client 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> /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// </code> /// /// </summary> /// <param name="config">The AmazonRoute53Client Configuration Object</param> public AmazonRoute53Client(AmazonRoute53Config config) : base(FallbackCredentialsFactory.GetCredentials(), config) { }
/// <summary> /// Constructs AmazonRoute53Client with AWS Credentials and an /// AmazonRoute53Client Configuration object. /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="clientConfig">The AmazonRoute53Client Configuration Object</param> public AmazonRoute53Client(AWSCredentials credentials, AmazonRoute53Config clientConfig) : base(credentials, clientConfig, false, AuthenticationTypes.User) { }
/// <summary> /// Constructs AmazonRoute53Client with AWS Credentials and an /// AmazonRoute53Client Configuration object. /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="clientConfig">The AmazonRoute53Client Configuration Object</param> public AmazonRoute53Client(AWSCredentials credentials, AmazonRoute53Config clientConfig) : base(credentials, clientConfig) { }
/// <summary> /// Constructs AmazonRoute53Client with AWS Access Key ID, AWS Secret Key and an /// AmazonRoute53Client 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 AmazonRoute53Client Configuration Object</param> public AmazonRoute53Client(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonRoute53Config clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { }
/// <summary> /// Constructs AmazonRoute53Client 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> /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSAccessKey" value="********************"/> /// <add key="AWSSecretKey" value="****************************************"/> /// </appSettings> /// </configuration> /// </code> /// /// </summary> /// <param name="config">The AmazonRoute53 Configuration Object</param> public AmazonRoute53Client(AmazonRoute53Config config) : base(FallbackCredentialsFactory.GetCredentials(), config, AuthenticationTypes.User | AuthenticationTypes.Session) { }
/// <summary> /// Constructs AmazonRoute53Client with AWS Access Key ID, AWS Secret Key and an /// AmazonRoute53Client Configuration object. If the config object's /// UseSecureStringForAwsSecretKey is false, the AWS Secret Key /// is stored as a clear-text string. Please use this option only /// if the application environment doesn't allow the use of SecureStrings. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="clientConfig">The AmazonCloudFormationClient Configuration Object</param> public AmazonRoute53Client(string awsAccessKeyId, string awsSecretAccessKey, AmazonRoute53Config clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { }
/// <summary> /// Constructs AmazonRoute53Client with the credentials defined in the App.config. /// /// Example App.config with credentials set. /// <code> /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSAccessKey" value="********************"/> /// <add key="AWSSecretKey" value="****************************************"/> /// </appSettings> /// </configuration> /// </code> /// /// </summary> /// <param name="config">The AmazonRoute53 Configuration Object</param> public AmazonRoute53Client(AmazonRoute53Config config) : base(new EnvironmentAWSCredentials(), config, true, AuthenticationTypes.User) { }