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 AssociateSourceViews operation. Associates one or more source billing views with an existing billing view. This allows creating aggregate billing views that combine data from multiple sources.

Inheritance Hierarchy

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

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

Syntax

C#
public class AssociateSourceViewsRequest : AmazonBillingRequest
         IAmazonWebServiceRequest

The AssociateSourceViewsRequest 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 associate source views with.

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 associate.

Examples

Invoke AssociateSourceViews


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