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.

Container for the parameters to the DisassociateSourceViews operation. Removes the association between one or more source billing views and an existing billing view. This allows modifying the composition of aggregate billing views.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Billing.AmazonBillingRequest
      Amazon.Billing.Model.DisassociateSourceViewsRequest

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

Syntax

C#
public class DisassociateSourceViewsRequest : AmazonBillingRequest
         IAmazonWebServiceRequest

The DisassociateSourceViewsRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property Arn System.String

Gets and sets the property Arn.

The Amazon Resource Name (ARN) of the billing view to disassociate source views from.

Public Property SourceViews System.Collections.Generic.List<System.String>

Gets and sets the property SourceViews.

A list of ARNs of the source billing views to disassociate.

Examples

Invoke DisassociateSourceViews


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;

            

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

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