billunion

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2024 License: Apache-2.0, Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServiceName = "bill-union" // Name of service.
	EndpointsID = ServiceName  // ID to lookup a service endpoint with.
	ServiceID   = "bill-union" // ServiceID is a unique identifer of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type BillUnion

type BillUnion struct {
	*client.Client
}

BillUnion provides the API operation methods for making requests to bill-union. See this package's package overview docs for details on the service.

BillUnion methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func ExtraNew

func ExtraNew(info *utils.UrlInfo, p client.ConfigProvider, cfgs ...*aws.Config) *BillUnion

extraNew create int can support ssl or region locate set

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *BillUnion

New creates a new instance of the BillUnion client with a session. If additional configuration is needed for the client instance use the optional ksc.Config parameter to add your extra config.

Example:

// Create a BillUnion client from just a session.
svc := billunion.New(mySession)

// Create a BillUnion client with additional configuration
svc := billunion.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func SdkNew

func SdkNew(p client.ConfigProvider, cfgs *ksc.Config, info ...*utils.UrlInfo) *BillUnion

SdkNew create int can support ssl or region locate set

func (*BillUnion) DescribeBillSummaryByPayMode

func (c *BillUnion) DescribeBillSummaryByPayMode(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeBillSummaryByPayMode API operation for bill-union.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the KSC API reference guide for bill-union's API operation DescribeBillSummaryByPayMode for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/bill-union-2020-01-01/DescribeBillSummaryByPayMode

func (*BillUnion) DescribeBillSummaryByPayModeRequest

func (c *BillUnion) DescribeBillSummaryByPayModeRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeBillSummaryByPayModeRequest generates a "ksc/request.Request" representing the client's request for the DescribeBillSummaryByPayMode operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeBillSummaryByPayMode for more information on using the DescribeBillSummaryByPayMode API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeBillSummaryByPayModeRequest method.
req, resp := client.DescribeBillSummaryByPayModeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/bill-union-2020-01-01/DescribeBillSummaryByPayMode

func (*BillUnion) DescribeBillSummaryByPayModeWithContext

func (c *BillUnion) DescribeBillSummaryByPayModeWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeBillSummaryByPayModeWithContext is the same as DescribeBillSummaryByPayMode with the addition of the ability to pass a context and additional request options.

See DescribeBillSummaryByPayMode for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillUnion) DescribeBillSummaryByProduct

func (c *BillUnion) DescribeBillSummaryByProduct(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeBillSummaryByProduct API operation for bill-union.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the KSC API reference guide for bill-union's API operation DescribeBillSummaryByProduct for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/bill-union-2020-01-01/DescribeBillSummaryByProduct

func (*BillUnion) DescribeBillSummaryByProductRequest

func (c *BillUnion) DescribeBillSummaryByProductRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeBillSummaryByProductRequest generates a "ksc/request.Request" representing the client's request for the DescribeBillSummaryByProduct operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeBillSummaryByProduct for more information on using the DescribeBillSummaryByProduct API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeBillSummaryByProductRequest method.
req, resp := client.DescribeBillSummaryByProductRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/bill-union-2020-01-01/DescribeBillSummaryByProduct

func (*BillUnion) DescribeBillSummaryByProductWithContext

func (c *BillUnion) DescribeBillSummaryByProductWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeBillSummaryByProductWithContext is the same as DescribeBillSummaryByProduct with the addition of the ability to pass a context and additional request options.

See DescribeBillSummaryByProduct for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillUnion) DescribeBillSummaryByProject

func (c *BillUnion) DescribeBillSummaryByProject(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeBillSummaryByProject API operation for bill-union.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the KSC API reference guide for bill-union's API operation DescribeBillSummaryByProject for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/bill-union-2020-01-01/DescribeBillSummaryByProject

func (*BillUnion) DescribeBillSummaryByProjectRequest

func (c *BillUnion) DescribeBillSummaryByProjectRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeBillSummaryByProjectRequest generates a "ksc/request.Request" representing the client's request for the DescribeBillSummaryByProject operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeBillSummaryByProject for more information on using the DescribeBillSummaryByProject API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeBillSummaryByProjectRequest method.
req, resp := client.DescribeBillSummaryByProjectRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/bill-union-2020-01-01/DescribeBillSummaryByProject

func (*BillUnion) DescribeBillSummaryByProjectWithContext

func (c *BillUnion) DescribeBillSummaryByProjectWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeBillSummaryByProjectWithContext is the same as DescribeBillSummaryByProject with the addition of the ability to pass a context and additional request options.

See DescribeBillSummaryByProject for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillUnion) DescribeInstanceSummaryBills

func (c *BillUnion) DescribeInstanceSummaryBills(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeInstanceSummaryBills API operation for bill-union.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the KSC API reference guide for bill-union's API operation DescribeInstanceSummaryBills for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/bill-union-2020-01-01/DescribeInstanceSummaryBills

func (*BillUnion) DescribeInstanceSummaryBillsRequest

func (c *BillUnion) DescribeInstanceSummaryBillsRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeInstanceSummaryBillsRequest generates a "ksc/request.Request" representing the client's request for the DescribeInstanceSummaryBills operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeInstanceSummaryBills for more information on using the DescribeInstanceSummaryBills API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeInstanceSummaryBillsRequest method.
req, resp := client.DescribeInstanceSummaryBillsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/bill-union-2020-01-01/DescribeInstanceSummaryBills

func (*BillUnion) DescribeInstanceSummaryBillsWithContext

func (c *BillUnion) DescribeInstanceSummaryBillsWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeInstanceSummaryBillsWithContext is the same as DescribeInstanceSummaryBills with the addition of the ability to pass a context and additional request options.

See DescribeInstanceSummaryBills for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillUnion) DescribeProductCode

func (c *BillUnion) DescribeProductCode(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeProductCode API operation for bill-union.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the KSC API reference guide for bill-union's API operation DescribeProductCode for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/bill-union-2020-01-01/DescribeProductCode

func (*BillUnion) DescribeProductCodeRequest

func (c *BillUnion) DescribeProductCodeRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeProductCodeRequest generates a "ksc/request.Request" representing the client's request for the DescribeProductCode operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeProductCode for more information on using the DescribeProductCode API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeProductCodeRequest method.
req, resp := client.DescribeProductCodeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/bill-union-2020-01-01/DescribeProductCode

func (*BillUnion) DescribeProductCodeWithContext

func (c *BillUnion) DescribeProductCodeWithContext(ctx aws.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeProductCodeWithContext is the same as DescribeProductCode with the addition of the ability to pass a context and additional request options.

See DescribeProductCode for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

Directories

Path Synopsis
Package billunioniface provides an interface to enable mocking the bill-union service client for testing your code.
Package billunioniface provides an interface to enable mocking the bill-union service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL