awscost

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2021 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Package awscost is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	Address = ":443" // to be updated after prod deployment
)

Variables

View Source
var AwsCost_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "blueapi.awscost.v1.AwsCost",
	HandlerType: (*AwsCostServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "StreamReadAccountCosts",
			Handler:       _AwsCost_StreamReadAccountCosts_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "StreamReadCompanyCosts",
			Handler:       _AwsCost_StreamReadCompanyCosts_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "StreamReadBillingGroupCosts",
			Handler:       _AwsCost_StreamReadBillingGroupCosts_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "StreamReadAccountFees",
			Handler:       _AwsCost_StreamReadAccountFees_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "StreamReadCompanyFees",
			Handler:       _AwsCost_StreamReadCompanyFees_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "StreamReadBillingGroupFees",
			Handler:       _AwsCost_StreamReadBillingGroupFees_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "awscost/v1/awscost.proto",
}

AwsCost_ServiceDesc is the grpc.ServiceDesc for AwsCost service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_awscost_v1_awscost_proto protoreflect.FileDescriptor

Functions

func NewClient added in v0.4.4

func NewClient(ctx context.Context, opts ...ClientOption) (*grpcClient, error)

func RegisterAwsCostHandler

func RegisterAwsCostHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterAwsCostHandler registers the http handlers for service AwsCost to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterAwsCostHandlerClient

func RegisterAwsCostHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AwsCostClient) error

RegisterAwsCostHandlerClient registers the http handlers for service AwsCost to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AwsCostClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AwsCostClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AwsCostClient" to call the correct interceptors.

func RegisterAwsCostHandlerFromEndpoint

func RegisterAwsCostHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterAwsCostHandlerFromEndpoint is same as RegisterAwsCostHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterAwsCostHandlerServer

func RegisterAwsCostHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AwsCostServer) error

RegisterAwsCostHandlerServer registers the http handlers for service AwsCost to "mux". UnaryRPC :call AwsCostServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAwsCostHandlerFromEndpoint instead.

func RegisterAwsCostServer

func RegisterAwsCostServer(s grpc.ServiceRegistrar, srv AwsCostServer)

Types

type AwsCostClient

type AwsCostClient interface {
	// Streams back the usage-based cost details of an AWS account. If datetime range
	// parameters are not set, month-to-date (current month) will be returned.
	StreamReadAccountCosts(ctx context.Context, in *StreamReadAccountCostsRequest, opts ...grpc.CallOption) (AwsCost_StreamReadAccountCostsClient, error)
	// Streams back the usage-based cost details of a company. If datetime range
	// parameters are not set, month-to-date (current month) will be returned.
	StreamReadCompanyCosts(ctx context.Context, in *StreamReadCompanyCostsRequest, opts ...grpc.CallOption) (AwsCost_StreamReadCompanyCostsClient, error)
	// Streams back the usage-based cost details of a billing group. If datetime range
	// parameters are not set, month-to-date (current month) will be returned.
	StreamReadBillingGroupCosts(ctx context.Context, in *StreamReadBillingGroupCostsRequest, opts ...grpc.CallOption) (AwsCost_StreamReadBillingGroupCostsClient, error)
	// Streams back the fee-based details of an AWS account. This API covers non-usage-based
	// fees, such as Fees, Credits, Discounts, Tax, Upfront Fees, etc. If datetime range
	// parameters are not set, month-to-date (current month) will be returned.
	StreamReadAccountFees(ctx context.Context, in *StreamReadAccountFeesRequest, opts ...grpc.CallOption) (AwsCost_StreamReadAccountFeesClient, error)
	// Streams back the fee-based details of a company. This API covers non-usage-based
	// fees, such as Fees, Credits, Discounts, Tax, Upfront Fees, etc. If datetime range
	// parameters are not set, month-to-date (current month) will be returned.
	StreamReadCompanyFees(ctx context.Context, in *StreamReadCompanyFeesRequest, opts ...grpc.CallOption) (AwsCost_StreamReadCompanyFeesClient, error)
	// Streams back the fee-based details of a billing group. This API covers non-usage-based
	// fees, such as Fees, Credits, Discounts, Tax, Upfront Fees, etc. If datetime range
	// parameters are not set, month-to-date (current month) will be returned.
	StreamReadBillingGroupFees(ctx context.Context, in *StreamReadBillingGroupFeesRequest, opts ...grpc.CallOption) (AwsCost_StreamReadBillingGroupFeesClient, error)
}

