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 a new behavior graph for the calling account, and sets that account as the administrator account. This operation is called by the account that is enabling Detective.
The operation also enables Detective for the calling account in the currently selected Region. It returns the ARN of the new behavior graph.
CreateGraph
triggers a process to create the corresponding data tables for
the new behavior graph.
An account can only be the administrator account for one behavior graph within a Region.
If the same account calls CreateGraph
with the same administrator account,
it always returns the same behavior graph ARN. It does not create a new behavior graph.
This is an asynchronous operation using the standard naming convention for .NET 4.5 or higher. For .NET 3.5 the operation is implemented as a pair of methods using the standard naming convention of BeginCreateGraph and EndCreateGraph.
Namespace: Amazon.Detective
Assembly: AWSSDK.Detective.dll
Version: 3.x.y.z
public abstract Task<CreateGraphResponse> CreateGraphAsync( CreateGraphRequest request, CancellationToken cancellationToken )
Container for the necessary parameters to execute the CreateGraph service method.
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exception | Condition |
---|---|
AccessDeniedException | The request issuer does not have permission to access this resource or perform this operation. |
ConflictException | The request attempted an invalid action. |
InternalServerException | The request was valid but failed because of a problem with the service. |
ServiceQuotaExceededException | This request cannot be completed for one of the following reasons. This request cannot be completed if it would cause the number of member accounts in the behavior graph to exceed the maximum allowed. A behavior graph cannot have more than 1,200 member accounts. This request cannot be completed if the current volume ingested is above the limit of 10 TB per day. Detective will not allow you to add additional member accounts. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer