Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionGroup

type ActionGroup string
const (
	// Permission group type for Agent APIs - ConfigureAgent, PostAgentProfile
	ActionGroupAgentPermissions ActionGroup = "agentPermissions"
)

    Enum values for ActionGroup

    func (ActionGroup) Values

    func (ActionGroup) Values() []ActionGroup

      Values returns all known values for ActionGroup. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

      type AgentConfiguration

      type AgentConfiguration struct {
      
      	//
      	//
      	// This member is required.
      	PeriodInSeconds *int32
      
      	//
      	//
      	// This member is required.
      	ShouldProfile *bool
      
      	AgentParameters map[string]string
      }

      type AgentOrchestrationConfig

      type AgentOrchestrationConfig struct {
      
      	//
      	//
      	// This member is required.
      	ProfilingEnabled *bool
      }

      type AgentParameterField

      type AgentParameterField string
      const (
      	// Sampling interval in milliseconds used to sample profiles.
      	AgentParameterFieldSamplingIntervalInMilliseconds AgentParameterField = "SamplingIntervalInMilliseconds"
      	// Reporting interval in milliseconds used to report profiles.
      	AgentParameterFieldReportingIntervalInMilliseconds AgentParameterField = "ReportingIntervalInMilliseconds"
      	// Minimum time in milliseconds between sending reports.
      	AgentParameterFieldMinimumTimeForReportingInMilliseconds AgentParameterField = "MinimumTimeForReportingInMilliseconds"
      	// Percentage of memory to be used by CodeGuru profiler. Minimum of 30MB is
      	// required for the agent.
      	AgentParameterFieldMemoryUsageLimitPercent AgentParameterField = "MemoryUsageLimitPercent"
      	// Maximum stack depth to be captured by the CodeGuru Profiler.
      	AgentParameterFieldMaxStackDepth AgentParameterField = "MaxStackDepth"
      )

        Enum values for AgentParameterField

        func (AgentParameterField) Values

          Values returns all known values for AgentParameterField. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

          type AggregatedProfileTime

          type AggregatedProfileTime struct {
          
          	// The time period.
          	Period AggregationPeriod
          
          	// The start time.
          	Start *time.Time
          }

            Information about the time range of the latest available aggregated profile.

            type AggregationPeriod

            type AggregationPeriod string
            const (
            	// Period of five minutes.
            	AggregationPeriodPt5m AggregationPeriod = "PT5M"
            	// Period of one hour.
            	AggregationPeriodPt1h AggregationPeriod = "PT1H"
            	// Period of one day.
            	AggregationPeriodP1d AggregationPeriod = "P1D"
            )

              Enum values for AggregationPeriod

              func (AggregationPeriod) Values

                Values returns all known values for AggregationPeriod. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                type ComputePlatform

                type ComputePlatform string
                const (
                	// Compute platform meant to used for all usecases (like EC2, Fargate, physical
                	// servers etc.) but AWS Lambda.
                	ComputePlatformDefault ComputePlatform = "Default"
                	// Compute platform meant to used for AWS Lambda.
                	ComputePlatformAwslambda ComputePlatform = "AWSLambda"
                )

                  Enum values for ComputePlatform

                  func (ComputePlatform) Values

                  func (ComputePlatform) Values() []ComputePlatform

                    Values returns all known values for ComputePlatform. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                    type ConflictException

                    type ConflictException struct {
                    	Message *string
                    }

                      The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.

                      func (*ConflictException) Error

                      func (e *ConflictException) Error() string

                      func (*ConflictException) ErrorCode

                      func (e *ConflictException) ErrorCode() string

                      func (*ConflictException) ErrorFault

                      func (e *ConflictException) ErrorFault() smithy.ErrorFault

                      func (*ConflictException) ErrorMessage

                      func (e *ConflictException) ErrorMessage() string

                      type FrameMetric

                      type FrameMetric struct {
                      
                      	// This member is required.
                      	FrameName *string
                      
                      	// This member is required.
                      	ThreadStates []string
                      
                      	// This member is required.
                      	Type MetricType
                      }

                      type InternalServerException

                      type InternalServerException struct {
                      	Message *string
                      }

                        The server encountered an internal error and is unable to complete the request.

                        func (*InternalServerException) Error

                        func (e *InternalServerException) Error() string

                        func (*InternalServerException) ErrorCode

                        func (e *InternalServerException) ErrorCode() string

                        func (*InternalServerException) ErrorFault

                        func (e *InternalServerException) ErrorFault() smithy.ErrorFault

                        func (*InternalServerException) ErrorMessage

                        func (e *InternalServerException) ErrorMessage() string

                        type MetadataField

                        type MetadataField string
                        const (
                        	// Compute platform on which agent is running.
                        	MetadataFieldComputePlatform MetadataField = "ComputePlatform"
                        	// Unique identifier for the agent instance.
                        	MetadataFieldAgentId MetadataField = "AgentId"
                        	// AWS requestId of the Lambda invocation.
                        	MetadataFieldAwsRequestId MetadataField = "AwsRequestId"
                        	// Execution environment on which Lambda function is running.
                        	MetadataFieldExecutionEnvironment MetadataField = "ExecutionEnvironment"
                        	// Function ARN that's used to invoke the Lambda function.
                        	MetadataFieldLambdaFunctionArn MetadataField = "LambdaFunctionArn"
                        	// Memory allocated for the Lambda function.
                        	MetadataFieldLambdaMemoryLimitInMb MetadataField = "LambdaMemoryLimitInMB"
                        	// Time in milliseconds left before the execution times out.
                        	MetadataFieldLambdaRemainingTimeInMilliseconds MetadataField = "LambdaRemainingTimeInMilliseconds"
                        	// Time in milliseconds between two invocations of the Lambda function.
                        	MetadataFieldLambdaTimeGapBetweenInvokesInMilliseconds MetadataField = "LambdaTimeGapBetweenInvokesInMilliseconds"
                        	// Time in milliseconds for the previous Lambda invocation.
                        	MetadataFieldLambdaPreviousExecutionTimeInMilliseconds MetadataField = "LambdaPreviousExecutionTimeInMilliseconds"
                        )

                          Enum values for MetadataField

                          func (MetadataField) Values

                          func (MetadataField) Values() []MetadataField

                            Values returns all known values for MetadataField. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                            type MetricType

                            type MetricType string
                            const (
                            	// Metric value aggregated for all instances of a frame name in a profile relative
                            	// to the root frame.
                            	MetricTypeAggregatedRelativeTotalTime MetricType = "AGGREGATED_RELATIVE_TOTAL_TIME"
                            )

                              Enum values for MetricType

                              func (MetricType) Values

                              func (MetricType) Values() []MetricType

                                Values returns all known values for MetricType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                type OrderBy

                                type OrderBy string
                                const (
                                	// Order by timestamp in descending order.
                                	OrderByTimestampDescending OrderBy = "TimestampDescending"
                                	// Order by timestamp in ascending order.
                                	OrderByTimestampAscending OrderBy = "TimestampAscending"
                                )

                                  Enum values for OrderBy

                                  func (OrderBy) Values

                                  func (OrderBy) Values() []OrderBy

                                    Values returns all known values for OrderBy. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                    type ProfileTime

                                    type ProfileTime struct {
                                    
                                    	// The start time of the profile.
                                    	Start *time.Time
                                    }

                                      Information about the profile time.

                                      type ProfilingGroupDescription

                                      type ProfilingGroupDescription struct {
                                      
                                      	//
                                      	AgentOrchestrationConfig *AgentOrchestrationConfig
                                      
                                      	// The Amazon Resource Name (ARN) identifying the profiling group.
                                      	Arn *string
                                      
                                      	ComputePlatform ComputePlatform
                                      
                                      	// The time, in milliseconds since the epoch, when the profiling group was created.
                                      	CreatedAt *time.Time
                                      
                                      	// The name of the profiling group.
                                      	Name *string
                                      
                                      	// The status of the profiling group.
                                      	ProfilingStatus *ProfilingStatus
                                      
                                      	// The time, in milliseconds since the epoch, when the profiling group was last
                                      	// updated.
                                      	UpdatedAt *time.Time
                                      }

                                        The description of a profiling group.

                                        type ProfilingStatus

                                        type ProfilingStatus struct {
                                        
                                        	// The time, in milliseconds since the epoch, when the latest agent was
                                        	// orchestrated.
                                        	LatestAgentOrchestratedAt *time.Time
                                        
                                        	// The time, in milliseconds since the epoch, when the latest agent was reported..
                                        	LatestAgentProfileReportedAt *time.Time
                                        
                                        	// The latest aggregated profile
                                        	LatestAggregatedProfile *AggregatedProfileTime
                                        }

                                          Information about the profiling status.

                                          type ResourceNotFoundException

                                          type ResourceNotFoundException struct {
                                          	Message *string
                                          }

                                            The resource specified in the request does not exist.

                                            func (*ResourceNotFoundException) Error

                                            func (e *ResourceNotFoundException) Error() string

                                            func (*ResourceNotFoundException) ErrorCode

                                            func (e *ResourceNotFoundException) ErrorCode() string

                                            func (*ResourceNotFoundException) ErrorFault

                                            func (*ResourceNotFoundException) ErrorMessage

                                            func (e *ResourceNotFoundException) ErrorMessage() string

                                            type ServiceQuotaExceededException

                                            type ServiceQuotaExceededException struct {
                                            	Message *string
                                            }

                                              You have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas (https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html) to request a service quota increase.

                                              func (*ServiceQuotaExceededException) Error

                                              func (*ServiceQuotaExceededException) ErrorCode

                                              func (e *ServiceQuotaExceededException) ErrorCode() string

                                              func (*ServiceQuotaExceededException) ErrorFault

                                              func (*ServiceQuotaExceededException) ErrorMessage

                                              func (e *ServiceQuotaExceededException) ErrorMessage() string

                                              type ThrottlingException

                                              type ThrottlingException struct {
                                              	Message *string
                                              }

                                                The request was denied due to request throttling.

                                                func (*ThrottlingException) Error

                                                func (e *ThrottlingException) Error() string

                                                func (*ThrottlingException) ErrorCode

                                                func (e *ThrottlingException) ErrorCode() string

                                                func (*ThrottlingException) ErrorFault

                                                func (e *ThrottlingException) ErrorFault() smithy.ErrorFault

                                                func (*ThrottlingException) ErrorMessage

                                                func (e *ThrottlingException) ErrorMessage() string

                                                type ValidationException

                                                type ValidationException struct {
                                                	Message *string
                                                }

                                                  The parameter is not valid.

                                                  func (*ValidationException) Error

                                                  func (e *ValidationException) Error() string

                                                  func (*ValidationException) ErrorCode

                                                  func (e *ValidationException) ErrorCode() string

                                                  func (*ValidationException) ErrorFault

                                                  func (e *ValidationException) ErrorFault() smithy.ErrorFault

                                                  func (*ValidationException) ErrorMessage

                                                  func (e *ValidationException) ErrorMessage() string