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 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 ¶
func (AgentParameterField) Values() []AgentParameterField
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 ¶
func (AggregationPeriod) Values() []AggregationPeriod
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 ¶
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 ¶
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
- v1.1.1
- Published
- Feb 10, 2021
- Platform
- darwin/amd64
- Imports
- 3 packages
- Last checked
- 1 hour ago –
Tools for package owners.