AwsCostClient is the client API for AwsCost service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewAwsCostClient

func NewAwsCostClient(cc grpc.ClientConnInterface) AwsCostClient

type AwsCostServer

type AwsCostServer interface {
	// Streams back the usage-based cost details of an AWS account. If datetime range
	// parameters are not set, month-to-date (current month) will be returned.
	StreamReadAccountCosts(*StreamReadAccountCostsRequest, AwsCost_StreamReadAccountCostsServer) error
	// Streams back the usage-based cost details of a company. If datetime range
	// parameters are not set, month-to-date (current month) will be returned.
	StreamReadCompanyCosts(*StreamReadCompanyCostsRequest, AwsCost_StreamReadCompanyCostsServer) error
	// Streams back the usage-based cost details of a billing group. If datetime range
	// parameters are not set, month-to-date (current month) will be returned.
	StreamReadBillingGroupCosts(*StreamReadBillingGroupCostsRequest, AwsCost_StreamReadBillingGroupCostsServer) error
	// Streams back the fee-based details of an AWS account. This API covers non-usage-based
	// fees, such as Fees, Credits, Discounts, Tax, Upfront Fees, etc. If datetime range
	// parameters are not set, month-to-date (current month) will be returned.
	StreamReadAccountFees(*StreamReadAccountFeesRequest, AwsCost_StreamReadAccountFeesServer) error
	// Streams back the fee-based details of a company. This API covers non-usage-based
	// fees, such as Fees, Credits, Discounts, Tax, Upfront Fees, etc. If datetime range
	// parameters are not set, month-to-date (current month) will be returned.
	StreamReadCompanyFees(*StreamReadCompanyFeesRequest, AwsCost_StreamReadCompanyFeesServer) error
	// Streams back the fee-based details of a billing group. This API covers non-usage-based
	// fees, such as Fees, Credits, Discounts, Tax, Upfront Fees, etc. If datetime range
	// parameters are not set, month-to-date (current month) will be returned.
	StreamReadBillingGroupFees(*StreamReadBillingGroupFeesRequest, AwsCost_StreamReadBillingGroupFeesServer) error
	// contains filtered or unexported methods
}

AwsCostServer is the server API for AwsCost service. All implementations must embed UnimplementedAwsCostServer for forward compatibility

type AwsCost_StreamReadAccountCostsClient added in v0.3.1

type AwsCost_StreamReadAccountCostsClient interface {
	Recv() (*Cost, error)
	grpc.ClientStream
}

type AwsCost_StreamReadAccountCostsServer added in v0.3.1

type AwsCost_StreamReadAccountCostsServer interface {
	Send(*Cost) error
	grpc.ServerStream
}

type AwsCost_StreamReadAccountFeesClient added in v0.4.0

type AwsCost_StreamReadAccountFeesClient interface {
	Recv() (*Fee, error)
	grpc.ClientStream
}

type AwsCost_StreamReadAccountFeesServer added in v0.4.0

type AwsCost_StreamReadAccountFeesServer interface {
	Send(*Fee) error
	grpc.ServerStream
}

type AwsCost_StreamReadBillingGroupCostsClient added in v0.4.1

type AwsCost_StreamReadBillingGroupCostsClient interface {
	Recv() (*Cost, error)
	grpc.ClientStream
}

type AwsCost_StreamReadBillingGroupCostsServer added in v0.4.1

type AwsCost_StreamReadBillingGroupCostsServer interface {
	Send(*Cost) error
	grpc.ServerStream
}

type AwsCost_StreamReadBillingGroupFeesClient added in v0.4.2

