Documentation ¶
Overview ¶
Package csm provides the client and types for making API requests to Amazon Client-Side Monitoring.
See https://docs.aws.amazon.com/goto/WebAPI/client-side-monitoring-2018-10-23 for more information on this service.
See csm package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/csm/
Using the Client ¶
To contact Amazon Client-Side Monitoring with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the Amazon Client-Side Monitoring client CSM for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/csm/#New
Index ¶
- Constants
- type CSM
- func (c *CSM) GetPublishingConfiguration(input *GetPublishingConfigurationInput) (*GetPublishingConfigurationOutput, error)
- func (c *CSM) GetPublishingConfigurationRequest(input *GetPublishingConfigurationInput) (req *request.Request, output *GetPublishingConfigurationOutput)
- func (c *CSM) GetPublishingConfigurationWithContext(ctx aws.Context, input *GetPublishingConfigurationInput, ...) (*GetPublishingConfigurationOutput, error)
- func (c *CSM) GetPublishingSchema(input *GetPublishingSchemaInput) (*GetPublishingSchemaOutput, error)
- func (c *CSM) GetPublishingSchemaRequest(input *GetPublishingSchemaInput) (req *request.Request, output *GetPublishingSchemaOutput)
- func (c *CSM) GetPublishingSchemaWithContext(ctx aws.Context, input *GetPublishingSchemaInput, opts ...request.Option) (*GetPublishingSchemaOutput, error)
- func (c *CSM) PutPublishingMetrics(input *PutPublishingMetricsInput) (*PutPublishingMetricsOutput, error)
- func (c *CSM) PutPublishingMetricsRequest(input *PutPublishingMetricsInput) (req *request.Request, output *PutPublishingMetricsOutput)
- func (c *CSM) PutPublishingMetricsWithContext(ctx aws.Context, input *PutPublishingMetricsInput, opts ...request.Option) (*PutPublishingMetricsOutput, error)
- type GetPublishingConfigurationInput
- type GetPublishingConfigurationOutput
- func (s GetPublishingConfigurationOutput) GoString() string
- func (s *GetPublishingConfigurationOutput) SetEndpoint(v string) *GetPublishingConfigurationOutput
- func (s *GetPublishingConfigurationOutput) SetQueryIntervalInMinutes(v int64) *GetPublishingConfigurationOutput
- func (s *GetPublishingConfigurationOutput) SetSchemaVersion(v string) *GetPublishingConfigurationOutput
- func (s *GetPublishingConfigurationOutput) SetStatus(v string) *GetPublishingConfigurationOutput
- func (s GetPublishingConfigurationOutput) String() string
- type GetPublishingSchemaInput
- type GetPublishingSchemaOutput
- func (s GetPublishingSchemaOutput) GoString() string
- func (s *GetPublishingSchemaOutput) SetMonitoringEventEntrySchemas(v []*MonitoringEventEntrySchema) *GetPublishingSchemaOutput
- func (s *GetPublishingSchemaOutput) SetMonitoringEventSchemas(v []*MonitoringEventSchema) *GetPublishingSchemaOutput
- func (s *GetPublishingSchemaOutput) SetServiceLimits(v *ServiceLimits) *GetPublishingSchemaOutput
- func (s GetPublishingSchemaOutput) String() string
- type HostEnvironment
- func (s HostEnvironment) GoString() string
- func (s *HostEnvironment) SetAvailabilityZone(v string) *HostEnvironment
- func (s *HostEnvironment) SetInstanceId(v string) *HostEnvironment
- func (s *HostEnvironment) SetOs(v string) *HostEnvironment
- func (s *HostEnvironment) SetProperties(v []*string) *HostEnvironment
- func (s *HostEnvironment) SetVpcId(v string) *HostEnvironment
- func (s HostEnvironment) String() string
- type InternalServiceException
- func (s *InternalServiceException) Code() string
- func (s *InternalServiceException) Error() string
- func (s InternalServiceException) GoString() string
- func (s *InternalServiceException) Message() string
- func (s *InternalServiceException) OrigErr() error
- func (s *InternalServiceException) RequestID() string
- func (s *InternalServiceException) StatusCode() int
- func (s InternalServiceException) String() string
- type InvalidRequestException
- func (s *InvalidRequestException) Code() string
- func (s *InvalidRequestException) Error() string
- func (s InvalidRequestException) GoString() string
- func (s *InvalidRequestException) Message() string
- func (s *InvalidRequestException) OrigErr() error
- func (s *InvalidRequestException) RequestID() string
- func (s *InvalidRequestException) StatusCode() int
- func (s InvalidRequestException) String() string
- type MonitoringEventEntrySchema
- func (s MonitoringEventEntrySchema) GoString() string
- func (s *MonitoringEventEntrySchema) SetKeyType(v string) *MonitoringEventEntrySchema
- func (s *MonitoringEventEntrySchema) SetMetricType(v string) *MonitoringEventEntrySchema
- func (s *MonitoringEventEntrySchema) SetName(v string) *MonitoringEventEntrySchema
- func (s MonitoringEventEntrySchema) String() string
- type MonitoringEventSchema
- func (s MonitoringEventSchema) GoString() string
- func (s *MonitoringEventSchema) SetMaxSampleCount(v int64) *MonitoringEventSchema
- func (s *MonitoringEventSchema) SetName(v string) *MonitoringEventSchema
- func (s *MonitoringEventSchema) SetSampleRate(v float64) *MonitoringEventSchema
- func (s MonitoringEventSchema) String() string
- type PublishingMetric
- func (s PublishingMetric) GoString() string
- func (s *PublishingMetric) SetEndpoint(v string) *PublishingMetric
- func (s *PublishingMetric) SetName(v string) *PublishingMetric
- func (s *PublishingMetric) SetStatisticSet(v *StatisticSet) *PublishingMetric
- func (s *PublishingMetric) SetTimestamp(v time.Time) *PublishingMetric
- func (s PublishingMetric) String() string
- func (s *PublishingMetric) Validate() error
- type PutPublishingMetricsInput
- func (s PutPublishingMetricsInput) GoString() string
- func (s *PutPublishingMetricsInput) SetHostEnvironment(v *HostEnvironment) *PutPublishingMetricsInput
- func (s *PutPublishingMetricsInput) SetMetrics(v []*PublishingMetric) *PutPublishingMetricsInput
- func (s PutPublishingMetricsInput) String() string
- func (s *PutPublishingMetricsInput) Validate() error
- type PutPublishingMetricsOutput
- type ResourceNotFoundException
- func (s *ResourceNotFoundException) Code() string
- func (s *ResourceNotFoundException) Error() string
- func (s ResourceNotFoundException) GoString() string
- func (s *ResourceNotFoundException) Message() string
- func (s *ResourceNotFoundException) OrigErr() error
- func (s *ResourceNotFoundException) RequestID() string
- func (s *ResourceNotFoundException) StatusCode() int
- func (s ResourceNotFoundException) String() string
- type ServiceLimits
- func (s ServiceLimits) GoString() string
- func (s *ServiceLimits) SetCompressedEventSamplesSizeLimit(v int64) *ServiceLimits
- func (s *ServiceLimits) SetFrequencyDistributionEntryKeySizeLimit(v int64) *ServiceLimits
- func (s *ServiceLimits) SetFrequencyMetricDistributionSizeLimit(v int64) *ServiceLimits
- func (s *ServiceLimits) SetPublishingMetricsLimit(v int64) *ServiceLimits
- func (s *ServiceLimits) SetSdkAggregationKeyEntryValueSizeLimit(v int64) *ServiceLimits
- func (s *ServiceLimits) SetSdkMonitoringRecordsLimit(v int64) *ServiceLimits
- func (s *ServiceLimits) SetSehBucketLimit(v int64) *ServiceLimits
- func (s *ServiceLimits) SetUncompressedSamplesLengthLimit(v int64) *ServiceLimits
- func (s ServiceLimits) String() string
- type StatisticSet
- func (s StatisticSet) GoString() string
- func (s *StatisticSet) SetMaximum(v float64) *StatisticSet
- func (s *StatisticSet) SetMinimum(v float64) *StatisticSet
- func (s *StatisticSet) SetSampleCount(v float64) *StatisticSet
- func (s *StatisticSet) SetSum(v float64) *StatisticSet
- func (s StatisticSet) String() string
- func (s *StatisticSet) Validate() error
Constants ¶
const ( // ClientPublishingStatusTypeReady is a ClientPublishingStatusType enum value ClientPublishingStatusTypeReady = "READY" // ClientPublishingStatusTypePaused is a ClientPublishingStatusType enum value ClientPublishingStatusTypePaused = "PAUSED" // ClientPublishingStatusTypeSuspended is a ClientPublishingStatusType enum value ClientPublishingStatusTypeSuspended = "SUSPENDED" // ClientPublishingStatusTypeTerminated is a ClientPublishingStatusType enum value ClientPublishingStatusTypeTerminated = "TERMINATED" )
const ( // EnvironmentPropertyTypeEc2 is a EnvironmentPropertyType enum value EnvironmentPropertyTypeEc2 = "EC2" // EnvironmentPropertyTypeLambda is a EnvironmentPropertyType enum value EnvironmentPropertyTypeLambda = "LAMBDA" )
const ( // MonitoringEventEntryKeyTypeNone is a MonitoringEventEntryKeyType enum value MonitoringEventEntryKeyTypeNone = "NONE" // MonitoringEventEntryKeyTypeAggregation is a MonitoringEventEntryKeyType enum value MonitoringEventEntryKeyTypeAggregation = "AGGREGATION" // MonitoringEventEntryKeyTypeAggregationTimestamp is a MonitoringEventEntryKeyType enum value MonitoringEventEntryKeyTypeAggregationTimestamp = "AGGREGATION_TIMESTAMP" // MonitoringEventEntryKeyTypeSample is a MonitoringEventEntryKeyType enum value MonitoringEventEntryKeyTypeSample = "SAMPLE" )
const ( // MonitoringEventEntryMetricTypeNone is a MonitoringEventEntryMetricType enum value MonitoringEventEntryMetricTypeNone = "NONE" // MonitoringEventEntryMetricTypeFrequency is a MonitoringEventEntryMetricType enum value MonitoringEventEntryMetricTypeFrequency = "FREQUENCY" // MonitoringEventEntryMetricTypeSeh is a MonitoringEventEntryMetricType enum value MonitoringEventEntryMetricTypeSeh = "SEH" )
const ( // ErrCodeInternalServiceException for service response error code // "InternalServiceException". ErrCodeInternalServiceException = "InternalServiceException" // ErrCodeInvalidRequestException for service response error code // "InvalidRequestException". ErrCodeInvalidRequestException = "InvalidRequestException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". ErrCodeResourceNotFoundException = "ResourceNotFoundException" )
const ( ServiceName = "ClientSideMonitoring" // Name of service. EndpointsID = ServiceName // ID to lookup a service endpoint with. ServiceID = "ClientSideMonitoring" // ServiceID is a unique identifier of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSM ¶
CSM provides the API operation methods for making requests to Amazon Client-Side Monitoring. See this package's package overview docs for details on the service.
CSM methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *CSM
New creates a new instance of the CSM client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
mySession := session.Must(session.NewSession()) // Create a CSM client from just a session. svc := csm.New(mySession) // Create a CSM client with additional configuration svc := csm.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*CSM) GetPublishingConfiguration ¶
func (c *CSM) GetPublishingConfiguration(input *GetPublishingConfigurationInput) (*GetPublishingConfigurationOutput, error)
GetPublishingConfiguration API operation for Amazon Client-Side Monitoring.
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 AWS API reference guide for Amazon Client-Side Monitoring's API operation GetPublishingConfiguration for usage and error information.
Returned Error Types:
- InternalServiceException
See also, https://docs.aws.amazon.com/goto/WebAPI/client-side-monitoring-2018-10-23/GetPublishingConfiguration
func (*CSM) GetPublishingConfigurationRequest ¶
func (c *CSM) GetPublishingConfigurationRequest(input *GetPublishingConfigurationInput) (req *request.Request, output *GetPublishingConfigurationOutput)
GetPublishingConfigurationRequest generates a "aws/request.Request" representing the client's request for the GetPublishingConfiguration 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 GetPublishingConfiguration for more information on using the GetPublishingConfiguration 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 GetPublishingConfigurationRequest method. req, resp := client.GetPublishingConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/client-side-monitoring-2018-10-23/GetPublishingConfiguration
func (*CSM) GetPublishingConfigurationWithContext ¶
func (c *CSM) GetPublishingConfigurationWithContext(ctx aws.Context, input *GetPublishingConfigurationInput, opts ...request.Option) (*GetPublishingConfigurationOutput, error)
GetPublishingConfigurationWithContext is the same as GetPublishingConfiguration with the addition of the ability to pass a context and additional request options.
See GetPublishingConfiguration 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 (*CSM) GetPublishingSchema ¶
func (c *CSM) GetPublishingSchema(input *GetPublishingSchemaInput) (*GetPublishingSchemaOutput, error)
GetPublishingSchema API operation for Amazon Client-Side Monitoring.
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 AWS API reference guide for Amazon Client-Side Monitoring's API operation GetPublishingSchema for usage and error information.
Returned Error Types:
InternalServiceException
InvalidRequestException
ResourceNotFoundException
See also, https://docs.aws.amazon.com/goto/WebAPI/client-side-monitoring-2018-10-23/GetPublishingSchema
func (*CSM) GetPublishingSchemaRequest ¶
func (c *CSM) GetPublishingSchemaRequest(input *GetPublishingSchemaInput) (req *request.Request, output *GetPublishingSchemaOutput)
GetPublishingSchemaRequest generates a "aws/request.Request" representing the client's request for the GetPublishingSchema 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 GetPublishingSchema for more information on using the GetPublishingSchema 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 GetPublishingSchemaRequest method. req, resp := client.GetPublishingSchemaRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/client-side-monitoring-2018-10-23/GetPublishingSchema
func (*CSM) GetPublishingSchemaWithContext ¶
func (c *CSM) GetPublishingSchemaWithContext(ctx aws.Context, input *GetPublishingSchemaInput, opts ...request.Option) (*GetPublishingSchemaOutput, error)
GetPublishingSchemaWithContext is the same as GetPublishingSchema with the addition of the ability to pass a context and additional request options.
See GetPublishingSchema 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 (*CSM) PutPublishingMetrics ¶
func (c *CSM) PutPublishingMetrics(input *PutPublishingMetricsInput) (*PutPublishingMetricsOutput, error)
PutPublishingMetrics API operation for Amazon Client-Side Monitoring.
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 AWS API reference guide for Amazon Client-Side Monitoring's API operation PutPublishingMetrics for usage and error information.
Returned Error Types:
InvalidRequestException
InternalServiceException
See also, https://docs.aws.amazon.com/goto/WebAPI/client-side-monitoring-2018-10-23/PutPublishingMetrics
func (*CSM) PutPublishingMetricsRequest ¶
func (c *CSM) PutPublishingMetricsRequest(input *PutPublishingMetricsInput) (req *request.Request, output *PutPublishingMetricsOutput)
PutPublishingMetricsRequest generates a "aws/request.Request" representing the client's request for the PutPublishingMetrics 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 PutPublishingMetrics for more information on using the PutPublishingMetrics 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 PutPublishingMetricsRequest method. req, resp := client.PutPublishingMetricsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/client-side-monitoring-2018-10-23/PutPublishingMetrics
func (*CSM) PutPublishingMetricsWithContext ¶
func (c *CSM) PutPublishingMetricsWithContext(ctx aws.Context, input *PutPublishingMetricsInput, opts ...request.Option) (*PutPublishingMetricsOutput, error)
PutPublishingMetricsWithContext is the same as PutPublishingMetrics with the addition of the ability to pass a context and additional request options.
See PutPublishingMetrics 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.
type GetPublishingConfigurationInput ¶
type GetPublishingConfigurationInput struct {
// contains filtered or unexported fields
}
func (GetPublishingConfigurationInput) GoString ¶
func (s GetPublishingConfigurationInput) GoString() string
GoString returns the string representation
func (GetPublishingConfigurationInput) String ¶
func (s GetPublishingConfigurationInput) String() string
String returns the string representation
type GetPublishingConfigurationOutput ¶
type GetPublishingConfigurationOutput struct { Endpoint *string `locationName:"endpoint" min:"1" type:"string"` QueryIntervalInMinutes *int64 `locationName:"queryIntervalInMinutes" min:"15" type:"integer"` SchemaVersion *string `locationName:"schemaVersion" type:"string"` Status *string `locationName:"status" type:"string" enum:"ClientPublishingStatusType"` // contains filtered or unexported fields }
func (GetPublishingConfigurationOutput) GoString ¶
func (s GetPublishingConfigurationOutput) GoString() string
GoString returns the string representation
func (*GetPublishingConfigurationOutput) SetEndpoint ¶
func (s *GetPublishingConfigurationOutput) SetEndpoint(v string) *GetPublishingConfigurationOutput
SetEndpoint sets the Endpoint field's value.
func (*GetPublishingConfigurationOutput) SetQueryIntervalInMinutes ¶
func (s *GetPublishingConfigurationOutput) SetQueryIntervalInMinutes(v int64) *GetPublishingConfigurationOutput
SetQueryIntervalInMinutes sets the QueryIntervalInMinutes field's value.
func (*GetPublishingConfigurationOutput) SetSchemaVersion ¶
func (s *GetPublishingConfigurationOutput) SetSchemaVersion(v string) *GetPublishingConfigurationOutput
SetSchemaVersion sets the SchemaVersion field's value.
func (*GetPublishingConfigurationOutput) SetStatus ¶
func (s *GetPublishingConfigurationOutput) SetStatus(v string) *GetPublishingConfigurationOutput
SetStatus sets the Status field's value.
func (GetPublishingConfigurationOutput) String ¶
func (s GetPublishingConfigurationOutput) String() string
String returns the string representation
type GetPublishingSchemaInput ¶
type GetPublishingSchemaInput struct { // SchemaVersion is a required field SchemaVersion *string `locationName:"schemaVersion" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetPublishingSchemaInput) GoString ¶
func (s GetPublishingSchemaInput) GoString() string
GoString returns the string representation
func (*GetPublishingSchemaInput) SetSchemaVersion ¶
func (s *GetPublishingSchemaInput) SetSchemaVersion(v string) *GetPublishingSchemaInput
SetSchemaVersion sets the SchemaVersion field's value.
func (GetPublishingSchemaInput) String ¶
func (s GetPublishingSchemaInput) String() string
String returns the string representation
func (*GetPublishingSchemaInput) Validate ¶
func (s *GetPublishingSchemaInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetPublishingSchemaOutput ¶
type GetPublishingSchemaOutput struct { MonitoringEventEntrySchemas []*MonitoringEventEntrySchema `locationName:"monitoringEventEntrySchemas" type:"list"` MonitoringEventSchemas []*MonitoringEventSchema `locationName:"monitoringEventSchemas" type:"list"` ServiceLimits *ServiceLimits `locationName:"serviceLimits" type:"structure"` // contains filtered or unexported fields }
func (GetPublishingSchemaOutput) GoString ¶
func (s GetPublishingSchemaOutput) GoString() string
GoString returns the string representation
func (*GetPublishingSchemaOutput) SetMonitoringEventEntrySchemas ¶
func (s *GetPublishingSchemaOutput) SetMonitoringEventEntrySchemas(v []*MonitoringEventEntrySchema) *GetPublishingSchemaOutput
SetMonitoringEventEntrySchemas sets the MonitoringEventEntrySchemas field's value.
func (*GetPublishingSchemaOutput) SetMonitoringEventSchemas ¶
func (s *GetPublishingSchemaOutput) SetMonitoringEventSchemas(v []*MonitoringEventSchema) *GetPublishingSchemaOutput
SetMonitoringEventSchemas sets the MonitoringEventSchemas field's value.
func (*GetPublishingSchemaOutput) SetServiceLimits ¶
func (s *GetPublishingSchemaOutput) SetServiceLimits(v *ServiceLimits) *GetPublishingSchemaOutput
SetServiceLimits sets the ServiceLimits field's value.
func (GetPublishingSchemaOutput) String ¶
func (s GetPublishingSchemaOutput) String() string
String returns the string representation
type HostEnvironment ¶
type HostEnvironment struct { AvailabilityZone *string `locationName:"availabilityZone" type:"string"` InstanceId *string `locationName:"instanceId" type:"string"` Os *string `locationName:"os" type:"string"` Properties []*string `locationName:"properties" type:"list"` VpcId *string `locationName:"vpcId" type:"string"` // contains filtered or unexported fields }
func (HostEnvironment) GoString ¶
func (s HostEnvironment) GoString() string
GoString returns the string representation
func (*HostEnvironment) SetAvailabilityZone ¶
func (s *HostEnvironment) SetAvailabilityZone(v string) *HostEnvironment
SetAvailabilityZone sets the AvailabilityZone field's value.
func (*HostEnvironment) SetInstanceId ¶
func (s *HostEnvironment) SetInstanceId(v string) *HostEnvironment
SetInstanceId sets the InstanceId field's value.
func (*HostEnvironment) SetOs ¶
func (s *HostEnvironment) SetOs(v string) *HostEnvironment
SetOs sets the Os field's value.
func (*HostEnvironment) SetProperties ¶
func (s *HostEnvironment) SetProperties(v []*string) *HostEnvironment
SetProperties sets the Properties field's value.
func (*HostEnvironment) SetVpcId ¶
func (s *HostEnvironment) SetVpcId(v string) *HostEnvironment
SetVpcId sets the VpcId field's value.
func (HostEnvironment) String ¶
func (s HostEnvironment) String() string
String returns the string representation
type InternalServiceException ¶
type InternalServiceException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
func (*InternalServiceException) Code ¶
func (s *InternalServiceException) Code() string
Code returns the exception type name.
func (*InternalServiceException) Error ¶
func (s *InternalServiceException) Error() string
func (InternalServiceException) GoString ¶
func (s InternalServiceException) GoString() string
GoString returns the string representation
func (*InternalServiceException) Message ¶
func (s *InternalServiceException) Message() string
Message returns the exception's message.
func (*InternalServiceException) OrigErr ¶
func (s *InternalServiceException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InternalServiceException) RequestID ¶
func (s *InternalServiceException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InternalServiceException) StatusCode ¶
func (s *InternalServiceException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InternalServiceException) String ¶
func (s InternalServiceException) String() string
String returns the string representation
type InvalidRequestException ¶
type InvalidRequestException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
func (*InvalidRequestException) Code ¶
func (s *InvalidRequestException) Code() string
Code returns the exception type name.
func (*InvalidRequestException) Error ¶
func (s *InvalidRequestException) Error() string
func (InvalidRequestException) GoString ¶
func (s InvalidRequestException) GoString() string
GoString returns the string representation
func (*InvalidRequestException) Message ¶
func (s *InvalidRequestException) Message() string
Message returns the exception's message.
func (*InvalidRequestException) OrigErr ¶
func (s *InvalidRequestException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidRequestException) RequestID ¶
func (s *InvalidRequestException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidRequestException) StatusCode ¶
func (s *InvalidRequestException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidRequestException) String ¶
func (s InvalidRequestException) String() string
String returns the string representation
type MonitoringEventEntrySchema ¶
type MonitoringEventEntrySchema struct { KeyType *string `locationName:"keyType" type:"string" enum:"MonitoringEventEntryKeyType"` MetricType *string `locationName:"metricType" type:"string" enum:"MonitoringEventEntryMetricType"` Name *string `locationName:"name" type:"string"` // contains filtered or unexported fields }
func (MonitoringEventEntrySchema) GoString ¶
func (s MonitoringEventEntrySchema) GoString() string
GoString returns the string representation
func (*MonitoringEventEntrySchema) SetKeyType ¶
func (s *MonitoringEventEntrySchema) SetKeyType(v string) *MonitoringEventEntrySchema
SetKeyType sets the KeyType field's value.
func (*MonitoringEventEntrySchema) SetMetricType ¶
func (s *MonitoringEventEntrySchema) SetMetricType(v string) *MonitoringEventEntrySchema
SetMetricType sets the MetricType field's value.
func (*MonitoringEventEntrySchema) SetName ¶
func (s *MonitoringEventEntrySchema) SetName(v string) *MonitoringEventEntrySchema
SetName sets the Name field's value.
func (MonitoringEventEntrySchema) String ¶
func (s MonitoringEventEntrySchema) String() string
String returns the string representation
type MonitoringEventSchema ¶
type MonitoringEventSchema struct { MaxSampleCount *int64 `locationName:"maxSampleCount" type:"integer"` Name *string `locationName:"name" type:"string"` SampleRate *float64 `locationName:"sampleRate" type:"double"` // contains filtered or unexported fields }
func (MonitoringEventSchema) GoString ¶
func (s MonitoringEventSchema) GoString() string
GoString returns the string representation
func (*MonitoringEventSchema) SetMaxSampleCount ¶
func (s *MonitoringEventSchema) SetMaxSampleCount(v int64) *MonitoringEventSchema
SetMaxSampleCount sets the MaxSampleCount field's value.
func (*MonitoringEventSchema) SetName ¶
func (s *MonitoringEventSchema) SetName(v string) *MonitoringEventSchema
SetName sets the Name field's value.
func (*MonitoringEventSchema) SetSampleRate ¶
func (s *MonitoringEventSchema) SetSampleRate(v float64) *MonitoringEventSchema
SetSampleRate sets the SampleRate field's value.
func (MonitoringEventSchema) String ¶
func (s MonitoringEventSchema) String() string
String returns the string representation
type PublishingMetric ¶
type PublishingMetric struct { // Endpoint is a required field Endpoint *string `locationName:"endpoint" min:"1" type:"string" required:"true"` // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // StatisticSet is a required field StatisticSet *StatisticSet `locationName:"statisticSet" type:"structure" required:"true"` // Timestamp is a required field Timestamp *time.Time `locationName:"timestamp" type:"timestamp" required:"true"` // contains filtered or unexported fields }
func (PublishingMetric) GoString ¶
func (s PublishingMetric) GoString() string
GoString returns the string representation
func (*PublishingMetric) SetEndpoint ¶
func (s *PublishingMetric) SetEndpoint(v string) *PublishingMetric
SetEndpoint sets the Endpoint field's value.
func (*PublishingMetric) SetName ¶
func (s *PublishingMetric) SetName(v string) *PublishingMetric
SetName sets the Name field's value.
func (*PublishingMetric) SetStatisticSet ¶
func (s *PublishingMetric) SetStatisticSet(v *StatisticSet) *PublishingMetric
SetStatisticSet sets the StatisticSet field's value.
func (*PublishingMetric) SetTimestamp ¶
func (s *PublishingMetric) SetTimestamp(v time.Time) *PublishingMetric
SetTimestamp sets the Timestamp field's value.
func (PublishingMetric) String ¶
func (s PublishingMetric) String() string
String returns the string representation
func (*PublishingMetric) Validate ¶
func (s *PublishingMetric) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutPublishingMetricsInput ¶
type PutPublishingMetricsInput struct { // HostEnvironment is a required field HostEnvironment *HostEnvironment `locationName:"hostEnvironment" type:"structure" required:"true"` // Metrics is a required field Metrics []*PublishingMetric `locationName:"metrics" type:"list" required:"true"` // contains filtered or unexported fields }
func (PutPublishingMetricsInput) GoString ¶
func (s PutPublishingMetricsInput) GoString() string
GoString returns the string representation
func (*PutPublishingMetricsInput) SetHostEnvironment ¶
func (s *PutPublishingMetricsInput) SetHostEnvironment(v *HostEnvironment) *PutPublishingMetricsInput
SetHostEnvironment sets the HostEnvironment field's value.
func (*PutPublishingMetricsInput) SetMetrics ¶
func (s *PutPublishingMetricsInput) SetMetrics(v []*PublishingMetric) *PutPublishingMetricsInput
SetMetrics sets the Metrics field's value.
func (PutPublishingMetricsInput) String ¶
func (s PutPublishingMetricsInput) String() string
String returns the string representation
func (*PutPublishingMetricsInput) Validate ¶
func (s *PutPublishingMetricsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutPublishingMetricsOutput ¶
type PutPublishingMetricsOutput struct {
// contains filtered or unexported fields
}
func (PutPublishingMetricsOutput) GoString ¶
func (s PutPublishingMetricsOutput) GoString() string
GoString returns the string representation
func (PutPublishingMetricsOutput) String ¶
func (s PutPublishingMetricsOutput) String() string
String returns the string representation
type ResourceNotFoundException ¶
type ResourceNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
func (*ResourceNotFoundException) Code ¶
func (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (*ResourceNotFoundException) Error ¶
func (s *ResourceNotFoundException) Error() string
func (ResourceNotFoundException) GoString ¶
func (s ResourceNotFoundException) GoString() string
GoString returns the string representation
func (*ResourceNotFoundException) Message ¶
func (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (*ResourceNotFoundException) OrigErr ¶
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceNotFoundException) RequestID ¶
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceNotFoundException) StatusCode ¶
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceNotFoundException) String ¶
func (s ResourceNotFoundException) String() string
String returns the string representation
type ServiceLimits ¶
type ServiceLimits struct { CompressedEventSamplesSizeLimit *int64 `locationName:"compressedEventSamplesSizeLimit" type:"integer"` FrequencyDistributionEntryKeySizeLimit *int64 `locationName:"frequencyDistributionEntryKeySizeLimit" type:"integer"` FrequencyMetricDistributionSizeLimit *int64 `locationName:"frequencyMetricDistributionSizeLimit" type:"integer"` PublishingMetricsLimit *int64 `locationName:"publishingMetricsLimit" type:"integer"` SdkAggregationKeyEntryValueSizeLimit *int64 `locationName:"sdkAggregationKeyEntryValueSizeLimit" type:"integer"` SdkMonitoringRecordsLimit *int64 `locationName:"sdkMonitoringRecordsLimit" type:"integer"` SehBucketLimit *int64 `locationName:"sehBucketLimit" type:"integer"` UncompressedSamplesLengthLimit *int64 `locationName:"uncompressedSamplesLengthLimit" type:"integer"` // contains filtered or unexported fields }
func (ServiceLimits) GoString ¶
func (s ServiceLimits) GoString() string
GoString returns the string representation
func (*ServiceLimits) SetCompressedEventSamplesSizeLimit ¶
func (s *ServiceLimits) SetCompressedEventSamplesSizeLimit(v int64) *ServiceLimits
SetCompressedEventSamplesSizeLimit sets the CompressedEventSamplesSizeLimit field's value.
func (*ServiceLimits) SetFrequencyDistributionEntryKeySizeLimit ¶
func (s *ServiceLimits) SetFrequencyDistributionEntryKeySizeLimit(v int64) *ServiceLimits
SetFrequencyDistributionEntryKeySizeLimit sets the FrequencyDistributionEntryKeySizeLimit field's value.
func (*ServiceLimits) SetFrequencyMetricDistributionSizeLimit ¶
func (s *ServiceLimits) SetFrequencyMetricDistributionSizeLimit(v int64) *ServiceLimits
SetFrequencyMetricDistributionSizeLimit sets the FrequencyMetricDistributionSizeLimit field's value.
func (*ServiceLimits) SetPublishingMetricsLimit ¶
func (s *ServiceLimits) SetPublishingMetricsLimit(v int64) *ServiceLimits
SetPublishingMetricsLimit sets the PublishingMetricsLimit field's value.
func (*ServiceLimits) SetSdkAggregationKeyEntryValueSizeLimit ¶
func (s *ServiceLimits) SetSdkAggregationKeyEntryValueSizeLimit(v int64) *ServiceLimits
SetSdkAggregationKeyEntryValueSizeLimit sets the SdkAggregationKeyEntryValueSizeLimit field's value.
func (*ServiceLimits) SetSdkMonitoringRecordsLimit ¶
func (s *ServiceLimits) SetSdkMonitoringRecordsLimit(v int64) *ServiceLimits
SetSdkMonitoringRecordsLimit sets the SdkMonitoringRecordsLimit field's value.
func (*ServiceLimits) SetSehBucketLimit ¶
func (s *ServiceLimits) SetSehBucketLimit(v int64) *ServiceLimits
SetSehBucketLimit sets the SehBucketLimit field's value.
func (*ServiceLimits) SetUncompressedSamplesLengthLimit ¶
func (s *ServiceLimits) SetUncompressedSamplesLengthLimit(v int64) *ServiceLimits
SetUncompressedSamplesLengthLimit sets the UncompressedSamplesLengthLimit field's value.
func (ServiceLimits) String ¶
func (s ServiceLimits) String() string
String returns the string representation
type StatisticSet ¶
type StatisticSet struct { // Maximum is a required field Maximum *float64 `locationName:"maximum" type:"double" required:"true"` // Minimum is a required field Minimum *float64 `locationName:"minimum" type:"double" required:"true"` // SampleCount is a required field SampleCount *float64 `locationName:"sampleCount" type:"double" required:"true"` // Sum is a required field Sum *float64 `locationName:"sum" type:"double" required:"true"` // contains filtered or unexported fields }
func (StatisticSet) GoString ¶
func (s StatisticSet) GoString() string
GoString returns the string representation
func (*StatisticSet) SetMaximum ¶
func (s *StatisticSet) SetMaximum(v float64) *StatisticSet
SetMaximum sets the Maximum field's value.
func (*StatisticSet) SetMinimum ¶
func (s *StatisticSet) SetMinimum(v float64) *StatisticSet
SetMinimum sets the Minimum field's value.
func (*StatisticSet) SetSampleCount ¶
func (s *StatisticSet) SetSampleCount(v float64) *StatisticSet
SetSampleCount sets the SampleCount field's value.
func (*StatisticSet) SetSum ¶
func (s *StatisticSet) SetSum(v float64) *StatisticSet
SetSum sets the Sum field's value.
func (StatisticSet) String ¶
func (s StatisticSet) String() string
String returns the string representation
func (*StatisticSet) Validate ¶
func (s *StatisticSet) Validate() error
Validate inspects the fields of the type to determine if they are valid.