Documentation ¶
Overview ¶
Package awscost is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func NewClient(ctx context.Context, opts ...ClientOption) (*grpcClient, error)
- func RegisterAwsCostHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAwsCostHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AwsCostClient) error
- func RegisterAwsCostHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAwsCostHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AwsCostServer) error
- func RegisterAwsCostServer(s grpc.ServiceRegistrar, srv AwsCostServer)
- type AwsCostClient
- type AwsCostServer
- type AwsCost_StreamReadAccountCostsClient
- type AwsCost_StreamReadAccountCostsServer
- type AwsCost_StreamReadAccountFeesClient
- type AwsCost_StreamReadAccountFeesServer
- type AwsCost_StreamReadBillingGroupCostsClient
- type AwsCost_StreamReadBillingGroupCostsServer
- type AwsCost_StreamReadBillingGroupFeesClient
- type AwsCost_StreamReadBillingGroupFeesServer
- type AwsCost_StreamReadCompanyCostsClient
- type AwsCost_StreamReadCompanyCostsServer
- type AwsCost_StreamReadCompanyFeesClient
- type AwsCost_StreamReadCompanyFeesServer
- type ClientOption
- type Cost
- func (*Cost) Descriptor() ([]byte, []int)deprecated
- func (x *Cost) GetAccount() string
- func (x *Cost) GetCost() float64
- func (x *Cost) GetDate() *timestamp.Timestamp
- func (x *Cost) GetDescription() string
- func (x *Cost) GetInstanceType() string
- func (x *Cost) GetInvoiceId() string
- func (x *Cost) GetOperation() string
- func (x *Cost) GetProductCode() string
- func (x *Cost) GetRegion() string
- func (x *Cost) GetServiceCode() string
- func (x *Cost) GetUsageAmount() float64
- func (x *Cost) GetUsageType() string
- func (x *Cost) GetZone() string
- func (*Cost) ProtoMessage()
- func (x *Cost) ProtoReflect() protoreflect.Message
- func (x *Cost) Reset()
- func (x *Cost) String() string
- type Fee
- func (*Fee) Descriptor() ([]byte, []int)deprecated
- func (x *Fee) GetAccount() string
- func (x *Fee) GetCost() float64
- func (x *Fee) GetDate() *timestamp.Timestamp
- func (x *Fee) GetDescription() string
- func (x *Fee) GetProductCode() string
- func (x *Fee) GetType() string
- func (*Fee) ProtoMessage()
- func (x *Fee) ProtoReflect() protoreflect.Message
- func (x *Fee) Reset()
- func (x *Fee) String() string
- type StreamReadAccountCostsRequest
- func (*StreamReadAccountCostsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamReadAccountCostsRequest) GetEndTime() *timestamp.Timestamp
- func (x *StreamReadAccountCostsRequest) GetName() string
- func (x *StreamReadAccountCostsRequest) GetStartTime() *timestamp.Timestamp
- func (*StreamReadAccountCostsRequest) ProtoMessage()
- func (x *StreamReadAccountCostsRequest) ProtoReflect() protoreflect.Message
- func (x *StreamReadAccountCostsRequest) Reset()
- func (x *StreamReadAccountCostsRequest) String() string
- type StreamReadAccountFeesRequest
- func (*StreamReadAccountFeesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamReadAccountFeesRequest) GetEndTime() *timestamp.Timestamp
- func (x *StreamReadAccountFeesRequest) GetName() string
- func (x *StreamReadAccountFeesRequest) GetStartTime() *timestamp.Timestamp
- func (*StreamReadAccountFeesRequest) ProtoMessage()
- func (x *StreamReadAccountFeesRequest) ProtoReflect() protoreflect.Message
- func (x *StreamReadAccountFeesRequest) Reset()
- func (x *StreamReadAccountFeesRequest) String() string
- type StreamReadBillingGroupCostsRequest
- func (*StreamReadBillingGroupCostsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamReadBillingGroupCostsRequest) GetEndTime() *timestamp.Timestamp
- func (x *StreamReadBillingGroupCostsRequest) GetName() string
- func (x *StreamReadBillingGroupCostsRequest) GetStartTime() *timestamp.Timestamp
- func (*StreamReadBillingGroupCostsRequest) ProtoMessage()
- func (x *StreamReadBillingGroupCostsRequest) ProtoReflect() protoreflect.Message
- func (x *StreamReadBillingGroupCostsRequest) Reset()
- func (x *StreamReadBillingGroupCostsRequest) String() string
- type StreamReadBillingGroupFeesRequest
- func (*StreamReadBillingGroupFeesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamReadBillingGroupFeesRequest) GetEndTime() *timestamp.Timestamp
- func (x *StreamReadBillingGroupFeesRequest) GetName() string
- func (x *StreamReadBillingGroupFeesRequest) GetStartTime() *timestamp.Timestamp
- func (*StreamReadBillingGroupFeesRequest) ProtoMessage()
- func (x *StreamReadBillingGroupFeesRequest) ProtoReflect() protoreflect.Message
- func (x *StreamReadBillingGroupFeesRequest) Reset()
- func (x *StreamReadBillingGroupFeesRequest) String() string
- type StreamReadCompanyCostsRequest
- func (*StreamReadCompanyCostsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamReadCompanyCostsRequest) GetEndTime() *timestamp.Timestamp
- func (x *StreamReadCompanyCostsRequest) GetName() string
- func (x *StreamReadCompanyCostsRequest) GetStartTime() *timestamp.Timestamp
- func (*StreamReadCompanyCostsRequest) ProtoMessage()
- func (x *StreamReadCompanyCostsRequest) ProtoReflect() protoreflect.Message
- func (x *StreamReadCompanyCostsRequest) Reset()
- func (x *StreamReadCompanyCostsRequest) String() string
- type StreamReadCompanyFeesRequest
- func (*StreamReadCompanyFeesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamReadCompanyFeesRequest) GetEndTime() *timestamp.Timestamp
- func (x *StreamReadCompanyFeesRequest) GetName() string
- func (x *StreamReadCompanyFeesRequest) GetStartTime() *timestamp.Timestamp
- func (*StreamReadCompanyFeesRequest) ProtoMessage()
- func (x *StreamReadCompanyFeesRequest) ProtoReflect() protoreflect.Message
- func (x *StreamReadCompanyFeesRequest) Reset()
- func (x *StreamReadCompanyFeesRequest) String() string
- type UnimplementedAwsCostServer
- func (UnimplementedAwsCostServer) StreamReadAccountCosts(*StreamReadAccountCostsRequest, AwsCost_StreamReadAccountCostsServer) error
- func (UnimplementedAwsCostServer) StreamReadAccountFees(*StreamReadAccountFeesRequest, AwsCost_StreamReadAccountFeesServer) error
- func (UnimplementedAwsCostServer) StreamReadBillingGroupCosts(*StreamReadBillingGroupCostsRequest, AwsCost_StreamReadBillingGroupCostsServer) error
- func (UnimplementedAwsCostServer) StreamReadBillingGroupFees(*StreamReadBillingGroupFeesRequest, AwsCost_StreamReadBillingGroupFeesServer) error
- func (UnimplementedAwsCostServer) StreamReadCompanyCosts(*StreamReadCompanyCostsRequest, AwsCost_StreamReadCompanyCostsServer) error
- func (UnimplementedAwsCostServer) StreamReadCompanyFees(*StreamReadCompanyFeesRequest, AwsCost_StreamReadCompanyFeesServer) error
- type UnsafeAwsCostServer
Constants ¶
const (
Address = ":443" // to be updated after prod deployment
)
Variables ¶
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)
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) GetAccount ¶ added in v0.3.1
func (*Cost) GetDescription ¶ added in v0.3.1
func (*Cost) GetInstanceType ¶ added in v0.3.1
func (*Cost) GetInvoiceId ¶ added in v0.3.1
func (*Cost) GetOperation ¶ added in v0.3.1
func (*Cost) GetProductCode ¶ added in v0.3.1
func (*Cost) GetServiceCode ¶ added in v0.3.1
func (*Cost) GetUsageAmount ¶ added in v0.3.1
func (*Cost) GetUsageType ¶ added in v0.3.1
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
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) GetAccount ¶ added in v0.4.0
func (*Fee) GetDescription ¶ added in v0.4.0
func (*Fee) GetProductCode ¶ added in v0.4.0
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
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 (x *StreamReadAccountCostsRequest) GetEndTime() *timestamp.Timestamp
func (*StreamReadAccountCostsRequest) GetName ¶ added in v0.3.1
func (x *StreamReadAccountCostsRequest) GetName() string
func (*StreamReadAccountCostsRequest) GetStartTime ¶ added in v0.3.1
func (x *StreamReadAccountCostsRequest) GetStartTime() *timestamp.Timestamp
func (*StreamReadAccountCostsRequest) ProtoMessage ¶ added in v0.3.1
func (*StreamReadAccountCostsRequest) ProtoMessage()
func (*StreamReadAccountCostsRequest) ProtoReflect ¶ added in v0.3.1
func (x *StreamReadAccountCostsRequest) ProtoReflect() protoreflect.Message
func (*StreamReadAccountCostsRequest) Reset ¶ added in v0.3.1
func (x *StreamReadAccountCostsRequest) Reset()
func (*StreamReadAccountCostsRequest) String ¶ added in v0.3.1
func (x *StreamReadAccountCostsRequest) String() string
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 (x *StreamReadAccountFeesRequest) GetEndTime() *timestamp.Timestamp
func (*StreamReadAccountFeesRequest) GetName ¶ added in v0.4.0
func (x *StreamReadAccountFeesRequest) GetName() string
func (*StreamReadAccountFeesRequest) GetStartTime ¶ added in v0.4.0
func (x *StreamReadAccountFeesRequest) GetStartTime() *timestamp.Timestamp
func (*StreamReadAccountFeesRequest) ProtoMessage ¶ added in v0.4.0
func (*StreamReadAccountFeesRequest) ProtoMessage()
func (*StreamReadAccountFeesRequest) ProtoReflect ¶ added in v0.4.0
func (x *StreamReadAccountFeesRequest) ProtoReflect() protoreflect.Message
func (*StreamReadAccountFeesRequest) Reset ¶ added in v0.4.0
func (x *StreamReadAccountFeesRequest) Reset()
func (*StreamReadAccountFeesRequest) String ¶ added in v0.4.0
func (x *StreamReadAccountFeesRequest) String() string
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 (x *StreamReadBillingGroupCostsRequest) GetEndTime() *timestamp.Timestamp
func (*StreamReadBillingGroupCostsRequest) GetName ¶ added in v0.4.1
func (x *StreamReadBillingGroupCostsRequest) GetName() string
func (*StreamReadBillingGroupCostsRequest) GetStartTime ¶ added in v0.4.1
func (x *StreamReadBillingGroupCostsRequest) GetStartTime() *timestamp.Timestamp
func (*StreamReadBillingGroupCostsRequest) ProtoMessage ¶ added in v0.4.1
func (*StreamReadBillingGroupCostsRequest) ProtoMessage()
func (*StreamReadBillingGroupCostsRequest) ProtoReflect ¶ added in v0.4.1
func (x *StreamReadBillingGroupCostsRequest) ProtoReflect() protoreflect.Message
func (*StreamReadBillingGroupCostsRequest) Reset ¶ added in v0.4.1
func (x *StreamReadBillingGroupCostsRequest) Reset()
func (*StreamReadBillingGroupCostsRequest) String ¶ added in v0.4.1
func (x *StreamReadBillingGroupCostsRequest) String() string
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 (x *StreamReadBillingGroupFeesRequest) GetEndTime() *timestamp.Timestamp
func (*StreamReadBillingGroupFeesRequest) GetName ¶ added in v0.4.2
func (x *StreamReadBillingGroupFeesRequest) GetName() string
func (*StreamReadBillingGroupFeesRequest) GetStartTime ¶ added in v0.4.2
func (x *StreamReadBillingGroupFeesRequest) GetStartTime() *timestamp.Timestamp
func (*StreamReadBillingGroupFeesRequest) ProtoMessage ¶ added in v0.4.2
func (*StreamReadBillingGroupFeesRequest) ProtoMessage()
func (*StreamReadBillingGroupFeesRequest) ProtoReflect ¶ added in v0.4.2
func (x *StreamReadBillingGroupFeesRequest) ProtoReflect() protoreflect.Message
func (*StreamReadBillingGroupFeesRequest) Reset ¶ added in v0.4.2
func (x *StreamReadBillingGroupFeesRequest) Reset()
func (*StreamReadBillingGroupFeesRequest) String ¶ added in v0.4.2
func (x *StreamReadBillingGroupFeesRequest) String() string
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 (x *StreamReadCompanyCostsRequest) GetEndTime() *timestamp.Timestamp
func (*StreamReadCompanyCostsRequest) GetName ¶ added in v0.4.2
func (x *StreamReadCompanyCostsRequest) GetName() string
func (*StreamReadCompanyCostsRequest) GetStartTime ¶ added in v0.4.2
func (x *StreamReadCompanyCostsRequest) GetStartTime() *timestamp.Timestamp
func (*StreamReadCompanyCostsRequest) ProtoMessage ¶ added in v0.4.2
func (*StreamReadCompanyCostsRequest) ProtoMessage()
func (*StreamReadCompanyCostsRequest) ProtoReflect ¶ added in v0.4.2
func (x *StreamReadCompanyCostsRequest) ProtoReflect() protoreflect.Message
func (*StreamReadCompanyCostsRequest) Reset ¶ added in v0.4.2
func (x *StreamReadCompanyCostsRequest) Reset()
func (*StreamReadCompanyCostsRequest) String ¶ added in v0.4.2
func (x *StreamReadCompanyCostsRequest) String() string
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 (x *StreamReadCompanyFeesRequest) GetEndTime() *timestamp.Timestamp
func (*StreamReadCompanyFeesRequest) GetName ¶ added in v0.4.2
func (x *StreamReadCompanyFeesRequest) GetName() string
func (*StreamReadCompanyFeesRequest) GetStartTime ¶ added in v0.4.2
func (x *StreamReadCompanyFeesRequest) GetStartTime() *timestamp.Timestamp
func (*StreamReadCompanyFeesRequest) ProtoMessage ¶ added in v0.4.2
func (*StreamReadCompanyFeesRequest) ProtoMessage()
func (*StreamReadCompanyFeesRequest) ProtoReflect ¶ added in v0.4.2
func (x *StreamReadCompanyFeesRequest) ProtoReflect() protoreflect.Message
func (*StreamReadCompanyFeesRequest) Reset ¶ added in v0.4.2
func (x *StreamReadCompanyFeesRequest) Reset()
func (*StreamReadCompanyFeesRequest) String ¶ added in v0.4.2
func (x *StreamReadCompanyFeesRequest) String() string
type UnimplementedAwsCostServer ¶
type UnimplementedAwsCostServer struct { }
UnimplementedAwsCostServer must be embedded to have forward compatible implementations.
func (UnimplementedAwsCostServer) StreamReadAccountCosts ¶ added in v0.3.1
func (UnimplementedAwsCostServer) StreamReadAccountCosts(*StreamReadAccountCostsRequest, AwsCost_StreamReadAccountCostsServer) error
func (UnimplementedAwsCostServer) StreamReadAccountFees ¶ added in v0.4.0
func (UnimplementedAwsCostServer) StreamReadAccountFees(*StreamReadAccountFeesRequest, AwsCost_StreamReadAccountFeesServer) error
func (UnimplementedAwsCostServer) StreamReadBillingGroupCosts ¶ added in v0.4.1
func (UnimplementedAwsCostServer) StreamReadBillingGroupCosts(*StreamReadBillingGroupCostsRequest, AwsCost_StreamReadBillingGroupCostsServer) error
func (UnimplementedAwsCostServer) StreamReadBillingGroupFees ¶ added in v0.4.2
func (UnimplementedAwsCostServer) StreamReadBillingGroupFees(*StreamReadBillingGroupFeesRequest, AwsCost_StreamReadBillingGroupFeesServer) error
func (UnimplementedAwsCostServer) StreamReadCompanyCosts ¶ added in v0.4.2
func (UnimplementedAwsCostServer) StreamReadCompanyCosts(*StreamReadCompanyCostsRequest, AwsCost_StreamReadCompanyCostsServer) error
func (UnimplementedAwsCostServer) StreamReadCompanyFees ¶ added in v0.4.2
func (UnimplementedAwsCostServer) StreamReadCompanyFees(*StreamReadCompanyFeesRequest, AwsCost_StreamReadCompanyFeesServer) error
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.