type AwsCost_StreamReadBillingGroupFeesClient interface {
	Recv() (*Fee, error)
	grpc.ClientStream
}

type AwsCost_StreamReadBillingGroupFeesServer added in v0.4.2

type AwsCost_StreamReadBillingGroupFeesServer interface {
	Send(*Fee) error
	grpc.ServerStream
}

type AwsCost_StreamReadCompanyCostsClient added in v0.4.2

type AwsCost_StreamReadCompanyCostsClient interface {
	Recv() (*Cost, error)
	grpc.ClientStream
}

type AwsCost_StreamReadCompanyCostsServer added in v0.4.2

type AwsCost_StreamReadCompanyCostsServer interface {
	Send(*Cost) error
	grpc.ServerStream
}

type AwsCost_StreamReadCompanyFeesClient added in v0.4.2

type AwsCost_StreamReadCompanyFeesClient interface {
	Recv() (*Fee, error)
	grpc.ClientStream
}

type AwsCost_StreamReadCompanyFeesServer added in v0.4.2

type AwsCost_StreamReadCompanyFeesServer interface {
	Send(*Fee) error
	grpc.ServerStream
}

type ClientOption added in v0.4.4

type ClientOption interface {
	// contains filtered or unexported methods
}

func WithClientId added in v0.4.5

func WithClientId(s string) ClientOption

func WithClientSecret added in v0.4.5

func WithClientSecret(s string) ClientOption

func WithGrpcConnection added in v0.4.5

func WithGrpcConnection(v *grpc.ClientConn) ClientOption

func WithLoginUrl added in v0.4.4

func WithLoginUrl(s string) ClientOption

func WithTarget added in v0.4.4

func WithTarget(s string) ClientOption

type Cost added in v0.3.1

type Cost struct {
	Account      string               `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Date         *timestamp.Timestamp `protobuf:"bytes,2,opt,name=date,proto3" json:"date,omitempty"`
	ProductCode  string               `protobuf:"bytes,3,opt,name=product_code,json=productCode,proto3" json:"product_code,omitempty"`
	ServiceCode  string               `protobuf:"bytes,4,opt,name=service_code,json=serviceCode,proto3" json:"service_code,omitempty"`
	Region       string               `protobuf:"bytes,5,opt,name=region,proto3" json:"region,omitempty"`
	Zone         string               `protobuf:"bytes,6,opt,name=zone,proto3" json:"zone,omitempty"`
	UsageType    string               `protobuf:"bytes,7,opt,name=usage_type,json=usageType,proto3" json:"usage_type,omitempty"`
	InstanceType string               `protobuf:"bytes,8,opt,name=instance_type,json=instanceType,proto3" json:"instance_type,omitempty"`
	Operation    string               `protobuf:"bytes,9,opt,name=operation,proto3" json:"operation,omitempty"`
	InvoiceId    string               `protobuf:"bytes,10,opt,name=invoice_id,json=invoiceId,proto3" json:"invoice_id,omitempty"`
	Description  string               `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"`
	UsageAmount  float64              `protobuf:"fixed64,12,opt,name=usage_amount,json=usageAmount,proto3" json:"usage_amount,omitempty"`
	Cost         float64              `protobuf:"fixed64,13,opt,name=cost,proto3" json:"cost,omitempty"`
	// contains filtered or unexported fields
}

Response message for AwsCost.StreamReadAccountCosts.

func (*Cost) Descriptor deprecated added in v0.3.1

func (*Cost) Descriptor() ([]byte, []int)

Deprecated: Use Cost.ProtoReflect.Descriptor instead.

func (*Cost) GetAccount added in v0.3.1

func (x *Cost) GetAccount() string

func (*Cost) GetCost added in v0.3.1

func (x *Cost) GetCost() float64

func (*Cost) GetDate added in v0.3.1

func (x *Cost) GetDate() *timestamp.Timestamp

func (*Cost) GetDescription added in v0.3.1

func (x *Cost) GetDescription() string

func (*Cost) GetInstanceType added in v0.3.1

func (x *Cost) GetInstanceType() string

func (*Cost) GetInvoiceId added in v0.3.1

