/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the iam-2010-05-08.normal.json service model.
*/
using System;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Util.Internal;
using Amazon.IdentityManagement.Internal;
namespace Amazon.IdentityManagement
{
///
/// Configuration for accessing Amazon IdentityManagementService service
///
[AWSSignerType("v4")]
public partial class AmazonIdentityManagementServiceConfig : ClientConfig
{
private static readonly string UserAgentString =
InternalSDKUtils.BuildUserAgentString("3.7.200.6");
private string _userAgent = UserAgentString;
///
/// The ServiceId, which is the unique identifier for a service.
///
public static new string ServiceId
{
get
{
return "IAM";
}
}
///
/// Default constructor
///
public AmazonIdentityManagementServiceConfig()
: base(new Amazon.Runtime.Internal.DefaultConfigurationProvider(AmazonIdentityManagementServiceDefaultConfiguration.GetAllConfigurations()))
{
base.ServiceId = "IAM";
this.AuthenticationServiceName = "iam";
var region = FallbackRegionFactory.GetRegionEndpoint(false);
this.RegionEndpoint = region ?? RegionEndpoint.USEast1;
this.EndpointProvider = new AmazonIdentityManagementServiceEndpointProvider();
}
///
/// The constant used to lookup in the region hash the endpoint.
///
public override string RegionEndpointServiceName
{
get
{
return "iam";
}
}
///
/// Gets the ServiceVersion property.
///
public override string ServiceVersion
{
get
{
return "2010-05-08";
}
}
///
/// Gets the value of UserAgent property.
///
public override string UserAgent
{
get
{
return _userAgent;
}
}
}
}