repo_name
stringlengths 1
52
| repo_creator
stringclasses 6
values | programming_language
stringclasses 4
values | code
stringlengths 0
9.68M
| num_lines
int64 1
234k
|
---|---|---|---|---|
aws-sdk-net | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.SSMContacts")]
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - AWS Systems Manager Incident Manager Contacts. AWS Systems Manager Incident Manager enables faster resolution of critical application availability and performance issues, management of contacts and post incident analysis")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.101.47")] | 32 |
aws-sdk-net | aws | C# | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Amazon.CodeAnalysis.Shared;
namespace Amazon.SSMIncidents.CodeAnalysis
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyValueAssignmentAnalyzer : AbstractPropertyValueAssignmentAnalyzer
{
public override string GetServiceName()
{
return "SSMIncidents";
}
}
} | 25 |
aws-sdk-net | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.SSMIncidents")]
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - AWS Systems Manager Incident Manager. AWS Systems Manager Incident Manager enables faster resolution of critical application availability and performance issues, management of contacts and post-incident analysis")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.104.47")] | 32 |
aws-sdk-net | aws | C# | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Amazon.CodeAnalysis.Shared;
namespace Amazon.SsmSap.CodeAnalysis
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyValueAssignmentAnalyzer : AbstractPropertyValueAssignmentAnalyzer
{
public override string GetServiceName()
{
return "SsmSap";
}
}
} | 25 |
aws-sdk-net | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.SsmSap")]
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - AWS Systems Manager for SAP. AWS Systems Manager for SAP provides simplified operations and management of SAP applications such as SAP HANA. With this release, SAP customers and partners can automate and simplify their SAP system administration tasks such as backup/restore of SAP HANA.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.101.87")] | 32 |
aws-sdk-net | aws | C# | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Amazon.CodeAnalysis.Shared;
namespace Amazon.SSO.CodeAnalysis
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyValueAssignmentAnalyzer : AbstractPropertyValueAssignmentAnalyzer
{
public override string GetServiceName()
{
return "SSO";
}
}
} | 25 |
aws-sdk-net | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.SSO")]
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - AWS Single Sign-On. This is an initial release of AWS Single Sign-On (SSO) end-user access. This release adds support for accessing AWS accounts assigned in AWS SSO using short term credentials.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.100.147")] | 32 |
aws-sdk-net | aws | C# | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Amazon.CodeAnalysis.Shared;
namespace Amazon.SSOAdmin.CodeAnalysis
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyValueAssignmentAnalyzer : AbstractPropertyValueAssignmentAnalyzer
{
public override string GetServiceName()
{
return "SSOAdmin";
}
}
} | 25 |
aws-sdk-net | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.SSOAdmin")]
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - AWS Single Sign-On Admin. This is an initial release of AWS Single Sign-On (SSO) Access Management APIs. This release adds support for SSO operations which could be used for managing access to AWS accounts.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.101.81")] | 32 |
aws-sdk-net | aws | C# | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Amazon.CodeAnalysis.Shared;
namespace Amazon.SSOOIDC.CodeAnalysis
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyValueAssignmentAnalyzer : AbstractPropertyValueAssignmentAnalyzer
{
public override string GetServiceName()
{
return "SSOOIDC";
}
}
} | 25 |
aws-sdk-net | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.SSOOIDC")]
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - AWS SSO OIDC. This is an initial release of AWS Single Sign-On OAuth device code authorization service.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.100.147")] | 32 |
aws-sdk-net | aws | C# | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Amazon.CodeAnalysis.Shared;
namespace Amazon.StepFunctions.CodeAnalysis
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyValueAssignmentAnalyzer : AbstractPropertyValueAssignmentAnalyzer
{
public override string GetServiceName()
{
return "StepFunctions";
}
}
} | 25 |
aws-sdk-net | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.StepFunctions")]
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - AWS Step Functions. AWS Step Functions is a web service that enables you to coordinate a network of computing resources across distributed components using state machines.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.103.0")] | 32 |
aws-sdk-net | aws | C# | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Amazon.CodeAnalysis.Shared;
namespace Amazon.StorageGateway.CodeAnalysis
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyValueAssignmentAnalyzer : AbstractPropertyValueAssignmentAnalyzer
{
public override string GetServiceName()
{
return "StorageGateway";
}
}
} | 25 |
aws-sdk-net | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.StorageGateway")]
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - AWS Storage Gateway. The AWS Storage Gateway is a service connecting an on-premises software appliance with cloud-based storage to provide seamless and secure integration between an organization's on-premises IT environment and AWS's storage infrastructure.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.100.147")] | 32 |
aws-sdk-net | aws | C# | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Amazon.CodeAnalysis.Shared;
namespace Amazon.SupportApp.CodeAnalysis
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyValueAssignmentAnalyzer : AbstractPropertyValueAssignmentAnalyzer
{
public override string GetServiceName()
{
return "SupportApp";
}
}
} | 25 |
aws-sdk-net | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.SupportApp")]
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - AWS Support App. This is the initial SDK release for the AWS Support App in Slack.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.101.142")] | 32 |
aws-sdk-net | aws | C# | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Amazon.CodeAnalysis.Shared;
namespace Amazon.Synthetics.CodeAnalysis
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyValueAssignmentAnalyzer : AbstractPropertyValueAssignmentAnalyzer
{
public override string GetServiceName()
{
return "Synthetics";
}
}
} | 25 |
aws-sdk-net | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.Synthetics")]
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - Synthetics. Introducing CloudWatch Synthetics. This is the first public release of CloudWatch Synthetics.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.100.147")] | 32 |
aws-sdk-net | aws | C# | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Amazon.CodeAnalysis.Shared;
namespace Amazon.Textract.CodeAnalysis
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyValueAssignmentAnalyzer : AbstractPropertyValueAssignmentAnalyzer
{
public override string GetServiceName()
{
return "Textract";
}
}
} | 25 |
aws-sdk-net | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.Textract")]
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - Amazon Textract. Amazon Textract enables you to add document text detection and analysis to your applications. You provide a document image to the Amazon Textract API, and the service detects the document text. Amazon Textract works with formatted text and can detect words and lines of words that are located close to each other. It can also analyze a document for items such as related text, tables, key-value pairs, and selection elements.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.105.49")] | 32 |
aws-sdk-net | aws | C# | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Amazon.CodeAnalysis.Shared;
namespace Amazon.TimestreamQuery.CodeAnalysis
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyValueAssignmentAnalyzer : AbstractPropertyValueAssignmentAnalyzer
{
public override string GetServiceName()
{
return "TimestreamQuery";
}
}
} | 25 |
aws-sdk-net | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.TimestreamQuery")]
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - Amazon Timestream Query. (New Service) Amazon Timestream is a fast, scalable, fully managed, purpose-built time series database that makes it easy to store and analyze trillions of time series data points per day.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.100.147")] | 32 |
aws-sdk-net | aws | C# | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Amazon.CodeAnalysis.Shared;
namespace Amazon.TimestreamWrite.CodeAnalysis
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyValueAssignmentAnalyzer : AbstractPropertyValueAssignmentAnalyzer
{
public override string GetServiceName()
{
return "TimestreamWrite";
}
}
} | 25 |
aws-sdk-net | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.TimestreamWrite")]
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - Amazon Timestream Write. (New Service) Amazon Timestream is a fast, scalable, fully managed, purpose-built time series database that makes it easy to store and analyze trillions of time series data points per day.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.102.4")] | 32 |
aws-sdk-net | aws | C# | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Amazon.CodeAnalysis.Shared;
namespace Amazon.Tnb.CodeAnalysis
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyValueAssignmentAnalyzer : AbstractPropertyValueAssignmentAnalyzer
{
public override string GetServiceName()
{
return "Tnb";
}
}
} | 25 |
aws-sdk-net | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.Tnb")]
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - AWS Telco Network Builder. This is the initial SDK release for AWS Telco Network Builder (TNB). AWS Telco Network Builder is a network automation service that helps you deploy and manage telecom networks.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.101.58")] | 32 |
aws-sdk-net | aws | C# | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Amazon.CodeAnalysis.Shared;
namespace Amazon.TranscribeService.CodeAnalysis
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyValueAssignmentAnalyzer : AbstractPropertyValueAssignmentAnalyzer
{
public override string GetServiceName()
{
return "TranscribeService";
}
}
} | 25 |
aws-sdk-net | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.TranscribeService")]
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - Amazon Transcribe Service. Amazon Transcribe Public Preview Release")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.104.63")] | 32 |
aws-sdk-net | aws | C# | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Amazon.CodeAnalysis.Shared;
namespace Amazon.Transfer.CodeAnalysis
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyValueAssignmentAnalyzer : AbstractPropertyValueAssignmentAnalyzer
{
public override string GetServiceName()
{
return "Transfer";
}
}
} | 25 |
aws-sdk-net | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.Transfer")]
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - AWS Transfer Family. AWS Transfer for SFTP is a fully managed service that enables transfer of secure data over the internet into and out of Amazon S3. SFTP is deeply embedded in data exchange workflows across different industries such as financial services, healthcare, advertising, and retail, among others.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.107.0")] | 32 |
aws-sdk-net | aws | C# | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Amazon.CodeAnalysis.Shared;
namespace Amazon.Translate.CodeAnalysis
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyValueAssignmentAnalyzer : AbstractPropertyValueAssignmentAnalyzer
{
public override string GetServiceName()
{
return "Translate";
}
}
} | 25 |
aws-sdk-net | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.Translate")]
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - Amazon Translate. Public preview release of Amazon Translate and the Amazon Translate Developer Guide. For more information, see the Amazon Translate Developer Guide.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.102.14")] | 32 |
aws-sdk-net | aws | C# | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Amazon.CodeAnalysis.Shared;
namespace Amazon.VerifiedPermissions.CodeAnalysis
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyValueAssignmentAnalyzer : AbstractPropertyValueAssignmentAnalyzer
{
public override string GetServiceName()
{
return "VerifiedPermissions";
}
}
} | 25 |
aws-sdk-net | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.VerifiedPermissions")]
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - Amazon Verified Permissions. GA release of Amazon Verified Permissions.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.100.5")] | 32 |
aws-sdk-net | aws | C# | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Amazon.CodeAnalysis.Shared;
namespace Amazon.VoiceID.CodeAnalysis
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyValueAssignmentAnalyzer : AbstractPropertyValueAssignmentAnalyzer
{
public override string GetServiceName()
{
return "VoiceID";
}
}
} | 25 |
aws-sdk-net | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.VoiceID")]
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - Amazon Voice ID. Released the Amazon Voice ID SDK, for usage with the Amazon Connect Voice ID feature released for Amazon Connect.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.101.48")] | 32 |
aws-sdk-net | aws | C# | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Amazon.CodeAnalysis.Shared;
namespace Amazon.VPCLattice.CodeAnalysis
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyValueAssignmentAnalyzer : AbstractPropertyValueAssignmentAnalyzer
{
public override string GetServiceName()
{
return "VPCLattice";
}
}
} | 25 |
aws-sdk-net | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.VPCLattice")]
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - Amazon VPC Lattice. General Availability (GA) release of Amazon VPC Lattice")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.100.45")] | 32 |
aws-sdk-net | aws | C# | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Amazon.CodeAnalysis.Shared;
namespace Amazon.WAF.CodeAnalysis
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyValueAssignmentAnalyzer : AbstractPropertyValueAssignmentAnalyzer
{
public override string GetServiceName()
{
return "WAF";
}
}
} | 25 |
aws-sdk-net | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.WAF")]
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - AWS WAF. AWS WAF (Web Application Firewall) protects web applications from attack by allowing customers to block bad actors and provides filters against common web exploits like SQL injection.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.100.147")] | 32 |
aws-sdk-net | aws | C# | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Amazon.CodeAnalysis.Shared;
namespace Amazon.WAFRegional.CodeAnalysis
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyValueAssignmentAnalyzer : AbstractPropertyValueAssignmentAnalyzer
{
public override string GetServiceName()
{
return "WAFRegional";
}
}
} | 25 |
aws-sdk-net | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.WAFRegional")]
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - AWS WAF Regional. AWS WAF (Web Application Firewall) Regional protects web applications from attack via ALB load balancer and provides API to associate it with a WAF WebACL.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.100.147")] | 32 |
aws-sdk-net | aws | C# | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Amazon.CodeAnalysis.Shared;
namespace Amazon.WAFV2.CodeAnalysis
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyValueAssignmentAnalyzer : AbstractPropertyValueAssignmentAnalyzer
{
public override string GetServiceName()
{
return "WAFV2";
}
}
} | 25 |
aws-sdk-net | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.WAFV2")]
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - AWS WAFV2. This release introduces new set of APIs (wafv2) for AWS WAF. Major changes include single set of APIs for creating/updating resources in global and regional scope, and rules are configured directly into web ACL instead of being referenced. The previous APIs (waf and waf-regional) are now referred as AWS WAF Classic. For more information visit: https://docs.aws.amazon.com/waf/latest/APIReference/Welcome.html")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.112.2")] | 32 |
aws-sdk-net | aws | C# | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Amazon.CodeAnalysis.Shared;
namespace Amazon.WellArchitected.CodeAnalysis
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyValueAssignmentAnalyzer : AbstractPropertyValueAssignmentAnalyzer
{
public override string GetServiceName()
{
return "WellArchitected";
}
}
} | 25 |
aws-sdk-net | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.WellArchitected")]
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - AWS Well-Architected Tool. This is the first release of AWS Well-Architected Tool API support, use to review your workload and compare against the latest AWS architectural best practices.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.104.2")] | 32 |
aws-sdk-net | aws | C# | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Amazon.CodeAnalysis.Shared;
namespace Amazon.WorkDocs.CodeAnalysis
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyValueAssignmentAnalyzer : AbstractPropertyValueAssignmentAnalyzer
{
public override string GetServiceName()
{
return "WorkDocs";
}
}
} | 25 |
aws-sdk-net | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.WorkDocs")]
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - Amazon WorkDocs. Amazon WorkDocs is a fully managed, secure enterprise storage and sharing service with strong administrative controls and feedback capabilities that improve user productivity.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.102.52")] | 32 |
aws-sdk-net | aws | C# | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Amazon.CodeAnalysis.Shared;
namespace Amazon.WorkLink.CodeAnalysis
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyValueAssignmentAnalyzer : AbstractPropertyValueAssignmentAnalyzer
{
public override string GetServiceName()
{
return "WorkLink";
}
}
} | 25 |
aws-sdk-net | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.WorkLink")]
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - Amazon WorkLink. This is the initial SDK release for Amazon WorkLink. Amazon WorkLink is a fully managed, cloud-based service that enables secure, one-click access to internal websites and web apps from mobile phones. With Amazon WorkLink, employees can access internal websites as seamlessly as they access any other website. IT administrators can manage users, devices, and domains by enforcing their own security and access policies via the AWS Console or the AWS SDK.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.100.147")] | 32 |
aws-sdk-net | aws | C# | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Amazon.CodeAnalysis.Shared;
namespace Amazon.WorkMail.CodeAnalysis
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyValueAssignmentAnalyzer : AbstractPropertyValueAssignmentAnalyzer
{
public override string GetServiceName()
{
return "WorkMail";
}
}
} | 25 |
aws-sdk-net | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.WorkMail")]
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - Amazon WorkMail. Today, Amazon WorkMail released an administrative SDK and enabled AWS CloudTrail integration. With the administrative SDK, you can natively integrate WorkMail with your existing services. The SDK enables programmatic user, resource, and group management through API calls. This means your existing IT tools and workflows can now automate WorkMail management, and third party applications can streamline WorkMail migrations and account actions.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.100.147")] | 32 |
aws-sdk-net | aws | C# | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Amazon.CodeAnalysis.Shared;
namespace Amazon.WorkMailMessageFlow.CodeAnalysis
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyValueAssignmentAnalyzer : AbstractPropertyValueAssignmentAnalyzer
{
public override string GetServiceName()
{
return "WorkMailMessageFlow";
}
}
} | 25 |
aws-sdk-net | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.WorkMailMessageFlow")]
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - Amazon WorkMail Message Flow. This release allows customers to access email messages as they flow to and from Amazon WorkMail.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.100.147")] | 32 |
aws-sdk-net | aws | C# | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Amazon.CodeAnalysis.Shared;
namespace Amazon.WorkSpaces.CodeAnalysis
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyValueAssignmentAnalyzer : AbstractPropertyValueAssignmentAnalyzer
{
public override string GetServiceName()
{
return "WorkSpaces";
}
}
} | 25 |
aws-sdk-net | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.WorkSpaces")]
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - Amazon WorkSpaces. Amazon WorkSpaces is a managed desktop computing service in the cloud.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.104.127")] | 32 |
aws-sdk-net | aws | C# | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Amazon.CodeAnalysis.Shared;
namespace Amazon.WorkSpacesWeb.CodeAnalysis
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyValueAssignmentAnalyzer : AbstractPropertyValueAssignmentAnalyzer
{
public override string GetServiceName()
{
return "WorkSpacesWeb";
}
}
} | 25 |
aws-sdk-net | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.WorkSpacesWeb")]
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - Amazon WorkSpaces Web. This is the initial SDK release for Amazon WorkSpaces Web. Amazon WorkSpaces Web is a low-cost, fully managed WorkSpace built to deliver secure web-based workloads and software-as-a-service (SaaS) application access to users within existing web browsers.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.102.10")] | 32 |
aws-sdk-net | aws | C# | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reflection;
using System.Linq;
using System.Xml.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Amazon.CodeAnalysis.Shared;
namespace Amazon.XRay.CodeAnalysis
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyValueAssignmentAnalyzer : AbstractPropertyValueAssignmentAnalyzer
{
public override string GetServiceName()
{
return "XRay";
}
}
} | 25 |
aws-sdk-net | aws | C# | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.XRay")]
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - AWS X-Ray. AWS X-Ray helps developers analyze and debug distributed applications. With X-Ray, you can understand how your application and its underlying services are performing to identify and troubleshoot the root cause of performance issues and errors.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.102.128")] | 32 |
aws-sdk-net | aws | C# | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.IO;
using System.Reflection;
using System.Text.RegularExpressions;
using System.Xml.Linq;
namespace Amazon.CodeAnalysis.Shared
{
public abstract class AbstractPropertyValueAssignmentAnalyzer : DiagnosticAnalyzer
{
readonly IDictionary<string, PropertyValueRule> _propertyValueRules;
protected AbstractPropertyValueAssignmentAnalyzer()
{
_propertyValueRules = new Dictionary<string, PropertyValueRule>(StringComparer.Ordinal);
var assembly = GetType().GetTypeInfo().Assembly;
foreach (var name in assembly.GetManifestResourceNames())
{
if (!name.EndsWith(".PropertyValueRules.xml"))
continue;
string content;
using (var stream = assembly.GetManifestResourceStream(name))
using (var reader = new StreamReader(stream))
{
content = reader.ReadToEnd();
}
XDocument doc = XDocument.Parse(content);
foreach (var element in doc.Descendants("property-value-rule"))
{
var rule = new PropertyValueRule()
{
PropertyName = element.Element("property").Value,
Min = element.Element("min") != null ? long.Parse(element.Element("min").Value) : (long?)null,
Max = element.Element("max") != null ? long.Parse(element.Element("max").Value) : (long?)null,
Pattern = element.Element("pattern") != null ? element.Element("pattern").Value : null
};
if (!string.IsNullOrEmpty(rule.Pattern))
{
try
{
rule.CompiledExpression = new Regex(element.Element("pattern").Value);
}
catch { }
}
_propertyValueRules[rule.PropertyName] = rule;
}
}
}
public abstract string GetServiceName();
private const string Category = "Property Values";
DiagnosticDescriptor _minLengthRule;
private DiagnosticDescriptor MinLengthRule
{
get
{
if (this._minLengthRule == null)
{
this._minLengthRule = new DiagnosticDescriptor(
string.Format("{0}1000", GetServiceName()),
"Property value too short",
"Value \"{0}\" is too short for {1}, it must be at least {2} characters",
Category,
DiagnosticSeverity.Warning,
isEnabledByDefault: true,
description: "Property value too short");
}
return this._minLengthRule;
}
}
DiagnosticDescriptor _maxLengthRule;
private DiagnosticDescriptor MaxLengthRule
{
get
{
if (this._maxLengthRule == null)
{
this._maxLengthRule = new DiagnosticDescriptor(
string.Format("{0}1001", GetServiceName()),
"Property value too long",
"Value \"{0}\" is too long for {1}, it must be at most {2} characters",
Category,
DiagnosticSeverity.Warning,
isEnabledByDefault: true,
description: "Property value too long");
}
return this._maxLengthRule;
}
}
DiagnosticDescriptor _patternRule;
private DiagnosticDescriptor PatternRule
{
get
{
if (this._patternRule == null)
{
this._patternRule = new DiagnosticDescriptor(
string.Format("{0}1002", GetServiceName()),
"Property value does not match required pattern",
"Value \"{0}\" does not match required pattern \"{1}\" for property {2}",
Category,
DiagnosticSeverity.Warning,
isEnabledByDefault: true,
description: "Property value does not match required pattern");
}
return this._patternRule;
}
}
DiagnosticDescriptor _minValueRule;
private DiagnosticDescriptor MinValueRule
{
get
{
if (this._minValueRule == null)
{
this._minValueRule = new DiagnosticDescriptor(
string.Format("{0}1003", GetServiceName()),
"Property value less than minimum value",
"Value \"{0}\" is less than minimum of {1} for property {2}",
Category,
DiagnosticSeverity.Warning,
isEnabledByDefault: true,
description: "Property value less than minimum value");
}
return this._minValueRule;
}
}
DiagnosticDescriptor _maxValueRule;
private DiagnosticDescriptor MaxValueRule
{
get
{
if (this._maxValueRule == null)
{
this._maxValueRule = new DiagnosticDescriptor(
string.Format("{0}1004", GetServiceName()),
"Property value greater than maximum value",
"Value \"{0}\" is greater than maximum of {1} for property {2}",
Category,
DiagnosticSeverity.Warning,
isEnabledByDefault: true,
description: "Property value greater than maximum value");
}
return this._maxValueRule;
}
}
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
{
get
{
return ImmutableArray.Create(MinLengthRule, MaxLengthRule, PatternRule, MinValueRule, MaxValueRule);
}
}
public override void Initialize(AnalysisContext context)
{
context.ConfigureGeneratedCodeAnalysis(GeneratedCodeAnalysisFlags.Analyze | GeneratedCodeAnalysisFlags.ReportDiagnostics);
context.EnableConcurrentExecution();
if (_propertyValueRules.Count != 0)
context.RegisterSyntaxNodeAction(PropertyAssignmentValidation, SyntaxKind.SimpleAssignmentExpression);
}
private void PropertyAssignmentValidation(SyntaxNodeAnalysisContext context)
{
// Call the abstract method to make it easier to debug.
// You can set a breakpoint in the override method so you know you are debugging the
// analyzer you care about.
this.GetServiceName();
if (_propertyValueRules.Count == 0)
return;
var assignmentExpr = (AssignmentExpressionSyntax)context.Node;
if (assignmentExpr == null)
return;
var literalOpt = context.SemanticModel.GetConstantValue(assignmentExpr.Right);
if (!literalOpt.HasValue)
return;
var constantExpression = assignmentExpr.Right;
var symbol = context.SemanticModel.GetSymbolInfo(assignmentExpr.Left).Symbol;
if (symbol == null)
return;
var memberSymbol = context.SemanticModel.GetSymbolInfo(assignmentExpr.Left).Symbol as Microsoft.CodeAnalysis.IPropertySymbol;
if (memberSymbol == null)
return;
PropertyValueRule propertyValueRule;
if (!_propertyValueRules.TryGetValue(memberSymbol.ToString(), out propertyValueRule))
return;
if (literalOpt.Value is string)
{
var value = literalOpt.Value as string;
if (propertyValueRule.Min.HasValue)
{
if (value.Length < propertyValueRule.Min.Value)
{
var diagnostic =
Diagnostic.Create(MinLengthRule,
constantExpression.GetLocation(),
new object[] { value, memberSymbol.Name, propertyValueRule.Min.Value });
context.ReportDiagnostic(diagnostic);
}
}
if (propertyValueRule.Max.HasValue)
{
if (value.Length > propertyValueRule.Max.Value)
{
var diagnostic =
Diagnostic.Create(MaxLengthRule,
constantExpression.GetLocation(),
new object[] { value, memberSymbol.Name, propertyValueRule.Max.Value });
context.ReportDiagnostic(diagnostic);
}
}
if (propertyValueRule.CompiledExpression != null)
{
var match = propertyValueRule.CompiledExpression.Match(value);
if (!string.Equals(match.Value, value, StringComparison.Ordinal))
{
var diagnostic =
Diagnostic.Create(PatternRule,
constantExpression.GetLocation(),
new object[] { value, propertyValueRule.Pattern, memberSymbol.Name });
context.ReportDiagnostic(diagnostic);
}
}
}
if (literalOpt.Value is int || literalOpt.Value is long)
{
var value = Convert.ToInt64(literalOpt.Value);
if (propertyValueRule.Min.HasValue)
{
if (value < propertyValueRule.Min.Value)
{
var diagnostic =
Diagnostic.Create(MinValueRule,
constantExpression.GetLocation(),
new object[] { value, propertyValueRule.Min.Value, memberSymbol.Name });
context.ReportDiagnostic(diagnostic);
}
}
if (propertyValueRule.Max.HasValue)
{
if (value > propertyValueRule.Max.Value)
{
var diagnostic =
Diagnostic.Create(MaxValueRule,
constantExpression.GetLocation(),
new object[] { value, propertyValueRule.Max.Value, memberSymbol.Name });
context.ReportDiagnostic(diagnostic);
}
}
}
}
public class PropertyValueRule
{
public string PropertyName { get; set; }
public long? Min { get; set; }
public long? Max { get; set; }
public Regex CompiledExpression { get; set; }
public string Pattern { get; set; }
}
}
}
| 292 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Linq;
using System.Text;
using Amazon.Runtime;
using Amazon.Runtime.Internal.Util;
namespace Amazon
{
/// <summary>
/// Utility class to parse Amazon resource names more commonly known as an ARN.
/// </summary>
public class Arn
{
/// <summary>
/// Gets and sets the partition associated with the ARN (e.g.: 'aws').
/// </summary>
public string Partition { get; set; }
/// <summary>
/// Gets and sets the AWS service associated with the ARN (e.g.: 's3').
/// </summary>
public string Service { get; set; }
/// <summary>
/// Gets and sets the region associated with the ARN (e.g.: 'us-east-1').
/// </summary>
public string Region { get; set; }
private string _accountId = string.Empty;
/// <summary>
/// Gets and sets the account ID associated with the ARN.
/// </summary>
public string AccountId
{
get { return this._accountId; }
set
{
if (string.IsNullOrEmpty(value))
{
this._accountId = string.Empty;
}
else
{
if (value != "*" && value.ToCharArray().Any(x => !char.IsLetterOrDigit(x) && x != '-'))
{
throw new AmazonAccountIdException("AccountId is invalid. The AccountId should be '*' or must only contain alphanumeric characters and dashes.");
}
this._accountId = value;
}
}
}
/// <summary>
/// Gets and sets the resource associated with the ARN (e.g.: 'mybucket/myobject').
/// </summary>
public string Resource { get; set; }
/// <summary>
/// Returns true if the string appears to be an ARN by seeing if the string starts with "arn:". This method
/// doesn't guarantee the string is a valid ARN. To validate the string call TryParse.
/// </summary>
/// <param name="arn"></param>
/// <returns></returns>
public static bool IsArn(string arn)
{
return arn != null && arn.StartsWith("arn:", StringComparison.Ordinal);
}
/// <summary>
/// Parses the string into an ARN object.
/// </summary>
/// <param name="arnString">String to parse into an ARN.</param>
/// <param name="arn">The out parameter for the ARN object created by TryParse.</param>
/// <returns>True if the string was parsed into an ARN object.</returns>
public static bool TryParse(string arnString, out Arn arn)
{
try
{
if (IsArn(arnString))
{
arn = Parse(arnString);
return true;
}
}
#pragma warning disable CA1031 // Do not catch general exception types
catch (Exception) { }
#pragma warning restore CA1031 // Do not catch general exception types
arn = null;
return false;
}
/// <summary>
/// Parses the string into an ARN object.
/// </summary>
/// <param name="arnString">String to parse into an Arn.</param>
/// <returns>The Arn object created from the passed in string.</returns>
/// <exception cref="ArgumentNullException">Thrown if arnString is null.</exception>
/// <exception cref="ArgumentException">Thrown if the string passed in not valid ARN.</exception>
public static Arn Parse(string arnString)
{
if (arnString == null)
{
throw new ArgumentNullException(nameof(arnString));
}
const string malformedErrorMessage = "ARN is in incorrect format. ARN format is: arn:<partition>:<service>:<region>:<account-id>:<resource>";
var tokens = arnString.Split(new char[] { ':' }, 6);
if (tokens.Length != 6)
{
throw new ArgumentException(malformedErrorMessage);
}
if (tokens[0] != "arn")
{
throw new ArgumentException(malformedErrorMessage);
}
string partition = tokens[1];
if (string.IsNullOrEmpty(partition))
{
throw new ArgumentException("Malformed ARN - no partition specified");
}
string service = tokens[2];
if (string.IsNullOrEmpty(service))
{
throw new ArgumentException("Malformed ARN - no service specified");
}
string region = tokens[3];
string accountId = tokens[4];
string resource = tokens[5];
if (string.IsNullOrEmpty(resource))
{
throw new ArgumentException("Malformed ARN - no resource specified");
}
return new Arn
{
Partition = partition,
Service = service,
Region = region,
AccountId = accountId,
Resource = resource
};
}
/// <summary>
/// Turns the Arn object into a string representation of an ARN.
/// </summary>
/// <returns></returns>
public override string ToString()
{
var sb = new StringBuilder();
sb.Append("arn:");
sb.Append(this.Partition);
sb.Append(":");
sb.Append(this.Service);
sb.Append(":");
sb.Append(this.Region);
sb.Append(":");
sb.Append(this.AccountId);
sb.Append(":");
sb.Append(this.Resource);
return sb.ToString();
}
public override bool Equals(object o)
{
if (this == o)
{
return true;
}
var arn = o as Arn;
if(arn == null)
{
return false;
}
if (!Partition.Equals(arn.Partition))
{
return false;
}
if (!Service.Equals(arn.Service))
{
return false;
}
if (Region != arn.Region)
{
return false;
}
if (AccountId != arn.AccountId)
{
return false;
}
return Resource.Equals(arn.Resource);
}
public override int GetHashCode()
{
return Hashing.Hash(Partition, Service, Region, AccountId, Resource);
}
}
}
| 222 |
aws-sdk-net | aws | C# | /*******************************************************************************
* 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.
* *****************************************************************************
* __ _ _ ___
* ( )( \/\/ )/ __)
* /__\ \ / \__ \
* (_)(_) \/\/ (___/
*
* AWS SDK for .NET
*
*/
using System;
using System.ComponentModel;
using System.Globalization;
using Amazon.Util;
using Amazon.Util.Internal;
using System.Collections.Generic;
using Amazon.Runtime;
namespace Amazon
{
/// <summary>
/// Configuration options that apply to the entire SDK.
///
/// These settings can be configured through app.config or web.config.
/// Below is a full sample configuration that illustrates all the possible options.
/// <code>
/// <configSections>
/// <section name="aws" type="Amazon.AWSSection, AWSSDK.Core"/>
/// </configSections>
/// <aws region="us-west-2">
/// <logging logTo="Log4Net, SystemDiagnostics" logResponses="Always" logMetrics="true" />
/// <s3 useSignatureVersion4="true" />
/// <proxy host="localhost" port="8888" username="1" password="1" />
///
/// <dynamoDB>
/// <dynamoDBContext tableNamePrefix="Prod-">
///
/// <tableAliases>
/// <alias fromTable="FakeTable" toTable="People" />
/// <alias fromTable="Persons" toTable="People" />
/// </tableAliases>
///
/// <mappings>
/// <map type="Sample.Tests.Author, SampleDLL" targetTable="People" />
/// <map type="Sample.Tests.Editor, SampleDLL" targetTable="People">
/// <property name="FullName" attribute="Name" />
/// <property name="EmployeeId" attribute="Id" />
/// <property name="ComplexData" converter="Sample.Tests.ComplexDataConverter, SampleDLL" />
/// <property name="Version" version="true" />
/// <property name="Password" ignore="true" />
/// </map>
/// </mappings>
///
/// </dynamoDBContext>
/// </dynamoDB>
/// </aws>
/// </code>
/// </summary>
public static partial class AWSConfigs
{
#region Private static members
private static char[] validSeparators = new char[] { ' ', ',' };
// Tests can override this DateTime source.
internal static Func<DateTime> utcNowSource = GetUtcNow;
// Deprecated configs
internal static string _awsRegion = GetConfig(AWSRegionKey);
internal static LoggingOptions _logging = GetLoggingSetting();
internal static ResponseLoggingOption _responseLogging = GetConfigEnum<ResponseLoggingOption>(ResponseLoggingKey);
internal static bool _logMetrics = GetConfigBool(LogMetricsKey);
internal static string _endpointDefinition = GetConfig(EndpointDefinitionKey);
internal static string _awsProfileName = GetConfig(AWSProfileNameKey);
internal static string _awsAccountsLocation = GetConfig(AWSProfilesLocationKey);
internal static bool _useSdkCache = GetConfigBool(UseSdkCacheKey, defaultValue: true);
// for reading from awsconfigs.xml
private static object _lock = new object();
private static List<string> standardConfigs = new List<string>() { "region", "logging", "correctForClockSkew" };
#pragma warning disable 414
private static bool configPresent = true;
#pragma warning restore 414
// New config section
private static RootConfig _rootConfig = new RootConfig();
#endregion
#region Clock Skew
/// <summary>
/// Manual offset to apply to client clock. This is a global setting that overrides
/// ClockOffset value calculated for all service endpoints.
/// </summary>
public static TimeSpan? ManualClockCorrection
{
get
{
return Runtime.CorrectClockSkew.GlobalClockCorrection;
}
set
{
Runtime.CorrectClockSkew.GlobalClockCorrection = value;
}
}
/// <summary>
/// Determines if the SDK should correct for client clock skew
/// by determining the correct server time and reissuing the
/// request with the correct time.
/// Default value of this field is True.
/// <seealso cref="ClockOffset"/> will be updated with the calculated
/// offset even if this field is set to false, though requests
/// will not be corrected or retried.
/// Ignored if <seealso cref="ManualClockCorrection"/> is set.
/// </summary>
public static bool CorrectForClockSkew
{
get { return _rootConfig.CorrectForClockSkew; }
set { _rootConfig.CorrectForClockSkew = value; }
}
/// <summary>
/// The calculated clock skew correction, if there is one.
/// This field will be set if a service call resulted in an exception
/// and the SDK has determined that there is a difference between local
/// and server times.
///
/// If <seealso cref="CorrectForClockSkew"/> is set to true, this
/// value will be set to the correction, but it will not be used by the
/// SDK and clock skew errors will not be retried.
/// </summary>
[Obsolete("This value is deprecated in favor of IClientConfig.ClockOffset")]
public static TimeSpan ClockOffset
{
get;
internal set;
}
#endregion
#region Region
/// <summary>
/// Key for the AWSRegion property.
/// <seealso cref="Amazon.AWSConfigs.AWSRegion"/>
/// </summary>
public const string AWSRegionKey = "AWSRegion";
/// <summary>
/// Configures the default AWS region for clients which have not explicitly specified a region.
/// Changes to this setting will only take effect for newly constructed instances of AWS clients.
///
/// This setting can be configured through the App.config. For example:
/// <code>
/// <configSections>
/// <section name="aws" type="Amazon.AWSSection, AWSSDK.Core"/>
/// </configSections>
/// <aws region="us-west-2" />
/// </code>
/// </summary>
public static string AWSRegion
{
get { return _rootConfig.Region; }
set { _rootConfig.Region = value; }
}
#endregion
#region Account Name
/// <summary>
/// Key for the AWSProfileName property.
/// <seealso cref="Amazon.AWSConfigs.AWSProfileName"/>
/// </summary>
public const string AWSProfileNameKey = "AWSProfileName";
/// <summary>
/// Profile name for stored AWS credentials that will be used to make service calls.
/// Changes to this setting will only take effect in newly-constructed clients.
/// <para>
/// To reference the account from an application's App.config or Web.config use the AWSProfileName setting.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="development"/>
/// </appSettings>
/// </configuration>
/// </code>
/// </para>
/// </summary>
public static string AWSProfileName
{
get { return _rootConfig.ProfileName; }
set { _rootConfig.ProfileName = value; }
}
#endregion
#region Accounts Location
/// <summary>
/// Key for the AWSProfilesLocation property.
/// <seealso cref="Amazon.AWSConfigs.LogMetrics"/>
/// </summary>
public const string AWSProfilesLocationKey = "AWSProfilesLocation";
/// <summary>
/// Location of the credentials file shared with other AWS SDKs.
/// By default, the credentials file is stored in the .aws directory in the current user's home directory.
///
/// Changes to this setting will only take effect in newly-constructed clients.
/// <para>
/// To reference the profile from an application's App.config or Web.config use the AWSProfileName setting.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfilesLocation" value="c:\config"/>
/// </appSettings>
/// </configuration>
/// </code>
/// </para>
/// </summary>
public static string AWSProfilesLocation
{
get { return _rootConfig.ProfilesLocation; }
set { _rootConfig.ProfilesLocation = value; }
}
#endregion
#region Logging
/// <summary>
/// Key for the Logging property.
/// <seealso cref="Amazon.AWSConfigs.Logging"/>
/// </summary>
public const string LoggingKey = "AWSLogging";
/// <summary>
/// Configures how the SDK should log events, if at all.
/// Changes to this setting will only take effect in newly-constructed clients.
///
/// The setting can be configured through App.config, for example:
/// <code>
/// <appSettings>
/// <add key="AWSLogging" value="log4net"/>
/// </appSettings>
/// </code>
/// </summary>
[Obsolete("This property is obsolete. Use LoggingConfig.LogTo instead.")]
public static LoggingOptions Logging
{
get { return _rootConfig.Logging.LogTo; }
set { _rootConfig.Logging.LogTo = value; }
}
private static LoggingOptions GetLoggingSetting()
{
string value = GetConfig(LoggingKey);
if (string.IsNullOrEmpty(value))
return LoggingOptions.None;
string[] settings = value.Split(validSeparators, StringSplitOptions.RemoveEmptyEntries);
if (settings == null || settings.Length == 0)
return LoggingOptions.None;
LoggingOptions totalSetting = LoggingOptions.None;
foreach (string setting in settings)
{
LoggingOptions l = ParseEnum<LoggingOptions>(setting);
totalSetting |= l;
}
return totalSetting;
}
#endregion
#region Response Logging
/// <summary>
/// Key for the ResponseLogging property.
///
/// <seealso cref="Amazon.AWSConfigs.ResponseLogging"/>
/// </summary>
public const string ResponseLoggingKey = "AWSResponseLogging";
/// <summary>
/// Configures when the SDK should log service responses.
/// Changes to this setting will take effect immediately.
///
/// The setting can be configured through App.config, for example:
/// <code>
/// <appSettings>
/// <add key="AWSResponseLogging" value="OnError"/>
/// </appSettings>
/// </code>
/// </summary>
[Obsolete("This property is obsolete. Use LoggingConfig.LogResponses instead.")]
public static ResponseLoggingOption ResponseLogging
{
get { return _rootConfig.Logging.LogResponses; }
set { _rootConfig.Logging.LogResponses = value; }
}
#endregion
#region Log Metrics
/// <summary>
/// Key for the LogMetrics property.
/// <seealso cref="Amazon.AWSConfigs.LogMetrics"/>
/// </summary>
public const string LogMetricsKey = "AWSLogMetrics";
/// <summary>
/// Configures if the SDK should log performance metrics.
/// This setting configures the default LogMetrics property for all clients/configs.
/// Changes to this setting will only take effect in newly-constructed clients.
///
/// The setting can be configured through App.config, for example:
/// <code>
/// <appSettings>
/// <add key="AWSLogMetrics" value="true"/>
/// </appSettings>
/// </code>
/// </summary>
[Obsolete("This property is obsolete. Use LoggingConfig.LogMetrics instead.")]
public static bool LogMetrics
{
get { return _rootConfig.Logging.LogMetrics; }
set { _rootConfig.Logging.LogMetrics = value; }
}
#endregion
#region Endpoint Configuration
/// <summary>
/// Key for the EndpointDefinition property.
/// <seealso cref="Amazon.AWSConfigs.EndpointDefinition"/>
/// </summary>
public const string EndpointDefinitionKey = "AWSEndpointDefinition";
/// <summary>
/// Configures if the SDK should use a custom configuration file that defines the regions and endpoints.
/// <code>
/// <configSections>
/// <section name="aws" type="Amazon.AWSSection, AWSSDK.Core"/>
/// </configSections>
/// <aws endpointDefinition="c:\config\endpoints.json" />
/// </code>
/// </summary>
public static string EndpointDefinition
{
get { return _rootConfig.EndpointDefinition; }
set { _rootConfig.EndpointDefinition = value; }
}
#endregion
#region SDK Cache
/// <summary>
/// Key for the UseSdkCache property.
/// <seealso cref="Amazon.AWSConfigs.UseSdkCache"/>
/// </summary>
public const string UseSdkCacheKey = "AWSCache";
/// <summary>
/// Configures if the SDK Cache should be used, the default value is true.
/// <code>
/// <configSections>
/// <section name="aws" type="Amazon.AWSSection, AWSSDK.Core"/>
/// </configSections>
/// <aws useSdkCache="true" />
/// </code>
/// </summary>
public static bool UseSdkCache
{
get { return _rootConfig.UseSdkCache; }
set { _rootConfig.UseSdkCache = value; }
}
#endregion
#region AWS Config Sections
/// <summary>
/// Configuration for the Logging section of AWS configuration.
/// Changes to some settings may not take effect until a new client is constructed.
///
/// Example section:
/// <code>
/// <configSections>
/// <section name="aws" type="Amazon.AWSSection, AWSSDK.Core"/>
/// </configSections>
/// <aws>
/// <logging logTo="Log4Net, SystemDiagnostics" logResponses="Always" logMetrics="true" />
/// </aws>
/// </code>
/// </summary>
public static LoggingConfig LoggingConfig { get { return _rootConfig.Logging; } }
/// <summary>
/// Configuration for the Proxy section of AWS configuration.
/// Changes to some settings may not take effect until a new client is constructed.
///
/// Example section:
/// <code>
/// <configSections>
/// <section name="aws" type="Amazon.AWSSection, AWSSDK.Core"/>
/// </configSections>
/// <aws>
/// <proxy host="localhost" port="8888" username="1" password="1" bypassList="addressexpr1;addressexpr2;..." bypassOnLocal="true" />
/// </aws>
/// </code>
/// </summary>
public static ProxyConfig ProxyConfig { get { return _rootConfig.Proxy; } }
/// <summary>
/// When set to true, the service client will use the x-amz-user-agent
/// header instead of the User-Agent header to report version and
/// environment information to the AWS service.
///
/// Note: This is especially useful when using a platform like WebAssembly
/// which doesn't allow to specify the User-Agent header.
/// </summary>
public static bool UseAlternateUserAgentHeader
{
get { return _rootConfig.UseAlternateUserAgentHeader; }
set { _rootConfig.UseAlternateUserAgentHeader = value; }
}
/// <summary>
/// Configuration for the region endpoint section of AWS configuration.
/// Changes may not take effect until a new client is constructed.
///
/// Example section:
/// <code>
/// <configSections>
/// <section name="aws" type="Amazon.AWSSection, AWSSDK.Core"/>
/// </configSections>
/// <aws region="us-west-2" />
/// </code>
/// </summary>
public static RegionEndpoint RegionEndpoint
{
get { return _rootConfig.RegionEndpoint; }
set { _rootConfig.RegionEndpoint = value; }
}
public static CSMConfig CSMConfig
{
get { return _rootConfig.CSMConfig; }
set { _rootConfig.CSMConfig = value; }
}
#endregion
#region Internal members
internal const string LoggingDestinationProperty = "LogTo";
internal static PropertyChangedEventHandler mPropertyChanged;
/// <summary>
/// Lock for SomeEvent delegate access.
/// </summary>
internal static readonly object propertyChangedLock = new object();
internal static event PropertyChangedEventHandler PropertyChanged
{
add
{
lock (propertyChangedLock)
{
mPropertyChanged += value;
}
}
remove
{
lock (propertyChangedLock)
{
mPropertyChanged -= value;
}
}
}
internal static void OnPropertyChanged(string name)
{
PropertyChangedEventHandler handler = mPropertyChanged;
if (handler != null)
{
handler(null, new PropertyChangedEventArgs(name));
}
}
#endregion
#region Private general methods
private static bool GetConfigBool(string name, bool defaultValue = false)
{
string value = GetConfig(name);
bool result;
if (bool.TryParse(value, out result))
return result;
return defaultValue;
}
private static T GetConfigEnum<T>(string name)
{
var type = TypeFactory.GetTypeInfo(typeof(T));
if (!type.IsEnum) throw new InvalidOperationException(string.Format(CultureInfo.InvariantCulture, "Type {0} must be enum", type.FullName));
string value = GetConfig(name);
if (string.IsNullOrEmpty(value))
return default(T);
T result = ParseEnum<T>(value);
return result;
}
private static T ParseEnum<T>(string value)
{
T t;
if (TryParseEnum<T>(value, out t))
return t;
Type type = typeof(T);
string messageFormat = "Unable to parse value {0} as enum of type {1}. Valid values are: {2}";
string enumNames = string.Join(", ", Enum.GetNames(type));
throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, messageFormat, value, type.FullName, enumNames));
}
private static bool TryParseEnum<T>(string value, out T result)
{
result = default(T);
if (string.IsNullOrEmpty(value))
return false;
try
{
T t = (T)Enum.Parse(typeof(T), value, true);
result = t;
return true;
}
catch (ArgumentException)
{
return false;
}
}
/// <summary>
/// This method should never be called directly.
/// Call AWSSDKUtils.CorrectedUtcNow instead.
/// </summary>
/// <returns></returns>
[System.Diagnostics.CodeAnalysis.SuppressMessage("AwsSdkRules", "CR1003:PreventDateTimeNowUseRule")]
private static DateTime GetUtcNow()
{
return DateTime.UtcNow;
}
#endregion
}
/// <summary>
/// Logging options.
/// Can be combined to enable multiple loggers.
/// </summary>
[Flags]
public enum LoggingOptions
{
/// <summary>
/// No logging
/// </summary>
None = 0,
/// <summary>
/// Log using log4net
/// </summary>
Log4Net = 1,
/// <summary>
/// Log using System.Diagnostics
/// </summary>
SystemDiagnostics = 2,
/// <summary>
/// Log to the console
/// </summary>
Console = 16
}
/// <summary>
/// Response logging option.
/// </summary>
public enum ResponseLoggingOption
{
/// <summary>
/// Never log service response
/// </summary>
Never = 0,
/// <summary>
/// Only log service response when there's an error
/// </summary>
OnError = 1,
/// <summary>
/// Always log service response
/// </summary>
Always = 2
}
/// <summary>
/// Format for metrics data in the logs
/// </summary>
public enum LogMetricsFormatOption
{
/// <summary>
/// Emit metrics in human-readable format
/// </summary>
Standard = 0,
/// <summary>
/// Emit metrics as JSON data
/// </summary>
JSON = 1
}
}
| 643 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System.Diagnostics.CodeAnalysis;
// Don't reference RegionEndpoints in the SDK unless absolutely necessary.
[module: SuppressMessage("AwsSdkRules", "CR1004:PreventRegionEndpointUseRule", Scope = "member", Target = "Amazon.Runtime.AssumeRoleAWSCredentials.#.ctor(Amazon.Runtime.AWSCredentials,System.String,System.String,Amazon.Runtime.AssumeRoleAWSCredentialsOptions)")]
[module: SuppressMessage("AwsSdkRules", "CR1004:PreventRegionEndpointUseRule", Scope = "member", Target = "Amazon.Runtime.AssumeRoleAWSCredentials.DefaultSTSClientRegion")]
[module: SuppressMessage("AwsSdkRules", "CR1004:PreventRegionEndpointUseRule", Justification = "<Pending>", Scope = "member", Target = "Amazon.Runtime.FederatedAWSCredentials.#.cctor()")]
[module: SuppressMessage("AwsSdkRules", "CR1004:PreventRegionEndpointUseRule", Scope = "member", Target = "Amazon.Runtime.FederatedAWSCredentials.DefaultSTSClientRegion")]
[module: SuppressMessage("AwsSdkRules", "CR1004:PreventRegionEndpointUseRule", Scope = "member", Target = "Amazon.Runtime.StoredProfileFederatedCredentials.#.ctor(System.String,System.String,System.Net.WebProxy)")]
[module: SuppressMessage("AwsSdkRules", "CR1004:PreventRegionEndpointUseRule", Scope = "member", Target = "Amazon.Runtime.StoredProfileFederatedCredentials.DefaultSTSClientRegion")]
[module: SuppressMessage("AwsSdkRules", "CR1004:PreventRegionEndpointUseRule", Scope = "member", Target = "Amazon.Runtime.Internal.Util.S3Uri.#.ctor(System.Uri)")]
[module: SuppressMessage("AwsSdkRules", "CR1004:PreventRegionEndpointUseRule", Scope = "member", Target = "Amazon.Util.AWSSDKUtils.#DetermineRegion(System.String)")]
[module: SuppressMessage("AwsSdkRules", "CR1004:PreventRegionEndpointUseRule", Scope = "member", Target = "Amazon.Runtime.AssumeRoleWithWebIdentityCredentials._defaultSTSClientRegion")]
// This private static logger variable is used for testing.
[module: SuppressMessage("AwsSdkRules", "CR1002:PreventStaticLoggersRule", Scope="member", Target="Amazon.Runtime.Internal.HttpWebRequestFactory.#_logger")]
// Avoid empty interfaces
[module: SuppressMessage("Microsoft.Design", "CA1040:AvoidEmptyInterfaces", Scope="type", Target="Amazon.Runtime.IAsyncResponseContext")]
// Suppressions for identifiers in base classes
[module: SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", Scope = "member", Target = "Amazon.Runtime.Internal.Util.ILogger.#Error(System.Exception,System.String,System.Object[])", MessageId = "Error")]
// Identifiers should have correct prefix
[module: SuppressMessage("Microsoft.Naming", "CA1715:IdentifiersShouldHaveCorrectPrefix", Scope = "member", Target = "Amazon.Runtime.AmazonWebServiceClient.#Invoke`2(!!1,System.AsyncCallback,System.Object,System.Boolean,Amazon.Runtime.Internal.Transform.IMarshaller`2<!!0,!!1>,Amazon.Runtime.Internal.Transform.ResponseUnmarshaller,Amazon.Runtime.Internal.Auth.AbstractAWSSigner)", MessageId = "T")]
[module: SuppressMessage("Microsoft.Naming", "CA1715:IdentifiersShouldHaveCorrectPrefix", Scope = "type", Target = "Amazon.Runtime.Internal.Transform.IResponseUnmarshaller`2", MessageId = "T")]
[module: SuppressMessage("Microsoft.Naming", "CA1715:IdentifiersShouldHaveCorrectPrefix", Scope = "type", Target = "Amazon.Runtime.Internal.Transform.IUnmarshaller`2", MessageId = "T")]
[module: SuppressMessage("Microsoft.Naming", "CA1715:IdentifiersShouldHaveCorrectPrefix", Scope = "type", Target = "Amazon.Runtime.Internal.Transform.DictionaryUnmarshaller`4", MessageId = "T")]
[module: SuppressMessage("Microsoft.Naming", "CA1715:IdentifiersShouldHaveCorrectPrefix", Scope = "type", Target = "Amazon.Runtime.Internal.Transform.IMarshaller`2", MessageId = "T")]
[module: SuppressMessage("Microsoft.Naming", "CA1715:IdentifiersShouldHaveCorrectPrefix", Scope = "type", Target = "Amazon.Runtime.Internal.Transform.ListUnmarshaller`2", MessageId = "T")]
[module: SuppressMessage("Microsoft.Naming", "CA1715:IdentifiersShouldHaveCorrectPrefix", Scope = "type", Target = "Amazon.Runtime.Internal.Transform.KeyValueUnmarshaller`4", MessageId = "T")]
[module: SuppressMessage("Microsoft.Naming", "CA1715:IdentifiersShouldHaveCorrectPrefix", Scope = "type", Target = "Amazon.Runtime.Internal.Transform.IRequestMarshaller`2", MessageId = "T")]
[module: SuppressMessage("Microsoft.Naming", "CA1715:IdentifiersShouldHaveCorrectPrefix", Scope = "type", Target = "Amazon.Runtime.Internal.AutoConstructedDictionary`2", MessageId = "T")]
// Identifiers should not contain type names
[module: SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.AWS4PreSignedUrlSigner.#MaxAWS4PreSignedUrlExpiry", MessageId = "signed")]
[module: SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.AWS4Signer.#FormatDateTime(System.DateTime,System.String)", MessageId = "string")]
[module: SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", Scope = "member", Target = "Amazon.Util.AWSSDKUtils.#IsPropertySet(System.Object,System.String)", MessageId = "object")]
// Array properties/fields
[module: SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Scope = "member", Target = "Amazon.Runtime.Internal.Util.HashStream.#CalculatedHash")]
[module: SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Scope = "member", Target = "Amazon.Runtime.Internal.Util.HashStream.#ExpectedHash")]
[module: SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Scope = "member", Target = "Amazon.Auth.AccessControlPolicy.Condition.#Values")]
[module: SuppressMessage("Microsoft.Security", "CA2105:ArrayFieldsShouldNotBeReadOnly", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.AWS4Signer.#TerminatorBytes")]
[module: SuppressMessage("Microsoft.Security", "CA2105:ArrayFieldsShouldNotBeReadOnly", Scope = "member", Target = "Amazon.Util.Internal.TypeFactory.#EmptyTypes")]
[module: SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Scope = "member", Target = "Amazon.Runtime.Internal.IRequest.#Content")]
[module: SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Scope = "member", Target = "Amazon.Runtime.Internal.Util.LogMessage.#Args")]
[module: SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.AWS4SigningResult.#SignatureBytes")]
[module: SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.AWS4SigningResult.#SigningKey")]
[module: SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Scope = "member", Target = "Amazon.Runtime.Internal.Util.EncryptUploadPartStream.#InitializationVector")]
[module: SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Scope="member", Target="Amazon.Runtime.ILogMessage.#Args")]
[module: SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Scope = "member", Target = "Amazon.Runtime.SharedInterfaces.GenerateDataKeyResult.#KeyPlaintext")]
[module: SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Scope = "member", Target = "Amazon.Runtime.SharedInterfaces.GenerateDataKeyResult.#KeyCiphertext")]
// Nested generic types
[module: SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures", Scope = "member", Target = "Amazon.Runtime.IRequestMetrics.#Properties")]
[module: SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures", Scope = "member", Target = "Amazon.Runtime.IRequestMetrics.#Timings")]
[module: SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures", Scope = "member", Target = "Amazon.Runtime.Internal.Settings.SettingsCollection.#.ctor(System.Collections.Generic.Dictionary`2<System.String,System.Collections.Generic.Dictionary`2<System.String,System.Object>>)")]
[module: SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures", Scope = "member", Target = "Amazon.Runtime.SharedInterfaces.ICoreAmazonSQS.#GetAttributesAsync(System.String)")]
[module: SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures", Scope = "member", Target = "Amazon.Runtime.SharedInterfaces.ICoreAmazonS3.#GetAllObjectKeysAsync(System.String,System.String,System.Collections.Generic.IDictionary`2<System.String,System.Object>)")]
[module: SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures", Scope = "member", Target = "Amazon.Runtime.Internal.Util.IniFile.#EditSection(System.String,System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.String,System.String>>)")]
[module: SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures", Scope="member", Target="Amazon.Runtime.Internal.Auth.AWS4Signer.#SortAndPruneHeaders(System.Collections.Generic.IEnumerable`1<System.Collections.Generic.KeyValuePair`2<System.String,System.String>>)")]
[module: SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures", Scope = "member", Target = "Amazon.Runtime.Internal.ParameterCollection.#GetSortedParametersList()")]
[module: SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.AWS4Signer.#GetParametersToCanonicalize(Amazon.Runtime.Internal.IRequest)")]
[module: SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.AWS4Signer.#CanonicalizeQueryParameters(System.Collections.Generic.IEnumerable`1<System.Collections.Generic.KeyValuePair`2<System.String,System.String>>,System.Boolean)")]
[module: SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.AWS4Signer.#CanonicalizeQueryParameters(System.Collections.Generic.IEnumerable`1<System.Collections.Generic.KeyValuePair`2<System.String,System.String>>)")]
[module: SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures", Scope = "member", Target = "Amazon.Util.AWSHttpClient.#GetResponseHeadersAsync(System.String,System.String)")]
// Suppressions for exceptions in setters
[module: SuppressMessage("Microsoft.Usage", "CA2219:DoNotRaiseExceptionsInExceptionClauses", Scope = "member", Target = "Amazon.Runtime.Internal.HttpRequest.#WriteToRequestBody(System.IO.Stream,System.IO.Stream,System.Collections.Generic.IDictionary`2<System.String,System.String>,Amazon.Runtime.IRequestContext)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Usage", "CA2219:Do not raise exceptions in finally clauses", Scope = "member", Target = "~M:Amazon.Runtime.Internal.HttpRequest.WriteToRequestBodyAsync(System.IO.Stream,System.IO.Stream,System.Collections.Generic.IDictionary{System.String,System.String},Amazon.Runtime.IRequestContext)~System.Threading.Tasks.Task")]
// Suppressions for DisposableFieldsShouldBeDisposed
#if BCL35
// In this case the semaphore is being disposed. The semaphore.Close() has been renamed to semaphore.Dispose()
[module: SuppressMessage("Microsoft.Usage", "CA2213:DisposableFieldsShouldBeDisposed", Scope = "member", Target = "Amazon.Runtime.RefreshingAWSCredentials.#Dispose(System.Boolean)")]
#endif
// Serialization-only classes
[module: SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses", Scope = "type", Target = "Amazon.Runtime.InstanceProfileAWSCredentials+SecurityCredentials")]
[module: SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses", Scope = "type", Target = "Amazon.Runtime.InstanceProfileAWSCredentials+SecurityInfo")]
// Passing base types
[module: SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Scope = "member", Target = "Amazon.S3.Model.S3AccessControlList.#RemoveGrant(Amazon.S3.Model.S3Grantee,Amazon.S3.S3Permission)")]
[module: SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Scope = "member", Target = "Amazon.S3.Model.S3BucketLoggingConfig.#RemoveGrant(Amazon.S3.Model.S3Grantee,Amazon.S3.S3Permission)")]
[module: SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Scope = "member", Target = "Amazon.Auth.AccessControlPolicy.ConditionFactory.#NewCannedACLCondition(Amazon.S3.S3CannedACL)")]
// Casting
[module: SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", Scope = "member", Target = "Amazon.Runtime.Internal.Util.WrapperStream.#SearchWrappedStream(System.Func`2<System.IO.Stream,System.Boolean>)")]
[module: SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", Scope = "member", Target = "Amazon.Runtime.Internal.Transform.JsonUnmarshallerContext.#ReadText()")]
// Identifier suffix
[module: SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix", Scope = "type", Target = "Amazon.Runtime.StreamTransferProgressArgs")]
[module: SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix", Scope = "type", Target = "Amazon.Runtime.Internal.AutoConstructedList`1")]
[module: SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix", Scope = "type", Target = "Amazon.Runtime.Internal.ParametersDictionaryFacade")]
[module: SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix", Scope = "type", Target = "Amazon.Runtime.Internal.ParameterCollection")]
[assembly: SuppressMessage("Naming", "CA1710:Identifiers should have correct suffix", Justification = "Not a collection", Scope = "type", Target = "~T:Amazon.Runtime.Documents.Document")]
[assembly: SuppressMessage("Naming", "CA1710:Identifiers should have correct suffix", Justification = "Not a collection", Scope = "type", Target = "~T:Amazon.Runtime.PaginatedResultKeyResponse`2")]
[assembly: SuppressMessage("Naming", "CA1710:Identifiers should have correct suffix", Justification = "Not a collection", Scope = "type", Target = "~T:Amazon.Runtime.IPaginatedEnumerable`1")]
[assembly: SuppressMessage("Naming", "CA1710:Identifiers should have correct suffix", Justification = "Not a collection", Scope = "type", Target = "~T:Amazon.Runtime.PaginatedResponse`1")]
// Interface methods not callable by child types
[module: SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes", Scope = "member", Target = "Amazon.Runtime.AmazonWebServiceRequest.#Amazon.Runtime.Internal.IRequestEvents.FireBeforeRequestEvent(System.Object,Amazon.Runtime.RequestEventArgs)")]
[module: SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes", Scope = "member", Target = "Amazon.Runtime.AmazonWebServiceRequest.#Amazon.Runtime.Internal.IRequestEvents.AddBeforeRequestHandler(Amazon.Runtime.RequestEventHandler)")]
[module: SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes", Scope = "member", Target = "Amazon.Runtime.AmazonWebServiceRequest.#Amazon.Runtime.Internal.IAmazonWebServiceRequest.RemoveBeforeRequestHandler(Amazon.Runtime.RequestEventHandler)")]
[module: SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes", Scope = "member", Target = "Amazon.Runtime.AmazonWebServiceRequest.#Amazon.Runtime.Internal.IAmazonWebServiceRequest.get_RequestState()")]
[module: SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes", Scope = "member", Target = "Amazon.Runtime.AmazonWebServiceRequest.#Amazon.Runtime.Internal.IAmazonWebServiceRequest.set_StreamUploadProgressCallback(System.EventHandler`1<Amazon.Runtime.StreamTransferProgressArgs>)")]
[module: SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes", Scope = "member", Target = "Amazon.Runtime.AmazonWebServiceRequest.#Amazon.Runtime.Internal.IAmazonWebServiceRequest.get_StreamUploadProgressCallback()")]
[module: SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes", Scope = "member", Target = "Amazon.Runtime.AmazonWebServiceRequest.#Amazon.Runtime.Internal.IAmazonWebServiceRequest.get_UseSigV4()")]
[module: SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes", Scope = "member", Target = "Amazon.Runtime.AmazonWebServiceRequest.#Amazon.Runtime.Internal.IAmazonWebServiceRequest.set_UseSigV4(System.Boolean)")]
[module: SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes", Scope = "member", Target = "Amazon.Runtime.AmazonWebServiceRequest.#Amazon.Runtime.Internal.IAmazonWebServiceRequest.AddBeforeRequestHandler(Amazon.Runtime.RequestEventHandler)")]
// General exception types
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Amazon.Runtime.Internal.Util.InternalLog4netLogger.#loadStatics()")]
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Amazon.Runtime.Internal.Util.BackgroundDispatcher`1.#HandleInvoked()")]
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Amazon.Runtime.FallbackCredentialsFactory.#GetCredentials(System.Boolean)")]
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Amazon.Runtime.Internal.Util.MetricError.#.ctor(Amazon.Runtime.Internal.Util.Metric,System.Exception,System.String,System.Object[])")]
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Amazon.Runtime.AmazonWebServiceClient.#getRequestStreamCallback(System.IAsyncResult)")]
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Amazon.Runtime.AmazonWebServiceClient.#getResponseCallback(System.IAsyncResult)")]
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Amazon.Runtime.InstanceProfileAWSCredentials.#GenerateNewCredentials()")]
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Amazon.Util.CryptoUtilFactory+CryptoUtil.#CreateSHA256Instance()")]
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Amazon.Util.AWSSDKUtils.#PreserveStackTrace(System.Exception)")]
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Amazon.Util.AWSSDKUtils.#ForceCanonicalPathAndQuery(System.Uri)")]
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Amazon.Util.AWSSDKUtils.#DetermineFramework()")]
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Amazon.Runtime.Internal.Util.EventStream.#BeginRead(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)")]
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Amazon.AWSSection.#Serialize(System.String)")]
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Amazon.Runtime.AbstractWebServiceClient.#DontUnescapePathDotsAndSlashes(System.Uri)")]
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Amazon.RegionEndpoint.#TryLoadEndpointDefinitionsFromAssemblyDir()")]
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Amazon.Runtime.Internal.HttpHandler`1.#DontUnescapePathDotsAndSlashes(System.Uri)")]
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Amazon.Runtime.Internal.HttpHandler`1.#GetResponseCallback(System.IAsyncResult)")]
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Amazon.Runtime.Internal.HttpHandler`1.#GetRequestStreamCallback(System.IAsyncResult)")]
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Amazon.Runtime.Internal.PipelineHandler.#AsyncCallback(Amazon.Runtime.IAsyncExecutionContext)")]
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Amazon.Runtime.Internal.HttpErrorResponseExceptionHandler.#HandleSuppressed404(Amazon.Runtime.IExecutionContext,Amazon.Runtime.Internal.Transform.IWebResponseData)")]
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Amazon.Runtime.Internal.ErrorHandler.#InvokeAsyncCallback(Amazon.Runtime.IAsyncExecutionContext)")]
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Amazon.Runtime.AmazonServiceClient.#DontUnescapePathDotsAndSlashes(System.Uri)")]
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Amazon.Runtime.Internal.Util.MetricError.#.ctor(Amazon.Runtime.Metric,System.Exception,System.String,System.Object[])")]
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Amazon.Runtime.Internal.Util.RequestMetrics.#ToString()")]
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Amazon.Runtime.Internal.HttpHandler`1.#CompleteFailedRequest(Amazon.Runtime.IHttpRequest`1<!0>)")]
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Amazon.Runtime.Internal.Settings.PersistenceManager.#loadSettingsType(System.String)")]
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Amazon.Util.Internal.InternalSDKUtils.#DetermineFramework()")]
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Amazon.Runtime.Internal.AsyncRunner.#Run`1(System.Func`1<!!0>,System.Threading.CancellationToken)")]
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope="member", Target="Amazon.Runtime.Internal.Settings.UserCrypto.#get_IsUserCryptAvailable()")]
// Overflow operations
[module: SuppressMessage("Microsoft.Usage", "CA2233:OperationsShouldNotOverflow", Scope = "member", Target = "Amazon.Runtime.Internal.Util.EncryptStream.#Read(System.Byte[],System.Int32,System.Int32)", MessageId = "offset+16")]
[module: SuppressMessage("Microsoft.Usage", "CA2233:OperationsShouldNotOverflow", Scope = "member", Target = "Amazon.Runtime.Internal.Util.EncryptUploadPartStream.#Read(System.Byte[],System.Int32,System.Int32)", MessageId = "offset+16")]
// Nested types, breaking change
[module: SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Scope = "type", Target = "Amazon.Auth.AccessControlPolicy.ConditionFactory+ArnComparisonType")]
[module: SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Scope = "type", Target = "Amazon.Auth.AccessControlPolicy.ConditionFactory+DateComparisonType")]
[module: SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Scope = "type", Target = "Amazon.Auth.AccessControlPolicy.ConditionFactory+IpAddressComparisonType")]
[module: SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Scope = "type", Target = "Amazon.Auth.AccessControlPolicy.ConditionFactory+NumericComparisonType")]
[module: SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Scope = "type", Target = "Amazon.Auth.AccessControlPolicy.ConditionFactory+StringComparisonType")]
[module: SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Scope = "type", Target = "Amazon.Auth.AccessControlPolicy.Statement+StatementEffect")]
[module: SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Scope = "type", Target = "Amazon.RegionEndpoint+Endpoint")]
[module: SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Scope = "type", Target = "Amazon.Internal.RegionEndpointProviderV2+RegionEndpoint")]
[module: SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Scope = "type", Target = "Amazon.Runtime.Internal.AsyncResult+AsyncRequestState")]
[module: SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Scope = "type", Target = "")]
[module: SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Scope = "type", Target = "")]
[module: SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Scope = "type", Target = "")]
[module: SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Scope = "type", Target = "Amazon.Runtime.Internal.Settings.SettingsCollection+ObjectSettings")]
[module: SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Scope = "type", Target = "Amazon.Runtime.Internal.Settings.SettingsCollection+ObjectSettings")]
[module: SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Scope = "type", Target = "Amazon.Runtime.FallbackCredentialsFactory+CredentialsGenerator")]
[module: SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Scope = "type", Target = "Amazon.Runtime.RefreshingAWSCredentials+CredentialsRefreshState")]
[module: SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Scope = "type", Target = "Amazon.Runtime.StoredProfileFederatedCredentials+RequestUserCredential")]
[module: SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Scope = "type", Target = "Amazon.Util.AWSPublicIpAddressRange+AddressFormat")]
[module: SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Scope = "type", Target = "Amazon.Runtime.Internal.CSMFallbackConfigChain+ConfigurationSource")]
[module: SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Scope = "type", Target = "Amazon.Runtime.Internal.Auth.S3Signer+RegionDetectionUpdater")]
// Normalize strings to uppercase, breaking change
[module: SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Amazon.Auth.AccessControlPolicy.ConditionFactory.#NewCondition(System.String,System.Boolean)")]
[module: SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.AWS3Signer.#GetCanonicalizedHeadersForStringToSign(Amazon.Runtime.Internal.IRequest)")]
[module: SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.AWS3Signer.#GetHeadersForStringToSign(Amazon.Runtime.Internal.IRequest)")]
[module: SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.AWS4Signer.#CalculateSignature(System.Collections.Generic.IDictionary`2<System.String,System.String>,System.Collections.Generic.IDictionary`2<System.String,System.String>,System.String,System.String,System.String,System.String,Amazon.Runtime.ImmutableCredentials)")]
[module: SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.AWS4Signer.#DetermineRegion(Amazon.Runtime.IClientConfig)")]
[module: SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.AWS4Signer.#DetermineService(Amazon.Runtime.IClientConfig)")]
[module: SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.AWS4Signer.#GetCanonicalizedHeaders(System.Collections.Generic.List`1<System.String>,System.Collections.Generic.IDictionary`2<System.String,System.String>)")]
[module: SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.AWS4Signer.#GetSignedHeaders(System.Collections.Generic.List`1<System.String>)")]
[module: SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.S3Signer.#buildCanonicalizedHeaders(System.Collections.Generic.IDictionary`2<System.String,System.String>)")]
[module: SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Amazon.Runtime.Internal.Util.StringUtils.#FromBool(System.Boolean)")]
[module: SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.AWS4Signer.#CanonicalizeHeaderNames(System.Collections.Generic.IEnumerable`1<System.Collections.Generic.KeyValuePair`2<System.String,System.String>>)")]
[module: SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.AWS4Signer.#CanonicalizeHeaders(System.Collections.Generic.ICollection`1<System.Collections.Generic.KeyValuePair`2<System.String,System.String>>)")]
[module: SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.S3Signer.#BuildCanonicalizedHeaders(System.Collections.Generic.IDictionary`2<System.String,System.String>)")]
[module: SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.AWS4Signer.#DetermineSigningRegion(Amazon.Runtime.IClientConfig,System.String,Amazon.RegionEndpoint,Amazon.Runtime.Internal.IRequest)")]
[module: SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.AWS4Signer.#CanonicalizeHeaders(System.Collections.Generic.IDictionary`2<System.String,System.String>)")]
[module: SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.AWS4Signer.#CanonicalizeHeaderNames(System.Collections.Generic.IDictionary`2<System.String,System.String>)")]
// Types names matching namespaces
[module: SuppressMessage("Microsoft.Naming", "CA1724:TypeNamesShouldNotMatchNamespaces", Scope = "type", Target = "Amazon.Auth.AccessControlPolicy.Policy")]
[module: SuppressMessage("Microsoft.Naming", "CA1724:TypeNamesShouldNotMatchNamespaces", Scope = "type", Target = "Amazon.Auth.AccessControlPolicy.Principal")]
[module: SuppressMessage("Microsoft.Naming", "CA1724:TypeNamesShouldNotMatchNamespaces", Scope = "type", Target = "Amazon.Runtime.Internal.Auth.CredentialProfile.Profile")]
// Uri should not be string
[module: SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings", Scope = "member", Target = "Amazon.Util.AWSSDKUtils.#DetermineRegion(System.String)", MessageId = "0#")]
[module: SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings", Scope = "member", Target = "Amazon.Util.AWSSDKUtils.#DetermineService(System.String)", MessageId = "0#")]
[module: SuppressMessage("Microsoft.Design", "CA1056:UriPropertiesShouldNotBeStrings", Scope = "member", Target = "Amazon.Runtime.ClientConfig.#ServiceURL")]
[module: SuppressMessage("Microsoft.Design", "CA1056:UriPropertiesShouldNotBeStrings", Scope = "member", Target = "Amazon.Runtime.IClientConfig.#ServiceURL")]
[module: SuppressMessage("Microsoft.Design", "CA1055:UriReturnValuesShouldNotBeStrings", Scope = "member", Target = "Amazon.Util.AWSSDKUtils.#UrlEncode(System.String,System.Boolean)")]
// Use properties, breaking changes
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.AWSCredentials.#GetCredentials()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.InstanceProfileAWSCredentials.#GetAvailableRoles()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.Internal.RequestMetrics.#GetErrors()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.AWSCredentials.#GetCredentialsAsync()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.Internal.Settings.PersistenceManager.#GetSettingsStoreFolder()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.Internal.Settings.SettingsWatcher.#GetSettings()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.Internal.Util.RequestMetrics.#GetErrors()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.IHttpRequest`1.#GetRequestContentAsync()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.IClientConfig.#GetWebProxy()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Util.SAMLRoleProfile.#GetCurrentSession()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.FallbackRegionFactory.#GetRegionEndpoint()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.AWSRegion.#GetRegionEndpoint()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.SharedCredentialsFile.#GetSections()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.FallbackEndpointDiscoveryEnabledFactory.#GetEnabled()")]
// Use properties, huge change
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.Internal.Transform.ResponseMetadataUnmarshaller.#GetInstance()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.Internal.Transform.MemoryStreamUnmarshaller.#GetInstance()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.Internal.Transform.StringUnmarshaller.#GetInstance()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.Internal.Transform.LongUnmarshaller.#GetInstance()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.Internal.Transform.IntUnmarshaller.#GetInstance()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.Internal.Transform.ErrorResponseUnmarshaller.#GetInstance()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.Internal.Transform.FloatUnmarshaller.#GetInstance()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.Internal.Transform.JsonErrorResponseUnmarshaller.#GetInstance()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.Internal.Transform.DateTimeUnmarshaller.#GetInstance()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.Internal.Transform.ByteUnmarshaller.#GetInstance()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.Internal.Transform.DoubleUnmarshaller.#GetInstance()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.Internal.Transform.BoolUnmarshaller.#GetInstance()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.Internal.Transform.DateTimeEpochLongMillisecondsUnmarshaller.#GetInstance()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.Internal.Transform.NullableIntUnmarshaller.#GetInstance()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.Internal.Transform.NullableDateTimeUnmarshaller.#GetInstance()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Util.Internal.ITypeInfo.#GetElementType()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Util.Internal.ITypeInfo.#GetGenericTypeDefinition()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Util.Internal.ITypeInfo.#GetFields()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Util.Internal.ITypeInfo.#GetProperties()")]
// Use properties, design decision to suppress
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.Internal.Util.WrapperStream.#GetSeekableBaseStream()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope="member", Target="Amazon.Runtime.Internal.Transform.DecimalUnmarshaller.#GetInstance()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.Internal.ParameterCollection.#GetSortedParametersList()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope="member", Target="Amazon.Runtime.Internal.CSMFallbackConfigChain.#GetCSMConfig()")]
// Unused parameters
[module: SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", Scope = "member", Target = "Amazon.Runtime.AmazonWebServiceClient.#LogResponse(Amazon.Runtime.Internal.Util.RequestMetrics,Amazon.Runtime.Internal.IRequest,System.Net.HttpStatusCode)", MessageId = "request")]
[module: SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", Scope = "member", Target = "Amazon.Runtime.ConstantClass.#ToString(System.IFormatProvider)", MessageId = "provider")]
[module: SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", Scope = "member", Target = "Amazon.Runtime.Internal.Transform.HttpWebRequestResponseData.#GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)", MessageId = "context")]
[module: SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", Scope = "member", Target = "Amazon.Runtime.Internal.Transform.HttpWebRequestResponseData.#.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)", MessageId = "context")]
// Mark members as static, breaking changes
[module: SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.AWS4Signer.#SignRequest(Amazon.Runtime.Internal.IRequest,Amazon.Runtime.IClientConfig,Amazon.Runtime.Internal.Util.RequestMetrics,System.String,System.String)")]
[module: SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.AWS4PreSignedUrlSigner.#SignRequest(Amazon.Runtime.Internal.IRequest,Amazon.Runtime.IClientConfig,Amazon.Runtime.Internal.Util.RequestMetrics,System.String,System.String)")]
[module: SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.S3Signer.#SignRequest(Amazon.Runtime.Internal.IRequest,Amazon.Runtime.IClientConfig,Amazon.Runtime.Internal.Util.RequestMetrics,System.String,System.String)")]
[module: SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.S3Signer.#SignRequest(Amazon.Runtime.Internal.IRequest,Amazon.Runtime.Internal.Util.RequestMetrics,System.String,System.String)")]
[module: SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope="member", Target="Amazon.Runtime.Internal.CSMHandler.#CSMMetricsCapture(Amazon.Runtime.IRequestContext,Amazon.Runtime.IResponseContext)")]
[module: SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope="member", Target="Amazon.Runtime.Internal.CSMHandler.#PreInvoke(Amazon.Runtime.IExecutionContext)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Performance", "CA1822:Mark members as static", Scope = "member", Target = "~M:Amazon.Runtime.Internal.HttpRequest.WriteToRequestBodyAsync(System.IO.Stream,System.Byte[],System.Collections.Generic.IDictionary{System.String,System.String})~System.Threading.Tasks.Task")]
[assembly: SuppressMessage("Performance", "CA1822:Mark members as static", Scope = "member", Target = "~M:Amazon.Runtime.Internal.Auth.AWS4aSignerCRTWrapper.SignRequest(Amazon.Runtime.Internal.IRequest,Amazon.Runtime.IClientConfig,Amazon.Runtime.Internal.Util.RequestMetrics,Amazon.Runtime.ImmutableCredentials)~Amazon.Runtime.Internal.Auth.AWS4aSigningResult")]
[assembly: SuppressMessage("Performance", "CA1822:Mark members as static", Scope = "member", Target = "~M:Amazon.Runtime.Internal.Auth.AWS4aSignerCRTWrapper.Presign4a(Amazon.Runtime.Internal.IRequest,Amazon.Runtime.IClientConfig,Amazon.Runtime.Internal.Util.RequestMetrics,Amazon.Runtime.ImmutableCredentials,System.String,System.String)~Amazon.Runtime.Internal.Auth.AWS4aSigningResult")]
[assembly: SuppressMessage("Performance", "CA1822:Mark members as static", Scope = "member", Target = "~M:Amazon.Runtime.Internal.Auth.AWS4aSignerCRTWrapper.SignChunk(System.IO.Stream,System.String,Amazon.Runtime.Internal.Auth.AWS4aSigningResult")]
[assembly: SuppressMessage("Performance", "CA1822:Mark members as static", Scope = "member", Target = "~M:Amazon.Runtime.Internal.Auth.AWS4aSignerCRTWrapper.SignTrailingHeaderChunk(System.Collections.Generic.IDictionary{System.String,System.String},System.String,Amazon.Runtime.Internal.Auth.AWS4aSigningResult)~System.String")]
// Link demand
[module: SuppressMessage("Microsoft.Security", "CA2122:DoNotIndirectlyExposeMethodsWithLinkDemands", Scope = "member", Target = "Amazon.Runtime.Internal.Util.TraceSourceUtil.#GetTraceSourceWithListeners(System.String,System.Diagnostics.SourceLevels)")]
[module: SuppressMessage("Microsoft.Security", "CA2122:DoNotIndirectlyExposeMethodsWithLinkDemands", Scope = "member", Target = "Amazon.Runtime.Internal.Settings.UserCrypto.#Encrypt(System.String)")]
[module: SuppressMessage("Microsoft.Security", "CA2122:DoNotIndirectlyExposeMethodsWithLinkDemands", Scope = "member", Target = "Amazon.Runtime.Internal.Settings.UserCrypto.#Decrypt(System.String)")]
[module: SuppressMessage("Microsoft.Security", "CA2122:DoNotIndirectlyExposeMethodsWithLinkDemands", Scope = "member", Target = "Amazon.Runtime.Internal.Settings.UserCrypto.#ConvertData(System.Byte[])")]
[module: SuppressMessage("Microsoft.Security", "CA2122:DoNotIndirectlyExposeMethodsWithLinkDemands", Scope = "member", Target = "Amazon.Runtime.Internal.Settings.SettingsWatcher.#set_Enable(System.Boolean)")]
[module: SuppressMessage("Microsoft.Security", "CA2122:DoNotIndirectlyExposeMethodsWithLinkDemands", Scope = "member", Target = "Amazon.Runtime.Internal.Settings.SettingsWatcher.#get_Enable()")]
[module: SuppressMessage("Microsoft.Security", "CA2122:DoNotIndirectlyExposeMethodsWithLinkDemands", Scope = "member", Target = "Amazon.Runtime.Internal.Settings.SettingsWatcher.#.ctor(System.String,System.String)")]
// Initialize reference type static fields inline
[module: SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceTypeStaticFieldsInline", Scope = "member", Target = "Amazon.Runtime.CredentialManagement.SharedCredentialsFile.#.cctor()")]
[module: SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceTypeStaticFieldsInline", Scope = "member", Target = "Amazon.Runtime.FallbackRegionFactory.#.cctor()")]
[module: SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceTypeStaticFieldsInline", Scope = "member", Target = "Amazon.Runtime.Internal.Settings.PersistenceManager.#.cctor()")]
[module: SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceTypeStaticFieldsInline", Scope = "member", Target = "Amazon.Runtime.FallbackCredentialsFactory.#.cctor()")]
[module: SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceTypeStaticFieldsInline", Scope = "member", Target = "Amazon.Runtime.Internal.HttpWebRequestFactory.#.cctor()")]
[module: SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceTypeStaticFieldsInline", Scope="member", Target="Amazon.Runtime.MonitoringListener.#.cctor()")]
[module: SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceTypeStaticFieldsInline", Scope="member", Target="Amazon.Runtime.Internal.DeterminedCSMConfiguration.#.cctor()")]
[module: SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceTypeStaticFieldsInline", Scope="member", Target="Amazon.Util.Internal.EnvironmentVariableSource.#.cctor()")]
[module: SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceTypeStaticFieldsInline", Scope = "member", Target = "Amazon.Util.Internal.EnvironmentVariableSource.#.cctor()")]
[module: SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceTypeStaticFieldsInline", Scope = "member", Target = "Amazon.Runtime.FallbackEndpointDiscoveryEnabledFactory.#.cctor()")]
// Abstract types should not have constructors
[module: SuppressMessage("Microsoft.Design", "CA1012:AbstractTypesShouldNotHaveConstructors", Scope = "type", Target = "Amazon.Runtime.ClientConfig")]
// Avoid uncalled private code, properties used in serialization
[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Amazon.Runtime.InstanceProfileAWSCredentials+SecurityBase.#set_Code(System.String)")]
[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Amazon.Runtime.InstanceProfileAWSCredentials+SecurityBase.#get_LastUpdated()")]
[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Amazon.Runtime.InstanceProfileAWSCredentials+SecurityBase.#set_LastUpdated(System.DateTime)")]
[module: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Amazon.Runtime.InstanceProfileAWSCredentials+SecurityBase.#set_Message(System.String)")]
// Do not call overridable methods in constructors
[module: SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors", Scope = "member", Target = "Amazon.Runtime.AbstractWebServiceClient.#.ctor(Amazon.Runtime.AWSCredentials,Amazon.Runtime.ClientConfig,Amazon.Runtime.AbstractWebServiceClient+AuthenticationTypes)")]
[module: SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors", Scope = "member", Target = "Amazon.Runtime.ClientConfig.#.ctor(Amazon.Runtime.Internal.IDefaultConfigurationProvider)")]
[module: SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors", Scope = "member", Target = "Amazon.Runtime.AmazonServiceClient.#.ctor(Amazon.Runtime.AWSCredentials,Amazon.Runtime.ClientConfig)")]
[module: SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors", Scope = "member", Target = "Amazon.Runtime.Internal.ErrorHandler.#.ctor(Amazon.Runtime.Internal.Util.ILogger)")]
[module: SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors", Scope = "member", Target = "ThirdParty.MD5.MD5Managed.#.ctor()")]
[module: SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors", Scope = "member", Target = "Amazon.V4ClientSection.#.ctor(System.Xml.Linq.XElement)")]
[module: SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors", Scope = "member", Target = "Amazon.V4ClientSectionRoot.#.ctor(System.Xml.Linq.XElement)")]
// Events should have before or after prefix
[module: SuppressMessage("Microsoft.Naming", "CA1713:EventsShouldNotHaveBeforeOrAfterPrefix", Scope = "member", Target = "Amazon.Runtime.AbstractWebServiceClient.#BeforeRequestEvent")]
[module: SuppressMessage("Microsoft.Naming", "CA1713:EventsShouldNotHaveBeforeOrAfterPrefix", Scope = "member", Target = "Amazon.Runtime.AbstractWebServiceClient.#AfterResponseEvent")]
[module: SuppressMessage("Microsoft.Naming", "CA1713:EventsShouldNotHaveBeforeOrAfterPrefix", Scope = "member", Target = "Amazon.Runtime.AmazonServiceClient.#BeforeRequestEvent")]
[module: SuppressMessage("Microsoft.Naming", "CA1713:EventsShouldNotHaveBeforeOrAfterPrefix", Scope = "member", Target = "Amazon.Runtime.AmazonServiceClient.#AfterResponseEvent")]
// Use generic event handler instances, breaking change
[module: SuppressMessage("Microsoft.Design", "CA1003:UseGenericEventHandlerInstances", Scope = "type", Target = "Amazon.Runtime.RequestEventHandler")]
[module: SuppressMessage("Microsoft.Design", "CA1003:UseGenericEventHandlerInstances", Scope = "type", Target = "Amazon.Runtime.ExceptionEventHandler")]
[module: SuppressMessage("Microsoft.Design", "CA1003:UseGenericEventHandlerInstances", Scope = "type", Target = "Amazon.Runtime.ResponseEventHandler")]
[module: SuppressMessage("Microsoft.Design", "CA1003:UseGenericEventHandlerInstances", Scope = "type", Target = "Amazon.Runtime.PreRequestEventHandler")]
// Declare event handlers correctly, breaking change
[module: SuppressMessage("Microsoft.Design", "CA1009:DeclareEventHandlersCorrectly", Scope = "member", Target = "Amazon.Runtime.AbstractWebServiceClient.#BeforeRequestEvent")]
[module: SuppressMessage("Microsoft.Design", "CA1009:DeclareEventHandlersCorrectly", Scope = "member", Target = "Amazon.Runtime.AbstractWebServiceClient.#ExceptionEvent")]
[module: SuppressMessage("Microsoft.Design", "CA1009:DeclareEventHandlersCorrectly", Scope = "member", Target = "Amazon.Runtime.AbstractWebServiceClient.#AfterResponseEvent")]
// Use events where appropriate
[module: SuppressMessage("Microsoft.Design", "CA1030:UseEventsWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.Internal.IRequestEvents.#FireBeforeRequestEvent(System.Object,Amazon.Runtime.RequestEventArgs)")]
// Do not call overridable methods in constructors
[module: SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors", Scope = "member", Target = "Amazon.Runtime.Internal.Util.EncryptionWrapper.#.ctor()")]
[module: SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors", Scope = "member", Target = "Amazon.Runtime.Internal.Util.DecryptionWrapper.#.ctor()")]
// Suppressions for Runtime generic methods
[module: SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter", Scope = "member", Target = "Amazon.Runtime.Internal.RuntimePipeline.#RemoveHandler`1()")]
[module: SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter", Scope = "member", Target = "Amazon.Runtime.Internal.RuntimePipeline.#AddHandlerAfter`1(Amazon.Runtime.IPipelineHandler)")]
[module: SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter", Scope = "member", Target = "Amazon.Runtime.Internal.RuntimePipeline.#ReplaceHandler`1(Amazon.Runtime.IPipelineHandler)")]
[module: SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter", Scope = "member", Target = "Amazon.Runtime.Internal.RuntimePipeline.#AddHandlerBefore`1(Amazon.Runtime.IPipelineHandler)")]
[module: SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter", Scope = "member", Target = "Amazon.Runtime.Internal.DefaultRetryPolicy.#IsInnerException`1(System.Exception)")]
[module: SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter", Scope = "member", Target = "Amazon.Util.PaginatedResourceFactory.#Create`3(Amazon.Util.PaginatedResourceInfo)")]
[module: SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter", Scope = "member", Target = "Amazon.Runtime.Internal.ServiceClientHelpers.#CreateServiceFromAnother`2(Amazon.Runtime.AmazonServiceClient)")]
[module: SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter", Scope = "member", Target = "Amazon.Util.Internal.PlatformServices.ServiceFactory.#RegisterService`1(System.Type)")]
[module: SuppressMessage("Microsoft.Design", "CA1021:AvoidOutParameters", Scope = "member", Target = "Amazon.Runtime.Internal.DefaultRetryPolicy.#IsInnerException`1(System.Exception,!!0&)", MessageId = "1#")]
[module: SuppressMessage("Microsoft.Design", "CA1021:AvoidOutParameters", Scope = "member", Target = "Amazon.Runtime.Internal.Util.ICache`2.#GetValue(!0,System.Func`2<!0,!1>,System.Boolean&)", MessageId = "2#")]
[module: SuppressMessage("Microsoft.Design", "CA1021:AvoidOutParameters", Scope = "member", Target = "Amazon.Runtime.Internal.Util.IniFile.#TryGetSection(System.Text.RegularExpressions.Regex,System.String&,System.Collections.Generic.Dictionary`2<System.String,System.String>&)", MessageId = "1#")]
[module: SuppressMessage("Microsoft.Design", "CA1021:AvoidOutParameters", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.CredentialProfile.ProfileTypeDetector.#DetectProfileTypes(Amazon.Runtime.Internal.Auth.CredentialProfile.ProfileOptions,System.Nullable`1<Amazon.Runtime.Internal.Auth.CredentialProfile.ProfileType>&,System.Collections.Generic.HashSet`1<Amazon.Runtime.Internal.Auth.CredentialProfile.ProfileType>&)", MessageId = "1#")]
[module: SuppressMessage("Microsoft.Design", "CA1021:AvoidOutParameters", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.CredentialProfile.ProfileTypeDetector.#DetectProfileTypes(Amazon.Runtime.Internal.Auth.CredentialProfile.ProfileOptions,System.Nullable`1<Amazon.Runtime.Internal.Auth.CredentialProfile.ProfileType>&,System.Collections.Generic.HashSet`1<Amazon.Runtime.Internal.Auth.CredentialProfile.ProfileType>&)", MessageId = "2#")]
[module: SuppressMessage("Microsoft.Design", "CA1021:AvoidOutParameters", Scope = "member", Target = "Amazon.Util.Internal.SettingsManager.#TryGetObjectByProperty(System.String,System.String,System.String&,System.Collections.Generic.Dictionary`2<System.String,System.String>&)", MessageId = "2#")]
[module: SuppressMessage("Microsoft.Design", "CA1021:AvoidOutParameters", Scope = "member", Target = "Amazon.Util.Internal.NamedSettingsManager.#TryGetObject(System.String,System.String&,System.Collections.Generic.Dictionary`2<System.String,System.String>&)", MessageId = "1#")]
[module: SuppressMessage("Microsoft.Design", "CA1021:AvoidOutParameters", Scope = "member", Target = "Amazon.Runtime.CredentialManagement.Internal.CredentialProfilePropertyMapping.#ExtractProfileParts(System.Collections.Generic.Dictionary`2<System.String,System.String>,System.Collections.Generic.HashSet`1<System.String>,Amazon.Runtime.CredentialManagement.CredentialProfileOptions&,System.Collections.Generic.Dictionary`2<System.String,System.String>&)", MessageId = "2#")]
[module: SuppressMessage("Microsoft.Design", "CA1021:AvoidOutParameters", Scope = "member", Target = "Amazon.Runtime.CredentialManagement.Internal.CredentialProfilePropertyMapping.#ExtractProfileParts(System.Collections.Generic.Dictionary`2<System.String,System.String>,System.Collections.Generic.HashSet`1<System.String>,Amazon.Runtime.CredentialManagement.CredentialProfileOptions&,System.Collections.Generic.Dictionary`2<System.String,System.String>&)", MessageId = "3#")]
[module: SuppressMessage("Microsoft.Design", "CA1021:AvoidOutParameters", Scope = "member", Target = "Amazon.Runtime.CredentialManagement.Internal.CredentialProfilePropertyMapping.#ExtractProfileParts(System.Collections.Generic.Dictionary`2<System.String,System.String>,System.Collections.Generic.HashSet`1<System.String>,Amazon.Runtime.CredentialManagement.CredentialProfileOptions&,System.Collections.Generic.Dictionary`2<System.String,System.String>&,System.Collections.Generic.Dictionary`2<System.String,System.String>&)", MessageId = "2#")]
[module: SuppressMessage("Microsoft.Design", "CA1021:AvoidOutParameters", Scope = "member", Target = "Amazon.Runtime.CredentialManagement.Internal.CredentialProfilePropertyMapping.#ExtractProfileParts(System.Collections.Generic.Dictionary`2<System.String,System.String>,System.Collections.Generic.HashSet`1<System.String>,Amazon.Runtime.CredentialManagement.CredentialProfileOptions&,System.Collections.Generic.Dictionary`2<System.String,System.String>&,System.Collections.Generic.Dictionary`2<System.String,System.String>&)", MessageId = "3#")]
[module: SuppressMessage("Microsoft.Design", "CA1021:AvoidOutParameters", Scope = "member", Target = "Amazon.Runtime.CredentialManagement.Internal.CredentialProfilePropertyMapping.#ExtractProfileParts(System.Collections.Generic.Dictionary`2<System.String,System.String>,System.Collections.Generic.HashSet`1<System.String>,Amazon.Runtime.CredentialManagement.CredentialProfileOptions&,System.Collections.Generic.Dictionary`2<System.String,System.String>&,System.Collections.Generic.Dictionary`2<System.String,System.String>&)", MessageId = "4#")]
// Suppression for methods on IHttpRequest
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.IHttpRequest`1.#GetRequestContent()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.IHttpRequest`1.#GetResponse()")]
[module: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Amazon.Runtime.CredentialProfile.#GetAWSCredentials()")]
// Suppression for HttpWebRequestResponseData, HttpWebRequestResponseData.ResponseBody is disposed on its own.
[module: SuppressMessage("Microsoft.Design", "CA1001:TypesThatOwnDisposableFieldsShouldBeDisposable", Scope = "type", Target = "Amazon.Runtime.Internal.Transform.HttpWebRequestResponseData")]
// Suppression for UserCrypto DATA_BLOB, native resources cleaned up in the code
[module: SuppressMessage("Microsoft.Design", "CA1049:TypesThatOwnNativeResourcesShouldBeDisposable", Scope = "type", Target = "Amazon.Runtime.Internal.Settings.UserCrypto+DATA_BLOB")]
// Passing Uri instead of string (in these cases, the uri overload is called by the string overload)
[module: SuppressMessage("Microsoft.Usage", "CA2234:PassSystemUriObjectsInsteadOfStrings", Scope = "member", Target = "Amazon.S3.Internal.AmazonS3RedirectHandler.#FinalizeForRedirect(Amazon.Runtime.IExecutionContext,System.String)")]
[module: SuppressMessage("Microsoft.Usage", "CA2234:PassSystemUriObjectsInsteadOfStrings", Scope = "member", Target = "Amazon.Util.AWSHttpClient.#GetResponseHeadersAsync(System.String,System.String)")]
[module: SuppressMessage("Microsoft.Usage", "CA2234:PassSystemUriObjectsInsteadOfStrings", Scope = "member", Target = "Amazon.Util.AWSHttpClient.#GetStreamAsync(System.String)")]
[module: SuppressMessage("Microsoft.Usage", "CA2234:PassSystemUriObjectsInsteadOfStrings", Scope="member", Target="Amazon.Util.AWSHttpClient.#PutRequestUriAsync(System.String,Amazon.Util.AWSStreamContent,System.Collections.Generic.IDictionary`2<System.String,System.String>)")]
// Move PInvoke to separate file
[module: SuppressMessage("Microsoft.Design", "CA1060:MovePInvokesToNativeMethodsClass", Scope = "member", Target = "Amazon.Runtime.Internal.Settings.UserCrypto.#CryptUnprotectData(Amazon.Runtime.Internal.Settings.UserCrypto+DATA_BLOB&,System.String,Amazon.Runtime.Internal.Settings.UserCrypto+DATA_BLOB&,System.IntPtr,Amazon.Runtime.Internal.Settings.UserCrypto+CRYPTPROTECT_PROMPTSTRUCT&,Amazon.Runtime.Internal.Settings.UserCrypto+CryptProtectFlags,Amazon.Runtime.Internal.Settings.UserCrypto+DATA_BLOB&)")]
[module: SuppressMessage("Microsoft.Design", "CA1060:MovePInvokesToNativeMethodsClass", Scope = "member", Target = "Amazon.Runtime.Internal.Settings.UserCrypto.#CryptProtectData(Amazon.Runtime.Internal.Settings.UserCrypto+DATA_BLOB&,System.String,Amazon.Runtime.Internal.Settings.UserCrypto+DATA_BLOB&,System.IntPtr,Amazon.Runtime.Internal.Settings.UserCrypto+CRYPTPROTECT_PROMPTSTRUCT&,Amazon.Runtime.Internal.Settings.UserCrypto+CryptProtectFlags,Amazon.Runtime.Internal.Settings.UserCrypto+DATA_BLOB&)")]
// Pass types by reference
[module: SuppressMessage("Microsoft.Design", "CA1045:DoNotPassTypesByReference", Scope = "member", Target = "Amazon.Util.Internal.InternalSDKUtils.#SetIsSet`2(System.Boolean,System.Collections.Generic.Dictionary`2<!!0,!!1>&)", MessageId = "1#")]
[module: SuppressMessage("Microsoft.Design", "CA1045:DoNotPassTypesByReference", Scope = "member", Target = "Amazon.Util.Internal.InternalSDKUtils.#SetIsSet`1(System.Boolean,System.Collections.Generic.List`1<!!0>&)", MessageId = "1#")]
[module: SuppressMessage("Microsoft.Design", "CA1045:DoNotPassTypesByReference", Scope = "member", Target = "Amazon.Util.Internal.InternalSDKUtils.#SetIsSet`1(System.Boolean,System.Nullable`1<!!0>&)", MessageId = "1#")]
// Collections that do not require ICollection<T> interface
[module: SuppressMessage("Microsoft.Design", "CA1010:CollectionsShouldImplementGenericInterface", Scope = "type", Target = "Amazon.WritableConfigurationElementCollection`1")]
// Empty Logger instance can be cached
[module: SuppressMessage("AwsSdkRules", "CR1002:PreventStaticLoggersRule", Scope = "member", Target = "Amazon.Runtime.Internal.Util.Logger.#emptyLogger")]
// Call HashAlgorithm.Create is for "SHA-256"
[module: SuppressMessage("AwsSdkRules", "CR1001:PreventHashAlgorithmCreateRule", Scope = "member", Target = "Amazon.Util.CryptoUtilFactory+CryptoUtil.#CreateSHA256Instance()")]
// Visible instance fields
[module: SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "Amazon.Runtime.RefreshingAWSCredentials.#currentState")]
// Supression due to IL2CPP error
[module: SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.AWS4Signer.#SortHeaders(System.Collections.Generic.IEnumerable`1<System.Collections.Generic.KeyValuePair`2<System.String,System.String>>)")]
[module: SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.AWS4Signer.#CanonicalizeHeaderNames(System.Collections.Generic.IEnumerable`1<System.Collections.Generic.KeyValuePair`2<System.String,System.String>>)")]
[module: SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.AWS4Signer.#CanonicalizeHeaders(System.Collections.Generic.IEnumerable`1<System.Collections.Generic.KeyValuePair`2<System.String,System.String>>)")]
[module: SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.CredentialProfile.ProfilePropertyMapping.#Convert(Amazon.Runtime.Internal.Auth.CredentialProfile.ImmutableProfileOptions)")]
// ignore as we are not converting back string to upper case.
[module: SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.AWS4Signer.#CanonicalizeHeaders(System.Collections.Generic.IEnumerable`1<System.Collections.Generic.KeyValuePair`2<System.String,System.String>>)")]
[module: SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Amazon.Runtime.Internal.Auth.AWS4Signer.#SortAndPruneHeaders(System.Collections.Generic.IEnumerable`1<System.Collections.Generic.KeyValuePair`2<System.String,System.String>>)")]
// ignore as this is used to create a default instance of the exception object
[module: SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter", Scope = "member", Target = "Amazon.Runtime.Internal.Transform.ResponseUnmarshaller.#GetDefaultErrorMessage`1()")]
// ignore as this is used to create an instance of the object in the CSM fall back chain
[module: SuppressMessage("Microsoft.Usage", "CA1806:DoNotIgnoreMethodResults", Scope = "member", Target = "Amazon.Runtime.Internal.CSMFallbackConfigChain.#.ctor()", MessageId = "Amazon.Runtime.Internal.AppConfigCSMConfigs")]
[module: SuppressMessage("Microsoft.Usage", "CA1806:DoNotIgnoreMethodResults", Scope = "member", Target = "Amazon.Runtime.Internal.CSMFallbackConfigChain.#.ctor()", MessageId = "Amazon.Runtime.Internal.ProfileCSMConfigs")]
[module: SuppressMessage("Microsoft.Usage", "CA1806:DoNotIgnoreMethodResults", Scope = "member", Target = "Amazon.Runtime.Internal.CSMFallbackConfigChain.#.ctor()", MessageId = "Amazon.Runtime.Internal.EnvironmentVariableCSMConfigs")]
//Suppression is subject to discussion
[module: SuppressMessage("AwsSdkRules", "CR1003:PreventDateTimeNowUseRule", Scope = "member", Target = "Amazon.Runtime.Internal.MonitoringAPICall.#.ctor()")][module: SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter", Scope = "member", Target = "Amazon.Runtime.Internal.Transform.ResponseUnmarshaller.#GetDefaultErrorMessage`1()")]
// Amazon.Runtime.Internal.Signer type conflicts with Amazon.Signer service namespace.
[module: SuppressMessage("Microsoft.Naming", "CA1724:TypeNamesShouldNotMatchNamespaces", Scope = "type", Target = "Amazon.Runtime.Internal.Signer")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1720:Identifier contains type name", Scope = "type", Target = "~T:ThirdParty.Json.LitJson.JsonType")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1010:Collections should implement generic interface", Scope = "type", Target = "~T:Amazon.MissingTypes.IOrderedDictionary")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1710:Identifiers should have correct suffix", Scope = "type", Target = "~T:ThirdParty.BouncyCastle.Asn1.Asn1EncodableVector")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1010:Collections should implement generic interface", Scope = "type", Target = "~T:ThirdParty.BouncyCastle.Asn1.Asn1EncodableVector")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1710:Identifiers should have correct suffix", Scope = "type", Target = "~T:ThirdParty.BouncyCastle.Asn1.Asn1Sequence")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1010:Collections should implement generic interface", Scope = "type", Target = "~T:ThirdParty.BouncyCastle.Asn1.Asn1Sequence")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1710:Identifiers should have correct suffix", Scope = "type", Target = "~T:ThirdParty.BouncyCastle.Asn1.DerSequence")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1010:Collections should implement generic interface", Scope = "type", Target = "~T:ThirdParty.BouncyCastle.Asn1.DerSequence")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1710:Identifiers should have correct suffix", Scope = "type", Target = "~T:ThirdParty.Json.LitJson.IJsonWrapper")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1010:Collections should implement generic interface", Scope = "type", Target = "~T:ThirdParty.Json.LitJson.IJsonWrapper")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1710:Identifiers should have correct suffix", Scope = "type", Target = "~T:ThirdParty.Json.LitJson.JsonData")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1010:Collections should implement generic interface", Scope = "type", Target = "~T:ThirdParty.Json.LitJson.JsonData")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1001:Types that own disposable fields should be disposable", Scope = "type", Target = "~T:ThirdParty.Json.LitJson.JsonWriter")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Internal.RegionEndpointProviderV2.RegionEndpoint.TryLoadEndpointDefinitionsFromAssemblyDir~System.Boolean")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Runtime.CredentialManagement.AWSCredentialsFactory.GetCredentialSourceAWSCredentials(System.String,System.Boolean)~Amazon.Runtime.AWSCredentials")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Runtime.CredentialManagement.Internal.SAMLRoleSessionManager.TryGetRoleSession(System.String,Amazon.Runtime.SAMLImmutableCredentials@)~System.Boolean")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Runtime.CredentialManagement.SharedCredentialsFile.TryGetProfile(System.String,System.Boolean,System.Boolean,Amazon.Runtime.CredentialManagement.CredentialProfile@)~System.Boolean")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Runtime.CredentialManagement.NetSDKCredentialsFile.TryGetProfile(System.String,Amazon.Runtime.CredentialManagement.CredentialProfile@)~System.Boolean")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Runtime.DefaultInstanceProfileAWSCredentials.RenewCredentials(System.Object)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Runtime.EventStreams.Internal.EventStream`2.ProcessLoop(System.Object)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Runtime.FallbackEndpointDiscoveryEnabledFactory.GetEnabled~System.Nullable{System.Boolean}")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Runtime.FallbackRegionFactory.GetRegionEndpoint(System.Boolean)~Amazon.RegionEndpoint")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Runtime.Internal.CSMFallbackConfigChain.GetCSMConfig~Amazon.Runtime.Internal.CSMConfiguration")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Runtime.Internal.EndpointDiscoveryHandler.InvokeAsyncCallback(Amazon.Runtime.IAsyncExecutionContext)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Runtime.Internal.EndpointDiscoveryResolverBase.ProcessInvokeEndpointOperation(System.String,System.Func{System.Collections.Generic.IList{Amazon.Runtime.Internal.DiscoveryEndpointBase}},System.Boolean)~System.Collections.Generic.IEnumerable{Amazon.Runtime.Internal.DiscoveryEndpointBase}")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Runtime.Internal.HttpHandler`1.GetRequestStreamCallbackHelper(System.Object)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Runtime.Internal.HttpHandler`1.GetResponseCallbackHelper(System.Object)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Runtime.AmazonServiceClient.UpdateSecurityProtocol")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Runtime.Internal.RuntimeAsyncResult.InvokeCallback")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Runtime.Internal.Util.GuidUtils.TryParseGuid(System.String,System.Guid@)~System.Boolean")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Runtime.MonitoringListener.BeginPostMessagesOverUDPInvoke(System.String)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Runtime.MonitoringListener.EndSendMessagesOverUDPInvoke(System.IAsyncResult)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Runtime.MonitoringListener.PostMessagesOverUDP(System.String)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Runtime.SAMLImmutableCredentials.FromJson(System.String)~Amazon.Runtime.SAMLImmutableCredentials")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Util.EC2InstanceMetadata.FetchData(System.String,System.Boolean)~System.String")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Util.ProfileManager.ListProfiles~System.Collections.Generic.IEnumerable{Amazon.Util.ProfileSettingsBase}")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Util.ProfileManager.TryGetAWSCredentials(System.String,Amazon.Runtime.AWSCredentials@)~System.Boolean")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Util.ProfileManager.TryGetProfile``1(System.String,``0@)~System.Boolean")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Util.ProfileManager.TryGetSAMLEndpoint(System.String,Amazon.Util.SAMLEndpointSettings@)~System.Boolean")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~P:Amazon.Util.EC2InstanceMetadata.IAMInstanceProfileInfo")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~P:Amazon.Util.EC2InstanceMetadata.IAMSecurityCredentials")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~P:Amazon.Util.EC2InstanceMetadata.IsIMDSEnabled")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~P:Amazon.Util.EC2InstanceMetadata.Region")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1024:Use properties where appropriate", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.GetJsonType~ThirdParty.Json.LitJson.JsonType")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:Amazon.Runtime.AmazonWebServiceRequest.Amazon#Runtime#Internal#IAmazonWebServiceRequest#AddBeforeRequestHandler(Amazon.Runtime.RequestEventHandler)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:Amazon.Runtime.AmazonWebServiceRequest.Amazon#Runtime#Internal#IAmazonWebServiceRequest#RemoveBeforeRequestHandler(Amazon.Runtime.RequestEventHandler)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.System#Collections#ICollection#CopyTo(System.Array,System.Int32)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.System#Collections#IDictionary#Contains(System.Object)~System.Boolean")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.System#Collections#IDictionary#GetEnumerator~System.Collections.IDictionaryEnumerator")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.System#Collections#IDictionary#Remove(System.Object)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.System#Collections#IEnumerable#GetEnumerator~System.Collections.IEnumerator")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.System#Collections#IList#Contains(System.Object)~System.Boolean")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.System#Collections#IList#IndexOf(System.Object)~System.Int32")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.System#Collections#IList#Insert(System.Int32,System.Object)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.System#Collections#IList#Remove(System.Object)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.System#Collections#IList#RemoveAt(System.Int32)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.System#Collections#Specialized#IOrderedDictionary#GetEnumerator~System.Collections.IDictionaryEnumerator")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.System#Collections#Specialized#IOrderedDictionary#Insert(System.Int32,System.Object,System.Object)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.System#Collections#Specialized#IOrderedDictionary#RemoveAt(System.Int32)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.ThirdParty#Json#LitJson#IJsonWrapper#GetBoolean~System.Boolean")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.ThirdParty#Json#LitJson#IJsonWrapper#GetDouble~System.Double")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.ThirdParty#Json#LitJson#IJsonWrapper#GetInt~System.Int32")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.ThirdParty#Json#LitJson#IJsonWrapper#GetLong~System.Int64")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.ThirdParty#Json#LitJson#IJsonWrapper#GetString~System.String")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.ThirdParty#Json#LitJson#IJsonWrapper#GetUInt~System.UInt32")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.ThirdParty#Json#LitJson#IJsonWrapper#GetULong~System.UInt64")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.ThirdParty#Json#LitJson#IJsonWrapper#SetBoolean(System.Boolean)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.ThirdParty#Json#LitJson#IJsonWrapper#SetDouble(System.Double)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.ThirdParty#Json#LitJson#IJsonWrapper#SetInt(System.Int32)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.ThirdParty#Json#LitJson#IJsonWrapper#SetLong(System.Int64)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.ThirdParty#Json#LitJson#IJsonWrapper#SetString(System.String)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.ThirdParty#Json#LitJson#IJsonWrapper#SetUInt(System.UInt32)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.ThirdParty#Json#LitJson#IJsonWrapper#SetULong(System.UInt64)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~P:Amazon.Runtime.AmazonWebServiceRequest.Amazon#Runtime#Internal#IAmazonWebServiceRequest#RequestState")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~P:ThirdParty.Json.LitJson.JsonData.System#Collections#ICollection#IsSynchronized")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~P:ThirdParty.Json.LitJson.JsonData.System#Collections#ICollection#SyncRoot")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~P:ThirdParty.Json.LitJson.JsonData.System#Collections#IDictionary#IsFixedSize")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~P:ThirdParty.Json.LitJson.JsonData.System#Collections#IDictionary#IsReadOnly")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~P:ThirdParty.Json.LitJson.JsonData.System#Collections#IDictionary#Keys")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~P:ThirdParty.Json.LitJson.JsonData.System#Collections#IDictionary#Values")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~P:ThirdParty.Json.LitJson.JsonData.System#Collections#IList#IsFixedSize")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~P:ThirdParty.Json.LitJson.JsonData.System#Collections#IList#IsReadOnly")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1051:Do not declare visible instance fields", Scope = "member", Target = "~F:ThirdParty.BouncyCastle.Asn1.Utilities.FilterStream.s")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1052:Static holder types should be Static or NotInheritable", Scope = "type", Target = "~T:ThirdParty.Json.LitJson.JsonMapper")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1055:Uri return values should not be strings", Scope = "member", Target = "~M:Amazon.Runtime.ClientConfig.DetermineServiceURL~System.String")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1055:Uri return values should not be strings", Scope = "member", Target = "~M:Amazon.Runtime.IClientConfig.DetermineServiceURL~System.String")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1055:Uri return values should not be strings", Scope = "member", Target = "~M:Amazon.Runtime.SharedInterfaces.ICoreAmazonS3.GeneratePreSignedURL(System.String,System.String,System.DateTime,System.Collections.Generic.IDictionary{System.String,System.Object})~System.String")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1055:Uri return values should not be strings", Scope = "member", Target = "~M:Amazon.Util.AWSSDKUtils.ProtectEncodedSlashUrlEncode(System.String,System.Boolean)~System.String")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1055:Uri return values should not be strings", Scope = "member", Target = "~M:Amazon.Util.AWSSDKUtils.UrlEncode(System.Int32,System.String,System.Boolean)~System.String")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1060:Move pinvokes to native methods class", Scope = "type", Target = "~T:Amazon.Runtime.Internal.Settings.UserCrypto")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1065:Do not raise exceptions in unexpected locations", Scope = "member", Target = "~P:ThirdParty.Ionic.Zlib.CrcCalculatorStream.Length")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1065:Do not raise exceptions in unexpected locations", Justification = "<Pending>", Scope = "member", Target = "~P:Amazon.Runtime.AssumeRoleAWSCredentialsOptions.MfaTokenCode")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1065:Do not raise exceptions in unexpected locations", Justification = "<Pending>", Scope = "member", Target = "~P:Amazon.Runtime.Internal.Util.DecryptStream.Position")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1065:Do not raise exceptions in unexpected locations", Justification = "<Pending>", Scope = "member", Target = "~P:Amazon.Runtime.Internal.Util.ReadOnlyWrapperStream.Length")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1065:Do not raise exceptions in unexpected locations", Justification = "<Pending>", Scope = "member", Target = "~P:Amazon.Runtime.Internal.Util.ReadOnlyWrapperStream.Position")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1065:Do not raise exceptions in unexpected locations", Justification = "<Pending>", Scope = "member", Target = "~P:Amazon.Runtime.Internal.Util.HashStream.Position")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1065:Do not raise exceptions in unexpected locations", Justification = "<Pending>", Scope = "member", Target = "~P:Amazon.Runtime.Internal.Util.CachingWrapperStream.Position")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1715:Identifiers should have correct prefix", Scope = "type", Target = "~T:ThirdParty.BouncyCastle.Utilities.IO.Pem.PemObjectGenerator")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1715:Identifiers should have correct prefix", Scope = "type", Target = "~T:ThirdParty.BouncyCastle.Utilities.IO.Pem.PemObjectParser")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1720:Identifier contains type name", Scope = "member", Target = "~F:ThirdParty.BouncyCastle.Asn1.Asn1InputStream.Integer")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1720:Identifier contains type name", Scope = "member", Target = "~M:Amazon.Runtime.ConstantClass.Equals(Amazon.Runtime.ConstantClass)~System.Boolean")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1720:Identifier contains type name", Scope = "member", Target = "~M:ThirdParty.BouncyCastle.Asn1.Asn1Sequence.AddObject(ThirdParty.BouncyCastle.Asn1.Asn1Encodable)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1720:Identifier contains type name", Scope = "member", Target = "~M:ThirdParty.BouncyCastle.Asn1.DerSequence.#ctor(ThirdParty.BouncyCastle.Asn1.Asn1Encodable)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1720:Identifier contains type name", Scope = "member", Target = "~M:ThirdParty.BouncyCastle.Math.BigInteger.CompareTo(System.Object)~System.Int32")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1720:Identifier contains type name", Scope = "member", Target = "~M:ThirdParty.BouncyCastle.Utilities.IO.Pem.PemObjectParser.ParseObject(ThirdParty.BouncyCastle.Utilities.IO.Pem.PemObject)~System.Object")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1720:Identifier contains type name", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.#ctor(System.Object)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1720:Identifier contains type name", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonMapper.ToJson(System.Object)~System.String")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1720:Identifier contains type name", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonMapper.ToJson(System.Object,ThirdParty.Json.LitJson.JsonWriter)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1720:Identifier contains type name", Scope = "type", Target = "~T:Amazon.Runtime.EventStreams.EventStreamHeaderType")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1720:Identifier contains type name", Scope = "type", Target = "~T:ThirdParty.Json.LitJson.JsonToken")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Performance", "CA1810:Initialize reference type static fields inline", Scope = "member", Target = "~M:ThirdParty.Ionic.Zlib.CRC32.#cctor")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Performance", "CA1810:Initialize reference type static fields inline", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonMapper.#cctor")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Performance", "CA1810:Initialize reference type static fields inline", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonWriter.#cctor")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Performance", "CA1813:Avoid unsealed attributes", Scope = "type", Target = "~T:ThirdParty.Json.LitJson.JsonPropertyAttribute")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Performance", "CA1819:Properties should not return arrays", Scope = "member", Target = "~P:Amazon.Runtime.EventStreams.EventStreamMessage.Payload")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Performance", "CA1819:Properties should not return arrays", Scope = "member", Target = "~P:Amazon.Runtime.Internal.DefaultRequest.Content")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Performance", "CA1819:Properties should not return arrays", Scope = "member", Target = "~P:ThirdParty.BouncyCastle.Asn1.DerInteger.Bytes")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Performance", "CA1819:Properties should not return arrays", Scope = "member", Target = "~P:ThirdParty.BouncyCastle.Utilities.IO.Pem.PemObject.Content")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Usage", "CA2201:Do not raise reserved exception types", Scope = "member", Target = "~M:ThirdParty.BouncyCastle.Asn1.Asn1InputStream.CreatePrimitiveDerObject(System.Int32,System.Byte[])~ThirdParty.BouncyCastle.Asn1.Asn1Object")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Usage", "CA2201:Do not raise reserved exception types", Scope = "member", Target = "~M:ThirdParty.BouncyCastle.Asn1.Asn1InputStream.ReadObject~ThirdParty.BouncyCastle.Asn1.Asn1Object")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Usage", "CA2201:Do not raise reserved exception types", Scope = "member", Target = "~M:ThirdParty.BouncyCastle.OpenSsl.PemReader.ReadPrivatekey~System.Security.Cryptography.RSAParameters")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Usage", "CA2229:Implement serialization constructors", Scope = "type", Target = "~T:ThirdParty.BouncyCastle.Utilities.IO.Pem.PemGenerationException")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Usage", "CA2229:Implement serialization constructors", Scope = "type", Target = "~T:ThirdParty.Json.LitJson.JsonException")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Runtime.Internal.EndpointDiscoveryHandler.InvokeAsync``1(Amazon.Runtime.IExecutionContext)~System.Threading.Tasks.Task{``0}")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Runtime.Internal.HttpHandler`1.CompleteFailedRequest(Amazon.Runtime.IExecutionContext,Amazon.Runtime.IHttpRequest{`0})~System.Threading.Tasks.Task")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Runtime.Internal.HttpHandler`1.InvokeAsync``1(Amazon.Runtime.IExecutionContext)~System.Threading.Tasks.Task{``0}")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Runtime.Internal.RetryHandler.InvokeAsync``1(Amazon.Runtime.IExecutionContext)~System.Threading.Tasks.Task{``0}")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Runtime.MonitoringListener.PostMessagesOverUDPAsync(System.String)~System.Threading.Tasks.Task")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Justification = "<Pending>", Scope = "member", Target = "~M:Amazon.Runtime.Internal.EnvironmentVariableInternalConfiguration.GetEnvironmentVariable``1(System.String)~System.Nullable{``0}")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1001:Types that own disposable fields should be disposable", Scope = "type", Target = "~T:Amazon.Runtime.Internal.Transform.HttpClientResponseData")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1001:Types that own disposable fields should be disposable", Scope = "type", Target = "~T:Amazon.Runtime.Internal.Util.AsyncHelpers.ExclusiveSynchronizationContext")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1024:Use properties where appropriate", Scope = "member", Target = "~M:Amazon.Runtime.ClientConfig.GetWebProxy~System.Net.IWebProxy")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("AwsSdkRules", "CR1002:Do not store ILogger instances in static members.", Justification = "<Pending>", Scope = "member", Target = "~F:Amazon.Runtime.Internal.Settings.PersistenceManager._logger")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Justification = "<Pending>", Scope = "member", Target = "~M:Amazon.Runtime.Internal.Settings.PersistenceManager.DecryptAnyEncryptedValues(System.Collections.Generic.Dictionary{System.String,System.Collections.Generic.Dictionary{System.String,System.Object}})")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Util.Internal.InternalSDKUtils.DetermineOS~System.String")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Util.Internal.InternalSDKUtils.DetermineOSVersion~System.String")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Util.Internal.InternalSDKUtils.DetermineRuntime~System.String")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Scope = "member", Target = "~M:Amazon.Util.Internal.InternalSDKUtils.PlatformUserAgent~System.String")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.Amazon#MissingTypes#IOrderedDictionary#GetEnumerator~System.Collections.IDictionaryEnumerator")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.Amazon#MissingTypes#IOrderedDictionary#Insert(System.Int32,System.Object,System.Object)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1033:Interface methods should be callable by child types", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.Amazon#MissingTypes#IOrderedDictionary#RemoveAt(System.Int32)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Performance", "CA1802:Use literals where appropriate", Scope = "member", Target = "~F:Amazon.Util.Internal.InternalSDKUtils._unknown")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Usage", "CA2201:Do not raise reserved exception types", Scope = "member", Target = "~M:Amazon.Util.CryptoUtilFactory.CryptoUtil.CreateKeyedHashAlgorithm(Amazon.Runtime.SigningAlgorithm)~System.Security.Cryptography.KeyedHashAlgorithm")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Performance", "CA1822:Mark members as static", Scope = "member", Target = "~M:Amazon.Runtime.ClientConfig.SetUseNagleIfAvailable(System.Boolean)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Performance", "CA1822:Mark members as static", Scope = "member", Target = "~M:Amazon.Runtime.Internal.Transform.HttpClientResponseData.GetFirstHeaderValue(System.Net.Http.Headers.HttpHeaders,System.String)~System.String")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Performance", "CA1822:Mark members as static", Scope = "member", Target = "~M:ThirdParty.BouncyCastle.OpenSsl.PemReader.GetAlignmentValue(System.Byte[])~System.Int32")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Performance", "CA1822:Mark members as static", Scope = "member", Target = "~M:ThirdParty.Ionic.Zlib.CRC32._InternalComputeCrc32(System.UInt32,System.Byte)~System.Int32")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Performance", "CA1822:Mark members as static", Scope = "member", Target = "~M:ThirdParty.Json.LitJson.JsonData.ToJsonData(System.Object)~ThirdParty.Json.LitJson.JsonData")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("AwsSdkRules", "CR1003:Do not use DateTime.Now or DateTime.UtcNow, use AWSSDKUtils.CorrectedNow or AWSSDKUtils.CorrectedUtcNow", Justification = "<Pending>", Scope = "member", Target = "~M:Amazon.Runtime.Internal.TokenBucket.GetTimeInSeconds~System.Double")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Usage", "CA2214:Do not call overridable methods in constructors", Justification = "<Pending>", Scope = "member", Target = "~M:Amazon.Runtime.Internal.TokenBucket.#ctor(System.Double,System.Double,System.Double,System.Double,System.Double)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1065:Do not raise exceptions in unexpected locations", Justification = "Stream does not support property gained through inheritance.", Scope = "member", Target = "~P:Amazon.Runtime.Internal.Util.HashStream.Position")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1065:Do not raise exceptions in unexpected locations", Justification = "Stream does not support property gained through inheritance.", Scope = "member", Target = "~P:Amazon.Runtime.Internal.Util.ReadOnlyWrapperStream.Length")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1065:Do not raise exceptions in unexpected locations", Justification = "Stream does not support property gained through inheritance.", Scope = "member", Target = "~P:Amazon.Runtime.AssumeRoleAWSCredentialsOptions.MfaTokenCode")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1065:Do not raise exceptions in unexpected locations", Justification = "Stream does not support property gained through inheritance.", Scope = "member", Target = "~P:Amazon.Runtime.Internal.Util.CachingWrapperStream.Position")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1065:Do not raise exceptions in unexpected locations", Justification = "Stream does not support property gained through inheritance.", Scope = "member", Target = "~P:Amazon.Runtime.Internal.Util.DecryptStream.Position")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1065:Do not raise exceptions in unexpected locations", Justification = "Stream does not support property gained through inheritance.", Scope = "member", Target = "~P:Amazon.Runtime.Internal.Util.ReadOnlyWrapperStream.Position")]
| 593 |
aws-sdk-net | aws | C# |  | 1 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy
{
/// <summary>
/// An access control policy action identifies a specific action in a service
/// that can be performed on a resource. For example, sending a message to a
/// queue.
/// <para>
/// ActionIdentifiers allow you to limit what your access control policy statement affects.
/// For example, you could create a policy statement that enables a certain group
/// of users to send messages to your queue, but not allow them to perform any
/// other actions on your queue.
/// </para>
/// <para>
/// The action is B in the statement
/// "A has permission to do B to C where D applies."
/// </para>
/// <para>Free form access control policy actions may include a wildcard (*) to match
/// multiple actions.
/// </para>
/// <para>
/// Constants for known actions can be found in the Amazon.Auth.AccessControlPolicy.ActionIdentifiers namespace.
/// </para>
/// </summary>
public class ActionIdentifier
{
private string actionName;
/// <summary>
/// Constructs an Actionidentifer with the given action name.
/// </summary>
/// <param name="actionName">The name of the action</param>
public ActionIdentifier(string actionName)
{
this.actionName = actionName;
}
/// <summary>
/// Gets and sets the name of this action. For example, 'sqs:SendMessage' is the
/// name corresponding to the SQS action that enables users to send a message
/// to an SQS queue.
/// </summary>
public string ActionName
{
get
{
return this.actionName;
}
set
{
this.actionName = value;
}
}
}
}
| 74 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy
{
/// <summary>
/// AWS access control policy conditions are contained in <see cref="Amazon.Auth.AccessControlPolicy.Statement"/>
/// objects, and affect when a statement is applied. For example, a statement
/// that allows access to an Amazon SQS queue could use a condition to only apply
/// the effect of that statement for requests that are made before a certain
/// date, or that originate from a range of IP addresses.
/// <para>
/// Multiple conditions can be included in a single statement, and all conditions
/// must evaluate to true in order for the statement to take effect.
/// </para>
/// <para>
/// The set of conditions is D in the statement
/// "A has permission to do B to C where D applies."
/// </para>
/// <para>
/// A condition is composed of three parts:
/// <list type="definition">
/// <item>
/// <term>Condition Key</term>
/// <description>The condition key declares which value of a
/// request to pull in and compare against when a policy is evaluated by AWS. For
/// example, using <see cref="Amazon.Auth.AccessControlPolicy.ConditionFactory.SOURCE_IP_CONDITION_KEY"/> will cause
/// AWS to pull in the current request's source IP as the first value to compare
/// against every time your policy is evaluated.
/// </description>
/// </item>
/// <item>
/// <term>Comparison Type</term>
/// <description>This is a static value used as the second value
/// in the comparison when your policy is evaluated. Depending on the comparison
/// type, this value can optionally use wildcards. See the documentation for
/// individual comparison types for more information.
/// </description>
/// </item>
/// <item>
/// <term>Comparison Value</term>
/// <description>This is a static value used as the second value
/// in the comparison when your policy is evaluated. Depending on the comparison
/// type, this value can optionally use wildcards. See the documentation for
/// individual comparison types for more information.
/// </description>
/// </item>
/// </list>
/// </para>
/// </summary>
public class Condition
{
private string type;
private string conditionKey;
private string[] values;
public Condition()
{
}
public Condition(string type, string conditionKey, params string[] values)
{
this.type = type;
this.conditionKey = conditionKey;
this.values = values;
}
/// <summary>
/// Gets the type of this condition.
/// </summary>
public string Type
{
get
{
return type;
}
set
{
this.type = value;
}
}
/// <summary>
/// Gets and Sets the name of the condition key involved in this condition.
/// Condition keys are predefined values supported by AWS that provide input
/// to a condition's evaluation, such as the current time, or the IP address
/// of the incoming request.
/// <para>
/// Your policy is evaluated for each incoming request, and condition keys
/// specify what information to pull out of those incoming requests and plug
/// into the conditions in your policy.
/// </para>
/// </summary>
public string ConditionKey
{
get
{
return conditionKey;
}
set
{
this.conditionKey = value;
}
}
/// <summary>
/// Gets and Sets the values specified for this access control policy condition.
/// For example, in a condition that compares the incoming IP address of a
/// request to a specified range of IP addresses, the range of IP addresses
/// is the single value in the condition.
/// <para>
/// Most conditions accept only one value, but multiple values are possible.
/// </para>
/// </summary>
public string[] Values
{
get
{
return values;
}
set
{
this.values = value;
}
}
}
}
| 144 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
using Amazon.Util;
using System.Globalization;
namespace Amazon.Auth.AccessControlPolicy
{
/// <summary>
/// A factory for creating conditions to be used in the policy.
/// </summary>
public static partial class ConditionFactory
{
#region Common Keys
/// <summary>
/// Condition key for the current time.
/// <para>
/// This condition key should only be used with <see cref="Amazon.Auth.AccessControlPolicy.ConditionFactory.DateComparisonType"/> enum.
/// </para>
/// </summary>
public const string CURRENT_TIME_CONDITION_KEY = "aws:CurrentTime";
/// <summary>
/// Condition key for whether or not an incoming request is using a secure
/// transport to make the request (i.e. HTTPS instead of HTTP).
/// <para>
/// This condition key should only be used with the boolean overload of NewCondition.
/// </para>
/// </summary>
public const string SECURE_TRANSPORT_CONDITION_KEY = "aws:SecureTransport";
/// <summary>
/// Condition key for the source IP from which a request originates.
/// <para>
/// This condition key should only be used with <see cref="Amazon.Auth.AccessControlPolicy.ConditionFactory.IpAddressComparisonType"/> enum.
/// </para>
/// </summary>
public const string SOURCE_IP_CONDITION_KEY = "aws:SourceIp";
/// <summary>
/// Condition key for the user agent included in a request.
/// <para>
/// This condition key should only be used with <see cref="Amazon.Auth.AccessControlPolicy.ConditionFactory.StringComparisonType"/>
/// enum.
/// </para>
/// </summary>
public const string USER_AGENT_CONDITION_KEY = "aws:UserAgent";
/// <summary>
/// Condition key for the current time, in epoch seconds.
/// <para>
/// This condition key should only be used with <see cref="Amazon.Auth.AccessControlPolicy.ConditionFactory.NumericComparisonType"/> enum.
/// objects.
/// </para>
/// </summary>
public const string EPOCH_TIME_CONDITION_KEY = "aws:EpochTime";
/// <summary>
/// Condition key for the referrer specified by a request.
/// <para>
/// This condition key should only be used with <see cref="Amazon.Auth.AccessControlPolicy.ConditionFactory.StringComparisonType"/>
/// objects.
/// </para>
/// </summary>
public const string REFERRER_CONDITION_KEY = "aws:Referer";
/// <summary>
/// Condition key for the Amazon Resource Name (ARN) of the source specified
/// in a request. The source ARN indicates which resource is affecting the
/// resource listed in your policy. For example, an SNS topic is the source
/// ARN when publishing messages from the topic to an SQS queue.
/// <para>
/// This condition key should only be used with <see cref="Amazon.Auth.AccessControlPolicy.ConditionFactory.ArnComparisonType"/> enum.
/// </para>
/// </summary>
public const string SOURCE_ARN_CONDITION_KEY = "aws:SourceArn";
/// <summary>
/// Condition key for the account id of the source specified
/// in a request.
/// </summary>
public const string SOURCE_ACCOUNT_KEY = "aws:SourceAccount";
#endregion
#region ArnComparisonType
/// <summary>
/// Enumeration of the supported ways an ARN comparison can be evaluated.
/// </summary>
public enum ArnComparisonType
{
/// <summary>Exact matching</summary>
ArnEquals,
/// <summary>
/// Loose case-insensitive matching of the ARN. Each of the six
/// colon-delimited components of the ARN is checked separately and each
/// can include a multi-character match wildcard (*) or a
/// single-character match wildcard (?).
/// </summary>
ArnLike,
/// <summary>Negated form of ArnEquals</summary>
ArnNotEquals,
/// <summary>Negated form of ArnLike</summary>
ArnNotLike
};
#endregion
#region DateComparisonType
/// <summary>
/// Enumeration of the supported ways a date comparison can be evaluated.
/// </summary>
public enum DateComparisonType
{
DateEquals,
DateGreaterThan,
DateGreaterThanEquals,
DateLessThan,
DateLessThanEquals,
DateNotEquals
};
#endregion
#region IpAddressComparisonType
/// <summary>
/// Enumeration of the supported ways an IP address comparison can be evaluated.
/// </summary>
public enum IpAddressComparisonType
{
/// <summary>
/// Matches an IP address against a CIDR IP range, evaluating to true if
/// the IP address being tested is in the condition's specified CIDR IP
/// range.
/// </summary>
IpAddress,
/// <summary>
/// Negated form of IpAddress
/// </summary>
NotIpAddress
}
#endregion
#region NumericComparisonType
/// <summary>
/// Enumeration of the supported ways a numeric comparison can be evaluated
/// </summary>
public enum NumericComparisonType
{
NumericEquals,
NumericGreaterThan,
NumericGreaterThanEquals,
NumericLessThan,
NumericLessThanEquals,
NumericNotEquals
};
#endregion
#region StringComparisonType
/// <summary>
/// Enumeration of the supported ways a string comparison can be evaluated.
/// </summary>
public enum StringComparisonType
{
/// <summary>
/// Case-sensitive exact string matching
/// </summary>
StringEquals,
/// <summary>
/// Case-insensitive string matching
/// </summary>
StringEqualsIgnoreCase,
/// <summary>
/// Loose case-insensitive matching. The values can include a
/// multi-character match wildcard (*) or a single-character match
/// wildcard (?) anywhere in the string.
/// </summary>
StringLike,
/// <summary>
/// Negated form of StringEquals.
/// </summary>
StringNotEquals,
/// <summary>
/// Negated form of StringEqualsIgnorecase.
/// </summary>
StringNotEqualsIgnoreCase,
/// <summary>
/// Negated form of StringLike.
/// </summary>
StringNotLike
}
#endregion
/// <summary>
/// Constructs a new access control policy condition that compares ARNs (Amazon Resource Names).
/// </summary>
/// <param name="key"> The access policy condition key specifying where to get the first ARN for the comparison</param>
/// <param name="type">The type of comparison to perform.</param>
/// <param name="value">The second ARN to compare against. When using ArnLike or ArnNotLike this may contain the
/// multi-character wildcard (*) or the single-character wildcard</param>
public static Condition NewCondition(ArnComparisonType type, string key, string value)
{
return new Condition(type.ToString(), key, value);
}
/// <summary>
/// Constructs a new access policy condition that performs a boolean
/// comparison.
/// </summary>
/// <param name="key">The access policy condition key specifying where to get the
/// first boolean value for the comparison (ex: aws:SecureTransport).</param>
/// <param name="value">The boolean to compare against.</param>
public static Condition NewCondition(string key, bool value)
{
return new Condition("Bool", key, value.ToString().ToLowerInvariant());
}
/// <summary>
/// This method is deprecated. Invoking this method results in non-UTC DateTimes
/// not being marshalled correctly. Use NewConditionUtc instead.
/// Constructs a new access policy condition that compares the current time
/// (on the AWS servers) to the specified date.
/// </summary>
/// <param name="type">The type of comparison to perform. For example,
/// DateComparisonType.DateLessThan will cause this policy
/// condition to evaluate to true if the current date is less than
/// the date specified in the second argument.</param>
/// <param name="date">The date to compare against.</param>
[Obsolete("Invoking this method results in non-UTC DateTimes not being marshalled correctly. Use NewConditionUtc instead.", false)]
public static Condition NewCondition(DateComparisonType type, DateTime date)
{
return new Condition(type.ToString(), CURRENT_TIME_CONDITION_KEY, date.ToString(AWSSDKUtils.ISO8601DateFormat, CultureInfo.InvariantCulture));
}
/// <summary>
/// Constructs a new access policy condition that compares the current time
/// (on the AWS servers) to the specified date.
/// </summary>
/// <param name="type">The type of comparison to perform. For example,
/// DateComparisonType.DateLessThan will cause this policy
/// condition to evaluate to true if the current date is less than
/// the date specified in the second argument.</param>
/// <param name="date">The date to compare against.</param>
public static Condition NewConditionUtc(DateComparisonType type, DateTime date)
{
return new Condition(type.ToString(), CURRENT_TIME_CONDITION_KEY, date.ToUniversalTime().ToString(AWSSDKUtils.ISO8601DateFormat, CultureInfo.InvariantCulture));
}
/// <summary>
/// Constructs a new access policy condition that compares the source IP
/// address of the incoming request to an AWS service against the specified
/// CIDR range. The condition evaluates to true (meaning the policy statement
/// containing it will be applied) if the incoming source IP address is
/// within that range.
/// <para>
/// To achieve the opposite effect (i.e. cause the condition to evaluate to
/// true when the incoming source IP is <b>not</b> in the specified CIDR
/// range) use the alternate constructor form and specify
/// IpAddressComparisonType.NotIpAddress.
/// </para>
/// </summary>
/// <param name="ipAddressRange">The CIDR IP range involved in the policy condition.</param>
public static Condition NewIpAddressCondition(string ipAddressRange)
{
return NewCondition(IpAddressComparisonType.IpAddress, ipAddressRange);
}
/// <summary>
/// Constructs a new access policy condition that compares the source IP
/// address of the incoming request to an AWS service against the specified
/// CIDR range. When the condition evaluates to true (i.e. when the incoming
/// source IP address is within the CIDR range or not) depends on the
/// specified IpAddressComparisonType.
/// </summary>
/// <param name="type">The type of comparison to to perform.</param>
/// <param name="ipAddressRange">The CIDR IP range involved in the policy condition.</param>
public static Condition NewCondition(IpAddressComparisonType type, string ipAddressRange)
{
return new Condition(type.ToString(), SOURCE_IP_CONDITION_KEY, ipAddressRange);
}
/// <summary>
/// Constructs a new access policy condition that compares two numbers.
/// </summary>
/// <param name="type">The type of comparison to perform.</param>
/// <param name="key">The access policy condition key specifying where to get the
/// first number for the comparison.</param>
/// <param name="value">The second number to compare against.</param>
public static Condition NewCondition(NumericComparisonType type, string key, string value)
{
return new Condition(type.ToString(), key, value);
}
/// <summary>
/// Constructs a new access control policy condition that compares two
/// strings.
/// </summary>
/// <param name="type">The type of comparison to perform</param>
/// <param name="key">The access policy condition key specifying where to get the
/// first string for the comparison (ex: aws:UserAgent).
/// </param>
/// <param name="value">The second string to compare against. When using
/// StringComparisonType.StringLike or
/// StringComparisonType.StringNotLike this may contain
/// the multi-character wildcard (*) or the single-character
/// wildcard (?).
/// </param>
public static Condition NewCondition(StringComparisonType type, string key, string value)
{
return new Condition(type.ToString(), key, value);
}
/// <summary>
/// Constructs a new access policy condition that compares the Amazon
/// Resource Name (ARN) of the source of an AWS resource that is modifying
/// another AWS resource with the specified pattern.
/// <para>
/// For example, the source ARN could be an Amazon SNS topic ARN that is
/// sending messages to an Amazon SQS queue. In that case, the SNS topic ARN
/// would be compared the ARN pattern specified here.
/// </para>
/// <para>
/// The endpoint pattern may optionally contain the multi-character wildcard
///* (*) or the single-character wildcard (?). Each of the six colon-delimited
/// components of the ARN is checked separately and each can include a
/// wildcard.
/// </para>
/// <code>
/// Policy policy = new Policy("MyQueuePolicy");
/// policy.WithStatements(new Statement(Statement.StatementEffect.Allow)
/// .WithPrincipals(new Principal("*")).WithActionIdentifiers(SQSActionIdentifiers.SendMessage)
/// .WithResources(new Resource(myQueueArn))
/// .WithConditions(ConditionFactory.NewSourceArnCondition(myTopicArn)));
/// </code>
/// </summary>
/// <param name="arnPattern">The ARN pattern against which the source ARN will be compared.
/// Each of the six colon-delimited components of the ARN is
/// checked separately and each can include a wildcard.</param>
/// <returns>A new access control policy condition that compares the ARN of
/// the source specified in an incoming request with the ARN pattern
/// specified here.</returns>
public static Condition NewSourceArnCondition(string arnPattern)
{
return NewCondition(ArnComparisonType.ArnLike, SOURCE_ARN_CONDITION_KEY, arnPattern);
}
/// <summary>
/// Constructs a new access control policy condition that tests if the
/// incoming request was sent over a secure transport (HTTPS).
/// </summary>
/// <returns>A new access control policy condition that tests if the incoming
/// request was sent over a secure transport (HTTPS).</returns>
public static Condition NewSecureTransportCondition()
{
return NewCondition(SECURE_TRANSPORT_CONDITION_KEY, true);
}
}
}
| 381 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy
{
public static partial class ConditionFactory
{
/// <summary>
/// Condition key for the canned ACL specified by a request.
/// <para>
/// This condition key may only be used with <see cref="Amazon.Auth.AccessControlPolicy.ConditionFactory.StringComparisonType"/> enum.
/// </para>
/// </summary>
public const string S3_CANNED_ACL_CONDITION_KEY = "s3:x-amz-acl";
/// <summary>
/// Condition key for the location constraint specified by a request.
/// <para>
/// This condition key may only be used with <see cref="Amazon.Auth.AccessControlPolicy.ConditionFactory.StringComparisonType"/> enum.
/// </para>
/// </summary>
public const string S3_LOCATION_CONSTRAINT_CONDITION_KEY = "s3:LocationConstraint";
/// <summary>
/// Condition key for the prefix specified by a request.
/// <para>
/// This condition key may only be used with <see cref="Amazon.Auth.AccessControlPolicy.ConditionFactory.StringComparisonType"/> enum.
/// </para>
/// </summary>
public const string S3_PREFIX_CONDITION_KEY = "s3:prefix";
/// <summary>
/// Condition key for the delimiter specified by a request.
/// <para>
/// This condition key may only be used with <see cref="Amazon.Auth.AccessControlPolicy.ConditionFactory.StringComparisonType"/> enum.
/// </para>
/// </summary>
public const string S3_DELIMITER_CONDITION_KEY = "s3:delimiter";
/// <summary>
/// Condition key for the max keys specified by a request.
/// <para>
/// This condition key may only be used with <see cref="Amazon.Auth.AccessControlPolicy.ConditionFactory.StringComparisonType"/> enum.
/// </para>
/// </summary>
public const string S3_MAX_KEYS_CONDITION_KEY = "s3:max-keys";
/// <summary>
/// Condition key for the source object specified by a request to copy an
/// object.
/// <para>
/// This condition key may only be used with <see cref="Amazon.Auth.AccessControlPolicy.ConditionFactory.StringComparisonType"/> enum.
/// </para>
/// </summary>
public const string S3_COPY_SOURCE_CONDITION_KEY = "s3:x-amz-copy-source";
/// <summary>
/// Condition key for the metadata directive specified by a request to copy
/// an object.
/// <para>
/// This condition key may only be used with <see cref="Amazon.Auth.AccessControlPolicy.ConditionFactory.StringComparisonType"/> enum.
/// </para>
/// </summary>
public const string S3_METADATA_DIRECTIVE_CONDITION_KEY = "s3:x-amz-metadata-directive";
/// <summary>
/// Condition key for the version ID of an object version specified by a
/// request.
/// <para>
/// This condition key may only be used with <see cref="Amazon.Auth.AccessControlPolicy.ConditionFactory.StringComparisonType"/> enum.
/// </para>
/// </summary>
public const string S3_VERSION_ID_CONDITION_KEY = "s3:VersionId";
/// <summary>
/// Constructs a new access policy condition that compares an Amazon S3
/// canned ACL with the canned ACL specified by an incoming request.
/// <para>
/// You can use this condition to ensure that any objects uploaded to an
/// Amazon S3 bucket have a specific canned ACL set.
/// </para>
/// </summary>
/// <param name="cannedAcl">The Amazon S3 canned ACL to compare against.</param>
/// <returns>A new access control policy condition that compares the Amazon S3
/// canned ACL specified in incoming requests against the value
/// specified.</returns>
public static Condition NewCannedACLCondition(string cannedAcl)
{
return ConditionFactory.NewCondition(StringComparisonType.StringEquals, S3_CANNED_ACL_CONDITION_KEY, cannedAcl);
}
}
}
| 109 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy
{
public static partial class ConditionFactory
{
/// <summary>
/// Condition key for The URL, e-mail address, or ARN from a Subscribe
/// request or a previously confirmed subscription. Use with string
/// conditions to restrict access to specific endpoints (e.g.,
/// *@mycompany.com).
/// <para>
/// This condition key may only be used with <see cref="Amazon.Auth.AccessControlPolicy.ConditionFactory.StringComparisonType"/> enum.
/// </para>
/// </summary>
public const string SNS_ENDPOINT_CONDITION_KEY = "sns:Endpoint";
/// <summary>
/// Condition key for the protocol value from a Subscribe request or a
/// previously confirmed subscription. Use with string conditions to restrict
/// publication to specific delivery protocols (e.g., HTTPS).
/// <para>
/// This condition key may only be used with <see cref="Amazon.Auth.AccessControlPolicy.ConditionFactory.StringComparisonType"/> enum.
/// </para>
/// </summary>
public const string SNS_PROTOCOL_CONDITION_KEY = "sns:Protocol";
/// <summary>
/// Constructs a new access policy condition that compares the requested
/// endpoint used to subscribe to an Amazon SNS topic with the specified
/// endpoint pattern. The endpoint pattern may optionally contain the
/// multi-character wildcard (*) or the single-character wildcard (?).
/// <para>
/// For example, this condition can restrict subscriptions to a topic to
/// email addresses in a certain domain ("*@my-company.com").
/// </para>
/// <code>
/// Policy policy = new Policy("MyTopicPolicy");
/// policy.WithStatements(new Statement(Statement.StatementEffect.Allow)
/// .WithPrincipals(new Principal("*")).WithActionIdentifiers(SNSActionIdentifiers.Subscribe)
/// .WithResources(new Resource(myTopicArn))
/// .WithConditions(ConditionFactory.NewEndpointCondition("*@my-company.com")));
/// </code>
/// </summary>
/// <param name="endpointPattern">The endpoint pattern against which to compare the requested
/// endpoint for an Amazon SNS topic subscription.</param>
/// <returns>A new access control policy condition that compares the endpoint
/// used in a request to subscribe to an Amazon SNS topic with the
/// endpoint pattern specified.</returns>
public static Condition NewEndpointCondition(string endpointPattern)
{
return ConditionFactory.NewCondition(StringComparisonType.StringLike,
SNS_ENDPOINT_CONDITION_KEY, endpointPattern);
}
/// <summary>
/// Constructs a new AWS access control policy condition that allows an
/// access control statement to restrict subscriptions to an Amazon SNS topic
/// based on the protocol being used for the subscription. For example, this
/// condition can restrict subscriptions to a topic to endpoints using HTTPS
/// to ensure that messages are securely delivered.
/// </summary>
/// <param name="protocol">The protocol against which to compare the requested protocol
/// for an Amazon SNS topic subscription.</param>
/// <returns>A new access control policy condition that compares the
/// notification protocol requested in a request to subscribe to an
/// Amazon SNS topic with the protocol value specified.</returns>
public static Condition NewProtocolCondition(string protocol)
{
return ConditionFactory.NewCondition(StringComparisonType.StringEquals,
SNS_PROTOCOL_CONDITION_KEY, protocol);
}
}
}
| 92 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Amazon.Auth.AccessControlPolicy.Internal;
namespace Amazon.Auth.AccessControlPolicy
{
/// <summary>
/// An AWS access control policy is a object that acts as a container for one or
/// more statements, which specify fine grained rules for allowing or denying
/// various types of actions from being performed on your AWS resources.
/// <para>
/// By default, all requests to use your resource coming from anyone but you are
/// denied. Access control polices can override that by allowing different types
/// of access to your resources, or by explicitly denying different types of
/// access.
/// </para>
/// <para>
/// Each statement in an AWS access control policy takes the form:
/// "A has permission to do B to C where D applies".
/// <list type="definition">
/// <item>
/// <term>A is the prinicpal</term>
/// <description>The AWS account that is making a request to
/// access or modify one of your AWS resources.
/// </description>
/// </item>
/// <item>
/// <term>B is the action</term>
/// <description>the way in which your AWS resource is being accessed or modified, such
/// as sending a message to an Amazon SQS queue, or storing an object in an Amazon S3 bucket.
/// </description>
/// </item>
/// <item>
/// <term>C is the resource</term>
/// <description>your AWS entity that the principal wants to access, such
/// as an Amazon SQS queue, or an object stored in Amazon S3.
/// </description>
/// </item>
/// <item>
/// <term>D is the set of conditions</term>
/// <description>optional constraints that specify when to allow or deny
/// access for the principal to access your resource. Many expressive conditions are available,
/// some specific to each service. For example you can use date conditions to allow access to
/// your resources only after or before a specific time.
/// </description>
/// </item>
/// </list>
/// </para>
/// <para>
/// Note that an AWS access control policy should not be confused with the
/// similarly named "POST form policy" concept used in Amazon S3.
/// </para>
/// </summary>
public class Policy
{
/// <summary>
/// The default policy version
/// </summary>
private const string DEFAULT_POLICY_VERSION = "2012-10-17";
private string id;
private string version = DEFAULT_POLICY_VERSION;
private IList<Statement> statements = new List<Statement>();
/// <summary>
/// Constructs an empty AWS access control policy ready to be populated with
/// statements.
/// </summary>
public Policy()
{
}
/// <summary>
/// Constructs a new AWS access control policy with the specified policy ID.
/// The policy ID is a user specified string that serves to help developers
/// keep track of multiple polices. Policy IDs are often used as a human
/// readable name for a policy.
/// </summary>
/// <param name="id">The policy ID for the new policy object. Policy IDs serve to
/// help developers keep track of multiple policies, and are often
/// used to give the policy a meaningful, human readable name.</param>
public Policy(string id)
{
this.id = id;
}
/// <summary>
/// Constructs a new AWS access control policy with the specified policy ID
/// and collection of statements. The policy ID is a user specified string
/// that serves to help developers keep track of multiple polices. Policy IDs
/// are often used as a human readable name for a policy.
/// </summary>
/// <param name="id">The policy ID for the new policy object. Policy IDs serve to
/// help developers keep track of multiple policies, and are often
/// used to give the policy a meaningful, human readable name.</param>
/// <param name="statements">The statements to include in the new policy.</param>
public Policy(string id, IList<Statement> statements)
{
this.id = id;
this.statements = statements;
}
/// <summary>
/// Gets and Sets the policy ID for this policy. Policy IDs serve to help
/// developers keep track of multiple policies, and are often used as human
/// readable name for a policy.
/// </summary>
public string Id
{
get
{
return id;
}
set
{
this.id = value;
}
}
/// <summary>
/// Sets the policy ID for this policy and returns the updated policy so that
/// multiple calls can be chained together.
/// <para>
/// Policy IDs serve to help developers keep track of multiple policies, and
/// are often used as human readable name for a policy.
/// </para>
/// </summary>
/// <paraparam name="id">The polich ID for this policy</paraparam>
/// <returns>this instance</returns>
public Policy WithId(string id)
{
Id = id;
return this;
}
/// <summary>
/// Gets and sets the version of this AWS policy.
/// </summary>
public string Version
{
get
{
return version;
}
set
{
this.version = value;
}
}
/// <summary>
/// Gets and Sets the collection of statements contained by this policy. Individual
/// statements in a policy are what specify the rules that enable or disable
/// access to your AWS resources.
/// </summary>
public IList<Statement> Statements
{
get
{
return statements;
}
set
{
this.statements = value;
}
}
/// <summary>
/// Checks to see if the permissions set in the statement are already set by another
/// statement in the policy.
/// </summary>
/// <param name="statement">The statement to verify</param>
/// <returns>True if the statement's permissions are already allowed by the statement</returns>
public bool CheckIfStatementExists(Statement statement)
{
if (this.Statements == null)
return false;
foreach (var existingStatement in this.Statements)
{
if (existingStatement.Effect != statement.Effect)
continue;
if(!StatementContainsResources(existingStatement, statement.Resources))
continue;
if (!StatementContainsActions(existingStatement, statement.Actions))
continue;
if (!StatementContainsConditions(existingStatement, statement.Conditions))
continue;
if (!StatementContainsPrincipals(existingStatement, statement.Principals))
continue;
return true;
}
return false;
}
private static bool StatementContainsResources(Statement statement, IList<Resource> resources)
{
foreach(var resource in resources)
{
if(statement.Resources.FirstOrDefault(x => string.Equals(x.Id, resource.Id)) == null)
return false;
}
return true;
}
private static bool StatementContainsActions(Statement statement, IList<ActionIdentifier> actions)
{
foreach (var action in actions)
{
if (statement.Actions.FirstOrDefault(x => string.Equals(x.ActionName, action.ActionName, StringComparison.InvariantCultureIgnoreCase)) == null)
return false;
}
return true;
}
private static bool StatementContainsConditions(Statement statement, IList<Condition> conditions)
{
foreach (var condition in conditions)
{
if (statement.Conditions.FirstOrDefault(x =>
string.Equals(x.Type, condition.Type) &&
string.Equals(x.ConditionKey, condition.ConditionKey) &&
x.Values.Intersect(condition.Values).Count() == condition.Values.Count()) == null)
return false;
}
return true;
}
private static bool StatementContainsPrincipals(Statement statement, IList<Principal> principals)
{
foreach (var principal in principals)
{
if (statement.Principals.FirstOrDefault(x =>
string.Equals(x.Id, principal.Id) &&
string.Equals(x.Provider, principal.Provider)) == null)
return false;
}
return true;
}
/// <summary>
/// Sets the collection of statements contained by this policy and returns
/// this policy object so that additional method calls can be chained
/// together.
/// <para>
/// Individual statements in a policy are what specify the rules that enable
/// or disable access to your AWS resources.
/// </para>
/// </summary>
/// <param name="statements">The collection of statements included in this policy.</param>
/// <returns>this instance</returns>
public Policy WithStatements(params Statement[] statements)
{
if (this.Statements == null)
{
this.Statements = new List<Statement>();
}
foreach (Statement element in statements)
{
this.Statements.Add(element);
}
return this;
}
/// <summary>
/// Returns a JSON string representation of this AWS access control policy,
/// suitable to be sent to an AWS service as part of a request to set an
/// access control policy.
/// </summary>
/// <returns>A JSON string representation of this AWS access control policy.</returns>
public string ToJson()
{
return ToJson(true);
}
/// <summary>
/// Returns a JSON string representation of this AWS access control policy,
/// suitable to be sent to an AWS service as part of a request to set an
/// access control policy.
/// </summary>
/// <param name="prettyPrint">Toggle pretty print for the generated JSON document</param>
/// <returns>A JSON string representation of this AWS access control policy.</returns>
public string ToJson(bool prettyPrint)
{
return JsonPolicyWriter.WritePolicyToString(prettyPrint, this);
}
/// <summary>
/// Parses a JSON document of a policy and creates a Policy object.
/// </summary>
/// <param name="json">JSON document of a policy.</param>
/// <returns></returns>
public static Policy FromJson(string json)
{
return JsonPolicyReader.ReadJsonStringToPolicy(json);
}
}
}
| 327 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy
{
/// <summary>
/// A principal is an AWS account which is being allowed or denied access to a
/// resource through an access control policy. The principal is a property of the
/// Statement object, not directly the <see cref="Amazon.Auth.AccessControlPolicy.Policy"/> object.
/// <para>
/// The principal is A in the statement
/// "A has permission to do B to C where D applies."
/// </para>
/// <para>
/// In an access control policy statement, you can set the principal to all
/// authenticated AWS users through the <see cref="Amazon.Auth.AccessControlPolicy.Principal.AllUsers"/> member. This
/// is useful when you don't want to restrict access based on the identity of the
/// requester, but instead on other identifying characteristics such as the
/// requester's IP address.
/// </para>
/// </summary>
public class Principal
{
/// <summary>
/// Principal instance that includes all authenticated AWS users.
/// <para>
/// This is useful when you don't want to restrict access based on the
/// identity of the requester, but instead on other identifying
/// characteristics such as the requester's IP address.
/// </para>
/// </summary>
public static readonly Principal AllUsers = new Principal("*");
/// <summary>
/// The anonymous Principal.
/// </summary>
public static readonly Principal Anonymous = new Principal(ANONYMOUS_PROVIDER, "*");
/// <summary>
/// The default Principal provider for AWS accounts.
/// </summary>
public const string AWS_PROVIDER = "AWS";
/// <summary>
/// Principal provider for Canonical User IDs.
/// </summary>
public const string CANONICAL_USER_PROVIDER = "CanonicalUser";
/// <summary>
/// Principal provider for federated users (using a SAML identity provider)
/// </summary>
public const string FEDERATED_PROVIDER = "Federated";
/// <summary>
/// Principal provider for assume role policies that will be assumed by an AWS service
/// (e.g. "ec2.amazonaws.com").
/// </summary>
public const string SERVICE_PROVIDER = "Service";
/// <summary>
/// Dummy principal provider for anonynous.
/// </summary>
public const string ANONYMOUS_PROVIDER = "__ANONYMOUS__";
private string id;
private string provider;
/// <summary>
/// Constructs a new principal with the specified AWS account ID.
/// </summary>
/// <param name="accountId">An AWS account ID.</param>
public Principal(string accountId)
: this(AWS_PROVIDER, accountId)
{
if (accountId == null)
{
throw new ArgumentNullException("accountId");
}
}
/// <summary>
/// Constructs a new principal with the specified provider and id
/// </summary>
/// <param name="provider">The provider of the principal</param>
/// <param name="id">The unique ID of the Principal within the provider</param>
public Principal(string provider, string id)
: this(provider, id, provider == AWS_PROVIDER)
{
}
/// <summary>
/// Constructs a new principal with the specified provider and id
/// and optionally strips hyphens from the id
/// </summary>
/// <param name="provider">The provider of the principal</param>
/// <param name="id">The unique ID of the Principal within the provider</param>
/// <param name="stripHyphen">Strip hyphen</param>
public Principal(string provider, string id, bool stripHyphen)
{
this.provider = provider;
if (stripHyphen)
{
id = id.Replace("-", "");
}
this.id = id;
}
/// <summary>
/// Gets and sets the provider for this principal, which indicates in what group of
/// users this principal resides.
/// </summary>
public string Provider
{
get
{
return provider;
}
set
{
provider = value;
}
}
/// <summary>
/// Gets the unique ID for this principal.
/// </summary>
public string Id
{
get
{
return id;
}
}
}
}
| 153 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy
{
/// <summary>
/// Represents a resource involved in an AWS access control policy statement.
/// Resources are the service specific AWS entities owned by your account. Amazon
/// SQS queues, Amazon S3 buckets and objects, and Amazon SNS topics are all
/// examples of AWS resources.
/// <para>
/// The standard way of specifying an AWS resource is with an Amazon Resource
/// Name (ARN).
/// </para>
/// <para>
/// The resource is C in the statement
/// "A has permission to do B to C where D applies."
/// </para>
/// </summary>
public class Resource
{
private string resource;
/// <summary>
/// Constructs a new AWS access control policy resource. Resources are
/// typically specified as Amazon Resource Names (ARNs).
/// <para>
/// You specify the resource using the following Amazon Resource Name (ARN)
/// format: arn:aws:<vendor>:<region>:<namespace>:<relative-id>
/// <list type="bullet">
/// <item>
/// <description>>vendor identifies the AWS product (e.g., sns)</description>
/// </item>
/// <item>
/// <description>region is the AWS Region the resource resides in (e.g., us-east-1), if any</description>
/// </item>
/// <item>
/// <description>namespace is the AWS account ID with no hyphens (e.g., 123456789012)</description>
/// </item>
/// <item>
/// <description>relative-id is the service specific portion that identifies the specific resource</description>
/// </item>
/// </list>
/// </para>
/// <para>
/// For example, an Amazon SQS queue might be addressed with the following
/// ARN: arn:aws:sqs:us-east-1:987654321000:MyQueue
/// </para>
/// <para>
/// Some resources may not use every field in an ARN. For example, resources
/// in Amazon S3 are global, so they omit the region field:
/// arn:aws:s3:::bucket/*
/// </para>
/// </summary>
/// <param name="resource">The Amazon Resource Name (ARN) uniquely identifying the desired AWS resource.</param>
public Resource(string resource)
{
this.resource = resource;
}
/// <summary>
/// Gets the resource ID, typically an Amazon Resource Name (ARN),
/// identifying this resource.
/// </summary>
public string Id
{
get
{
return resource;
}
}
}
}
| 90 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy
{
/// <summary>
/// A factory for creating resources to be used in the policy.
/// </summary>
public static class ResourceFactory
{
/// <summary>
/// Constructs a new bucket resource that represents the the specified bucket
/// but <b>not any of the contained objects</b>.
/// </summary>
/// <param name="bucketName">The name of the bucket represented by this AWS access control
/// policy resource.</param>
public static Resource NewS3BucketResource(string bucketName)
{
if (bucketName == null)
{
throw new ArgumentNullException("bucketName");
}
return new Resource("arn:aws:s3:::" + bucketName);
}
/// <summary>
/// Constructs a new object resource that represents the specified objects.
/// The keyPattern argument may contain the '*' wildcard to match multiple
/// objects. For example, an object resource created for bucket 'mybucket'
/// and key pattern 'foo*' will match any object stored in 'mybucket' with a
/// key that starts with 'foo'.
/// </summary>
/// <param name="bucketName">The name of the bucket containing the object or objects
/// represented by this resource.</param>
/// <param name="keyPattern">The key or key pattern, which can optionally contain the '*'
/// wildcard to include multiple objects in the resource.</param>
public static Resource NewS3ObjectResource(string bucketName, string keyPattern)
{
if (bucketName == null)
{
throw new ArgumentNullException("bucketName");
}
if (keyPattern == null)
{
throw new ArgumentNullException("keyPattern");
}
return new Resource(string.Format(CultureInfo.InvariantCulture, "arn:aws:s3:::{0}/{1}", bucketName, keyPattern));
}
/// <summary>
/// Constructs a new SQS queue resource for an access control policy. A
/// policy statement using this resource will allow or deny actions on the
/// specified queue.
/// </summary>
/// <param name="accountId">The AWS account ID of the queue owner.</param>
/// <param name="queueName">The name of the Amazon SQS queue.</param>
public static Resource NewSQSQueueResource(string accountId, string queueName)
{
return new Resource("/" + FormatAccountId(accountId) + "/" + queueName);
}
private static string FormatAccountId(string accountId)
{
if (accountId == null)
{
throw new ArgumentNullException("accountId");
}
return accountId.Trim().Replace("-", "");
}
}
}
| 93 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy
{
/// <summary>
/// A statement is the formal description of a single permission, and is always
/// contained within a policy object.
/// <para>
/// A statement describes a rule for allowing or denying access to a specific AWS
/// resource based on how the resource is being accessed, and who is attempting
/// to access the resource. Statements can also optionally contain a list of
/// conditions that specify when a statement is to be honored.
/// </para>
/// <para>
/// For example, consider a statement that:
/// <list type="definition">
/// <item>
/// <term>A is the prinicpal</term>
/// <description>The AWS account that is making a request to
/// access or modify one of your AWS resources.
/// </description>
/// </item>
/// <item>
/// <term>B is the action</term>
/// <description>the way in which your AWS resource is being accessed or modified, such
/// as sending a message to an Amazon SQS queue, or storing an object in an Amazon S3 bucket.
/// </description>
/// </item>
/// <item>
/// <term>C is the resource</term>
/// <description>your AWS entity that the principal wants to access, such
/// as an Amazon SQS queue, or an object stored in Amazon S3.
/// </description>
/// </item>
/// <item>
/// <term>D is the set of conditions</term>
/// <description>optional constraints that specify when to allow or deny
/// access for the principal to access your resource. Many expressive conditions are available,
/// some specific to each service. For example you can use date conditions to allow access to
/// your resources only after or before a specific time.
/// </description>
/// </item>
/// </list>
/// </para>
/// <para>
/// There are many resources and conditions available for use in statements, and
/// you can combine them to form fine grained custom access control polices.
/// </para>
/// </summary>
public class Statement
{
private string id;
private StatementEffect effect;
private IList<Principal> principals = new List<Principal>();
private IList<ActionIdentifier> actions = new List<ActionIdentifier>();
private IList<Resource> resources = new List<Resource>();
private IList<Condition> conditions = new List<Condition>();
/// <summary>
/// The effect is the result that you want a policy statement to return at
/// evaluation time. A policy statement can either allow access or explicitly
/// deny access.
/// </summary>
public enum StatementEffect { Allow, Deny }
/// <summary>
/// Constructs a new access control policy statement with the specified
/// effect.
/// <para>
/// Before a statement is valid and can be sent to AWS, callers must set the
/// principals, resources, and actions (as well as any optional conditions)
/// involved in the statement.
/// </para>
/// </summary>
/// <param name="effect">The effect this statement has (allowing access or denying
/// access) when all conditions, resources, principals, and
/// actions are matched.</param>
public Statement(StatementEffect effect)
{
this.effect = effect;
this.id = Guid.NewGuid().ToString().Replace("-", "");
}
/// <summary>
/// Gets and Sets the ID for this statement. Statement IDs serve to help keep track
/// of multiple statements, and are often used to give the statement a
/// meaningful, human readable name.
/// <para>
/// Developers should be careful to not use the same statement ID for
/// multiple statements in the same policy. Reusing the same statement ID in
/// different policies is not a problem.
/// </para>
/// </summary>
public string Id
{
get
{
return id;
}
set
{
this.id = value;
}
}
/// <summary>
/// Sets the ID for this statement and returns the updated statement so
/// multiple calls can be chained together.
/// <para>
/// Statement IDs serve to help keep track of multiple statements, and are
/// often used to give the statement a meaningful, human readable name.
/// </para>
/// <para>
/// Developers should be careful to not use the same statement ID for
/// multiple statements in the same policy. Reusing the same statement ID in
/// different policies is not a problem.
/// </para>
/// </summary>
/// <param name="id">The new statement ID for this statement.</param>
/// <returns>this instance</returns>
public Statement WithId(string id)
{
this.Id = id;
return this;
}
/// <summary>
/// Gets and Sets the result effect of this policy statement when it is evaluated.
/// A policy statement can either allow access or explicitly
/// </summary>
public StatementEffect Effect
{
get
{
return effect;
}
set
{
this.effect = value;
}
}
/// <summary>
/// Gets and Sets the list of actions to which this policy statement applies.
/// Actions limit a policy statement to specific service operations that are
/// being allowed or denied by the policy statement. For example, you might
/// want to allow any AWS user to post messages to your SQS queue using the
/// SendMessage action, but you don't want to allow those users other actions
/// such as ReceiveMessage or DeleteQueue.
/// </summary>
public IList<ActionIdentifier> Actions
{
get
{
return actions;
}
set
{
this.actions = value;
}
}
/// <summary>
/// Sets the list of actions to which this policy statement applies and
/// returns this updated Statement object so that additional method calls can
/// be chained together.
/// <para>
/// Actions limit a policy statement to specific service operations that are
/// being allowed or denied by the policy statement. For example, you might
/// want to allow any AWS user to post messages to your SQS queue using the
/// SendMessage action, but you don't want to allow those users other actions
/// such as ReceiveMessage or DeleteQueue.
/// </para>
/// </summary>
/// <param name="actions">The list of actions to which this statement applies.</param>
/// <returns>this instance</returns>
public Statement WithActionIdentifiers(params ActionIdentifier[] actions)
{
if (this.actions == null)
{
this.actions = new List<ActionIdentifier>();
}
foreach (ActionIdentifier element in actions)
{
this.actions.Add(element);
}
return this;
}
/// <summary>
/// Gets and Sets the resources associated with this policy statement. Resources
/// are what a policy statement is allowing or denying access to, such as an
/// Amazon SQS queue or an Amazon SNS topic.
/// <para>
/// Note that some services allow only one resource to be specified per
/// policy statement.
/// </para>
/// </summary>
public IList<Resource> Resources
{
get
{
return resources;
}
set
{
this.resources = value;
}
}
/// <summary>
/// Sets the resources associated with this policy statement and returns this
/// updated Statement object so that additional method calls can be chained
/// together.
/// <para>
/// Resources are what a policy statement is allowing or denying access to,
/// such as an Amazon SQS queue or an Amazon SNS topic.
/// </para>
/// <para>
/// Note that some services allow only one resource to be specified per
/// policy statement.
/// </para>
/// </summary>
/// <param name="resources">The resources associated with this policy statement.</param>
/// <returns>this instance</returns>
public Statement WithResources(params Resource[] resources)
{
if (this.resources == null)
{
this.resources = new List<Resource>();
}
foreach(Resource element in resources)
{
this.resources.Add(element);
}
return this;
}
/// <summary>
/// Gets and Sets the conditions associated with this policy statement. Conditions
/// allow policy statements to be conditionally evaluated based on the many
/// available condition types.
/// <para>
/// For example, a statement that allows access to an Amazon SQS queue could
/// use a condition to only apply the effect of that statement for requests
/// that are made before a certain date, or that originate from a range of IP
/// addresses.
/// </para>
/// <para>
/// When multiple conditions are included in a single statement, all
/// conditions must evaluate to true in order for the statement to take
/// effect.
/// </para>
/// </summary>
public IList<Condition> Conditions
{
get
{
return conditions;
}
set
{
this.conditions = value;
}
}
/// <summary>
/// Sets the conditions associated with this policy statement, and returns
/// this updated Statement object so that additional method calls can be
/// chained together.
/// <para>
/// Conditions allow policy statements to be conditionally evaluated based on
/// the many available condition types.
/// </para>
/// <para>
/// For example, a statement that allows access to an Amazon SQS queue could
/// use a condition to only apply the effect of that statement for requests
/// that are made before a certain date, or that originate from a range of IP
/// addresses.
/// </para>
/// <para>
/// Multiple conditions can be included in a single statement, and all
/// conditions must evaluate to true in order for the statement to take
/// effect.
/// </para>
/// </summary>
/// <param name="conditions">The conditions associated with this policy statement.</param>
/// <returns>this instance</returns>
public Statement WithConditions(params Condition[] conditions)
{
if (this.Conditions == null)
{
this.Conditions = new List<Condition>();
}
foreach(Condition element in conditions)
{
this.Conditions.Add(element);
}
return this;
}
/// <summary>
/// Gets and Sets the principals associated with this policy statement, indicating
/// which AWS accounts are affected by this policy statement.
/// </summary>
public IList<Principal> Principals
{
get
{
return principals;
}
set
{
this.principals = value;
}
}
/// <summary>
/// Sets the principals associated with this policy statement, and returns
/// this updated Statement object. Principals control which AWS accounts are
/// affected by this policy statement.
/// <para>
/// If you don't want to restrict your policy to specific users, you can use
/// <see cref="Amazon.Auth.AccessControlPolicy.Principal.AllUsers"/> to apply the policy to any user trying to
/// access your resource.
/// </para>
/// </summary>
/// <param name="principals">The list of principals associated with this policy statement.</param>
/// <returns>this instance</returns>
public Statement WithPrincipals(params Principal[] principals)
{
if (this.principals == null)
{
this.principals = new List<Principal>();
}
foreach (Principal element in principals)
{
this.principals.Add(element);
}
return this;
}
}
}
| 367 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy.ActionIdentifiers
{
/// <summary>
/// The available AWS access control policy actions for Amazon AppStream.
/// </summary>
/// <see cref="Amazon.Auth.AccessControlPolicy.Statement.Actions"/>
[Obsolete(
"The Amazon.Auth.AccessContolPolicy classes are out of date and are no longer being maintained.\n" +
"Please construct policy documents using the information found here: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json")]
public static class AppStreamActionIdentifiers
{
public static readonly ActionIdentifier AllAppStreamActions = new ActionIdentifier("appstream:*");
public static readonly ActionIdentifier CreateApplication = new ActionIdentifier("appstream:CreateApplication");
public static readonly ActionIdentifier CreateSession = new ActionIdentifier("appstream:CreateSession");
public static readonly ActionIdentifier DeleteApplication = new ActionIdentifier("appstream:DeleteApplication");
public static readonly ActionIdentifier GetApiRoot = new ActionIdentifier("appstream:GetApiRoot");
public static readonly ActionIdentifier GetApplication = new ActionIdentifier("appstream:GetApplication");
public static readonly ActionIdentifier GetApplications = new ActionIdentifier("appstream:GetApplications");
public static readonly ActionIdentifier GetApplicationError = new ActionIdentifier("appstream:GetApplicationError");
public static readonly ActionIdentifier GetApplicationErrors = new ActionIdentifier("appstream:GetApplicationErrors");
public static readonly ActionIdentifier GetApplicationStatus = new ActionIdentifier("appstream:GetApplicationStatus");
public static readonly ActionIdentifier GetSession = new ActionIdentifier("appstream:GetSession");
public static readonly ActionIdentifier GetSessions = new ActionIdentifier("appstream:GetSessions");
public static readonly ActionIdentifier GetSessionStatus = new ActionIdentifier("appstream:GetSessionStatus");
public static readonly ActionIdentifier UpdateApplication = new ActionIdentifier("appstream:UpdateApplication");
public static readonly ActionIdentifier UpdateApplicationState = new ActionIdentifier("appstream:UpdateApplicationState");
public static readonly ActionIdentifier UpdateSessionState = new ActionIdentifier("appstream:UpdateSessionState");
}
}
| 50 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy.ActionIdentifiers
{
/// <summary>
/// The available AWS access control policy actions for Auto Scaling.
/// </summary>
/// <see cref="Amazon.Auth.AccessControlPolicy.Statement.Actions"/>
[Obsolete(
"The Amazon.Auth.AccessContolPolicy classes are out of date and are no longer being maintained.\n" +
"Please construct policy documents using the information found here: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json")]
public static class AutoScalingActionIdentifiers
{
public static readonly ActionIdentifier AllAutoScalingActions = new ActionIdentifier("autoscaling:*");
public static readonly ActionIdentifier CreateAutoScalingGroup = new ActionIdentifier("autoscaling:CreateAutoScalingGroup");
public static readonly ActionIdentifier CreateLaunchConfiguration = new ActionIdentifier("autoscaling:CreateLaunchConfiguration");
public static readonly ActionIdentifier CreateOrUpdateScalingTrigger = new ActionIdentifier("autoscaling:CreateOrUpdateScalingTrigger");
public static readonly ActionIdentifier CreateOrUpdateTags = new ActionIdentifier("autoscaling:CreateOrUpdateTags");
public static readonly ActionIdentifier DeleteAutoScalingGroup = new ActionIdentifier("autoscaling:DeleteAutoScalingGroup");
public static readonly ActionIdentifier DeleteLaunchConfiguration = new ActionIdentifier("autoscaling:DeleteLaunchConfiguration");
public static readonly ActionIdentifier DeleteNotificationConfiguration = new ActionIdentifier("autoscaling:DeleteNotificationConfiguration");
public static readonly ActionIdentifier DeletePolicy = new ActionIdentifier("autoscaling:DeletePolicy");
public static readonly ActionIdentifier DeleteScheduledAction = new ActionIdentifier("autoscaling:DeleteScheduledAction");
public static readonly ActionIdentifier DeleteTags = new ActionIdentifier("autoscaling:DeleteTags");
public static readonly ActionIdentifier DeleteTrigger = new ActionIdentifier("autoscaling:DeleteTrigger");
public static readonly ActionIdentifier DescribeAdjustmentTypes = new ActionIdentifier("autoscaling:DescribeAdjustmentTypes");
public static readonly ActionIdentifier DescribeAutoScalingGroups = new ActionIdentifier("autoscaling:DescribeAutoScalingGroups");
public static readonly ActionIdentifier DescribeAutoScalingInstances = new ActionIdentifier("autoscaling:DescribeAutoScalingInstances");
public static readonly ActionIdentifier DescribeAutoScalingNotificationTypes = new ActionIdentifier("autoscaling:DescribeAutoScalingNotificationTypes");
public static readonly ActionIdentifier DescribeLaunchConfigurations = new ActionIdentifier("autoscaling:DescribeLaunchConfigurations");
public static readonly ActionIdentifier DescribeMetricCollectionTypes = new ActionIdentifier("autoscaling:DescribeMetricCollectionTypes");
public static readonly ActionIdentifier DescribeNotificationConfigurations = new ActionIdentifier("autoscaling:DescribeNotificationConfigurations");
public static readonly ActionIdentifier DescribePolicies = new ActionIdentifier("autoscaling:DescribePolicies");
public static readonly ActionIdentifier DescribeScalingActivities = new ActionIdentifier("autoscaling:DescribeScalingActivities");
public static readonly ActionIdentifier DescribeScalingProcessTypes = new ActionIdentifier("autoscaling:DescribeScalingProcessTypes");
public static readonly ActionIdentifier DescribeScheduledActions = new ActionIdentifier("autoscaling:DescribeScheduledActions");
public static readonly ActionIdentifier DescribeTags = new ActionIdentifier("autoscaling:DescribeTags");
public static readonly ActionIdentifier DescribeTriggers = new ActionIdentifier("autoscaling:DescribeTriggers");
public static readonly ActionIdentifier DisableMetricsCollection = new ActionIdentifier("autoscaling:DisableMetricsCollection");
public static readonly ActionIdentifier EnableMetricsCollection = new ActionIdentifier("autoscaling:EnableMetricsCollection");
public static readonly ActionIdentifier ExecutePolicy = new ActionIdentifier("autoscaling:ExecutePolicy");
public static readonly ActionIdentifier PutNotificationConfiguration = new ActionIdentifier("autoscaling:PutNotificationConfiguration");
public static readonly ActionIdentifier PutScalingPolicy = new ActionIdentifier("autoscaling:PutScalingPolicy");
public static readonly ActionIdentifier PutScheduledUpdateGroupAction = new ActionIdentifier("autoscaling:PutScheduledUpdateGroupAction");
public static readonly ActionIdentifier ResumeProcesses = new ActionIdentifier("autoscaling:ResumeProcesses");
public static readonly ActionIdentifier SetDesiredCapacity = new ActionIdentifier("autoscaling:SetDesiredCapacity");
public static readonly ActionIdentifier SetInstanceHealth = new ActionIdentifier("autoscaling:SetInstanceHealth");
public static readonly ActionIdentifier SuspendProcesses = new ActionIdentifier("autoscaling:SuspendProcesses");
public static readonly ActionIdentifier TerminateInstanceInAutoScalingGroup = new ActionIdentifier("autoscaling:TerminateInstanceInAutoScalingGroup");
public static readonly ActionIdentifier UpdateAutoScalingGroup = new ActionIdentifier("autoscaling:UpdateAutoScalingGroup");
}
}
| 71 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy.ActionIdentifiers
{
/// <summary>
/// The available AWS access control policy actions for AWS Billing.
/// </summary>
/// <see cref="Amazon.Auth.AccessControlPolicy.Statement.Actions"/>
[Obsolete(
"The Amazon.Auth.AccessContolPolicy classes are out of date and are no longer being maintained.\n" +
"Please construct policy documents using the information found here: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json")]
public static class BillingActionIdentifiers
{
public static readonly ActionIdentifier AllBillingActions = new ActionIdentifier("aws-portal:*");
public static readonly ActionIdentifier ModifyAccount = new ActionIdentifier("aws-portal:ModifyAccount");
public static readonly ActionIdentifier ModifyBilling = new ActionIdentifier("aws-portal:ModifyBilling");
public static readonly ActionIdentifier ModifyPaymentMethods = new ActionIdentifier("aws-portal:ModifyPaymentMethods");
public static readonly ActionIdentifier ViewAccount = new ActionIdentifier("aws-portal:ViewAccount");
public static readonly ActionIdentifier ViewBilling = new ActionIdentifier("aws-portal:ViewBilling");
public static readonly ActionIdentifier ViewPaymentMethods = new ActionIdentifier("aws-portal:ViewPaymentMethods");
public static readonly ActionIdentifier ViewUsage = new ActionIdentifier("aws-portal:ViewUsage");
}
}
| 42 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy.ActionIdentifiers
{
/// <summary>
/// The available AWS access control policy actions for AWS CloudFormation.
/// </summary>
/// <see cref="Amazon.Auth.AccessControlPolicy.Statement.Actions"/>
[Obsolete(
"The Amazon.Auth.AccessContolPolicy classes are out of date and are no longer being maintained.\n" +
"Please construct policy documents using the information found here: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json")]
public static class CloudFormationActionIdentifiers
{
public static readonly ActionIdentifier AllCloudFormationActions = new ActionIdentifier("cloudformation:*");
public static readonly ActionIdentifier CreateStack = new ActionIdentifier("cloudformation:CreateStack");
public static readonly ActionIdentifier DeleteStack = new ActionIdentifier("cloudformation:DeleteStack");
public static readonly ActionIdentifier DescribeStackEvents = new ActionIdentifier("cloudformation:DescribeStackEvents");
public static readonly ActionIdentifier DescribeStackResource = new ActionIdentifier("cloudformation:DescribeStackResource");
public static readonly ActionIdentifier DescribeStackResources = new ActionIdentifier("cloudformation:DescribeStackResources");
public static readonly ActionIdentifier DescribeStacks = new ActionIdentifier("cloudformation:DescribeStacks");
public static readonly ActionIdentifier EstimateTemplateCost = new ActionIdentifier("cloudformation:EstimateTemplateCost");
public static readonly ActionIdentifier GetTemplate = new ActionIdentifier("cloudformation:GetTemplate");
public static readonly ActionIdentifier ListStacks = new ActionIdentifier("cloudformation:ListStacks");
public static readonly ActionIdentifier ListStackResources = new ActionIdentifier("cloudformation:ListStackResources");
public static readonly ActionIdentifier UpdateStack = new ActionIdentifier("cloudformation:UpdateStack");
public static readonly ActionIdentifier ValidateTemplate = new ActionIdentifier("cloudformation:ValidateTemplate");
}
}
| 47 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy.ActionIdentifiers
{
/// <summary>
/// The available AWS access control policy actions for Amazon CloudFront.
/// </summary>
/// <see cref="Amazon.Auth.AccessControlPolicy.Statement.Actions"/>
[Obsolete(
"The Amazon.Auth.AccessContolPolicy classes are out of date and are no longer being maintained.\n" +
"Please construct policy documents using the information found here: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json")]
public static class CloudFrontActionIdentifiers
{
public static readonly ActionIdentifier AllCloudFrontActions = new ActionIdentifier("cloudfront:*");
public static readonly ActionIdentifier CreateCloudFrontOriginAccessIdentity = new ActionIdentifier("cloudfront:CreateCloudFrontOriginAccessIdentity");
public static readonly ActionIdentifier CreateDistribution = new ActionIdentifier("cloudfront:CreateDistribution");
public static readonly ActionIdentifier CreateInvalidation = new ActionIdentifier("cloudfront:CreateInvalidation");
public static readonly ActionIdentifier CreateStreamingDistribution = new ActionIdentifier("cloudfront:CreateStreamingDistribution");
public static readonly ActionIdentifier DeleteCloudFrontOriginAccessIdentity = new ActionIdentifier("cloudfront:DeleteCloudFrontOriginAccessIdentity");
public static readonly ActionIdentifier DeleteDistribution = new ActionIdentifier("cloudfront:DeleteDistribution");
public static readonly ActionIdentifier DeleteStreamingDistribution = new ActionIdentifier("cloudfront:DeleteStreamingDistribution");
public static readonly ActionIdentifier GetCloudFrontOriginAccessIdentity = new ActionIdentifier("cloudfront:GetCloudFrontOriginAccessIdentity");
public static readonly ActionIdentifier GetCloudFrontOriginAccessIdentityConfig = new ActionIdentifier("cloudfront:GetCloudFrontOriginAccessIdentityConfig");
public static readonly ActionIdentifier GetDistribution = new ActionIdentifier("cloudfront:GetDistribution");
public static readonly ActionIdentifier GetDistributionConfig = new ActionIdentifier("cloudfront:GetDistributionConfig");
public static readonly ActionIdentifier GetInvalidation = new ActionIdentifier("cloudfront:GetInvalidation");
public static readonly ActionIdentifier GetStreamingDistribution = new ActionIdentifier("cloudfront:GetStreamingDistribution");
public static readonly ActionIdentifier GetStreamingDistributionConfig = new ActionIdentifier("cloudfront:GetStreamingDistributionConfig");
public static readonly ActionIdentifier ListCloudFrontOriginAccessIdentities = new ActionIdentifier("cloudfront:ListCloudFrontOriginAccessIdentities");
public static readonly ActionIdentifier ListDistributions = new ActionIdentifier("cloudfront:ListDistributions");
public static readonly ActionIdentifier ListInvalidations = new ActionIdentifier("cloudfront:ListInvalidations");
public static readonly ActionIdentifier ListStreamingDistributions = new ActionIdentifier("cloudfront:ListStreamingDistributions");
public static readonly ActionIdentifier UpdateCloudFrontOriginAccessIdentity = new ActionIdentifier("cloudfront:UpdateCloudFrontOriginAccessIdentity");
public static readonly ActionIdentifier UpdateDistribution = new ActionIdentifier("cloudfront:UpdateDistribution");
public static readonly ActionIdentifier UpdateStreamingDistribution = new ActionIdentifier("cloudfront:UpdateStreamingDistribution");
}
}
| 56 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy.ActionIdentifiers
{
/// <summary>
/// The available AWS access control policy actions for Amazon CloudSearch.
/// </summary>
/// <see cref="Amazon.Auth.AccessControlPolicy.Statement.Actions"/>
[Obsolete(
"The Amazon.Auth.AccessContolPolicy classes are out of date and are no longer being maintained.\n" +
"Please construct policy documents using the information found here: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json")]
public static class CloudSearchActionIdentifiers
{
public static readonly ActionIdentifier AllCloudSearchActions = new ActionIdentifier("cloudsearch:*");
public static readonly ActionIdentifier BuildSuggesters = new ActionIdentifier("cloudsearch:BuildSuggesters");
public static readonly ActionIdentifier CreateDomain = new ActionIdentifier("cloudsearch:CreateDomain");
public static readonly ActionIdentifier DefineAnalysisScheme = new ActionIdentifier("cloudsearch:DefineAnalysisScheme");
public static readonly ActionIdentifier DefineExpression = new ActionIdentifier("cloudsearch:DefineExpression");
public static readonly ActionIdentifier DefineIndexField = new ActionIdentifier("cloudsearch:DefineIndexField");
public static readonly ActionIdentifier DefineSuggester = new ActionIdentifier("cloudsearch:DefineSuggester");
public static readonly ActionIdentifier DeleteAnalysisScheme = new ActionIdentifier("cloudsearch:DeleteAnalysisScheme");
public static readonly ActionIdentifier DeleteDomain = new ActionIdentifier("cloudsearch:DeleteDomain");
public static readonly ActionIdentifier DeleteExpression = new ActionIdentifier("cloudsearch:DeleteExpression");
public static readonly ActionIdentifier DeleteIndexField = new ActionIdentifier("cloudsearch:DeleteIndexField");
public static readonly ActionIdentifier DeleteSuggester = new ActionIdentifier("cloudsearch:DeleteSuggester");
public static readonly ActionIdentifier DescribeAnalysisSchemes = new ActionIdentifier("cloudsearch:DescribeAnalysisSchemes");
public static readonly ActionIdentifier DescribeAvailabilityOptions = new ActionIdentifier("cloudsearch:DescribeAvailabilityOptions");
public static readonly ActionIdentifier DescribeDomains = new ActionIdentifier("cloudsearch:DescribeDomains");
public static readonly ActionIdentifier DescribeExpressions = new ActionIdentifier("cloudsearch:DescribeExpressions");
public static readonly ActionIdentifier DescribeIndexFields = new ActionIdentifier("cloudsearch:DescribeIndexFields");
public static readonly ActionIdentifier DescribeScalingParameters = new ActionIdentifier("cloudsearch:DescribeScalingParameters");
public static readonly ActionIdentifier DescribeServiceAccessPolicies = new ActionIdentifier("cloudsearch:DescribeServiceAccessPolicies");
public static readonly ActionIdentifier DescribeSuggesters = new ActionIdentifier("cloudsearch:DescribeSuggesters");
public static readonly ActionIdentifier IndexDocuments = new ActionIdentifier("cloudsearch:IndexDocuments");
public static readonly ActionIdentifier ListDomainNames = new ActionIdentifier("cloudsearch:ListDomainNames");
public static readonly ActionIdentifier UpdateAvailabilityOptions = new ActionIdentifier("cloudsearch:UpdateAvailabilityOptions");
public static readonly ActionIdentifier UpdateScalingParameters = new ActionIdentifier("cloudsearch:UpdateScalingParameters");
public static readonly ActionIdentifier UpdateServiceAccessPolicies = new ActionIdentifier("cloudsearch:UpdateServiceAccessPolicies");
}
}
| 59 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy.ActionIdentifiers
{
/// <summary>
/// The available AWS access control policy actions for AWS CloudTrail.
/// </summary>
/// <see cref="Amazon.Auth.AccessControlPolicy.Statement.Actions"/>
[Obsolete(
"The Amazon.Auth.AccessContolPolicy classes are out of date and are no longer being maintained.\n" +
"Please construct policy documents using the information found here: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json")]
public static class CloudTrailActionIdentifiers
{
public static readonly ActionIdentifier AllCloudTrailActions = new ActionIdentifier("cloudtrail:*");
public static readonly ActionIdentifier CreateTrail = new ActionIdentifier("cloudtrail:CreateTrail");
public static readonly ActionIdentifier DeleteTrail = new ActionIdentifier("cloudtrail:DeleteTrail");
public static readonly ActionIdentifier DescribeTrails = new ActionIdentifier("cloudtrail:DescribeTrails");
public static readonly ActionIdentifier GetTrailStatus = new ActionIdentifier("cloudtrail:GetTrailStatus");
public static readonly ActionIdentifier StartLogging = new ActionIdentifier("cloudtrail:StartLogging");
public static readonly ActionIdentifier StopLogging = new ActionIdentifier("cloudtrail:StopLogging");
public static readonly ActionIdentifier UpdateTrail = new ActionIdentifier("cloudtrail:UpdateTrail");
}
}
| 42 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy.ActionIdentifiers
{
/// <summary>
/// The available AWS access control policy actions for Amazon CloudWatch.
/// </summary>
/// <see cref="Amazon.Auth.AccessControlPolicy.Statement.Actions"/>
[Obsolete(
"The Amazon.Auth.AccessContolPolicy classes are out of date and are no longer being maintained.\n" +
"Please construct policy documents using the information found here: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json")]
public static class CloudWatchActionIdentifiers
{
public static readonly ActionIdentifier AllCloudWatchActions = new ActionIdentifier("cloudwatch:*");
public static readonly ActionIdentifier DeleteAlarms = new ActionIdentifier("cloudwatch:DeleteAlarms");
public static readonly ActionIdentifier DescribeAlarmHistory = new ActionIdentifier("cloudwatch:DescribeAlarmHistory");
public static readonly ActionIdentifier DescribeAlarms = new ActionIdentifier("cloudwatch:DescribeAlarms");
public static readonly ActionIdentifier DescribeAlarmsForMetric = new ActionIdentifier("cloudwatch:DescribeAlarmsForMetric");
public static readonly ActionIdentifier DisableAlarmActions = new ActionIdentifier("cloudwatch:DisableAlarmActions");
public static readonly ActionIdentifier EnableAlarmActions = new ActionIdentifier("cloudwatch:EnableAlarmActions");
public static readonly ActionIdentifier GetMetricStatistics = new ActionIdentifier("cloudwatch:GetMetricStatistics");
public static readonly ActionIdentifier ListMetrics = new ActionIdentifier("cloudwatch:ListMetrics");
public static readonly ActionIdentifier PutMetricAlarm = new ActionIdentifier("cloudwatch:PutMetricAlarm");
public static readonly ActionIdentifier PutMetricData = new ActionIdentifier("cloudwatch:PutMetricData");
public static readonly ActionIdentifier SetAlarmState = new ActionIdentifier("cloudwatch:SetAlarmState");
}
}
| 46 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy.ActionIdentifiers
{
/// <summary>
/// The available AWS access control policy actions for Amazon CloudWatch Logs.
/// </summary>
/// <see cref="Amazon.Auth.AccessControlPolicy.Statement.Actions"/>
[Obsolete(
"The Amazon.Auth.AccessContolPolicy classes are out of date and are no longer being maintained.\n" +
"Please construct policy documents using the information found here: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json")]
public static class CloudWatchLogsActionIdentifiers
{
public static readonly ActionIdentifier AllCloudWatchLogsActions = new ActionIdentifier("logs:*");
public static readonly ActionIdentifier CreateLogGroup = new ActionIdentifier("logs:CreateLogGroup");
public static readonly ActionIdentifier CreateLogStream = new ActionIdentifier("logs:CreateLogStream");
public static readonly ActionIdentifier DeleteLogGroup = new ActionIdentifier("logs:DeleteLogGroup");
public static readonly ActionIdentifier DeleteLogStream = new ActionIdentifier("logs:DeleteLogStream");
public static readonly ActionIdentifier DeleteMetricFilter = new ActionIdentifier("logs:DeleteMetricFilter");
public static readonly ActionIdentifier DeleteRetentionPolicy = new ActionIdentifier("logs:DeleteRetentionPolicy");
public static readonly ActionIdentifier DescribeLogGroups = new ActionIdentifier("logs:DescribeLogGroups");
public static readonly ActionIdentifier DescribeLogStreams = new ActionIdentifier("logs:DescribeLogStreams");
public static readonly ActionIdentifier DescribeMetricFilters = new ActionIdentifier("logs:DescribeMetricFilters");
public static readonly ActionIdentifier GetLogEvents = new ActionIdentifier("logs:GetLogEvents");
public static readonly ActionIdentifier PutLogEvents = new ActionIdentifier("logs:PutLogEvents");
public static readonly ActionIdentifier PutMetricFilter = new ActionIdentifier("logs:PutMetricFilter");
public static readonly ActionIdentifier PutRetentionPolicy = new ActionIdentifier("logs:PutRetentionPolicy");
public static readonly ActionIdentifier TestMetricFilter = new ActionIdentifier("logs:TestMetricFilter");
}
}
| 49 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy.ActionIdentifiers
{
/// <summary>
/// The available AWS access control policy actions for Amazon Cognito Identity.
/// </summary>
/// <see cref="Amazon.Auth.AccessControlPolicy.Statement.Actions"/>
[Obsolete(
"The Amazon.Auth.AccessContolPolicy classes are out of date and are no longer being maintained.\n" +
"Please construct policy documents using the information found here: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json")]
public static class CognitoIdentityActionIdentifiers
{
public static readonly ActionIdentifier AllCognitoIdentityActions = new ActionIdentifier("cognito-identity:*");
public static readonly ActionIdentifier CreateIdentityPool = new ActionIdentifier("cognito-identity:CreateIdentityPool");
public static readonly ActionIdentifier DeleteIdentityPool = new ActionIdentifier("cognito-identity:DeleteIdentityPool");
public static readonly ActionIdentifier DescribeIdentityPool = new ActionIdentifier("cognito-identity:DescribeIdentityPool");
public static readonly ActionIdentifier ListIdentities = new ActionIdentifier("cognito-identity:ListIdentities");
public static readonly ActionIdentifier ListIdentityPools = new ActionIdentifier("cognito-identity:ListIdentityPools");
public static readonly ActionIdentifier UpdateIdentityPool = new ActionIdentifier("cognito-identity:UpdateIdentityPool");
}
}
| 41 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy.ActionIdentifiers
{
/// <summary>
/// The available AWS access control policy actions for Amazon Cognito Sync.
/// </summary>
/// <see cref="Amazon.Auth.AccessControlPolicy.Statement.Actions"/>
[Obsolete(
"The Amazon.Auth.AccessContolPolicy classes are out of date and are no longer being maintained.\n" +
"Please construct policy documents using the information found here: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json")]
public static class CognitoSyncActionIdentifiers
{
public static readonly ActionIdentifier AllCognitoSyncActions = new ActionIdentifier("cognito-sync:*");
public static readonly ActionIdentifier DeleteDataset = new ActionIdentifier("cognito-sync:DeleteDataset");
public static readonly ActionIdentifier DescribeDataset = new ActionIdentifier("cognito-sync:DescribeDataset");
public static readonly ActionIdentifier DescribeIdentityUsage = new ActionIdentifier("cognito-sync:DescribeIdentityUsage");
public static readonly ActionIdentifier DescribeIdentityPoolUsage = new ActionIdentifier("cognito-sync:DescribeIdentityPoolUsage");
public static readonly ActionIdentifier ListDatasets = new ActionIdentifier("cognito-sync:ListDatasets");
public static readonly ActionIdentifier ListIdentityPoolUsage = new ActionIdentifier("cognito-sync:ListIdentityPoolUsage");
public static readonly ActionIdentifier ListRecords = new ActionIdentifier("cognito-sync:ListRecords");
public static readonly ActionIdentifier UpdateRecords = new ActionIdentifier("cognito-sync:UpdateRecords");
}
}
| 43 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy.ActionIdentifiers
{
/// <summary>
/// The available AWS access control policy actions for AWS Direct Connect.
/// </summary>
/// <see cref="Amazon.Auth.AccessControlPolicy.Statement.Actions"/>
[Obsolete(
"The Amazon.Auth.AccessContolPolicy classes are out of date and are no longer being maintained.\n" +
"Please construct policy documents using the information found here: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json")]
public static class DirectConnectActionIdentifiers
{
public static readonly ActionIdentifier AllDirectConnectActions = new ActionIdentifier("directconnect:*");
public static readonly ActionIdentifier CreateConnection = new ActionIdentifier("directconnect:CreateConnection");
public static readonly ActionIdentifier CreatePrivateVirtualInterface = new ActionIdentifier("directconnect:CreatePrivateVirtualInterface");
public static readonly ActionIdentifier CreatePublicVirtualInterface = new ActionIdentifier("directconnect:CreatePublicVirtualInterface");
public static readonly ActionIdentifier DeleteConnection = new ActionIdentifier("directconnect:DeleteConnection");
public static readonly ActionIdentifier DeleteVirtualInterface = new ActionIdentifier("directconnect:DeleteVirtualInterface");
public static readonly ActionIdentifier DescribeConnectionDetail = new ActionIdentifier("directconnect:DescribeConnectionDetail");
public static readonly ActionIdentifier DescribeConnections = new ActionIdentifier("directconnect:DescribeConnections");
public static readonly ActionIdentifier DescribeOfferingDetail = new ActionIdentifier("directconnect:DescribeOfferingDetail");
public static readonly ActionIdentifier DescribeOfferings = new ActionIdentifier("directconnect:DescribeOfferings");
public static readonly ActionIdentifier DescribeVirtualGateways = new ActionIdentifier("directconnect:DescribeVirtualGateways");
public static readonly ActionIdentifier DescribeVirtualInterfaces = new ActionIdentifier("directconnect:DescribeVirtualInterfaces");
}
}
| 46 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy.ActionIdentifiers
{
/// <summary>
/// The available AWS access control policy actions for Amazon DynamoDB.
/// </summary>
/// <see cref="Amazon.Auth.AccessControlPolicy.Statement.Actions"/>
[Obsolete(
"The Amazon.Auth.AccessContolPolicy classes are out of date and are no longer being maintained.\n" +
"Please construct policy documents using the information found here: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json")]
public static class DynamoDBActionIdentifiers
{
public static readonly ActionIdentifier AllDynamoDBActions = new ActionIdentifier("dynamodb:*");
public static readonly ActionIdentifier BatchGetItem = new ActionIdentifier("dynamodb:BatchGetItem");
public static readonly ActionIdentifier BatchWriteItem = new ActionIdentifier("dynamodb:BatchWriteItem");
public static readonly ActionIdentifier CreateTable = new ActionIdentifier("dynamodb:CreateTable");
public static readonly ActionIdentifier DeleteItem = new ActionIdentifier("dynamodb:DeleteItem");
public static readonly ActionIdentifier DeleteTable = new ActionIdentifier("dynamodb:DeleteTable");
public static readonly ActionIdentifier DescribeTable = new ActionIdentifier("dynamodb:DescribeTable");
public static readonly ActionIdentifier GetItem = new ActionIdentifier("dynamodb:GetItem");
public static readonly ActionIdentifier ListTables = new ActionIdentifier("dynamodb:ListTables");
public static readonly ActionIdentifier PutItem = new ActionIdentifier("dynamodb:PutItem");
public static readonly ActionIdentifier Query = new ActionIdentifier("dynamodb:Query");
public static readonly ActionIdentifier Scan = new ActionIdentifier("dynamodb:Scan");
public static readonly ActionIdentifier UpdateItem = new ActionIdentifier("dynamodb:UpdateItem");
public static readonly ActionIdentifier UpdateTable = new ActionIdentifier("dynamodb:UpdateTable");
}
}
| 48 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy.ActionIdentifiers
{
/// <summary>
/// The available AWS access control policy actions for Amazon EC2.
/// </summary>
/// <see cref="Amazon.Auth.AccessControlPolicy.Statement.Actions"/>
[Obsolete(
"The Amazon.Auth.AccessContolPolicy classes are out of date and are no longer being maintained.\n" +
"Please construct policy documents using the information found here: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json")]
public static class EC2ActionIdentifiers
{
public static readonly ActionIdentifier AllEC2Actions = new ActionIdentifier("ec2:*");
public static readonly ActionIdentifier AcceptVpcPeeringConnection = new ActionIdentifier("ec2:AcceptVpcPeeringConnection");
public static readonly ActionIdentifier ActivateLicense = new ActionIdentifier("ec2:ActivateLicense");
public static readonly ActionIdentifier AllocateAddress = new ActionIdentifier("ec2:AllocateAddress");
public static readonly ActionIdentifier AssignPrivateIpAddresses = new ActionIdentifier("ec2:AssignPrivateIpAddresses");
public static readonly ActionIdentifier AssociateAddress = new ActionIdentifier("ec2:AssociateAddress");
public static readonly ActionIdentifier AssociateDhcpOptions = new ActionIdentifier("ec2:AssociateDhcpOptions");
public static readonly ActionIdentifier AssociateRouteTable = new ActionIdentifier("ec2:AssociateRouteTable");
public static readonly ActionIdentifier AttachInternetGateway = new ActionIdentifier("ec2:AttachInternetGateway");
public static readonly ActionIdentifier AttachNetworkInterface = new ActionIdentifier("ec2:AttachNetworkInterface");
public static readonly ActionIdentifier AttachVolume = new ActionIdentifier("ec2:AttachVolume");
public static readonly ActionIdentifier AttachVpnGateway = new ActionIdentifier("ec2:AttachVpnGateway");
public static readonly ActionIdentifier AuthorizeSecurityGroupEgress = new ActionIdentifier("ec2:AuthorizeSecurityGroupEgress");
public static readonly ActionIdentifier AuthorizeSecurityGroupIngress = new ActionIdentifier("ec2:AuthorizeSecurityGroupIngress");
public static readonly ActionIdentifier BundleInstance = new ActionIdentifier("ec2:BundleInstance");
public static readonly ActionIdentifier CancelBundleTask = new ActionIdentifier("ec2:CancelBundleTask");
public static readonly ActionIdentifier CancelConversionTask = new ActionIdentifier("ec2:CancelConversionTask");
public static readonly ActionIdentifier CancelExportTask = new ActionIdentifier("ec2:CancelExportTask");
public static readonly ActionIdentifier CancelReservedInstancesListing = new ActionIdentifier("ec2:CancelReservedInstancesListing");
public static readonly ActionIdentifier CancelSpotInstanceRequests = new ActionIdentifier("ec2:CancelSpotInstanceRequests");
public static readonly ActionIdentifier ConfirmProductInstance = new ActionIdentifier("ec2:ConfirmProductInstance");
public static readonly ActionIdentifier CopyImage = new ActionIdentifier("ec2:CopyImage");
public static readonly ActionIdentifier CopySnapshot = new ActionIdentifier("ec2:CopySnapshot");
public static readonly ActionIdentifier CreateCustomerGateway = new ActionIdentifier("ec2:CreateCustomerGateway");
public static readonly ActionIdentifier CreateDhcpOptions = new ActionIdentifier("ec2:CreateDhcpOptions");
public static readonly ActionIdentifier CreateImage = new ActionIdentifier("ec2:CreateImage");
public static readonly ActionIdentifier CreateInstanceExportTask = new ActionIdentifier("ec2:CreateInstanceExportTask");
public static readonly ActionIdentifier CreateInternetGateway = new ActionIdentifier("ec2:CreateInternetGateway");
public static readonly ActionIdentifier CreateKeyPair = new ActionIdentifier("ec2:CreateKeyPair");
public static readonly ActionIdentifier CreateNetworkAcl = new ActionIdentifier("ec2:CreateNetworkAcl");
public static readonly ActionIdentifier CreateNetworkAclEntry = new ActionIdentifier("ec2:CreateNetworkAclEntry");
public static readonly ActionIdentifier CreateNetworkInterface = new ActionIdentifier("ec2:CreateNetworkInterface");
public static readonly ActionIdentifier CreatePlacementGroup = new ActionIdentifier("ec2:CreatePlacementGroup");
public static readonly ActionIdentifier CreateReservedInstancesListing = new ActionIdentifier("ec2:CreateReservedInstancesListing");
public static readonly ActionIdentifier CreateRoute = new ActionIdentifier("ec2:CreateRoute");
public static readonly ActionIdentifier CreateRouteTable = new ActionIdentifier("ec2:CreateRouteTable");
public static readonly ActionIdentifier CreateSecurityGroup = new ActionIdentifier("ec2:CreateSecurityGroup");
public static readonly ActionIdentifier CreateSnapshot = new ActionIdentifier("ec2:CreateSnapshot");
public static readonly ActionIdentifier CreateSpotDatafeedSubscription = new ActionIdentifier("ec2:CreateSpotDatafeedSubscription");
public static readonly ActionIdentifier CreateSubnet = new ActionIdentifier("ec2:CreateSubnet");
public static readonly ActionIdentifier CreateTags = new ActionIdentifier("ec2:CreateTags");
public static readonly ActionIdentifier CreateVolume = new ActionIdentifier("ec2:CreateVolume");
public static readonly ActionIdentifier CreateVpc = new ActionIdentifier("ec2:CreateVpc");
public static readonly ActionIdentifier CreateVpcPeeringConnection = new ActionIdentifier("ec2:CreateVpcPeeringConnection");
public static readonly ActionIdentifier CreateVpnConnection = new ActionIdentifier("ec2:CreateVpnConnection");
public static readonly ActionIdentifier CreateVpnConnectionRoute = new ActionIdentifier("ec2:CreateVpnConnectionRoute");
public static readonly ActionIdentifier CreateVpnGateway = new ActionIdentifier("ec2:CreateVpnGateway");
public static readonly ActionIdentifier DeactivateLicense = new ActionIdentifier("ec2:DeactivateLicense");
public static readonly ActionIdentifier DeleteCustomerGateway = new ActionIdentifier("ec2:DeleteCustomerGateway");
public static readonly ActionIdentifier DeleteDhcpOptions = new ActionIdentifier("ec2:DeleteDhcpOptions");
public static readonly ActionIdentifier DeleteInternetGateway = new ActionIdentifier("ec2:DeleteInternetGateway");
public static readonly ActionIdentifier DeleteKeyPair = new ActionIdentifier("ec2:DeleteKeyPair");
public static readonly ActionIdentifier DeleteNetworkAcl = new ActionIdentifier("ec2:DeleteNetworkAcl");
public static readonly ActionIdentifier DeleteNetworkAclEntry = new ActionIdentifier("ec2:DeleteNetworkAclEntry");
public static readonly ActionIdentifier DeleteNetworkInterface = new ActionIdentifier("ec2:DeleteNetworkInterface");
public static readonly ActionIdentifier DeletePlacementGroup = new ActionIdentifier("ec2:DeletePlacementGroup");
public static readonly ActionIdentifier DeleteRoute = new ActionIdentifier("ec2:DeleteRoute");
public static readonly ActionIdentifier DeleteRouteTable = new ActionIdentifier("ec2:DeleteRouteTable");
public static readonly ActionIdentifier DeleteSecurityGroup = new ActionIdentifier("ec2:DeleteSecurityGroup");
public static readonly ActionIdentifier DeleteSnapshot = new ActionIdentifier("ec2:DeleteSnapshot");
public static readonly ActionIdentifier DeleteSpotDatafeedSubscription = new ActionIdentifier("ec2:DeleteSpotDatafeedSubscription");
public static readonly ActionIdentifier DeleteSubnet = new ActionIdentifier("ec2:DeleteSubnet");
public static readonly ActionIdentifier DeleteTags = new ActionIdentifier("ec2:DeleteTags");
public static readonly ActionIdentifier DeleteVolume = new ActionIdentifier("ec2:DeleteVolume");
public static readonly ActionIdentifier DeleteVpc = new ActionIdentifier("ec2:DeleteVpc");
public static readonly ActionIdentifier DeleteVpcPeeringConnection = new ActionIdentifier("ec2:DeleteVpcPeeringConnection");
public static readonly ActionIdentifier DeleteVpnConnection = new ActionIdentifier("ec2:DeleteVpnConnection");
public static readonly ActionIdentifier DeleteVpnConnectionRoute = new ActionIdentifier("ec2:DeleteVpnConnectionRoute");
public static readonly ActionIdentifier DeleteVpnGateway = new ActionIdentifier("ec2:DeleteVpnGateway");
public static readonly ActionIdentifier DeregisterImage = new ActionIdentifier("ec2:DeregisterImage");
public static readonly ActionIdentifier DescribeAccountAttributes = new ActionIdentifier("ec2:DescribeAccountAttributes");
public static readonly ActionIdentifier DescribeAddresses = new ActionIdentifier("ec2:DescribeAddresses");
public static readonly ActionIdentifier DescribeAvailabilityZones = new ActionIdentifier("ec2:DescribeAvailabilityZones");
public static readonly ActionIdentifier DescribeBundleTasks = new ActionIdentifier("ec2:DescribeBundleTasks");
public static readonly ActionIdentifier DescribeConversionTasks = new ActionIdentifier("ec2:DescribeConversionTasks");
public static readonly ActionIdentifier DescribeCustomerGateways = new ActionIdentifier("ec2:DescribeCustomerGateways");
public static readonly ActionIdentifier DescribeDhcpOptions = new ActionIdentifier("ec2:DescribeDhcpOptions");
public static readonly ActionIdentifier DescribeExportTasks = new ActionIdentifier("ec2:DescribeExportTasks");
public static readonly ActionIdentifier DescribeImageAttribute = new ActionIdentifier("ec2:DescribeImageAttribute");
public static readonly ActionIdentifier DescribeImages = new ActionIdentifier("ec2:DescribeImages");
public static readonly ActionIdentifier DescribeInstanceAttribute = new ActionIdentifier("ec2:DescribeInstanceAttribute");
public static readonly ActionIdentifier DescribeInstanceStatus = new ActionIdentifier("ec2:DescribeInstanceStatus");
public static readonly ActionIdentifier DescribeInstances = new ActionIdentifier("ec2:DescribeInstances");
public static readonly ActionIdentifier DescribeInternetGateways = new ActionIdentifier("ec2:DescribeInternetGateways");
public static readonly ActionIdentifier DescribeKeyPairs = new ActionIdentifier("ec2:DescribeKeyPairs");
public static readonly ActionIdentifier DescribeLicenses = new ActionIdentifier("ec2:DescribeLicenses");
public static readonly ActionIdentifier DescribeNetworkAcls = new ActionIdentifier("ec2:DescribeNetworkAcls");
public static readonly ActionIdentifier DescribeNetworkInterfaceAttribute = new ActionIdentifier("ec2:DescribeNetworkInterfaceAttribute");
public static readonly ActionIdentifier DescribeNetworkInterfaces = new ActionIdentifier("ec2:DescribeNetworkInterfaces");
public static readonly ActionIdentifier DescribePlacementGroups = new ActionIdentifier("ec2:DescribePlacementGroups");
public static readonly ActionIdentifier DescribeRegions = new ActionIdentifier("ec2:DescribeRegions");
public static readonly ActionIdentifier DescribeReservedInstances = new ActionIdentifier("ec2:DescribeReservedInstances");
public static readonly ActionIdentifier DescribeReservedInstancesListings = new ActionIdentifier("ec2:DescribeReservedInstancesListings");
public static readonly ActionIdentifier DescribeReservedInstancesModifications = new ActionIdentifier("ec2:DescribeReservedInstancesModifications");
public static readonly ActionIdentifier DescribeReservedInstancesOfferings = new ActionIdentifier("ec2:DescribeReservedInstancesOfferings");
public static readonly ActionIdentifier DescribeRouteTables = new ActionIdentifier("ec2:DescribeRouteTables");
public static readonly ActionIdentifier DescribeSecurityGroups = new ActionIdentifier("ec2:DescribeSecurityGroups");
public static readonly ActionIdentifier DescribeSnapshotAttribute = new ActionIdentifier("ec2:DescribeSnapshotAttribute");
public static readonly ActionIdentifier DescribeSnapshots = new ActionIdentifier("ec2:DescribeSnapshots");
public static readonly ActionIdentifier DescribeSpotDatafeedSubscription = new ActionIdentifier("ec2:DescribeSpotDatafeedSubscription");
public static readonly ActionIdentifier DescribeSpotInstanceRequests = new ActionIdentifier("ec2:DescribeSpotInstanceRequests");
public static readonly ActionIdentifier DescribeSpotPriceHistory = new ActionIdentifier("ec2:DescribeSpotPriceHistory");
public static readonly ActionIdentifier DescribeSubnets = new ActionIdentifier("ec2:DescribeSubnets");
public static readonly ActionIdentifier DescribeTags = new ActionIdentifier("ec2:DescribeTags");
public static readonly ActionIdentifier DescribeVolumeAttribute = new ActionIdentifier("ec2:DescribeVolumeAttribute");
public static readonly ActionIdentifier DescribeVolumeStatus = new ActionIdentifier("ec2:DescribeVolumeStatus");
public static readonly ActionIdentifier DescribeVolumes = new ActionIdentifier("ec2:DescribeVolumes");
public static readonly ActionIdentifier DescribeVpcAttribute = new ActionIdentifier("ec2:DescribeVpcAttribute");
public static readonly ActionIdentifier DescribeVpcs = new ActionIdentifier("ec2:DescribeVpcs");
public static readonly ActionIdentifier DescribeVpcPeeringConnection = new ActionIdentifier("ec2:DescribeVpcPeeringConnection");
public static readonly ActionIdentifier DescribeVpnConnections = new ActionIdentifier("ec2:DescribeVpnConnections");
public static readonly ActionIdentifier DescribeVpnGateways = new ActionIdentifier("ec2:DescribeVpnGateways");
public static readonly ActionIdentifier DetachInternetGateway = new ActionIdentifier("ec2:DetachInternetGateway");
public static readonly ActionIdentifier DetachNetworkInterface = new ActionIdentifier("ec2:DetachNetworkInterface");
public static readonly ActionIdentifier DetachVolume = new ActionIdentifier("ec2:DetachVolume");
public static readonly ActionIdentifier DetachVpnGateway = new ActionIdentifier("ec2:DetachVpnGateway");
public static readonly ActionIdentifier DisableVgwRoutePropagation = new ActionIdentifier("ec2:DisableVgwRoutePropagation");
public static readonly ActionIdentifier DisassociateAddress = new ActionIdentifier("ec2:DisassociateAddress");
public static readonly ActionIdentifier DisassociateRouteTable = new ActionIdentifier("ec2:DisassociateRouteTable");
public static readonly ActionIdentifier EnableVgwRoutePropagation = new ActionIdentifier("ec2:EnableVgwRoutePropagation");
public static readonly ActionIdentifier EnableVolumeIO = new ActionIdentifier("ec2:EnableVolumeIO");
public static readonly ActionIdentifier GetConsoleOutput = new ActionIdentifier("ec2:GetConsoleOutput");
public static readonly ActionIdentifier GetPasswordData = new ActionIdentifier("ec2:GetPasswordData");
public static readonly ActionIdentifier ImportInstance = new ActionIdentifier("ec2:ImportInstance");
public static readonly ActionIdentifier ImportKeyPair = new ActionIdentifier("ec2:ImportKeyPair");
public static readonly ActionIdentifier ImportVolume = new ActionIdentifier("ec2:ImportVolume");
public static readonly ActionIdentifier ModifyImageAttribute = new ActionIdentifier("ec2:ModifyImageAttribute");
public static readonly ActionIdentifier ModifyInstanceAttribute = new ActionIdentifier("ec2:ModifyInstanceAttribute");
public static readonly ActionIdentifier ModifyNetworkInterfaceAttribute = new ActionIdentifier("ec2:ModifyNetworkInterfaceAttribute");
public static readonly ActionIdentifier ModifyReservedInstances = new ActionIdentifier("ec2:ModifyReservedInstances");
public static readonly ActionIdentifier ModifySnapshotAttribute = new ActionIdentifier("ec2:ModifySnapshotAttribute");
public static readonly ActionIdentifier ModifyVolumeAttribute = new ActionIdentifier("ec2:ModifyVolumeAttribute");
public static readonly ActionIdentifier ModifyVpcAttribute = new ActionIdentifier("ec2:ModifyVpcAttribute");
public static readonly ActionIdentifier MonitorInstances = new ActionIdentifier("ec2:MonitorInstances");
public static readonly ActionIdentifier PurchaseReservedInstancesOffering = new ActionIdentifier("ec2:PurchaseReservedInstancesOffering");
public static readonly ActionIdentifier RebootInstances = new ActionIdentifier("ec2:RebootInstances");
public static readonly ActionIdentifier RegisterImage = new ActionIdentifier("ec2:RegisterImage");
public static readonly ActionIdentifier RejectVpcPeeringConnection = new ActionIdentifier("ec2:RejectVpcPeeringConnection");
public static readonly ActionIdentifier ReleaseAddress = new ActionIdentifier("ec2:ReleaseAddress");
public static readonly ActionIdentifier ReplaceNetworkAclAssociation = new ActionIdentifier("ec2:ReplaceNetworkAclAssociation");
public static readonly ActionIdentifier ReplaceNetworkAclEntry = new ActionIdentifier("ec2:ReplaceNetworkAclEntry");
public static readonly ActionIdentifier ReplaceRoute = new ActionIdentifier("ec2:ReplaceRoute");
public static readonly ActionIdentifier ReplaceRouteTableAssociation = new ActionIdentifier("ec2:ReplaceRouteTableAssociation");
public static readonly ActionIdentifier ReportInstanceStatus = new ActionIdentifier("ec2:ReportInstanceStatus");
public static readonly ActionIdentifier RequestSpotInstances = new ActionIdentifier("ec2:RequestSpotInstances");
public static readonly ActionIdentifier ResetImageAttribute = new ActionIdentifier("ec2:ResetImageAttribute");
public static readonly ActionIdentifier ResetInstanceAttribute = new ActionIdentifier("ec2:ResetInstanceAttribute");
public static readonly ActionIdentifier ResetNetworkInterfaceAttribute = new ActionIdentifier("ec2:ResetNetworkInterfaceAttribute");
public static readonly ActionIdentifier ResetSnapshotAttribute = new ActionIdentifier("ec2:ResetSnapshotAttribute");
public static readonly ActionIdentifier RevokeSecurityGroupEgress = new ActionIdentifier("ec2:RevokeSecurityGroupEgress");
public static readonly ActionIdentifier RevokeSecurityGroupIngress = new ActionIdentifier("ec2:RevokeSecurityGroupIngress");
public static readonly ActionIdentifier RunInstances = new ActionIdentifier("ec2:RunInstances");
public static readonly ActionIdentifier StartInstances = new ActionIdentifier("ec2:StartInstances");
public static readonly ActionIdentifier StopInstances = new ActionIdentifier("ec2:StopInstances");
public static readonly ActionIdentifier TerminateInstances = new ActionIdentifier("ec2:TerminateInstances");
public static readonly ActionIdentifier UnassignPrivateIpAddresses = new ActionIdentifier("ec2:UnassignPrivateIpAddresses");
public static readonly ActionIdentifier UnmonitorInstances = new ActionIdentifier("ec2:UnmonitorInstances");
}
}
| 191 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy.ActionIdentifiers
{
/// <summary>
/// The available AWS access control policy actions for AWS ElastiCache.
/// </summary>
/// <see cref="Amazon.Auth.AccessControlPolicy.Statement.Actions"/>
[Obsolete(
"The Amazon.Auth.AccessContolPolicy classes are out of date and are no longer being maintained.\n" +
"Please construct policy documents using the information found here: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json")]
public static class ElastiCacheActionIdentifiers
{
public static readonly ActionIdentifier AllElastiCacheActions = new ActionIdentifier("elasticache:*");
public static readonly ActionIdentifier AuthorizeCacheSecurityGroupIngress = new ActionIdentifier("elasticache:AuthorizeCacheSecurityGroupIngress");
public static readonly ActionIdentifier CreateCacheCluster = new ActionIdentifier("elasticache:CreateCacheCluster");
public static readonly ActionIdentifier CreateCacheParameterGroup = new ActionIdentifier("elasticache:CreateCacheParameterGroup");
public static readonly ActionIdentifier CreateCacheSecurityGroup = new ActionIdentifier("elasticache:CreateCacheSecurityGroup");
public static readonly ActionIdentifier DeleteCacheCluster = new ActionIdentifier("elasticache:DeleteCacheCluster");
public static readonly ActionIdentifier DeleteCacheParameterGroup = new ActionIdentifier("elasticache:DeleteCacheParameterGroup");
public static readonly ActionIdentifier DeleteCacheSecurityGroup = new ActionIdentifier("elasticache:DeleteCacheSecurityGroup");
public static readonly ActionIdentifier DescribeCacheClusters = new ActionIdentifier("elasticache:DescribeCacheClusters");
public static readonly ActionIdentifier DescribeCacheParameterGroups = new ActionIdentifier("elasticache:DescribeCacheParameterGroups");
public static readonly ActionIdentifier DescribeCacheParameters = new ActionIdentifier("elasticache:DescribeCacheParameters");
public static readonly ActionIdentifier DescribeCacheSecurityGroups = new ActionIdentifier("elasticache:DescribeCacheSecurityGroups");
public static readonly ActionIdentifier DescribeEngineDefaultParameters = new ActionIdentifier("elasticache:DescribeEngineDefaultParameters");
public static readonly ActionIdentifier DescribeEvents = new ActionIdentifier("elasticache:DescribeEvents");
public static readonly ActionIdentifier ModifyCacheCluster = new ActionIdentifier("elasticache:ModifyCacheCluster");
public static readonly ActionIdentifier ModifyCacheParameterGroup = new ActionIdentifier("elasticache:ModifyCacheParameterGroup");
public static readonly ActionIdentifier RebootCacheCluster = new ActionIdentifier("elasticache:RebootCacheCluster");
public static readonly ActionIdentifier ResetCacheParameterGroup = new ActionIdentifier("elasticache:ResetCacheParameterGroup");
public static readonly ActionIdentifier RevokeCacheSecurityGroupIngress = new ActionIdentifier("elasticache:RevokeCacheSecurityGroupIngress");
}
}
| 53 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy.ActionIdentifiers
{
/// <summary>
/// The available AWS access control policy actions for AWS Elastic Beanstalk.
/// </summary>
/// <see cref="Amazon.Auth.AccessControlPolicy.Statement.Actions"/>
[Obsolete(
"The Amazon.Auth.AccessContolPolicy classes are out of date and are no longer being maintained.\n" +
"Please construct policy documents using the information found here: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json")]
public static class ElasticBeanstalkActionIdentifiers
{
public static readonly ActionIdentifier AllElasticBeanstalkActions = new ActionIdentifier("elasticbeanstalk:*");
public static readonly ActionIdentifier CheckDNSAvailability = new ActionIdentifier("elasticbeanstalk:CheckDNSAvailability");
public static readonly ActionIdentifier CreateApplication = new ActionIdentifier("elasticbeanstalk:CreateApplication");
public static readonly ActionIdentifier CreateApplicationVersion = new ActionIdentifier("elasticbeanstalk:CreateApplicationVersion");
public static readonly ActionIdentifier CreateConfigurationTemplate = new ActionIdentifier("elasticbeanstalk:CreateConfigurationTemplate");
public static readonly ActionIdentifier CreateEnvironment = new ActionIdentifier("elasticbeanstalk:CreateEnvironment");
public static readonly ActionIdentifier CreateStorageLocation = new ActionIdentifier("elasticbeanstalk:CreateStorageLocation");
public static readonly ActionIdentifier DeleteApplication = new ActionIdentifier("elasticbeanstalk:DeleteApplication");
public static readonly ActionIdentifier DeleteApplicationVersion = new ActionIdentifier("elasticbeanstalk:DeleteApplicationVersion");
public static readonly ActionIdentifier DeleteConfigurationTemplate = new ActionIdentifier("elasticbeanstalk:DeleteConfigurationTemplate");
public static readonly ActionIdentifier DeleteEnvironmentConfiguration = new ActionIdentifier("elasticbeanstalk:DeleteEnvironmentConfiguration");
public static readonly ActionIdentifier DescribeApplicationVersions = new ActionIdentifier("elasticbeanstalk:DescribeApplicationVersions");
public static readonly ActionIdentifier DescribeApplications = new ActionIdentifier("elasticbeanstalk:DescribeApplications");
public static readonly ActionIdentifier DescribeConfigurationOptions = new ActionIdentifier("elasticbeanstalk:DescribeConfigurationOptions");
public static readonly ActionIdentifier DescribeConfigurationSettings = new ActionIdentifier("elasticbeanstalk:DescribeConfigurationSettings");
public static readonly ActionIdentifier DescribeEnvironmentResources = new ActionIdentifier("elasticbeanstalk:DescribeEnvironmentResources");
public static readonly ActionIdentifier DescribeEnvironments = new ActionIdentifier("elasticbeanstalk:DescribeEnvironments");
public static readonly ActionIdentifier DescribeEvents = new ActionIdentifier("elasticbeanstalk:DescribeEvents");
public static readonly ActionIdentifier ListAvailableSolutionStacks = new ActionIdentifier("elasticbeanstalk:ListAvailableSolutionStacks");
public static readonly ActionIdentifier RebuildEnvironment = new ActionIdentifier("elasticbeanstalk:RebuildEnvironment");
public static readonly ActionIdentifier RequestEnvironmentInfo = new ActionIdentifier("elasticbeanstalk:RequestEnvironmentInfo");
public static readonly ActionIdentifier RestartAppServer = new ActionIdentifier("elasticbeanstalk:RestartAppServer");
public static readonly ActionIdentifier RetrieveEnvironmentInfo = new ActionIdentifier("elasticbeanstalk:RetrieveEnvironmentInfo");
public static readonly ActionIdentifier SwapEnvironmentCNAMEs = new ActionIdentifier("elasticbeanstalk:SwapEnvironmentCNAMEs");
public static readonly ActionIdentifier TerminateEnvironment = new ActionIdentifier("elasticbeanstalk:TerminateEnvironment");
public static readonly ActionIdentifier UpdateApplication = new ActionIdentifier("elasticbeanstalk:UpdateApplication");
public static readonly ActionIdentifier UpdateApplicationVersion = new ActionIdentifier("elasticbeanstalk:UpdateApplicationVersion");
public static readonly ActionIdentifier UpdateConfigurationTemplate = new ActionIdentifier("elasticbeanstalk:UpdateConfigurationTemplate");
public static readonly ActionIdentifier UpdateEnvironment = new ActionIdentifier("elasticbeanstalk:UpdateEnvironment");
public static readonly ActionIdentifier ValidateConfigurationSettings = new ActionIdentifier("elasticbeanstalk:ValidateConfigurationSettings");
}
}
| 64 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy.ActionIdentifiers
{
/// <summary>
/// The available AWS access control policy actions for Elastic Load Balancing.
/// </summary>
/// <see cref="Amazon.Auth.AccessControlPolicy.Statement.Actions"/>
[Obsolete(
"The Amazon.Auth.AccessContolPolicy classes are out of date and are no longer being maintained.\n" +
"Please construct policy documents using the information found here: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json")]
public static class ElasticLoadBalancingActionIdentifiers
{
public static readonly ActionIdentifier AllElasticLoadBalancingActions = new ActionIdentifier("elasticloadbalancing:*");
public static readonly ActionIdentifier ApplySecurityGroupsToLoadBalancer = new ActionIdentifier("elasticloadbalancing:ApplySecurityGroupsToLoadBalancer");
public static readonly ActionIdentifier AttachLoadBalancerToSubnets = new ActionIdentifier("elasticloadbalancing:AttachLoadBalancerToSubnets");
public static readonly ActionIdentifier ConfigureHealthCheck = new ActionIdentifier("elasticloadbalancing:ConfigureHealthCheck");
public static readonly ActionIdentifier CreateAppCookieStickinessPolicy = new ActionIdentifier("elasticloadbalancing:CreateAppCookieStickinessPolicy");
public static readonly ActionIdentifier CreateLBCookieStickinessPolicy = new ActionIdentifier("elasticloadbalancing:CreateLBCookieStickinessPolicy");
public static readonly ActionIdentifier CreateLoadBalancer = new ActionIdentifier("elasticloadbalancing:CreateLoadBalancer");
public static readonly ActionIdentifier CreateLoadBalancerListeners = new ActionIdentifier("elasticloadbalancing:CreateLoadBalancerListeners");
public static readonly ActionIdentifier CreateLoadBalancerPolicy = new ActionIdentifier("elasticloadbalancing:CreateLoadBalancerPolicy");
public static readonly ActionIdentifier DeleteLoadBalancer = new ActionIdentifier("elasticloadbalancing:DeleteLoadBalancer");
public static readonly ActionIdentifier DeleteLoadBalancerListeners = new ActionIdentifier("elasticloadbalancing:DeleteLoadBalancerListeners");
public static readonly ActionIdentifier DeleteLoadBalancerPolicy = new ActionIdentifier("elasticloadbalancing:DeleteLoadBalancerPolicy");
public static readonly ActionIdentifier DeregisterInstancesFromLoadBalancer = new ActionIdentifier("elasticloadbalancing:DeregisterInstancesFromLoadBalancer");
public static readonly ActionIdentifier DescribeInstanceHealth = new ActionIdentifier("elasticloadbalancing:DescribeInstanceHealth");
public static readonly ActionIdentifier DescribeLoadBalancerAttributes = new ActionIdentifier("elasticloadbalancing:DescribeLoadBalancerAttributes");
public static readonly ActionIdentifier DescribeLoadBalancerPolicyTypes = new ActionIdentifier("elasticloadbalancing:DescribeLoadBalancerPolicyTypes");
public static readonly ActionIdentifier DescribeLoadBalancerPolicies = new ActionIdentifier("elasticloadbalancing:DescribeLoadBalancerPolicies");
public static readonly ActionIdentifier DescribeLoadBalancers = new ActionIdentifier("elasticloadbalancing:DescribeLoadBalancers");
public static readonly ActionIdentifier DetachLoadBalancerFromSubnets = new ActionIdentifier("elasticloadbalancing:DetachLoadBalancerFromSubnets");
public static readonly ActionIdentifier DisableAvailabilityZonesForLoadBalancer = new ActionIdentifier("elasticloadbalancing:DisableAvailabilityZonesForLoadBalancer");
public static readonly ActionIdentifier EnableAvailabilityZonesForLoadBalancer = new ActionIdentifier("elasticloadbalancing:EnableAvailabilityZonesForLoadBalancer");
public static readonly ActionIdentifier ModifyLoadBalancerAttributes = new ActionIdentifier("elasticloadbalancing:ModifyLoadBalancerAttributes");
public static readonly ActionIdentifier RegisterInstancesWithLoadBalancer = new ActionIdentifier("elasticloadbalancing:RegisterInstancesWithLoadBalancer");
public static readonly ActionIdentifier SetLoadBalancerListenerSSLCertificate = new ActionIdentifier("elasticloadbalancing:SetLoadBalancerListenerSSLCertificate");
public static readonly ActionIdentifier SetLoadBalancerPoliciesForBackendServer = new ActionIdentifier("elasticloadbalancing:SetLoadBalancerPoliciesForBackendServer");
public static readonly ActionIdentifier SetLoadBalancerPoliciesOfListener = new ActionIdentifier("elasticloadbalancing:SetLoadBalancerPoliciesOfListener");
}
}
| 60 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy.ActionIdentifiers
{
/// <summary>
/// The available AWS access control policy actions for Amazon Elastic MapReduce.
/// </summary>
/// <see cref="Amazon.Auth.AccessControlPolicy.Statement.Actions"/>
[Obsolete(
"The Amazon.Auth.AccessContolPolicy classes are out of date and are no longer being maintained.\n" +
"Please construct policy documents using the information found here: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json")]
public static class ElasticMapReduceActionIdentifiers
{
public static readonly ActionIdentifier AllElasticMapReduceActions = new ActionIdentifier("elasticmapreduce:*");
public static readonly ActionIdentifier AddInstanceGroups = new ActionIdentifier("elasticmapreduce:AddInstanceGroups");
public static readonly ActionIdentifier AddTags = new ActionIdentifier("elasticmapreduce:AddTags");
public static readonly ActionIdentifier AddJobFlowSteps = new ActionIdentifier("elasticmapreduce:AddJobFlowSteps");
public static readonly ActionIdentifier DescribeCluster = new ActionIdentifier("elasticmapreduce:DescribeCluster");
public static readonly ActionIdentifier DescribeJobFlows = new ActionIdentifier("elasticmapreduce:DescribeJobFlows");
public static readonly ActionIdentifier DescribeStep = new ActionIdentifier("elasticmapreduce:DescribeStep");
public static readonly ActionIdentifier ListBootstrapActions = new ActionIdentifier("elasticmapreduce:ListBootstrapActions");
public static readonly ActionIdentifier ListClusters = new ActionIdentifier("elasticmapreduce:ListClusters");
public static readonly ActionIdentifier ListInstanceGroups = new ActionIdentifier("elasticmapreduce:ListInstanceGroups");
public static readonly ActionIdentifier ListInstances = new ActionIdentifier("elasticmapreduce:ListInstances");
public static readonly ActionIdentifier ListSteps = new ActionIdentifier("elasticmapreduce:ListSteps");
public static readonly ActionIdentifier ModifyInstanceGroups = new ActionIdentifier("elasticmapreduce:ModifyInstanceGroups");
public static readonly ActionIdentifier RemoveTags = new ActionIdentifier("elasticmapreduce:RemoveTags");
public static readonly ActionIdentifier RunJobFlow = new ActionIdentifier("elasticmapreduce:RunJobFlow");
public static readonly ActionIdentifier SetTerminationProtection = new ActionIdentifier("elasticmapreduce:SetTerminationProtection");
public static readonly ActionIdentifier TerminateJobFlows = new ActionIdentifier("elasticmapreduce:TerminateJobFlows");
}
}
| 51 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy.ActionIdentifiers
{
/// <summary>
/// The available AWS access control policy actions for Amazon Elastic Transcoder.
/// </summary>
/// <see cref="Amazon.Auth.AccessControlPolicy.Statement.Actions"/>
[Obsolete(
"The Amazon.Auth.AccessContolPolicy classes are out of date and are no longer being maintained.\n" +
"Please construct policy documents using the information found here: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json")]
public static class ElasticTranscoderActionIdentifiers
{
public static readonly ActionIdentifier AllElasticTranscoderActions = new ActionIdentifier("elastictranscoder:*");
public static readonly ActionIdentifier CancelJob = new ActionIdentifier("elastictranscoder:CancelJob");
public static readonly ActionIdentifier CreateJob = new ActionIdentifier("elastictranscoder:CreateJob");
public static readonly ActionIdentifier CreatePipeline = new ActionIdentifier("elastictranscoder:CreatePipeline");
public static readonly ActionIdentifier CreatePreset = new ActionIdentifier("elastictranscoder:CreatePreset");
public static readonly ActionIdentifier DeletePipeline = new ActionIdentifier("elastictranscoder:DeletePipeline");
public static readonly ActionIdentifier DeletePreset = new ActionIdentifier("elastictranscoder:DeletePreset");
public static readonly ActionIdentifier ListJobsByPipeline = new ActionIdentifier("elastictranscoder:ListJobsByPipeline");
public static readonly ActionIdentifier ListJobsByStatus = new ActionIdentifier("elastictranscoder:ListJobsByStatus");
public static readonly ActionIdentifier ListPipelines = new ActionIdentifier("elastictranscoder:ListPipelines");
public static readonly ActionIdentifier ListPresets = new ActionIdentifier("elastictranscoder:ListPresets");
public static readonly ActionIdentifier ReadJob = new ActionIdentifier("elastictranscoder:ReadJob");
public static readonly ActionIdentifier ReadPipeline = new ActionIdentifier("elastictranscoder:ReadPipeline");
public static readonly ActionIdentifier ReadPreset = new ActionIdentifier("elastictranscoder:ReadPreset");
public static readonly ActionIdentifier TestRole = new ActionIdentifier("elastictranscoder:TestRole");
public static readonly ActionIdentifier UpdatePipeline = new ActionIdentifier("elastictranscoder:UpdatePipeline");
public static readonly ActionIdentifier UpdatePipelineNotifications = new ActionIdentifier("elastictranscoder:UpdatePipelineNotifications");
public static readonly ActionIdentifier UpdatePipelineStatus = new ActionIdentifier("elastictranscoder:UpdatePipelineStatus");
}
}
| 52 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy.ActionIdentifiers
{
/// <summary>
/// The available AWS access control policy actions for Amazon Glacier.
/// </summary>
/// <see cref="Amazon.Auth.AccessControlPolicy.Statement.Actions"/>
[Obsolete(
"The Amazon.Auth.AccessContolPolicy classes are out of date and are no longer being maintained.\n" +
"Please construct policy documents using the information found here: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json")]
public static class GlacierActionIdentifiers
{
public static readonly ActionIdentifier AllGlacierActions = new ActionIdentifier("glacier:*");
public static readonly ActionIdentifier AbortMultipartUpload = new ActionIdentifier("glacier:AbortMultipartUpload");
public static readonly ActionIdentifier CompleteMultipartUpload = new ActionIdentifier("glacier:CompleteMultipartUpload");
public static readonly ActionIdentifier CreateVault = new ActionIdentifier("glacier:CreateVault");
public static readonly ActionIdentifier DeleteArchive = new ActionIdentifier("glacier:DeleteArchive");
public static readonly ActionIdentifier DeleteVault = new ActionIdentifier("glacier:DeleteVault");
public static readonly ActionIdentifier DeleteVaultNotifications = new ActionIdentifier("glacier:DeleteVaultNotifications");
public static readonly ActionIdentifier DescribeJob = new ActionIdentifier("glacier:DescribeJob");
public static readonly ActionIdentifier DescribeVault = new ActionIdentifier("glacier:DescribeVault");
public static readonly ActionIdentifier GetJobOutput = new ActionIdentifier("glacier:GetJobOutput");
public static readonly ActionIdentifier GetVaultNotifications = new ActionIdentifier("glacier:GetVaultNotifications");
public static readonly ActionIdentifier InitiateMultipartUpload = new ActionIdentifier("glacier:InitiateMultipartUpload");
public static readonly ActionIdentifier InitiateJob = new ActionIdentifier("glacier:InitiateJob");
public static readonly ActionIdentifier ListJobs = new ActionIdentifier("glacier:ListJobs");
public static readonly ActionIdentifier ListMultipartUploads = new ActionIdentifier("glacier:ListMultipartUploads");
public static readonly ActionIdentifier ListParts = new ActionIdentifier("glacier:ListParts");
public static readonly ActionIdentifier ListVaults = new ActionIdentifier("glacier:ListVaults");
public static readonly ActionIdentifier SetVaultNotifications = new ActionIdentifier("glacier:SetVaultNotifications");
public static readonly ActionIdentifier UploadArchive = new ActionIdentifier("glacier:UploadArchive");
public static readonly ActionIdentifier UploadMultipartPart = new ActionIdentifier("glacier:UploadMultipartPart");
}
}
| 54 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy.ActionIdentifiers
{
/// <summary>
/// The available AWS access control policy actions for AWS Identity and Access Management.
/// </summary>
/// <see cref="Amazon.Auth.AccessControlPolicy.Statement.Actions"/>
[Obsolete(
"The Amazon.Auth.AccessContolPolicy classes are out of date and are no longer being maintained.\n" +
"Please construct policy documents using the information found here: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json")]
public static class IdentityandAccessManagementActionIdentifiers
{
public static readonly ActionIdentifier AllIdentityandAccessManagementActions = new ActionIdentifier("iam:*");
public static readonly ActionIdentifier AddRoleToInstanceProfile = new ActionIdentifier("iam:AddRoleToInstanceProfile");
public static readonly ActionIdentifier AddUserToGroup = new ActionIdentifier("iam:AddUserToGroup");
public static readonly ActionIdentifier ChangePassword = new ActionIdentifier("iam:ChangePassword");
public static readonly ActionIdentifier CreateAccessKey = new ActionIdentifier("iam:CreateAccessKey");
public static readonly ActionIdentifier CreateAccountAlias = new ActionIdentifier("iam:CreateAccountAlias");
public static readonly ActionIdentifier CreateGroup = new ActionIdentifier("iam:CreateGroup");
public static readonly ActionIdentifier CreateInstanceProfile = new ActionIdentifier("iam:CreateInstanceProfile");
public static readonly ActionIdentifier CreateLoginProfile = new ActionIdentifier("iam:CreateLoginProfile");
public static readonly ActionIdentifier CreateRole = new ActionIdentifier("iam:CreateRole");
public static readonly ActionIdentifier CreateSAMLProvider = new ActionIdentifier("iam:CreateSAMLProvider");
public static readonly ActionIdentifier CreateUser = new ActionIdentifier("iam:CreateUser");
public static readonly ActionIdentifier CreateVirtualMFADevice = new ActionIdentifier("iam:CreateVirtualMFADevice");
public static readonly ActionIdentifier DeactivateMFADevice = new ActionIdentifier("iam:DeactivateMFADevice");
public static readonly ActionIdentifier DeleteAccessKey = new ActionIdentifier("iam:DeleteAccessKey");
public static readonly ActionIdentifier DeleteAccountAlias = new ActionIdentifier("iam:DeleteAccountAlias");
public static readonly ActionIdentifier DeleteAccountPasswordPolicy = new ActionIdentifier("iam:DeleteAccountPasswordPolicy");
public static readonly ActionIdentifier DeleteGroup = new ActionIdentifier("iam:DeleteGroup");
public static readonly ActionIdentifier DeleteGroupPolicy = new ActionIdentifier("iam:DeleteGroupPolicy");
public static readonly ActionIdentifier DeleteInstanceProfile = new ActionIdentifier("iam:DeleteInstanceProfile");
public static readonly ActionIdentifier DeleteLoginProfile = new ActionIdentifier("iam:DeleteLoginProfile");
public static readonly ActionIdentifier DeleteRole = new ActionIdentifier("iam:DeleteRole");
public static readonly ActionIdentifier DeleteRolePolicy = new ActionIdentifier("iam:DeleteRolePolicy");
public static readonly ActionIdentifier DeleteSAMLProvider = new ActionIdentifier("iam:DeleteSAMLProvider");
public static readonly ActionIdentifier DeleteServerCertificate = new ActionIdentifier("iam:DeleteServerCertificate");
public static readonly ActionIdentifier DeleteSigningCertificate = new ActionIdentifier("iam:DeleteSigningCertificate");
public static readonly ActionIdentifier DeleteUser = new ActionIdentifier("iam:DeleteUser");
public static readonly ActionIdentifier DeleteUserPolicy = new ActionIdentifier("iam:DeleteUserPolicy");
public static readonly ActionIdentifier DeleteVirtualMFADevice = new ActionIdentifier("iam:DeleteVirtualMFADevice");
public static readonly ActionIdentifier EnableMFADevice = new ActionIdentifier("iam:EnableMFADevice");
public static readonly ActionIdentifier GenerateCredentialReport = new ActionIdentifier("iam:GenerateCredentialReport");
public static readonly ActionIdentifier GetAccountPasswordPolicy = new ActionIdentifier("iam:GetAccountPasswordPolicy");
public static readonly ActionIdentifier GetAccountSummary = new ActionIdentifier("iam:GetAccountSummary");
public static readonly ActionIdentifier GetCredentialReport = new ActionIdentifier("iam:GetCredentialReport");
public static readonly ActionIdentifier GetGroup = new ActionIdentifier("iam:GetGroup");
public static readonly ActionIdentifier GetGroupPolicy = new ActionIdentifier("iam:GetGroupPolicy");
public static readonly ActionIdentifier GetInstanceProfile = new ActionIdentifier("iam:GetInstanceProfile");
public static readonly ActionIdentifier GetLoginProfile = new ActionIdentifier("iam:GetLoginProfile");
public static readonly ActionIdentifier GetRole = new ActionIdentifier("iam:GetRole");
public static readonly ActionIdentifier GetRolePolicy = new ActionIdentifier("iam:GetRolePolicy");
public static readonly ActionIdentifier GetSAMLProvider = new ActionIdentifier("iam:GetSAMLProvider");
public static readonly ActionIdentifier GetServerCertificate = new ActionIdentifier("iam:GetServerCertificate");
public static readonly ActionIdentifier GetUser = new ActionIdentifier("iam:GetUser");
public static readonly ActionIdentifier GetUserPolicy = new ActionIdentifier("iam:GetUserPolicy");
public static readonly ActionIdentifier ListAccessKeys = new ActionIdentifier("iam:ListAccessKeys");
public static readonly ActionIdentifier ListAccountAliases = new ActionIdentifier("iam:ListAccountAliases");
public static readonly ActionIdentifier ListGroupPolicies = new ActionIdentifier("iam:ListGroupPolicies");
public static readonly ActionIdentifier ListGroups = new ActionIdentifier("iam:ListGroups");
public static readonly ActionIdentifier ListGroupsForUser = new ActionIdentifier("iam:ListGroupsForUser");
public static readonly ActionIdentifier ListInstanceProfiles = new ActionIdentifier("iam:ListInstanceProfiles");
public static readonly ActionIdentifier ListInstanceProfilesForRole = new ActionIdentifier("iam:ListInstanceProfilesForRole");
public static readonly ActionIdentifier ListMFADevices = new ActionIdentifier("iam:ListMFADevices");
public static readonly ActionIdentifier ListRolePolicies = new ActionIdentifier("iam:ListRolePolicies");
public static readonly ActionIdentifier ListRoles = new ActionIdentifier("iam:ListRoles");
public static readonly ActionIdentifier ListSAMLProviders = new ActionIdentifier("iam:ListSAMLProviders");
public static readonly ActionIdentifier ListServerCertificates = new ActionIdentifier("iam:ListServerCertificates");
public static readonly ActionIdentifier ListSigningCertificates = new ActionIdentifier("iam:ListSigningCertificates");
public static readonly ActionIdentifier ListUserPolicies = new ActionIdentifier("iam:ListUserPolicies");
public static readonly ActionIdentifier ListUsers = new ActionIdentifier("iam:ListUsers");
public static readonly ActionIdentifier ListVirtualMFADevices = new ActionIdentifier("iam:ListVirtualMFADevices");
public static readonly ActionIdentifier PassRole = new ActionIdentifier("iam:PassRole");
public static readonly ActionIdentifier PutGroupPolicy = new ActionIdentifier("iam:PutGroupPolicy");
public static readonly ActionIdentifier PutRolePolicy = new ActionIdentifier("iam:PutRolePolicy");
public static readonly ActionIdentifier PutUserPolicy = new ActionIdentifier("iam:PutUserPolicy");
public static readonly ActionIdentifier RemoveRoleFromInstanceProfile = new ActionIdentifier("iam:RemoveRoleFromInstanceProfile");
public static readonly ActionIdentifier RemoveUserFromGroup = new ActionIdentifier("iam:RemoveUserFromGroup");
public static readonly ActionIdentifier ResyncMFADevice = new ActionIdentifier("iam:ResyncMFADevice");
public static readonly ActionIdentifier UpdateAccessKey = new ActionIdentifier("iam:UpdateAccessKey");
public static readonly ActionIdentifier UpdateAccountPasswordPolicy = new ActionIdentifier("iam:UpdateAccountPasswordPolicy");
public static readonly ActionIdentifier UpdateAssumeRolePolicy = new ActionIdentifier("iam:UpdateAssumeRolePolicy");
public static readonly ActionIdentifier UpdateGroup = new ActionIdentifier("iam:UpdateGroup");
public static readonly ActionIdentifier UpdateLoginProfile = new ActionIdentifier("iam:UpdateLoginProfile");
public static readonly ActionIdentifier UpdateSAMLProvider = new ActionIdentifier("iam:UpdateSAMLProvider");
public static readonly ActionIdentifier UpdateServerCertificate = new ActionIdentifier("iam:UpdateServerCertificate");
public static readonly ActionIdentifier UpdateSigningCertificate = new ActionIdentifier("iam:UpdateSigningCertificate");
public static readonly ActionIdentifier UpdateUser = new ActionIdentifier("iam:UpdateUser");
public static readonly ActionIdentifier UploadServerCertificate = new ActionIdentifier("iam:UploadServerCertificate");
public static readonly ActionIdentifier UploadSigningCertificate = new ActionIdentifier("iam:UploadSigningCertificate");
}
}
| 112 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy.ActionIdentifiers
{
/// <summary>
/// The available AWS access control policy actions for AWS Import Export.
/// </summary>
/// <see cref="Amazon.Auth.AccessControlPolicy.Statement.Actions"/>
[Obsolete(
"The Amazon.Auth.AccessContolPolicy classes are out of date and are no longer being maintained.\n" +
"Please construct policy documents using the information found here: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json")]
public static class ImportExportActionIdentifiers
{
public static readonly ActionIdentifier AllImportExportActions = new ActionIdentifier("importexport:*");
public static readonly ActionIdentifier CreateJob = new ActionIdentifier("importexport:CreateJob");
public static readonly ActionIdentifier UpdateJob = new ActionIdentifier("importexport:UpdateJob");
public static readonly ActionIdentifier CancelJob = new ActionIdentifier("importexport:CancelJob");
public static readonly ActionIdentifier ListJobs = new ActionIdentifier("importexport:ListJobs");
public static readonly ActionIdentifier GetStatus = new ActionIdentifier("importexport:GetStatus");
}
}
| 40 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy.ActionIdentifiers
{
/// <summary>
/// The available AWS access control policy actions for Amazon Kinesis.
/// </summary>
/// <see cref="Amazon.Auth.AccessControlPolicy.Statement.Actions"/>
[Obsolete(
"The Amazon.Auth.AccessContolPolicy classes are out of date and are no longer being maintained.\n" +
"Please construct policy documents using the information found here: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json")]
public static class KinesisActionIdentifiers
{
public static readonly ActionIdentifier AllKinesisActions = new ActionIdentifier("kinesis:*");
public static readonly ActionIdentifier CreateStream = new ActionIdentifier("kinesis:CreateStream");
public static readonly ActionIdentifier DeleteStream = new ActionIdentifier("kinesis:DeleteStream");
public static readonly ActionIdentifier DescribeStream = new ActionIdentifier("kinesis:DescribeStream");
public static readonly ActionIdentifier ListStreams = new ActionIdentifier("kinesis:ListStreams");
public static readonly ActionIdentifier PutRecord = new ActionIdentifier("kinesis:PutRecord");
public static readonly ActionIdentifier GetShardIterator = new ActionIdentifier("kinesis:GetShardIterator");
public static readonly ActionIdentifier GetRecords = new ActionIdentifier("kinesis:GetRecords");
public static readonly ActionIdentifier MergeShards = new ActionIdentifier("kinesis:MergeShards");
public static readonly ActionIdentifier SplitShard = new ActionIdentifier("kinesis:SplitShard");
}
}
| 44 |
aws-sdk-net | aws | C# | /*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy.ActionIdentifiers
{
/// <summary>
/// The available AWS access control policy actions for AWS Marketplace.
/// </summary>
/// <see cref="Amazon.Auth.AccessControlPolicy.Statement.Actions"/>
[Obsolete(
"The Amazon.Auth.AccessContolPolicy classes are out of date and are no longer being maintained.\n" +
"Please construct policy documents using the information found here: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json")]
public static class MarketplaceActionIdentifiers
{
public static readonly ActionIdentifier AllMarketplaceActions = new ActionIdentifier("aws-marketplace:*");
public static readonly ActionIdentifier Subscribe = new ActionIdentifier("aws-marketplace:Subscribe");
public static readonly ActionIdentifier Unsubscribe = new ActionIdentifier("aws-marketplace:Unsubscribe");
public static readonly ActionIdentifier ViewSubscriptions = new ActionIdentifier("aws-marketplace:ViewSubscriptions");
}
}
| 38 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.