package types
import "github.com/aws/aws-sdk-go-v2/service/codeguruprofiler/types"
Index ¶
- type ActionGroup
- type AgentConfiguration
- type AgentOrchestrationConfig
- type AgentParameterField
- type AggregatedProfileTime
- type AggregationPeriod
- type ComputePlatform
- type ConflictException
- func (e *ConflictException) Error() string
- func (e *ConflictException) ErrorCode() string
- func (e *ConflictException) ErrorFault() smithy.ErrorFault
- func (e *ConflictException) ErrorMessage() string
- type FrameMetric
- type InternalServerException
- func (e *InternalServerException) Error() string
- func (e *InternalServerException) ErrorCode() string
- func (e *InternalServerException) ErrorFault() smithy.ErrorFault
- func (e *InternalServerException) ErrorMessage() string
- type MetadataField
- type MetricType
- type OrderBy
- type ProfileTime
- type ProfilingGroupDescription
- type ProfilingStatus
- type ResourceNotFoundException
- func (e *ResourceNotFoundException) Error() string
- func (e *ResourceNotFoundException) ErrorCode() string
- func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
- func (e *ResourceNotFoundException) ErrorMessage() string
- type ServiceQuotaExceededException
- func (e *ServiceQuotaExceededException) Error() string
- func (e *ServiceQuotaExceededException) ErrorCode() string
- func (e *ServiceQuotaExceededException) ErrorFault() smithy.ErrorFault
- func (e *ServiceQuotaExceededException) ErrorMessage() string
- type ThrottlingException
- func (e *ThrottlingException) Error() string
- func (e *ThrottlingException) ErrorCode() string
- func (e *ThrottlingException) ErrorFault() smithy.ErrorFault
- func (e *ThrottlingException) ErrorMessage() string
- type ValidationException
Types ¶
type ActionGroup ¶
type ActionGroup string
const ( // Permission group type for Agent APIs - ConfigureAgent, PostAgentProfile ActionGroupAgent_permissions ActionGroup = "agentPermissions" )
Enum values for ActionGroup
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. AgentParameterFieldSampling_interval_in_milliseconds AgentParameterField = "SamplingIntervalInMilliseconds" // Reporting interval in milliseconds used to report profiles. AgentParameterFieldReporting_interval_in_milliseconds AgentParameterField = "ReportingIntervalInMilliseconds" // Minimum time in milliseconds between sending reports. AgentParameterFieldMinimum_time_for_reporting_in_milliseconds AgentParameterField = "MinimumTimeForReportingInMilliseconds" // Percentage of memory to be used by CodeGuru profiler. Minimum of 30MB is // required for the agent. AgentParameterFieldMemory_usage_limit_percent AgentParameterField = "MemoryUsageLimitPercent" // Maximum stack depth to be captured by the CodeGuru Profiler. AgentParameterFieldMax_stack_depth AgentParameterField = "MaxStackDepth" )
Enum values for AgentParameterField
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
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
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 { FrameName *string ThreadStates []*string 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. MetadataFieldCompute_platform MetadataField = "ComputePlatform" // Unique identifier for the agent instance. MetadataFieldAgent_id MetadataField = "AgentId" // AWS requestId of the Lambda invocation. MetadataFieldAws_request_id MetadataField = "AwsRequestId" // Execution environment on which Lambda function is running. MetadataFieldExecution_environment MetadataField = "ExecutionEnvironment" // Function ARN that's used to invoke the Lambda function. MetadataFieldLambda_function_arn MetadataField = "LambdaFunctionArn" // Memory allocated for the Lambda function. MetadataFieldLambda_memory_limit_in_mb MetadataField = "LambdaMemoryLimitInMB" // Time in milliseconds left before the execution times out. MetadataFieldLambda_remaining_time_in_milliseconds MetadataField = "LambdaRemainingTimeInMilliseconds" // Time in milliseconds between two invocations of the Lambda function. MetadataFieldLambda_time_gap_between_invokes_in_milliseconds MetadataField = "LambdaTimeGapBetweenInvokesInMilliseconds" // Time in milliseconds for the previous Lambda invocation. MetadataFieldLambda_previous_execution_time_in_milliseconds MetadataField = "LambdaPreviousExecutionTimeInMilliseconds" )
Enum values for MetadataField
type MetricType ¶
type MetricType string
const ( // Metric value aggregated for all instances of a frame name in a profile relative // to the root frame. MetricTypeAggregated_relative_total_time MetricType = "AGGREGATED_RELATIVE_TOTAL_TIME" )
Enum values for MetricType
type OrderBy ¶
type OrderBy string
const ( // Order by timestamp in descending order. OrderByTimestamp_descending OrderBy = "TimestampDescending" // Order by timestamp in ascending order. OrderByTimestamp_ascending OrderBy = "TimestampAscending" )
Enum values for OrderBy
type ProfileTime ¶
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 (e *ResourceNotFoundException) ErrorFault() smithy.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 (e *ServiceQuotaExceededException) Error() string
func (*ServiceQuotaExceededException) ErrorCode ¶
func (e *ServiceQuotaExceededException) ErrorCode() string
func (*ServiceQuotaExceededException) ErrorFault ¶
func (e *ServiceQuotaExceededException) ErrorFault() smithy.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
Source Files ¶
- Version
- v0.27.0
- Published
- Oct 17, 2020
- Platform
- darwin/amd64
- Imports
- 3 packages
- Last checked
- 1 hour ago –
Tools for package owners.