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.
Removes the association between one or more source billing views and an existing billing view. This allows modifying the composition of aggregate billing views.
For .NET Core this operation is only available in asynchronous form. Please refer to DisassociateSourceViewsAsync.
Namespace: Amazon.Billing
Assembly: AWSSDK.Billing.dll
Version: 3.x.y.z
public virtual DisassociateSourceViewsResponse DisassociateSourceViews( DisassociateSourceViewsRequest request )
Container for the necessary parameters to execute the DisassociateSourceViews service method.
Exception | Condition |
---|---|
AccessDeniedException | You don't have sufficient access to perform this action. |
BillingViewHealthStatusException | Exception thrown when a billing view's health status prevents an operation from being performed. This may occur if the billing view is in a state other than HEALTHY. |
ConflictException | The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. |
InternalServerException | The request processing failed because of an unknown error, exception, or failure. |
ResourceNotFoundException | The specified ARN in the request doesn't exist. |
ThrottlingException | The request was denied due to request throttling. |
ValidationException | The input fails to satisfy the constraints specified by an Amazon Web Services service. |
var client = new AmazonBillingClient(); var response = client.AssociateSourceViews(new AssociateSourceViewsRequest { Arn = "arn:aws:billing::123456789012:billingview/custom-46f47cb2-a11d-43f3-983d-470b5708a899", SourceViews = new List<string> { "arn:aws:billing::123456789012:billingview/primary", "arn:aws:billing::123456789012:billingview/custom-d3f9c7e4-8b2f-4a6e-9d3b-2f7c8a1e5f6d" } }); string arn = response.Arn;
.NET Framework:
Supported in: 4.5 and newer, 3.5