AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Creates and defines the settings for an allow list.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to CreateAllowListAsync.

Namespace: Amazon.Macie2
Assembly: AWSSDK.Macie2.dll
Version: 3.x.y.z

Syntax

C#
public abstract CreateAllowListResponse CreateAllowList(
         CreateAllowListRequest request
)

Parameters

request
Type: Amazon.Macie2.Model.CreateAllowListRequest

Container for the necessary parameters to execute the CreateAllowList service method.

Return Value


The response from the CreateAllowList service method, as returned by Macie2.

Exceptions

ExceptionCondition
AccessDeniedException Provides information about an error that occurred due to insufficient access to a specified resource.
ConflictException Provides information about an error that occurred due to a versioning conflict for a specified resource.
InternalServerException Provides information about an error that occurred due to an unknown internal server error, exception, or failure.
ResourceNotFoundException Provides information about an error that occurred because a specified resource wasn't found.
ServiceQuotaExceededException Provides information about an error that occurred due to one or more service quotas for an account.
ThrottlingException Provides information about an error that occurred because too many requests were sent during a certain amount of time.
ValidationException Provides information about an error that occurred due to a syntax error in a request.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also