func (x *Cost) GetInvoiceId() string

func (*Cost) GetOperation added in v0.3.1

func (x *Cost) GetOperation() string

func (*Cost) GetProductCode added in v0.3.1

func (x *Cost) GetProductCode() string

func (*Cost) GetRegion added in v0.3.1

func (x *Cost) GetRegion() string

func (*Cost) GetServiceCode added in v0.3.1

func (x *Cost) GetServiceCode() string

func (*Cost) GetUsageAmount added in v0.3.1

func (x *Cost) GetUsageAmount() float64

func (*Cost) GetUsageType added in v0.3.1

func (x *Cost) GetUsageType() string

func (*Cost) GetZone added in v0.3.1

func (x *Cost) GetZone() string

func (*Cost) ProtoMessage added in v0.3.1

func (*Cost) ProtoMessage()

func (*Cost) ProtoReflect added in v0.3.1

func (x *Cost) ProtoReflect() protoreflect.Message

func (*Cost) Reset added in v0.3.1

func (x *Cost) Reset()

func (*Cost) String added in v0.3.1

func (x *Cost) String() string

type Fee added in v0.4.0

type Fee struct {
	Account     string               `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Date        *timestamp.Timestamp `protobuf:"bytes,2,opt,name=date,proto3" json:"date,omitempty"`
	Type        string               `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	ProductCode string               `protobuf:"bytes,4,opt,name=product_code,json=productCode,proto3" json:"product_code,omitempty"`
	Description string               `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	Cost        float64              `protobuf:"fixed64,6,opt,name=cost,proto3" json:"cost,omitempty"`
	// contains filtered or unexported fields
}

Response message for AwsCost.StreamReadAccountFees.

func (*Fee) Descriptor deprecated added in v0.4.0

func (*Fee) Descriptor() ([]byte, []int)

Deprecated: Use Fee.ProtoReflect.Descriptor instead.

func (*Fee) GetAccount added in v0.4.0

func (x *Fee) GetAccount() string

func (*Fee) GetCost added in v0.4.0

func (x *Fee) GetCost() float64

func (*Fee) GetDate added in v0.4.0

func (x *Fee) GetDate() *timestamp.Timestamp

func (*Fee) GetDescription added in v0.4.0

func (x *Fee) GetDescription() string

func (*Fee) GetProductCode added in v0.4.0

func (x *Fee) GetProductCode() string

func (*Fee) GetType added in v0.4.0

func (x *Fee) GetType() string

func (*Fee) ProtoMessage added in v0.4.0

func (*Fee) ProtoMessage()

func (*Fee) ProtoReflect added in v0.4.0

func (x *Fee) ProtoReflect() protoreflect.Message

func (*Fee) Reset added in v0.4.0

func (x *Fee) Reset()

func (*Fee) String added in v0.4.0

func (x *Fee) String() string

type StreamReadAccountCostsRequest added in v0.3.1

type StreamReadAccountCostsRequest struct {

	// Required. The AWS account to stream.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. Timestamp to start streaming data from. If not set, the first day of the
	// current month will be used.
	StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Optional. Timestamp to end the streaming data. If not set, current date will be used.
	EndTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

Request message for AwsCost.StreamReadAccountCosts.

func (*StreamReadAccountCostsRequest) Descriptor deprecated added in v0.3.1

func (*StreamReadAccountCostsRequest) Descriptor() ([]byte, []int)

Deprecated: Use StreamReadAccountCostsRequest.ProtoReflect.Descriptor instead.

func (*StreamReadAccountCostsRequest) GetEndTime added in v0.3.1

func (*StreamReadAccountCostsRequest) GetName added in v0.3.1

func (*StreamReadAccountCostsRequest) GetStartTime added in v0.3.1

func (*StreamReadAccountCostsRequest) ProtoMessage added in v0.3.1

func (*StreamReadAccountCostsRequest) ProtoMessage()

func (*StreamReadAccountCostsRequest) ProtoReflect added in v0.3.1

func (*StreamReadAccountCostsRequest) Reset added in v0.3.1

func (x *StreamReadAccountCostsRequest) Reset()

func (*StreamReadAccountCostsRequest) String added in v0.3.1

type StreamReadAccountFeesRequest added in v0.4.0

type StreamReadAccountFeesRequest struct {

	// Required. The AWS account id to stream.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. Timestamp to start streaming data from. If not set, the first day of the
	// current month will be used.
	StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Optional. Timestamp to end the streaming data. If not set, current date will be used.
	EndTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

Request message for AwsCost.StreamReadAccountFees.

func (*StreamReadAccountFeesRequest) Descriptor deprecated added in v0.4.0

func (*StreamReadAccountFeesRequest) Descriptor() ([]byte, []int)

Deprecated: Use StreamReadAccountFeesRequest.ProtoReflect.Descriptor instead.

func (*StreamReadAccountFeesRequest) GetEndTime added in v0.4.0

func (*StreamReadAccountFeesRequest) GetName added in v0.4.0

func (x *StreamReadAccountFeesRequest) GetName() string

func (*StreamReadAccountFeesRequest) GetStartTime added in v0.4.0

func (*StreamReadAccountFeesRequest) ProtoMessage added in v0.4.0

func (*StreamReadAccountFeesRequest) ProtoMessage()

func (*StreamReadAccountFeesRequest) ProtoReflect added in v0.4.0

func (*StreamReadAccountFeesRequest) Reset added in v0.4.0

func (x *StreamReadAccountFeesRequest) Reset()

func (*StreamReadAccountFeesRequest) String added in v0.4.0

type StreamReadBillingGroupCostsRequest added in v0.4.1

type StreamReadBillingGroupCostsRequest struct {

	// Required. The billing group id to stream.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. Timestamp to start streaming data from. If not set, the first day of the
	// current month will be used.
	StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Optional. Timestamp to end the streaming data. If not set, current date will be used.
	EndTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

Request message for AwsCost.StreamReadBillingGroupCosts.

func (*StreamReadBillingGroupCostsRequest) Descriptor deprecated added in v0.4.1

func (*StreamReadBillingGroupCostsRequest) Descriptor() ([]byte, []int)

Deprecated: Use StreamReadBillingGroupCostsRequest.ProtoReflect.Descriptor instead.

func (*StreamReadBillingGroupCostsRequest) GetEndTime added in v0.4.1

func (*StreamReadBillingGroupCostsRequest) GetName added in v0.4.1

func (*StreamReadBillingGroupCostsRequest) GetStartTime added in v0.4.1

func (*StreamReadBillingGroupCostsRequest) ProtoMessage added in v0.4.1

func (*StreamReadBillingGroupCostsRequest) ProtoMessage()

func (*StreamReadBillingGroupCostsRequest) ProtoReflect added in v0.4.1

func (*StreamReadBillingGroupCostsRequest) Reset added in v0.4.1

func (*StreamReadBillingGroupCostsRequest) String added in v0.4.1

type StreamReadBillingGroupFeesRequest added in v0.4.2

type StreamReadBillingGroupFeesRequest struct {

	// Required. The billing group id to stream.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. Timestamp to start streaming data from. If not set, the first day of the
	// current month will be used.
	StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Optional. Timestamp to end the streaming data. If not set, current date will be used.
	EndTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

Request message for AwsCost.StreamReadBillingGroupFees.

func (*StreamReadBillingGroupFeesRequest) Descriptor deprecated added in v0.4.2

func (*StreamReadBillingGroupFeesRequest) Descriptor() ([]byte, []int)

Deprecated: Use StreamReadBillingGroupFeesRequest.ProtoReflect.Descriptor instead.

func (*StreamReadBillingGroupFeesRequest) GetEndTime added in v0.4.2

func (*StreamReadBillingGroupFeesRequest) GetName added in v0.4.2

func (*StreamReadBillingGroupFeesRequest) GetStartTime added in v0.4.2

func (*StreamReadBillingGroupFeesRequest) ProtoMessage added in v0.4.2

func (*StreamReadBillingGroupFeesRequest) ProtoMessage()

func (*StreamReadBillingGroupFeesRequest) ProtoReflect added in v0.4.2

func (*StreamReadBillingGroupFeesRequest) Reset added in v0.4.2

func (*StreamReadBillingGroupFeesRequest) String added in v0.4.2

type StreamReadCompanyCostsRequest added in v0.4.2

type StreamReadCompanyCostsRequest struct {

	// Required. The company id to stream.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. Timestamp to start streaming data from. If not set, the first day of the
	// current month will be used.
	StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Optional. Timestamp to end the streaming data. If not set, current date will be used.
	EndTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

Request message for AwsCost.StreamReadCompanyCosts.

func (*StreamReadCompanyCostsRequest) Descriptor deprecated added in v0.4.2

func (*StreamReadCompanyCostsRequest) Descriptor() ([]byte, []int)

Deprecated: Use StreamReadCompanyCostsRequest.ProtoReflect.Descriptor instead.

func (*StreamReadCompanyCostsRequest) GetEndTime added in v0.4.2

func (*StreamReadCompanyCostsRequest) GetName added in v0.4.2

func (*StreamReadCompanyCostsRequest) GetStartTime added in v0.4.2

func (*StreamReadCompanyCostsRequest) ProtoMessage added in v0.4.2

func (*StreamReadCompanyCostsRequest) ProtoMessage()

func (*StreamReadCompanyCostsRequest) ProtoReflect added in v0.4.2

func (*StreamReadCompanyCostsRequest) Reset added in v0.4.2

func (x *StreamReadCompanyCostsRequest) Reset()

func (*StreamReadCompanyCostsRequest) String added in v0.4.2

type StreamReadCompanyFeesRequest added in v0.4.2

type StreamReadCompanyFeesRequest struct {

	// Required. The company id to stream.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. Timestamp to start streaming data from. If not set, the first day of the
	// current month will be used.
	StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Optional. Timestamp to end the streaming data. If not set, current date will be used.
	EndTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

Request message for AwsCost.StreamReadCompanyFees.

func (*StreamReadCompanyFeesRequest) Descriptor deprecated added in v0.4.2

func (*StreamReadCompanyFeesRequest) Descriptor() ([]byte, []int)

Deprecated: Use StreamReadCompanyFeesRequest.ProtoReflect.Descriptor instead.

func (*StreamReadCompanyFeesRequest) GetEndTime added in v0.4.2

func (*StreamReadCompanyFeesRequest) GetName added in v0.4.2

func (x *StreamReadCompanyFeesRequest) GetName() string

func (*StreamReadCompanyFeesRequest) GetStartTime added in v0.4.2

func (*StreamReadCompanyFeesRequest) ProtoMessage added in v0.4.2

func (*StreamReadCompanyFeesRequest) ProtoMessage()

func (*StreamReadCompanyFeesRequest) ProtoReflect added in v0.4.2

func (*StreamReadCompanyFeesRequest) Reset added in v0.4.2

func (x *StreamReadCompanyFeesRequest) Reset()

func (*StreamReadCompanyFeesRequest) String added in v0.4.2

type UnimplementedAwsCostServer

type UnimplementedAwsCostServer struct {
}

UnimplementedAwsCostServer must be embedded to have forward compatible implementations.

func (UnimplementedAwsCostServer) StreamReadAccountCosts added in v0.3.1

func (UnimplementedAwsCostServer) StreamReadAccountFees added in v0.4.0

func (UnimplementedAwsCostServer) StreamReadBillingGroupCosts added in v0.4.1

func (UnimplementedAwsCostServer) StreamReadBillingGroupFees added in v0.4.2

func (UnimplementedAwsCostServer) StreamReadCompanyCosts added in v0.4.2

func (UnimplementedAwsCostServer) StreamReadCompanyFees added in v0.4.2

type UnsafeAwsCostServer

type UnsafeAwsCostServer interface {
	// contains filtered or unexported methods
}

UnsafeAwsCostServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AwsCostServer will result in compilation errors.

Jump to

Keyboard shortcuts

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