codeguruprofiler

package
v1.39.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2021 License: Apache-2.0 Imports: 10 Imported by: 16

Documentation

Overview

Package codeguruprofiler provides the client and types for making API requests to Amazon CodeGuru Profiler.

This section provides documentation for the Amazon CodeGuru Profiler API operations.

Amazon CodeGuru Profiler collects runtime performance data from your live applications, and provides recommendations that can help you fine-tune your application performance. Using machine learning algorithms, CodeGuru Profiler can help you find your most expensive lines of code and suggest ways you can improve efficiency and remove CPU bottlenecks.

Amazon CodeGuru Profiler provides different visualizations of profiling data to help you identify what code is running on the CPU, see how much time is consumed, and suggest ways to reduce CPU utilization.

Amazon CodeGuru Profiler currently supports applications written in all Java virtual machine (JVM) languages and Python. While CodeGuru Profiler supports both visualizations and recommendations for applications written in Java, it can also generate visualizations and a subset of recommendations for applications written in other JVM languages and Python.

For more information, see What is Amazon CodeGuru Profiler (https://docs.aws.amazon.com/codeguru/latest/profiler-ug/what-is-codeguru-profiler.html) in the Amazon CodeGuru Profiler User Guide.

See https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18 for more information on this service.

See codeguruprofiler package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/codeguruprofiler/

Using the Client

To contact Amazon CodeGuru Profiler 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 CodeGuru Profiler client CodeGuruProfiler for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/codeguruprofiler/#New

Index

Constants

View Source
const (
	// AgentParameterFieldSamplingIntervalInMilliseconds is a AgentParameterField enum value
	AgentParameterFieldSamplingIntervalInMilliseconds = "SamplingIntervalInMilliseconds"

	// AgentParameterFieldReportingIntervalInMilliseconds is a AgentParameterField enum value
	AgentParameterFieldReportingIntervalInMilliseconds = "ReportingIntervalInMilliseconds"

	// AgentParameterFieldMinimumTimeForReportingInMilliseconds is a AgentParameterField enum value
	AgentParameterFieldMinimumTimeForReportingInMilliseconds = "MinimumTimeForReportingInMilliseconds"

	// AgentParameterFieldMemoryUsageLimitPercent is a AgentParameterField enum value
	AgentParameterFieldMemoryUsageLimitPercent = "MemoryUsageLimitPercent"

	// AgentParameterFieldMaxStackDepth is a AgentParameterField enum value
	AgentParameterFieldMaxStackDepth = "MaxStackDepth"
)
View Source
const (
	// AggregationPeriodPt5m is a AggregationPeriod enum value
	AggregationPeriodPt5m = "PT5M"

	// AggregationPeriodPt1h is a AggregationPeriod enum value
	AggregationPeriodPt1h = "PT1H"

	// AggregationPeriodP1d is a AggregationPeriod enum value
	AggregationPeriodP1d = "P1D"
)
View Source
const (
	// ComputePlatformDefault is a ComputePlatform enum value
	ComputePlatformDefault = "Default"

	// ComputePlatformAwslambda is a ComputePlatform enum value
	ComputePlatformAwslambda = "AWSLambda"
)
View Source
const (
	// FeedbackTypePositive is a FeedbackType enum value
	FeedbackTypePositive = "Positive"

	// FeedbackTypeNegative is a FeedbackType enum value
	FeedbackTypeNegative = "Negative"
)
View Source
const (
	// MetadataFieldComputePlatform is a MetadataField enum value
	MetadataFieldComputePlatform = "ComputePlatform"

	// MetadataFieldAgentId is a MetadataField enum value
	MetadataFieldAgentId = "AgentId"

	// MetadataFieldAwsRequestId is a MetadataField enum value
	MetadataFieldAwsRequestId = "AwsRequestId"

	// MetadataFieldExecutionEnvironment is a MetadataField enum value
	MetadataFieldExecutionEnvironment = "ExecutionEnvironment"

	// MetadataFieldLambdaFunctionArn is a MetadataField enum value
	MetadataFieldLambdaFunctionArn = "LambdaFunctionArn"

	// MetadataFieldLambdaMemoryLimitInMb is a MetadataField enum value
	MetadataFieldLambdaMemoryLimitInMb = "LambdaMemoryLimitInMB"

	// MetadataFieldLambdaRemainingTimeInMilliseconds is a MetadataField enum value
	MetadataFieldLambdaRemainingTimeInMilliseconds = "LambdaRemainingTimeInMilliseconds"

	// MetadataFieldLambdaTimeGapBetweenInvokesInMilliseconds is a MetadataField enum value
	MetadataFieldLambdaTimeGapBetweenInvokesInMilliseconds = "LambdaTimeGapBetweenInvokesInMilliseconds"

	// MetadataFieldLambdaPreviousExecutionTimeInMilliseconds is a MetadataField enum value
	MetadataFieldLambdaPreviousExecutionTimeInMilliseconds = "LambdaPreviousExecutionTimeInMilliseconds"
)
View Source
const (
	// OrderByTimestampDescending is a OrderBy enum value
	OrderByTimestampDescending = "TimestampDescending"

	// OrderByTimestampAscending is a OrderBy enum value
	OrderByTimestampAscending = "TimestampAscending"
)
View Source
const (

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// 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.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// The server encountered an internal error and is unable to complete the request.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The resource specified in the request does not exist.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeServiceQuotaExceededException for service response error code
	// "ServiceQuotaExceededException".
	//
	// 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.
	ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// The request was denied due to request throttling.
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// The parameter is not valid.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "CodeGuruProfiler"  // Name of service.
	EndpointsID = "codeguru-profiler" // ID to lookup a service endpoint with.
	ServiceID   = "CodeGuruProfiler"  // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// ActionGroupAgentPermissions is a ActionGroup enum value
	ActionGroupAgentPermissions = "agentPermissions"
)
View Source
const (
	// EventPublisherAnomalyDetection is a EventPublisher enum value
	EventPublisherAnomalyDetection = "AnomalyDetection"
)
View Source
const (
	// MetricTypeAggregatedRelativeTotalTime is a MetricType enum value
	MetricTypeAggregatedRelativeTotalTime = "AggregatedRelativeTotalTime"
)

Variables

This section is empty.

Functions

func ActionGroup_Values added in v1.34.3

func ActionGroup_Values() []string

ActionGroup_Values returns all elements of the ActionGroup enum

func AgentParameterField_Values added in v1.34.3

func AgentParameterField_Values() []string

AgentParameterField_Values returns all elements of the AgentParameterField enum

func AggregationPeriod_Values added in v1.34.3

func AggregationPeriod_Values() []string

AggregationPeriod_Values returns all elements of the AggregationPeriod enum

func ComputePlatform_Values added in v1.34.3

func ComputePlatform_Values() []string

ComputePlatform_Values returns all elements of the ComputePlatform enum

func EventPublisher_Values added in v1.34.3

func EventPublisher_Values() []string

EventPublisher_Values returns all elements of the EventPublisher enum

func FeedbackType_Values added in v1.34.3

func FeedbackType_Values() []string

FeedbackType_Values returns all elements of the FeedbackType enum

func MetadataField_Values added in v1.34.3

func MetadataField_Values() []string

MetadataField_Values returns all elements of the MetadataField enum

func MetricType_Values added in v1.34.3

func MetricType_Values() []string

MetricType_Values returns all elements of the MetricType enum

func OrderBy_Values added in v1.34.3

func OrderBy_Values() []string

OrderBy_Values returns all elements of the OrderBy enum

Types

type AddNotificationChannelsInput added in v1.32.12

type AddNotificationChannelsInput struct {

	// One or 2 channels to report to when anomalies are detected.
	//
	// Channels is a required field
	Channels []*Channel `locationName:"channels" min:"1" type:"list" required:"true"`

	// The name of the profiling group that we are setting up notifications for.
	//
	// ProfilingGroupName is a required field
	ProfilingGroupName *string `location:"uri" locationName:"profilingGroupName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The structure representing the AddNotificationChannelsRequest.

func (AddNotificationChannelsInput) GoString added in v1.32.12

func (s AddNotificationChannelsInput) GoString() string

GoString returns the string representation

func (*AddNotificationChannelsInput) SetChannels added in v1.32.12

SetChannels sets the Channels field's value.

func (*AddNotificationChannelsInput) SetProfilingGroupName added in v1.32.12

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (AddNotificationChannelsInput) String added in v1.32.12

String returns the string representation

func (*AddNotificationChannelsInput) Validate added in v1.32.12

func (s *AddNotificationChannelsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AddNotificationChannelsOutput added in v1.32.12

type AddNotificationChannelsOutput struct {

	// The new notification configuration for this profiling group.
	NotificationConfiguration *NotificationConfiguration `locationName:"notificationConfiguration" type:"structure"`
	// contains filtered or unexported fields
}

The structure representing the AddNotificationChannelsResponse.

func (AddNotificationChannelsOutput) GoString added in v1.32.12

GoString returns the string representation

func (*AddNotificationChannelsOutput) SetNotificationConfiguration added in v1.32.12

SetNotificationConfiguration sets the NotificationConfiguration field's value.

func (AddNotificationChannelsOutput) String added in v1.32.12

String returns the string representation

type AgentConfiguration

type AgentConfiguration struct {

	// Parameters used by the profiler. The valid parameters are:
	//
	//    * MaxStackDepth - The maximum depth of the stacks in the code that is
	//    represented in the profile. For example, if CodeGuru Profiler finds a
	//    method A, which calls method B, which calls method C, which calls method
	//    D, then the depth is 4. If the maxDepth is set to 2, then the profiler
	//    evaluates A and B.
	//
	//    * MemoryUsageLimitPercent - The percentage of memory that is used by the
	//    profiler.
	//
	//    * MinimumTimeForReportingInMilliseconds - The minimum time in milliseconds
	//    between sending reports.
	//
	//    * ReportingIntervalInMilliseconds - The reporting interval in milliseconds
	//    used to report profiles.
	//
	//    * SamplingIntervalInMilliseconds - The sampling interval in milliseconds
	//    that is used to profile samples.
	AgentParameters map[string]*string `locationName:"agentParameters" type:"map"`

	// How long a profiling agent should send profiling data using ConfigureAgent
	// (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html).
	// For example, if this is set to 300, the profiling agent calls ConfigureAgent
	// (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html)
	// every 5 minutes to submit the profiled data collected during that period.
	//
	// PeriodInSeconds is a required field
	PeriodInSeconds *int64 `locationName:"periodInSeconds" type:"integer" required:"true"`

	// A Boolean that specifies whether the profiling agent collects profiling data
	// or not. Set to true to enable profiling.
	//
	// ShouldProfile is a required field
	ShouldProfile *bool `locationName:"shouldProfile" type:"boolean" required:"true"`
	// contains filtered or unexported fields
}

The response of ConfigureAgent (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html) that specifies if an agent profiles or not and for how long to return profiling data.

func (AgentConfiguration) GoString

func (s AgentConfiguration) GoString() string

GoString returns the string representation

func (*AgentConfiguration) SetAgentParameters added in v1.32.12

func (s *AgentConfiguration) SetAgentParameters(v map[string]*string) *AgentConfiguration

SetAgentParameters sets the AgentParameters field's value.

func (*AgentConfiguration) SetPeriodInSeconds

func (s *AgentConfiguration) SetPeriodInSeconds(v int64) *AgentConfiguration

SetPeriodInSeconds sets the PeriodInSeconds field's value.

func (*AgentConfiguration) SetShouldProfile

func (s *AgentConfiguration) SetShouldProfile(v bool) *AgentConfiguration

SetShouldProfile sets the ShouldProfile field's value.

func (AgentConfiguration) String

func (s AgentConfiguration) String() string

String returns the string representation

type AgentOrchestrationConfig

type AgentOrchestrationConfig struct {

	// A Boolean that specifies whether the profiling agent collects profiling data
	// or not. Set to true to enable profiling.
	//
	// ProfilingEnabled is a required field
	ProfilingEnabled *bool `locationName:"profilingEnabled" type:"boolean" required:"true"`
	// contains filtered or unexported fields
}

Specifies whether profiling is enabled or disabled for a profiling group. It is used by ConfigureAgent (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html) to enable or disable profiling for a profiling group.

func (AgentOrchestrationConfig) GoString

func (s AgentOrchestrationConfig) GoString() string

GoString returns the string representation

func (*AgentOrchestrationConfig) SetProfilingEnabled

func (s *AgentOrchestrationConfig) SetProfilingEnabled(v bool) *AgentOrchestrationConfig

SetProfilingEnabled sets the ProfilingEnabled field's value.

func (AgentOrchestrationConfig) String

func (s AgentOrchestrationConfig) String() string

String returns the string representation

func (*AgentOrchestrationConfig) Validate

func (s *AgentOrchestrationConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AggregatedProfileTime

type AggregatedProfileTime struct {

	// The aggregation period. This indicates the period during which an aggregation
	// profile collects posted agent profiles for a profiling group. Use one of
	// three valid durations that are specified using the ISO 8601 format.
	//
	//    * P1D — 1 day
	//
	//    * PT1H — 1 hour
	//
	//    * PT5M — 5 minutes
	Period *string `locationName:"period" type:"string" enum:"AggregationPeriod"`

	// The time that aggregation of posted agent profiles for a profiling group
	// starts. The aggregation profile contains profiles posted by the agent starting
	// at this time for an aggregation period specified by the period property of
	// the AggregatedProfileTime object.
	//
	// Specify start using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z
	// represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
	Start *time.Time `locationName:"start" type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

Specifies the aggregation period and aggregation start time for an aggregated profile. An aggregated profile is used to collect posted agent profiles during an aggregation period. There are three possible aggregation periods (1 day, 1 hour, or 5 minutes).

func (AggregatedProfileTime) GoString

func (s AggregatedProfileTime) GoString() string

GoString returns the string representation

func (*AggregatedProfileTime) SetPeriod

SetPeriod sets the Period field's value.

func (*AggregatedProfileTime) SetStart

SetStart sets the Start field's value.

func (AggregatedProfileTime) String

func (s AggregatedProfileTime) String() string

String returns the string representation

type Anomaly added in v1.32.12

type Anomaly struct {

	// A list of the instances of the detected anomalies during the requested period.
	//
	// Instances is a required field
	Instances []*AnomalyInstance `locationName:"instances" type:"list" required:"true"`

	// Details about the metric that the analysis used when it detected the anomaly.
	// The metric includes the name of the frame that was analyzed with the type
	// and thread states used to derive the metric value for that frame.
	//
	// Metric is a required field
	Metric *Metric `locationName:"metric" type:"structure" required:"true"`

	// The reason for which metric was flagged as anomalous.
	//
	// Reason is a required field
	Reason *string `locationName:"reason" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Details about an anomaly in a specific metric of application profile. The anomaly is detected using analysis of the metric data over a period of time.

func (Anomaly) GoString added in v1.32.12

func (s Anomaly) GoString() string

GoString returns the string representation

func (*Anomaly) SetInstances added in v1.32.12

func (s *Anomaly) SetInstances(v []*AnomalyInstance) *Anomaly

SetInstances sets the Instances field's value.

func (*Anomaly) SetMetric added in v1.32.12

func (s *Anomaly) SetMetric(v *Metric) *Anomaly

SetMetric sets the Metric field's value.

func (*Anomaly) SetReason added in v1.32.12

func (s *Anomaly) SetReason(v string) *Anomaly

SetReason sets the Reason field's value.

func (Anomaly) String added in v1.32.12

func (s Anomaly) String() string

String returns the string representation

type AnomalyInstance added in v1.32.12

type AnomalyInstance struct {

	// The end time of the period during which the metric is flagged as anomalous.
	// This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z
	// represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
	EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"iso8601"`

	// The universally unique identifier (UUID) of an instance of an anomaly in
	// a metric.
	//
	// Id is a required field
	Id *string `locationName:"id" type:"string" required:"true"`

	// The start time of the period during which the metric is flagged as anomalous.
	// This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z
	// represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
	//
	// StartTime is a required field
	StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// Feedback type on a specific instance of anomaly submitted by the user.
	UserFeedback *UserFeedback `locationName:"userFeedback" type:"structure"`
	// contains filtered or unexported fields
}

The specific duration in which the metric is flagged as anomalous.

func (AnomalyInstance) GoString added in v1.32.12

func (s AnomalyInstance) GoString() string

GoString returns the string representation

func (*AnomalyInstance) SetEndTime added in v1.32.12

func (s *AnomalyInstance) SetEndTime(v time.Time) *AnomalyInstance

SetEndTime sets the EndTime field's value.

func (*AnomalyInstance) SetId added in v1.32.12

func (s *AnomalyInstance) SetId(v string) *AnomalyInstance

SetId sets the Id field's value.

func (*AnomalyInstance) SetStartTime added in v1.32.12

func (s *AnomalyInstance) SetStartTime(v time.Time) *AnomalyInstance

SetStartTime sets the StartTime field's value.

func (*AnomalyInstance) SetUserFeedback added in v1.32.12

func (s *AnomalyInstance) SetUserFeedback(v *UserFeedback) *AnomalyInstance

SetUserFeedback sets the UserFeedback field's value.

func (AnomalyInstance) String added in v1.32.12

func (s AnomalyInstance) String() string

String returns the string representation

type BatchGetFrameMetricDataInput added in v1.32.12

type BatchGetFrameMetricDataInput struct {

	// The end time of the time period for the returned time series values. This
	// is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z
	// represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
	EndTime *time.Time `location:"querystring" locationName:"endTime" type:"timestamp" timestampFormat:"iso8601"`

	// The details of the metrics that are used to request a time series of values.
	// The metric includes the name of the frame, the aggregation type to calculate
	// the metric value for the frame, and the thread states to use to get the count
	// for the metric value of the frame.
	FrameMetrics []*FrameMetric `locationName:"frameMetrics" type:"list"`

	// The duration of the frame metrics used to return the time series values.
	// Specify using the ISO 8601 format. The maximum period duration is one day
	// (PT24H or P1D).
	Period *string `location:"querystring" locationName:"period" min:"1" type:"string"`

	// The name of the profiling group associated with the the frame metrics used
	// to return the time series values.
	//
	// ProfilingGroupName is a required field
	ProfilingGroupName *string `location:"uri" locationName:"profilingGroupName" min:"1" type:"string" required:"true"`

	// The start time of the time period for the frame metrics used to return the
	// time series values. This is specified using the ISO 8601 format. For example,
	// 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02
	// PM UTC.
	StartTime *time.Time `location:"querystring" locationName:"startTime" type:"timestamp" timestampFormat:"iso8601"`

	// The requested resolution of time steps for the returned time series of values.
	// If the requested target resolution is not available due to data not being
	// retained we provide a best effort result by falling back to the most granular
	// available resolution after the target resolution. There are 3 valid values.
	//
	//    * P1D — 1 day
	//
	//    * PT1H — 1 hour
	//
	//    * PT5M — 5 minutes
	TargetResolution *string `location:"querystring" locationName:"targetResolution" type:"string" enum:"AggregationPeriod"`
	// contains filtered or unexported fields
}

The structure representing the BatchGetFrameMetricDataRequest.

func (BatchGetFrameMetricDataInput) GoString added in v1.32.12

func (s BatchGetFrameMetricDataInput) GoString() string

GoString returns the string representation

func (*BatchGetFrameMetricDataInput) SetEndTime added in v1.32.12

SetEndTime sets the EndTime field's value.

func (*BatchGetFrameMetricDataInput) SetFrameMetrics added in v1.32.12

SetFrameMetrics sets the FrameMetrics field's value.

func (*BatchGetFrameMetricDataInput) SetPeriod added in v1.32.12

SetPeriod sets the Period field's value.

func (*BatchGetFrameMetricDataInput) SetProfilingGroupName added in v1.32.12

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (*BatchGetFrameMetricDataInput) SetStartTime added in v1.32.12

SetStartTime sets the StartTime field's value.

func (*BatchGetFrameMetricDataInput) SetTargetResolution added in v1.32.12

SetTargetResolution sets the TargetResolution field's value.

func (BatchGetFrameMetricDataInput) String added in v1.32.12

String returns the string representation

func (*BatchGetFrameMetricDataInput) Validate added in v1.32.12

func (s *BatchGetFrameMetricDataInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BatchGetFrameMetricDataOutput added in v1.32.12

type BatchGetFrameMetricDataOutput struct {

	// The end time of the time period for the returned time series values. This
	// is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z
	// represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
	//
	// EndTime is a required field
	EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// List of instances, or time steps, in the time series. For example, if the
	// period is one day (PT24H)), and the resolution is five minutes (PT5M), then
	// there are 288 endTimes in the list that are each five minutes appart.
	//
	// EndTimes is a required field
	EndTimes []*TimestampStructure `locationName:"endTimes" type:"list" required:"true"`

	// Details of the metrics to request a time series of values. The metric includes
	// the name of the frame, the aggregation type to calculate the metric value
	// for the frame, and the thread states to use to get the count for the metric
	// value of the frame.
	//
	// FrameMetricData is a required field
	FrameMetricData []*FrameMetricDatum `locationName:"frameMetricData" type:"list" required:"true"`

	// Resolution or granularity of the profile data used to generate the time series.
	// This is the value used to jump through time steps in a time series. There
	// are 3 valid values.
	//
	//    * P1D — 1 day
	//
	//    * PT1H — 1 hour
	//
	//    * PT5M — 5 minutes
	//
	// Resolution is a required field
	Resolution *string `locationName:"resolution" type:"string" required:"true" enum:"AggregationPeriod"`

	// The start time of the time period for the returned time series values. This
	// is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z
	// represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
	//
	// StartTime is a required field
	StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// List of instances which remained unprocessed. This will create a missing
	// time step in the list of end times.
	//
	// UnprocessedEndTimes is a required field
	UnprocessedEndTimes map[string][]*TimestampStructure `locationName:"unprocessedEndTimes" type:"map" required:"true"`
	// contains filtered or unexported fields
}

The structure representing the BatchGetFrameMetricDataResponse.

func (BatchGetFrameMetricDataOutput) GoString added in v1.32.12

GoString returns the string representation

func (*BatchGetFrameMetricDataOutput) SetEndTime added in v1.32.12

SetEndTime sets the EndTime field's value.

func (*BatchGetFrameMetricDataOutput) SetEndTimes added in v1.32.12

SetEndTimes sets the EndTimes field's value.

func (*BatchGetFrameMetricDataOutput) SetFrameMetricData added in v1.32.12

SetFrameMetricData sets the FrameMetricData field's value.

func (*BatchGetFrameMetricDataOutput) SetResolution added in v1.32.12

SetResolution sets the Resolution field's value.

func (*BatchGetFrameMetricDataOutput) SetStartTime added in v1.32.12

SetStartTime sets the StartTime field's value.

func (*BatchGetFrameMetricDataOutput) SetUnprocessedEndTimes added in v1.32.12

SetUnprocessedEndTimes sets the UnprocessedEndTimes field's value.

func (BatchGetFrameMetricDataOutput) String added in v1.32.12

String returns the string representation

type Channel added in v1.32.12

type Channel struct {

	// List of publishers for different type of events that may be detected in an
	// application from the profile. Anomaly detection is the only event publisher
	// in Profiler.
	//
	// EventPublishers is a required field
	EventPublishers []*string `locationName:"eventPublishers" min:"1" type:"list" required:"true"`

	// Unique identifier for each Channel in the notification configuration of a
	// Profiling Group. A random UUID for channelId is used when adding a channel
	// to the notification configuration if not specified in the request.
	Id *string `locationName:"id" type:"string"`

	// Unique arn of the resource to be used for notifications. We support a valid
	// SNS topic arn as a channel uri.
	//
	// Uri is a required field
	Uri *string `locationName:"uri" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Notification medium for users to get alerted for events that occur in application profile. We support SNS topic as a notification channel.

func (Channel) GoString added in v1.32.12

func (s Channel) GoString() string

GoString returns the string representation

func (*Channel) SetEventPublishers added in v1.32.12

func (s *Channel) SetEventPublishers(v []*string) *Channel

SetEventPublishers sets the EventPublishers field's value.

func (*Channel) SetId added in v1.32.12

func (s *Channel) SetId(v string) *Channel

SetId sets the Id field's value.

func (*Channel) SetUri added in v1.32.12

func (s *Channel) SetUri(v string) *Channel

SetUri sets the Uri field's value.

func (Channel) String added in v1.32.12

func (s Channel) String() string

String returns the string representation

func (*Channel) Validate added in v1.32.12

func (s *Channel) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CodeGuruProfiler

type CodeGuruProfiler struct {
	*client.Client
}

CodeGuruProfiler provides the API operation methods for making requests to Amazon CodeGuru Profiler. See this package's package overview docs for details on the service.

CodeGuruProfiler methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

New creates a new instance of the CodeGuruProfiler 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 CodeGuruProfiler client from just a session.
svc := codeguruprofiler.New(mySession)

// Create a CodeGuruProfiler client with additional configuration
svc := codeguruprofiler.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*CodeGuruProfiler) AddNotificationChannels added in v1.32.12

AddNotificationChannels API operation for Amazon CodeGuru Profiler.

Add up to 2 anomaly notifications channels for a profiling group.

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 CodeGuru Profiler's API operation AddNotificationChannels for usage and error information.

Returned Error Types:

  • ServiceQuotaExceededException 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.

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

  • ConflictException 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.

  • ValidationException The parameter is not valid.

  • ThrottlingException The request was denied due to request throttling.

  • ResourceNotFoundException The resource specified in the request does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/AddNotificationChannels

func (*CodeGuruProfiler) AddNotificationChannelsRequest added in v1.32.12

func (c *CodeGuruProfiler) AddNotificationChannelsRequest(input *AddNotificationChannelsInput) (req *request.Request, output *AddNotificationChannelsOutput)

AddNotificationChannelsRequest generates a "aws/request.Request" representing the client's request for the AddNotificationChannels 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 AddNotificationChannels for more information on using the AddNotificationChannels 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 AddNotificationChannelsRequest method.
req, resp := client.AddNotificationChannelsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/AddNotificationChannels

func (*CodeGuruProfiler) AddNotificationChannelsWithContext added in v1.32.12

func (c *CodeGuruProfiler) AddNotificationChannelsWithContext(ctx aws.Context, input *AddNotificationChannelsInput, opts ...request.Option) (*AddNotificationChannelsOutput, error)

AddNotificationChannelsWithContext is the same as AddNotificationChannels with the addition of the ability to pass a context and additional request options.

See AddNotificationChannels 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 (*CodeGuruProfiler) BatchGetFrameMetricData added in v1.32.12

BatchGetFrameMetricData API operation for Amazon CodeGuru Profiler.

Returns the time series of values for a requested list of frame metrics from a time period.

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 CodeGuru Profiler's API operation BatchGetFrameMetricData for usage and error information.

Returned Error Types:

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

  • ValidationException The parameter is not valid.

  • ThrottlingException The request was denied due to request throttling.

  • ResourceNotFoundException The resource specified in the request does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/BatchGetFrameMetricData

func (*CodeGuruProfiler) BatchGetFrameMetricDataRequest added in v1.32.12

func (c *CodeGuruProfiler) BatchGetFrameMetricDataRequest(input *BatchGetFrameMetricDataInput) (req *request.Request, output *BatchGetFrameMetricDataOutput)

BatchGetFrameMetricDataRequest generates a "aws/request.Request" representing the client's request for the BatchGetFrameMetricData 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 BatchGetFrameMetricData for more information on using the BatchGetFrameMetricData 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 BatchGetFrameMetricDataRequest method.
req, resp := client.BatchGetFrameMetricDataRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/BatchGetFrameMetricData

func (*CodeGuruProfiler) BatchGetFrameMetricDataWithContext added in v1.32.12

func (c *CodeGuruProfiler) BatchGetFrameMetricDataWithContext(ctx aws.Context, input *BatchGetFrameMetricDataInput, opts ...request.Option) (*BatchGetFrameMetricDataOutput, error)

BatchGetFrameMetricDataWithContext is the same as BatchGetFrameMetricData with the addition of the ability to pass a context and additional request options.

See BatchGetFrameMetricData 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 (*CodeGuruProfiler) ConfigureAgent

func (c *CodeGuruProfiler) ConfigureAgent(input *ConfigureAgentInput) (*ConfigureAgentOutput, error)

ConfigureAgent API operation for Amazon CodeGuru Profiler.

Used by profiler agents to report their current state and to receive remote configuration updates. For example, ConfigureAgent can be used to tell an agent whether to profile or not and for how long to return profiling data.

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 CodeGuru Profiler's API operation ConfigureAgent for usage and error information.

Returned Error Types:

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

  • ValidationException The parameter is not valid.

  • ThrottlingException The request was denied due to request throttling.

  • ResourceNotFoundException The resource specified in the request does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ConfigureAgent

func (*CodeGuruProfiler) ConfigureAgentRequest

func (c *CodeGuruProfiler) ConfigureAgentRequest(input *ConfigureAgentInput) (req *request.Request, output *ConfigureAgentOutput)

ConfigureAgentRequest generates a "aws/request.Request" representing the client's request for the ConfigureAgent 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 ConfigureAgent for more information on using the ConfigureAgent 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 ConfigureAgentRequest method.
req, resp := client.ConfigureAgentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ConfigureAgent

func (*CodeGuruProfiler) ConfigureAgentWithContext

func (c *CodeGuruProfiler) ConfigureAgentWithContext(ctx aws.Context, input *ConfigureAgentInput, opts ...request.Option) (*ConfigureAgentOutput, error)

ConfigureAgentWithContext is the same as ConfigureAgent with the addition of the ability to pass a context and additional request options.

See ConfigureAgent 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 (*CodeGuruProfiler) CreateProfilingGroup

func (c *CodeGuruProfiler) CreateProfilingGroup(input *CreateProfilingGroupInput) (*CreateProfilingGroupOutput, error)

CreateProfilingGroup API operation for Amazon CodeGuru Profiler.

Creates a profiling group.

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 CodeGuru Profiler's API operation CreateProfilingGroup for usage and error information.

Returned Error Types:

  • ServiceQuotaExceededException 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.

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

  • ConflictException 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.

  • ValidationException The parameter is not valid.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/CreateProfilingGroup

func (*CodeGuruProfiler) CreateProfilingGroupRequest

func (c *CodeGuruProfiler) CreateProfilingGroupRequest(input *CreateProfilingGroupInput) (req *request.Request, output *CreateProfilingGroupOutput)

CreateProfilingGroupRequest generates a "aws/request.Request" representing the client's request for the CreateProfilingGroup 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 CreateProfilingGroup for more information on using the CreateProfilingGroup 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 CreateProfilingGroupRequest method.
req, resp := client.CreateProfilingGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/CreateProfilingGroup

func (*CodeGuruProfiler) CreateProfilingGroupWithContext

func (c *CodeGuruProfiler) CreateProfilingGroupWithContext(ctx aws.Context, input *CreateProfilingGroupInput, opts ...request.Option) (*CreateProfilingGroupOutput, error)

CreateProfilingGroupWithContext is the same as CreateProfilingGroup with the addition of the ability to pass a context and additional request options.

See CreateProfilingGroup 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 (*CodeGuruProfiler) DeleteProfilingGroup

func (c *CodeGuruProfiler) DeleteProfilingGroup(input *DeleteProfilingGroupInput) (*DeleteProfilingGroupOutput, error)

DeleteProfilingGroup API operation for Amazon CodeGuru Profiler.

Deletes a profiling group.

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 CodeGuru Profiler's API operation DeleteProfilingGroup for usage and error information.

Returned Error Types:

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

  • ConflictException 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.

  • ValidationException The parameter is not valid.

  • ThrottlingException The request was denied due to request throttling.

  • ResourceNotFoundException The resource specified in the request does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/DeleteProfilingGroup

func (*CodeGuruProfiler) DeleteProfilingGroupRequest

func (c *CodeGuruProfiler) DeleteProfilingGroupRequest(input *DeleteProfilingGroupInput) (req *request.Request, output *DeleteProfilingGroupOutput)

DeleteProfilingGroupRequest generates a "aws/request.Request" representing the client's request for the DeleteProfilingGroup 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 DeleteProfilingGroup for more information on using the DeleteProfilingGroup 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 DeleteProfilingGroupRequest method.
req, resp := client.DeleteProfilingGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/DeleteProfilingGroup

func (*CodeGuruProfiler) DeleteProfilingGroupWithContext

func (c *CodeGuruProfiler) DeleteProfilingGroupWithContext(ctx aws.Context, input *DeleteProfilingGroupInput, opts ...request.Option) (*DeleteProfilingGroupOutput, error)

DeleteProfilingGroupWithContext is the same as DeleteProfilingGroup with the addition of the ability to pass a context and additional request options.

See DeleteProfilingGroup 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 (*CodeGuruProfiler) DescribeProfilingGroup

DescribeProfilingGroup API operation for Amazon CodeGuru Profiler.

Returns a ProfilingGroupDescription (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html) object that contains information about the requested profiling group.

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 CodeGuru Profiler's API operation DescribeProfilingGroup for usage and error information.

Returned Error Types:

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

  • ValidationException The parameter is not valid.

  • ThrottlingException The request was denied due to request throttling.

  • ResourceNotFoundException The resource specified in the request does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/DescribeProfilingGroup

func (*CodeGuruProfiler) DescribeProfilingGroupRequest

func (c *CodeGuruProfiler) DescribeProfilingGroupRequest(input *DescribeProfilingGroupInput) (req *request.Request, output *DescribeProfilingGroupOutput)

DescribeProfilingGroupRequest generates a "aws/request.Request" representing the client's request for the DescribeProfilingGroup 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 DescribeProfilingGroup for more information on using the DescribeProfilingGroup 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 DescribeProfilingGroupRequest method.
req, resp := client.DescribeProfilingGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/DescribeProfilingGroup

func (*CodeGuruProfiler) DescribeProfilingGroupWithContext

func (c *CodeGuruProfiler) DescribeProfilingGroupWithContext(ctx aws.Context, input *DescribeProfilingGroupInput, opts ...request.Option) (*DescribeProfilingGroupOutput, error)

DescribeProfilingGroupWithContext is the same as DescribeProfilingGroup with the addition of the ability to pass a context and additional request options.

See DescribeProfilingGroup 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 (*CodeGuruProfiler) GetFindingsReportAccountSummary added in v1.32.12

GetFindingsReportAccountSummary API operation for Amazon CodeGuru Profiler.

Returns a list of FindingsReportSummary (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_FindingsReportSummary.html) objects that contain analysis results for all profiling groups in your AWS account.

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 CodeGuru Profiler's API operation GetFindingsReportAccountSummary for usage and error information.

Returned Error Types:

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

  • ValidationException The parameter is not valid.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/GetFindingsReportAccountSummary

func (*CodeGuruProfiler) GetFindingsReportAccountSummaryPages added in v1.32.12

func (c *CodeGuruProfiler) GetFindingsReportAccountSummaryPages(input *GetFindingsReportAccountSummaryInput, fn func(*GetFindingsReportAccountSummaryOutput, bool) bool) error

GetFindingsReportAccountSummaryPages iterates over the pages of a GetFindingsReportAccountSummary operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetFindingsReportAccountSummary method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetFindingsReportAccountSummary operation.
pageNum := 0
err := client.GetFindingsReportAccountSummaryPages(params,
    func(page *codeguruprofiler.GetFindingsReportAccountSummaryOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeGuruProfiler) GetFindingsReportAccountSummaryPagesWithContext added in v1.32.12

func (c *CodeGuruProfiler) GetFindingsReportAccountSummaryPagesWithContext(ctx aws.Context, input *GetFindingsReportAccountSummaryInput, fn func(*GetFindingsReportAccountSummaryOutput, bool) bool, opts ...request.Option) error

GetFindingsReportAccountSummaryPagesWithContext same as GetFindingsReportAccountSummaryPages except it takes a Context and allows setting request options on the pages.

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 (*CodeGuruProfiler) GetFindingsReportAccountSummaryRequest added in v1.32.12

func (c *CodeGuruProfiler) GetFindingsReportAccountSummaryRequest(input *GetFindingsReportAccountSummaryInput) (req *request.Request, output *GetFindingsReportAccountSummaryOutput)

GetFindingsReportAccountSummaryRequest generates a "aws/request.Request" representing the client's request for the GetFindingsReportAccountSummary 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 GetFindingsReportAccountSummary for more information on using the GetFindingsReportAccountSummary 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 GetFindingsReportAccountSummaryRequest method.
req, resp := client.GetFindingsReportAccountSummaryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/GetFindingsReportAccountSummary

func (*CodeGuruProfiler) GetFindingsReportAccountSummaryWithContext added in v1.32.12

func (c *CodeGuruProfiler) GetFindingsReportAccountSummaryWithContext(ctx aws.Context, input *GetFindingsReportAccountSummaryInput, opts ...request.Option) (*GetFindingsReportAccountSummaryOutput, error)

GetFindingsReportAccountSummaryWithContext is the same as GetFindingsReportAccountSummary with the addition of the ability to pass a context and additional request options.

See GetFindingsReportAccountSummary 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 (*CodeGuruProfiler) GetNotificationConfiguration added in v1.32.12

GetNotificationConfiguration API operation for Amazon CodeGuru Profiler.

Get the current configuration for anomaly notifications for a profiling group.

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 CodeGuru Profiler's API operation GetNotificationConfiguration for usage and error information.

Returned Error Types:

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

  • ValidationException The parameter is not valid.

  • ThrottlingException The request was denied due to request throttling.

  • ResourceNotFoundException The resource specified in the request does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/GetNotificationConfiguration

func (*CodeGuruProfiler) GetNotificationConfigurationRequest added in v1.32.12

func (c *CodeGuruProfiler) GetNotificationConfigurationRequest(input *GetNotificationConfigurationInput) (req *request.Request, output *GetNotificationConfigurationOutput)

GetNotificationConfigurationRequest generates a "aws/request.Request" representing the client's request for the GetNotificationConfiguration 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 GetNotificationConfiguration for more information on using the GetNotificationConfiguration 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 GetNotificationConfigurationRequest method.
req, resp := client.GetNotificationConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/GetNotificationConfiguration

func (*CodeGuruProfiler) GetNotificationConfigurationWithContext added in v1.32.12

func (c *CodeGuruProfiler) GetNotificationConfigurationWithContext(ctx aws.Context, input *GetNotificationConfigurationInput, opts ...request.Option) (*GetNotificationConfigurationOutput, error)

GetNotificationConfigurationWithContext is the same as GetNotificationConfiguration with the addition of the ability to pass a context and additional request options.

See GetNotificationConfiguration 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 (*CodeGuruProfiler) GetPolicy added in v1.30.7

func (c *CodeGuruProfiler) GetPolicy(input *GetPolicyInput) (*GetPolicyOutput, error)

GetPolicy API operation for Amazon CodeGuru Profiler.

Returns the JSON-formatted resource-based policy on a profiling group.

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 CodeGuru Profiler's API operation GetPolicy for usage and error information.

Returned Error Types:

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

  • ThrottlingException The request was denied due to request throttling.

  • ResourceNotFoundException The resource specified in the request does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/GetPolicy

func (*CodeGuruProfiler) GetPolicyRequest added in v1.30.7

func (c *CodeGuruProfiler) GetPolicyRequest(input *GetPolicyInput) (req *request.Request, output *GetPolicyOutput)

GetPolicyRequest generates a "aws/request.Request" representing the client's request for the GetPolicy 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 GetPolicy for more information on using the GetPolicy 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 GetPolicyRequest method.
req, resp := client.GetPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/GetPolicy

func (*CodeGuruProfiler) GetPolicyWithContext added in v1.30.7

func (c *CodeGuruProfiler) GetPolicyWithContext(ctx aws.Context, input *GetPolicyInput, opts ...request.Option) (*GetPolicyOutput, error)

GetPolicyWithContext is the same as GetPolicy with the addition of the ability to pass a context and additional request options.

See GetPolicy 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 (*CodeGuruProfiler) GetProfile

func (c *CodeGuruProfiler) GetProfile(input *GetProfileInput) (*GetProfileOutput, error)

GetProfile API operation for Amazon CodeGuru Profiler.

Gets the aggregated profile of a profiling group for a specified time range. Amazon CodeGuru Profiler collects posted agent profiles for a profiling group into aggregated profiles.

<note> <p> Because aggregated profiles expire over time <code>GetProfile</code>
is not idempotent. </p> </note> <p> Specify the time range for the requested
aggregated profile using 1 or 2 of the following parameters: <code>startTime</code>,
<code>endTime</code>, <code>period</code>. The maximum time range allowed
is 7 days. If you specify all 3 parameters, an exception is thrown. If
you specify only <code>period</code>, the latest aggregated profile is
returned. </p> <p> Aggregated profiles are available with aggregation
periods of 5 minutes, 1 hour, and 1 day, aligned to UTC. The aggregation
period of an aggregated profile determines how long it is retained. For
more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_AggregatedProfileTime.html">
<code>AggregatedProfileTime</code> </a>. The aggregated profile's aggregation
period determines how long it is retained by CodeGuru Profiler. </p> <ul>
<li> <p> If the aggregation period is 5 minutes, the aggregated profile
is retained for 15 days. </p> </li> <li> <p> If the aggregation period
is 1 hour, the aggregated profile is retained for 60 days. </p> </li>
<li> <p> If the aggregation period is 1 day, the aggregated profile is
retained for 3 years. </p> </li> </ul> <p>There are two use cases for
calling <code>GetProfile</code>.</p> <ol> <li> <p> If you want to return
an aggregated profile that already exists, use <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ListProfileTimes.html">
<code>ListProfileTimes</code> </a> to view the time ranges of existing
aggregated profiles. Use them in a <code>GetProfile</code> request to
return a specific, existing aggregated profile. </p> </li> <li> <p> If
you want to return an aggregated profile for a time range that doesn't
align with an existing aggregated profile, then CodeGuru Profiler makes
a best effort to combine existing aggregated profiles from the requested
time range and return them as one aggregated profile. </p> <p> If aggregated
profiles do not exist for the full time range requested, then aggregated
profiles for a smaller time range are returned. For example, if the requested
time range is from 00:00 to 00:20, and the existing aggregated profiles
are from 00:15 and 00:25, then the aggregated profiles from 00:15 to 00:20
are returned. </p> </li> </ol>

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 CodeGuru Profiler's API operation GetProfile for usage and error information.

Returned Error Types:

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

  • ValidationException The parameter is not valid.

  • ThrottlingException The request was denied due to request throttling.

  • ResourceNotFoundException The resource specified in the request does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/GetProfile

func (*CodeGuruProfiler) GetProfileRequest

func (c *CodeGuruProfiler) GetProfileRequest(input *GetProfileInput) (req *request.Request, output *GetProfileOutput)

GetProfileRequest generates a "aws/request.Request" representing the client's request for the GetProfile 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 GetProfile for more information on using the GetProfile 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 GetProfileRequest method.
req, resp := client.GetProfileRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/GetProfile

func (*CodeGuruProfiler) GetProfileWithContext

func (c *CodeGuruProfiler) GetProfileWithContext(ctx aws.Context, input *GetProfileInput, opts ...request.Option) (*GetProfileOutput, error)

GetProfileWithContext is the same as GetProfile with the addition of the ability to pass a context and additional request options.

See GetProfile 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 (*CodeGuruProfiler) GetRecommendations added in v1.32.12

func (c *CodeGuruProfiler) GetRecommendations(input *GetRecommendationsInput) (*GetRecommendationsOutput, error)

GetRecommendations API operation for Amazon CodeGuru Profiler.

Returns a list of Recommendation (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_Recommendation.html) objects that contain recommendations for a profiling group for a given time period. A list of Anomaly (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_Anomaly.html) objects that contains details about anomalies detected in the profiling group for the same time period is also returned.

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 CodeGuru Profiler's API operation GetRecommendations for usage and error information.

Returned Error Types:

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

  • ValidationException The parameter is not valid.

  • ThrottlingException The request was denied due to request throttling.

  • ResourceNotFoundException The resource specified in the request does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/GetRecommendations

func (*CodeGuruProfiler) GetRecommendationsRequest added in v1.32.12

func (c *CodeGuruProfiler) GetRecommendationsRequest(input *GetRecommendationsInput) (req *request.Request, output *GetRecommendationsOutput)

GetRecommendationsRequest generates a "aws/request.Request" representing the client's request for the GetRecommendations 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 GetRecommendations for more information on using the GetRecommendations 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 GetRecommendationsRequest method.
req, resp := client.GetRecommendationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/GetRecommendations

func (*CodeGuruProfiler) GetRecommendationsWithContext added in v1.32.12

func (c *CodeGuruProfiler) GetRecommendationsWithContext(ctx aws.Context, input *GetRecommendationsInput, opts ...request.Option) (*GetRecommendationsOutput, error)

GetRecommendationsWithContext is the same as GetRecommendations with the addition of the ability to pass a context and additional request options.

See GetRecommendations 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 (*CodeGuruProfiler) ListFindingsReports added in v1.32.12

func (c *CodeGuruProfiler) ListFindingsReports(input *ListFindingsReportsInput) (*ListFindingsReportsOutput, error)

ListFindingsReports API operation for Amazon CodeGuru Profiler.

List the available reports for a given profiling group and time range.

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 CodeGuru Profiler's API operation ListFindingsReports for usage and error information.

Returned Error Types:

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

  • ValidationException The parameter is not valid.

  • ThrottlingException The request was denied due to request throttling.

  • ResourceNotFoundException The resource specified in the request does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ListFindingsReports

func (*CodeGuruProfiler) ListFindingsReportsPages added in v1.32.12

func (c *CodeGuruProfiler) ListFindingsReportsPages(input *ListFindingsReportsInput, fn func(*ListFindingsReportsOutput, bool) bool) error

ListFindingsReportsPages iterates over the pages of a ListFindingsReports operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListFindingsReports method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListFindingsReports operation.
pageNum := 0
err := client.ListFindingsReportsPages(params,
    func(page *codeguruprofiler.ListFindingsReportsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeGuruProfiler) ListFindingsReportsPagesWithContext added in v1.32.12

func (c *CodeGuruProfiler) ListFindingsReportsPagesWithContext(ctx aws.Context, input *ListFindingsReportsInput, fn func(*ListFindingsReportsOutput, bool) bool, opts ...request.Option) error

ListFindingsReportsPagesWithContext same as ListFindingsReportsPages except it takes a Context and allows setting request options on the pages.

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 (*CodeGuruProfiler) ListFindingsReportsRequest added in v1.32.12

func (c *CodeGuruProfiler) ListFindingsReportsRequest(input *ListFindingsReportsInput) (req *request.Request, output *ListFindingsReportsOutput)

ListFindingsReportsRequest generates a "aws/request.Request" representing the client's request for the ListFindingsReports 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 ListFindingsReports for more information on using the ListFindingsReports 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 ListFindingsReportsRequest method.
req, resp := client.ListFindingsReportsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ListFindingsReports

func (*CodeGuruProfiler) ListFindingsReportsWithContext added in v1.32.12

func (c *CodeGuruProfiler) ListFindingsReportsWithContext(ctx aws.Context, input *ListFindingsReportsInput, opts ...request.Option) (*ListFindingsReportsOutput, error)

ListFindingsReportsWithContext is the same as ListFindingsReports with the addition of the ability to pass a context and additional request options.

See ListFindingsReports 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 (*CodeGuruProfiler) ListProfileTimes

func (c *CodeGuruProfiler) ListProfileTimes(input *ListProfileTimesInput) (*ListProfileTimesOutput, error)

ListProfileTimes API operation for Amazon CodeGuru Profiler.

Lists the start times of the available aggregated profiles of a profiling group for an aggregation period within the specified time range.

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 CodeGuru Profiler's API operation ListProfileTimes for usage and error information.

Returned Error Types:

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

  • ValidationException The parameter is not valid.

  • ThrottlingException The request was denied due to request throttling.

  • ResourceNotFoundException The resource specified in the request does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ListProfileTimes

func (*CodeGuruProfiler) ListProfileTimesPages

func (c *CodeGuruProfiler) ListProfileTimesPages(input *ListProfileTimesInput, fn func(*ListProfileTimesOutput, bool) bool) error

ListProfileTimesPages iterates over the pages of a ListProfileTimes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListProfileTimes method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListProfileTimes operation.
pageNum := 0
err := client.ListProfileTimesPages(params,
    func(page *codeguruprofiler.ListProfileTimesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeGuruProfiler) ListProfileTimesPagesWithContext

func (c *CodeGuruProfiler) ListProfileTimesPagesWithContext(ctx aws.Context, input *ListProfileTimesInput, fn func(*ListProfileTimesOutput, bool) bool, opts ...request.Option) error

ListProfileTimesPagesWithContext same as ListProfileTimesPages except it takes a Context and allows setting request options on the pages.

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 (*CodeGuruProfiler) ListProfileTimesRequest

func (c *CodeGuruProfiler) ListProfileTimesRequest(input *ListProfileTimesInput) (req *request.Request, output *ListProfileTimesOutput)

ListProfileTimesRequest generates a "aws/request.Request" representing the client's request for the ListProfileTimes 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 ListProfileTimes for more information on using the ListProfileTimes 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 ListProfileTimesRequest method.
req, resp := client.ListProfileTimesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ListProfileTimes

func (*CodeGuruProfiler) ListProfileTimesWithContext

func (c *CodeGuruProfiler) ListProfileTimesWithContext(ctx aws.Context, input *ListProfileTimesInput, opts ...request.Option) (*ListProfileTimesOutput, error)

ListProfileTimesWithContext is the same as ListProfileTimes with the addition of the ability to pass a context and additional request options.

See ListProfileTimes 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 (*CodeGuruProfiler) ListProfilingGroups

func (c *CodeGuruProfiler) ListProfilingGroups(input *ListProfilingGroupsInput) (*ListProfilingGroupsOutput, error)

ListProfilingGroups API operation for Amazon CodeGuru Profiler.

Returns a list of profiling groups. The profiling groups are returned as ProfilingGroupDescription (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html) objects.

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 CodeGuru Profiler's API operation ListProfilingGroups for usage and error information.

Returned Error Types:

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

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ListProfilingGroups

func (*CodeGuruProfiler) ListProfilingGroupsPages

func (c *CodeGuruProfiler) ListProfilingGroupsPages(input *ListProfilingGroupsInput, fn func(*ListProfilingGroupsOutput, bool) bool) error

ListProfilingGroupsPages iterates over the pages of a ListProfilingGroups operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListProfilingGroups method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListProfilingGroups operation.
pageNum := 0
err := client.ListProfilingGroupsPages(params,
    func(page *codeguruprofiler.ListProfilingGroupsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeGuruProfiler) ListProfilingGroupsPagesWithContext

func (c *CodeGuruProfiler) ListProfilingGroupsPagesWithContext(ctx aws.Context, input *ListProfilingGroupsInput, fn func(*ListProfilingGroupsOutput, bool) bool, opts ...request.Option) error

ListProfilingGroupsPagesWithContext same as ListProfilingGroupsPages except it takes a Context and allows setting request options on the pages.

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 (*CodeGuruProfiler) ListProfilingGroupsRequest

func (c *CodeGuruProfiler) ListProfilingGroupsRequest(input *ListProfilingGroupsInput) (req *request.Request, output *ListProfilingGroupsOutput)

ListProfilingGroupsRequest generates a "aws/request.Request" representing the client's request for the ListProfilingGroups 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 ListProfilingGroups for more information on using the ListProfilingGroups 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 ListProfilingGroupsRequest method.
req, resp := client.ListProfilingGroupsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ListProfilingGroups

func (*CodeGuruProfiler) ListProfilingGroupsWithContext

func (c *CodeGuruProfiler) ListProfilingGroupsWithContext(ctx aws.Context, input *ListProfilingGroupsInput, opts ...request.Option) (*ListProfilingGroupsOutput, error)

ListProfilingGroupsWithContext is the same as ListProfilingGroups with the addition of the ability to pass a context and additional request options.

See ListProfilingGroups 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 (*CodeGuruProfiler) ListTagsForResource added in v1.33.9

func (c *CodeGuruProfiler) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for Amazon CodeGuru Profiler.

Returns a list of the tags that are assigned to a specified resource.

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 CodeGuru Profiler's API operation ListTagsForResource for usage and error information.

Returned Error Types:

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

  • ValidationException The parameter is not valid.

  • ResourceNotFoundException The resource specified in the request does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ListTagsForResource

func (*CodeGuruProfiler) ListTagsForResourceRequest added in v1.33.9

func (c *CodeGuruProfiler) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource 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 ListTagsForResource for more information on using the ListTagsForResource 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 ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ListTagsForResource

func (*CodeGuruProfiler) ListTagsForResourceWithContext added in v1.33.9

func (c *CodeGuruProfiler) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource 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 (*CodeGuruProfiler) PostAgentProfile

func (c *CodeGuruProfiler) PostAgentProfile(input *PostAgentProfileInput) (*PostAgentProfileOutput, error)

PostAgentProfile API operation for Amazon CodeGuru Profiler.

Submits profiling data to an aggregated profile of a profiling group. To get an aggregated profile that is created with this profiling data, use GetProfile (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_GetProfile.html).

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 CodeGuru Profiler's API operation PostAgentProfile for usage and error information.

Returned Error Types:

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

  • ValidationException The parameter is not valid.

  • ThrottlingException The request was denied due to request throttling.

  • ResourceNotFoundException The resource specified in the request does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/PostAgentProfile

func (*CodeGuruProfiler) PostAgentProfileRequest

func (c *CodeGuruProfiler) PostAgentProfileRequest(input *PostAgentProfileInput) (req *request.Request, output *PostAgentProfileOutput)

PostAgentProfileRequest generates a "aws/request.Request" representing the client's request for the PostAgentProfile 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 PostAgentProfile for more information on using the PostAgentProfile 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 PostAgentProfileRequest method.
req, resp := client.PostAgentProfileRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/PostAgentProfile

func (*CodeGuruProfiler) PostAgentProfileWithContext

func (c *CodeGuruProfiler) PostAgentProfileWithContext(ctx aws.Context, input *PostAgentProfileInput, opts ...request.Option) (*PostAgentProfileOutput, error)

PostAgentProfileWithContext is the same as PostAgentProfile with the addition of the ability to pass a context and additional request options.

See PostAgentProfile 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 (*CodeGuruProfiler) PutPermission added in v1.30.7

func (c *CodeGuruProfiler) PutPermission(input *PutPermissionInput) (*PutPermissionOutput, error)

PutPermission API operation for Amazon CodeGuru Profiler.

Adds permissions to a profiling group's resource-based policy that are provided using an action group. If a profiling group doesn't have a resource-based policy, one is created for it using the permissions in the action group and the roles and users in the principals parameter.

<p> The one supported action group that can be added is <code>agentPermission</code>
which grants <code>ConfigureAgent</code> and <code>PostAgent</code> permissions.
For more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-ug/resource-based-policies.html">Resource-based
policies in CodeGuru Profiler</a> in the <i>Amazon CodeGuru Profiler User
Guide</i>, <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html">
<code>ConfigureAgent</code> </a>, and <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_PostAgentProfile.html">
<code>PostAgentProfile</code> </a>. </p> <p> The first time you call <code>PutPermission</code>
on a profiling group, do not specify a <code>revisionId</code> because
it doesn't have a resource-based policy. Subsequent calls must provide
a <code>revisionId</code> to specify which revision of the resource-based
policy to add the permissions to. </p> <p> The response contains the profiling
group's JSON-formatted resource policy. </p>

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 CodeGuru Profiler's API operation PutPermission for usage and error information.

Returned Error Types:

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

  • ConflictException 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.

  • ValidationException The parameter is not valid.

  • ThrottlingException The request was denied due to request throttling.

  • ResourceNotFoundException The resource specified in the request does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/PutPermission

func (*CodeGuruProfiler) PutPermissionRequest added in v1.30.7

func (c *CodeGuruProfiler) PutPermissionRequest(input *PutPermissionInput) (req *request.Request, output *PutPermissionOutput)

PutPermissionRequest generates a "aws/request.Request" representing the client's request for the PutPermission 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 PutPermission for more information on using the PutPermission 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 PutPermissionRequest method.
req, resp := client.PutPermissionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/PutPermission

func (*CodeGuruProfiler) PutPermissionWithContext added in v1.30.7

func (c *CodeGuruProfiler) PutPermissionWithContext(ctx aws.Context, input *PutPermissionInput, opts ...request.Option) (*PutPermissionOutput, error)

PutPermissionWithContext is the same as PutPermission with the addition of the ability to pass a context and additional request options.

See PutPermission 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 (*CodeGuruProfiler) RemoveNotificationChannel added in v1.32.12

RemoveNotificationChannel API operation for Amazon CodeGuru Profiler.

Remove one anomaly notifications channel for a profiling group.

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 CodeGuru Profiler's API operation RemoveNotificationChannel for usage and error information.

Returned Error Types:

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

  • ValidationException The parameter is not valid.

  • ThrottlingException The request was denied due to request throttling.

  • ResourceNotFoundException The resource specified in the request does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/RemoveNotificationChannel

func (*CodeGuruProfiler) RemoveNotificationChannelRequest added in v1.32.12

func (c *CodeGuruProfiler) RemoveNotificationChannelRequest(input *RemoveNotificationChannelInput) (req *request.Request, output *RemoveNotificationChannelOutput)

RemoveNotificationChannelRequest generates a "aws/request.Request" representing the client's request for the RemoveNotificationChannel 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 RemoveNotificationChannel for more information on using the RemoveNotificationChannel 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 RemoveNotificationChannelRequest method.
req, resp := client.RemoveNotificationChannelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/RemoveNotificationChannel

func (*CodeGuruProfiler) RemoveNotificationChannelWithContext added in v1.32.12

func (c *CodeGuruProfiler) RemoveNotificationChannelWithContext(ctx aws.Context, input *RemoveNotificationChannelInput, opts ...request.Option) (*RemoveNotificationChannelOutput, error)

RemoveNotificationChannelWithContext is the same as RemoveNotificationChannel with the addition of the ability to pass a context and additional request options.

See RemoveNotificationChannel 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 (*CodeGuruProfiler) RemovePermission added in v1.30.7

func (c *CodeGuruProfiler) RemovePermission(input *RemovePermissionInput) (*RemovePermissionOutput, error)

RemovePermission API operation for Amazon CodeGuru Profiler.

Removes permissions from a profiling group's resource-based policy that are provided using an action group. The one supported action group that can be removed is agentPermission which grants ConfigureAgent and PostAgent permissions. For more information, see Resource-based policies in CodeGuru Profiler (https://docs.aws.amazon.com/codeguru/latest/profiler-ug/resource-based-policies.html) in the Amazon CodeGuru Profiler User Guide, ConfigureAgent (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html), and PostAgentProfile (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_PostAgentProfile.html).

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 CodeGuru Profiler's API operation RemovePermission for usage and error information.

Returned Error Types:

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

  • ConflictException 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.

  • ValidationException The parameter is not valid.

  • ThrottlingException The request was denied due to request throttling.

  • ResourceNotFoundException The resource specified in the request does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/RemovePermission

func (*CodeGuruProfiler) RemovePermissionRequest added in v1.30.7

func (c *CodeGuruProfiler) RemovePermissionRequest(input *RemovePermissionInput) (req *request.Request, output *RemovePermissionOutput)

RemovePermissionRequest generates a "aws/request.Request" representing the client's request for the RemovePermission 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 RemovePermission for more information on using the RemovePermission 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 RemovePermissionRequest method.
req, resp := client.RemovePermissionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/RemovePermission

func (*CodeGuruProfiler) RemovePermissionWithContext added in v1.30.7

func (c *CodeGuruProfiler) RemovePermissionWithContext(ctx aws.Context, input *RemovePermissionInput, opts ...request.Option) (*RemovePermissionOutput, error)

RemovePermissionWithContext is the same as RemovePermission with the addition of the ability to pass a context and additional request options.

See RemovePermission 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 (*CodeGuruProfiler) SubmitFeedback added in v1.32.12

func (c *CodeGuruProfiler) SubmitFeedback(input *SubmitFeedbackInput) (*SubmitFeedbackOutput, error)

SubmitFeedback API operation for Amazon CodeGuru Profiler.

Sends feedback to CodeGuru Profiler about whether the anomaly detected by the analysis is useful or not.

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 CodeGuru Profiler's API operation SubmitFeedback for usage and error information.

Returned Error Types:

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

  • ValidationException The parameter is not valid.

  • ThrottlingException The request was denied due to request throttling.

  • ResourceNotFoundException The resource specified in the request does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/SubmitFeedback

func (*CodeGuruProfiler) SubmitFeedbackRequest added in v1.32.12

func (c *CodeGuruProfiler) SubmitFeedbackRequest(input *SubmitFeedbackInput) (req *request.Request, output *SubmitFeedbackOutput)

SubmitFeedbackRequest generates a "aws/request.Request" representing the client's request for the SubmitFeedback 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 SubmitFeedback for more information on using the SubmitFeedback 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 SubmitFeedbackRequest method.
req, resp := client.SubmitFeedbackRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/SubmitFeedback

func (*CodeGuruProfiler) SubmitFeedbackWithContext added in v1.32.12

func (c *CodeGuruProfiler) SubmitFeedbackWithContext(ctx aws.Context, input *SubmitFeedbackInput, opts ...request.Option) (*SubmitFeedbackOutput, error)

SubmitFeedbackWithContext is the same as SubmitFeedback with the addition of the ability to pass a context and additional request options.

See SubmitFeedback 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 (*CodeGuruProfiler) TagResource added in v1.33.9

func (c *CodeGuruProfiler) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for Amazon CodeGuru Profiler.

Use to assign one or more tags to a resource.

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 CodeGuru Profiler's API operation TagResource for usage and error information.

Returned Error Types:

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

  • ValidationException The parameter is not valid.

  • ResourceNotFoundException The resource specified in the request does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/TagResource

func (*CodeGuruProfiler) TagResourceRequest added in v1.33.9

func (c *CodeGuruProfiler) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource 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 TagResource for more information on using the TagResource 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 TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/TagResource

func (*CodeGuruProfiler) TagResourceWithContext added in v1.33.9

func (c *CodeGuruProfiler) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource 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 (*CodeGuruProfiler) UntagResource added in v1.33.9

func (c *CodeGuruProfiler) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for Amazon CodeGuru Profiler.

Use to remove one or more tags from a resource.

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 CodeGuru Profiler's API operation UntagResource for usage and error information.

Returned Error Types:

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

  • ValidationException The parameter is not valid.

  • ResourceNotFoundException The resource specified in the request does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/UntagResource

func (*CodeGuruProfiler) UntagResourceRequest added in v1.33.9

func (c *CodeGuruProfiler) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource 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 UntagResource for more information on using the UntagResource 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 UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/UntagResource

func (*CodeGuruProfiler) UntagResourceWithContext added in v1.33.9

func (c *CodeGuruProfiler) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource 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 (*CodeGuruProfiler) UpdateProfilingGroup

func (c *CodeGuruProfiler) UpdateProfilingGroup(input *UpdateProfilingGroupInput) (*UpdateProfilingGroupOutput, error)

UpdateProfilingGroup API operation for Amazon CodeGuru Profiler.

Updates a profiling group.

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 CodeGuru Profiler's API operation UpdateProfilingGroup for usage and error information.

Returned Error Types:

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

  • ConflictException 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.

  • ValidationException The parameter is not valid.

  • ThrottlingException The request was denied due to request throttling.

  • ResourceNotFoundException The resource specified in the request does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/UpdateProfilingGroup

func (*CodeGuruProfiler) UpdateProfilingGroupRequest

func (c *CodeGuruProfiler) UpdateProfilingGroupRequest(input *UpdateProfilingGroupInput) (req *request.Request, output *UpdateProfilingGroupOutput)

UpdateProfilingGroupRequest generates a "aws/request.Request" representing the client's request for the UpdateProfilingGroup 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 UpdateProfilingGroup for more information on using the UpdateProfilingGroup 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 UpdateProfilingGroupRequest method.
req, resp := client.UpdateProfilingGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/UpdateProfilingGroup

func (*CodeGuruProfiler) UpdateProfilingGroupWithContext

func (c *CodeGuruProfiler) UpdateProfilingGroupWithContext(ctx aws.Context, input *UpdateProfilingGroupInput, opts ...request.Option) (*UpdateProfilingGroupOutput, error)

UpdateProfilingGroupWithContext is the same as UpdateProfilingGroup with the addition of the ability to pass a context and additional request options.

See UpdateProfilingGroup 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 ConfigureAgentInput

type ConfigureAgentInput struct {

	// A universally unique identifier (UUID) for a profiling instance. For example,
	// if the profiling instance is an Amazon EC2 instance, it is the instance ID.
	// If it is an AWS Fargate container, it is the container's task ID.
	FleetInstanceId *string `locationName:"fleetInstanceId" min:"1" type:"string"`

	// Metadata captured about the compute platform the agent is running on. It
	// includes information about sampling and reporting. The valid fields are:
	//
	//    * COMPUTE_PLATFORM - The compute platform on which the agent is running
	//
	//    * AGENT_ID - The ID for an agent instance.
	//
	//    * AWS_REQUEST_ID - The AWS request ID of a Lambda invocation.
	//
	//    * EXECUTION_ENVIRONMENT - The execution environment a Lambda function
	//    is running on.
	//
	//    * LAMBDA_FUNCTION_ARN - The Amazon Resource Name (ARN) that is used to
	//    invoke a Lambda function.
	//
	//    * LAMBDA_MEMORY_LIMIT_IN_MB - The memory allocated to a Lambda function.
	//
	//    * LAMBDA_REMAINING_TIME_IN_MILLISECONDS - The time in milliseconds before
	//    execution of a Lambda function times out.
	//
	//    * LAMBDA_TIME_GAP_BETWEEN_INVOKES_IN_MILLISECONDS - The time in milliseconds
	//    between two invocations of a Lambda function.
	//
	//    * LAMBDA_PREVIOUS_EXECUTION_TIME_IN_MILLISECONDS - The time in milliseconds
	//    for the previous Lambda invocation.
	Metadata map[string]*string `locationName:"metadata" type:"map"`

	// The name of the profiling group for which the configured agent is collecting
	// profiling data.
	//
	// ProfilingGroupName is a required field
	ProfilingGroupName *string `location:"uri" locationName:"profilingGroupName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The structure representing the configureAgentRequest.

func (ConfigureAgentInput) GoString

func (s ConfigureAgentInput) GoString() string

GoString returns the string representation

func (*ConfigureAgentInput) SetFleetInstanceId

func (s *ConfigureAgentInput) SetFleetInstanceId(v string) *ConfigureAgentInput

SetFleetInstanceId sets the FleetInstanceId field's value.

func (*ConfigureAgentInput) SetMetadata added in v1.32.12

func (s *ConfigureAgentInput) SetMetadata(v map[string]*string) *ConfigureAgentInput

SetMetadata sets the Metadata field's value.

func (*ConfigureAgentInput) SetProfilingGroupName

func (s *ConfigureAgentInput) SetProfilingGroupName(v string) *ConfigureAgentInput

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (ConfigureAgentInput) String

func (s ConfigureAgentInput) String() string

String returns the string representation

func (*ConfigureAgentInput) Validate

func (s *ConfigureAgentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ConfigureAgentOutput

type ConfigureAgentOutput struct {

	// An AgentConfiguration (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_AgentConfiguration.html)
	// object that specifies if an agent profiles or not and for how long to return
	// profiling data.
	//
	// Configuration is a required field
	Configuration *AgentConfiguration `locationName:"configuration" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

The structure representing the configureAgentResponse.

func (ConfigureAgentOutput) GoString

func (s ConfigureAgentOutput) GoString() string

GoString returns the string representation

func (*ConfigureAgentOutput) SetConfiguration

SetConfiguration sets the Configuration field's value.

func (ConfigureAgentOutput) String

func (s ConfigureAgentOutput) String() string

String returns the string representation

type ConflictException added in v1.28.0

type ConflictException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code added in v1.28.0

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error added in v1.28.0

func (s *ConflictException) Error() string

func (ConflictException) GoString added in v1.28.0

func (s ConflictException) GoString() string

GoString returns the string representation

func (*ConflictException) Message added in v1.28.0

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr added in v1.28.0

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID added in v1.28.0

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode added in v1.28.0

func (s *ConflictException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConflictException) String added in v1.28.0

func (s ConflictException) String() string

String returns the string representation

type CreateProfilingGroupInput

type CreateProfilingGroupInput struct {

	// Specifies whether profiling is enabled or disabled for the created profiling
	// group.
	AgentOrchestrationConfig *AgentOrchestrationConfig `locationName:"agentOrchestrationConfig" type:"structure"`

	// Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to
	// prevent the accidental creation of duplicate profiling groups if there are
	// failures and retries.
	ClientToken *string `location:"querystring" locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`

	// The compute platform of the profiling group. Use AWSLambda if your application
	// runs on AWS Lambda. Use Default if your application runs on a compute platform
	// that is not AWS Lambda, such an Amazon EC2 instance, an on-premises server,
	// or a different platform. If not specified, Default is used.
	ComputePlatform *string `locationName:"computePlatform" type:"string" enum:"ComputePlatform"`

	// The name of the profiling group to create.
	//
	// ProfilingGroupName is a required field
	ProfilingGroupName *string `locationName:"profilingGroupName" min:"1" type:"string" required:"true"`

	// A list of tags to add to the created profiling group.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

The structure representing the createProfiliingGroupRequest.

func (CreateProfilingGroupInput) GoString

func (s CreateProfilingGroupInput) GoString() string

GoString returns the string representation

func (*CreateProfilingGroupInput) SetAgentOrchestrationConfig

SetAgentOrchestrationConfig sets the AgentOrchestrationConfig field's value.

func (*CreateProfilingGroupInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateProfilingGroupInput) SetComputePlatform added in v1.32.12

SetComputePlatform sets the ComputePlatform field's value.

func (*CreateProfilingGroupInput) SetProfilingGroupName

func (s *CreateProfilingGroupInput) SetProfilingGroupName(v string) *CreateProfilingGroupInput

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (*CreateProfilingGroupInput) SetTags added in v1.33.9

SetTags sets the Tags field's value.

func (CreateProfilingGroupInput) String

func (s CreateProfilingGroupInput) String() string

String returns the string representation

func (*CreateProfilingGroupInput) Validate

func (s *CreateProfilingGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateProfilingGroupOutput

type CreateProfilingGroupOutput struct {

	// The returned ProfilingGroupDescription (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html)
	// object that contains information about the created profiling group.
	//
	// ProfilingGroup is a required field
	ProfilingGroup *ProfilingGroupDescription `locationName:"profilingGroup" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

The structure representing the createProfilingGroupResponse.

func (CreateProfilingGroupOutput) GoString

func (s CreateProfilingGroupOutput) GoString() string

GoString returns the string representation

func (*CreateProfilingGroupOutput) SetProfilingGroup

SetProfilingGroup sets the ProfilingGroup field's value.

func (CreateProfilingGroupOutput) String

String returns the string representation

type DeleteProfilingGroupInput

type DeleteProfilingGroupInput struct {

	// The name of the profiling group to delete.
	//
	// ProfilingGroupName is a required field
	ProfilingGroupName *string `location:"uri" locationName:"profilingGroupName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The structure representing the deleteProfilingGroupRequest.

func (DeleteProfilingGroupInput) GoString

func (s DeleteProfilingGroupInput) GoString() string

GoString returns the string representation

func (*DeleteProfilingGroupInput) SetProfilingGroupName

func (s *DeleteProfilingGroupInput) SetProfilingGroupName(v string) *DeleteProfilingGroupInput

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (DeleteProfilingGroupInput) String

func (s DeleteProfilingGroupInput) String() string

String returns the string representation

func (*DeleteProfilingGroupInput) Validate

func (s *DeleteProfilingGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteProfilingGroupOutput

type DeleteProfilingGroupOutput struct {
	// contains filtered or unexported fields
}

The structure representing the deleteProfilingGroupResponse.

func (DeleteProfilingGroupOutput) GoString

func (s DeleteProfilingGroupOutput) GoString() string

GoString returns the string representation

func (DeleteProfilingGroupOutput) String

String returns the string representation

type DescribeProfilingGroupInput

type DescribeProfilingGroupInput struct {

	// The name of the profiling group to get information about.
	//
	// ProfilingGroupName is a required field
	ProfilingGroupName *string `location:"uri" locationName:"profilingGroupName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The structure representing the describeProfilingGroupRequest.

func (DescribeProfilingGroupInput) GoString

func (s DescribeProfilingGroupInput) GoString() string

GoString returns the string representation

func (*DescribeProfilingGroupInput) SetProfilingGroupName

func (s *DescribeProfilingGroupInput) SetProfilingGroupName(v string) *DescribeProfilingGroupInput

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (DescribeProfilingGroupInput) String

String returns the string representation

func (*DescribeProfilingGroupInput) Validate

func (s *DescribeProfilingGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeProfilingGroupOutput

type DescribeProfilingGroupOutput struct {

	// The returned ProfilingGroupDescription (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html)
	// object that contains information about the requested profiling group.
	//
	// ProfilingGroup is a required field
	ProfilingGroup *ProfilingGroupDescription `locationName:"profilingGroup" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

The structure representing the describeProfilingGroupResponse.

func (DescribeProfilingGroupOutput) GoString

func (s DescribeProfilingGroupOutput) GoString() string

GoString returns the string representation

func (*DescribeProfilingGroupOutput) SetProfilingGroup

SetProfilingGroup sets the ProfilingGroup field's value.

func (DescribeProfilingGroupOutput) String

String returns the string representation

type FindingsReportSummary added in v1.32.12

type FindingsReportSummary struct {

	// The universally unique identifier (UUID) of the recommendation report.
	Id *string `locationName:"id" type:"string"`

	// The end time of the period during which the metric is flagged as anomalous.
	// This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z
	// represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
	ProfileEndTime *time.Time `locationName:"profileEndTime" type:"timestamp" timestampFormat:"iso8601"`

	// The start time of the profile the analysis data is about. This is specified
	// using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents
	// 1 millisecond past June 1, 2020 1:15:02 PM UTC.
	ProfileStartTime *time.Time `locationName:"profileStartTime" type:"timestamp" timestampFormat:"iso8601"`

	// The name of the profiling group that is associated with the analysis data.
	ProfilingGroupName *string `locationName:"profilingGroupName" type:"string"`

	// The total number of different recommendations that were found by the analysis.
	TotalNumberOfFindings *int64 `locationName:"totalNumberOfFindings" type:"integer"`
	// contains filtered or unexported fields
}

Information about potential recommendations that might be created from the analysis of profiling data.

func (FindingsReportSummary) GoString added in v1.32.12

func (s FindingsReportSummary) GoString() string

GoString returns the string representation

func (*FindingsReportSummary) SetId added in v1.32.12

SetId sets the Id field's value.

func (*FindingsReportSummary) SetProfileEndTime added in v1.32.12

func (s *FindingsReportSummary) SetProfileEndTime(v time.Time) *FindingsReportSummary

SetProfileEndTime sets the ProfileEndTime field's value.

func (*FindingsReportSummary) SetProfileStartTime added in v1.32.12

func (s *FindingsReportSummary) SetProfileStartTime(v time.Time) *FindingsReportSummary

SetProfileStartTime sets the ProfileStartTime field's value.

func (*FindingsReportSummary) SetProfilingGroupName added in v1.32.12

func (s *FindingsReportSummary) SetProfilingGroupName(v string) *FindingsReportSummary

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (*FindingsReportSummary) SetTotalNumberOfFindings added in v1.32.12

func (s *FindingsReportSummary) SetTotalNumberOfFindings(v int64) *FindingsReportSummary

SetTotalNumberOfFindings sets the TotalNumberOfFindings field's value.

func (FindingsReportSummary) String added in v1.32.12

func (s FindingsReportSummary) String() string

String returns the string representation

type FrameMetric added in v1.32.12

type FrameMetric struct {

	// Name of the method common across the multiple occurrences of a frame in an
	// application profile.
	//
	// FrameName is a required field
	FrameName *string `locationName:"frameName" type:"string" required:"true"`

	// List of application runtime thread states used to get the counts for a frame
	// a derive a metric value.
	//
	// ThreadStates is a required field
	ThreadStates []*string `locationName:"threadStates" type:"list" required:"true"`

	// A type of aggregation that specifies how a metric for a frame is analyzed.
	// The supported value AggregatedRelativeTotalTime is an aggregation of the
	// metric value for one frame that is calculated across the occurrences of all
	// frames in a profile.
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true" enum:"MetricType"`
	// contains filtered or unexported fields
}

The frame name, metric type, and thread states. These are used to derive the value of the metric for the frame.

func (FrameMetric) GoString added in v1.32.12

func (s FrameMetric) GoString() string

GoString returns the string representation

func (*FrameMetric) SetFrameName added in v1.32.12

func (s *FrameMetric) SetFrameName(v string) *FrameMetric

SetFrameName sets the FrameName field's value.

func (*FrameMetric) SetThreadStates added in v1.32.12

func (s *FrameMetric) SetThreadStates(v []*string) *FrameMetric

SetThreadStates sets the ThreadStates field's value.

func (*FrameMetric) SetType added in v1.32.12

func (s *FrameMetric) SetType(v string) *FrameMetric

SetType sets the Type field's value.

func (FrameMetric) String added in v1.32.12

func (s FrameMetric) String() string

String returns the string representation

func (*FrameMetric) Validate added in v1.32.12

func (s *FrameMetric) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type FrameMetricDatum added in v1.32.12

type FrameMetricDatum struct {

	// The frame name, metric type, and thread states. These are used to derive
	// the value of the metric for the frame.
	//
	// FrameMetric is a required field
	FrameMetric *FrameMetric `locationName:"frameMetric" type:"structure" required:"true"`

	// A list of values that are associated with a frame metric.
	//
	// Values is a required field
	Values []*float64 `locationName:"values" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Information about a frame metric and its values.

func (FrameMetricDatum) GoString added in v1.32.12

func (s FrameMetricDatum) GoString() string

GoString returns the string representation

func (*FrameMetricDatum) SetFrameMetric added in v1.32.12

func (s *FrameMetricDatum) SetFrameMetric(v *FrameMetric) *FrameMetricDatum

SetFrameMetric sets the FrameMetric field's value.

func (*FrameMetricDatum) SetValues added in v1.32.12

func (s *FrameMetricDatum) SetValues(v []*float64) *FrameMetricDatum

SetValues sets the Values field's value.

func (FrameMetricDatum) String added in v1.32.12

func (s FrameMetricDatum) String() string

String returns the string representation

type GetFindingsReportAccountSummaryInput added in v1.32.12

type GetFindingsReportAccountSummaryInput struct {

	// A Boolean value indicating whether to only return reports from daily profiles.
	// If set to True, only analysis data from daily profiles is returned. If set
	// to False, analysis data is returned from smaller time windows (for example,
	// one hour).
	DailyReportsOnly *bool `location:"querystring" locationName:"dailyReportsOnly" type:"boolean"`

	// The maximum number of results returned by GetFindingsReportAccountSummary
	// in paginated output. When this parameter is used, GetFindingsReportAccountSummary
	// only returns maxResults results in a single page along with a nextToken response
	// element. The remaining results of the initial request can be seen by sending
	// another GetFindingsReportAccountSummary request with the returned nextToken
	// value.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The nextToken value returned from a previous paginated GetFindingsReportAccountSummary
	// request where maxResults was used and the results exceeded the value of that
	// parameter. Pagination continues from the end of the previous results that
	// returned the nextToken value.
	//
	// This token should be treated as an opaque identifier that is only used to
	// retrieve the next items in a list and not for other programmatic purposes.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The structure representing the GetFindingsReportAccountSummaryRequest.

func (GetFindingsReportAccountSummaryInput) GoString added in v1.32.12

GoString returns the string representation

func (*GetFindingsReportAccountSummaryInput) SetDailyReportsOnly added in v1.32.12

SetDailyReportsOnly sets the DailyReportsOnly field's value.

func (*GetFindingsReportAccountSummaryInput) SetMaxResults added in v1.32.12

SetMaxResults sets the MaxResults field's value.

func (*GetFindingsReportAccountSummaryInput) SetNextToken added in v1.32.12

SetNextToken sets the NextToken field's value.

func (GetFindingsReportAccountSummaryInput) String added in v1.32.12

String returns the string representation

func (*GetFindingsReportAccountSummaryInput) Validate added in v1.32.12

Validate inspects the fields of the type to determine if they are valid.

type GetFindingsReportAccountSummaryOutput added in v1.32.12

type GetFindingsReportAccountSummaryOutput struct {

	// The nextToken value to include in a future GetFindingsReportAccountSummary
	// request. When the results of a GetFindingsReportAccountSummary request exceed
	// maxResults, this value can be used to retrieve the next page of results.
	// This value is null when there are no more results to return.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

	// The return list of FindingsReportSummary (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_FindingsReportSummary.html)
	// objects taht contain summaries of analysis results for all profiling groups
	// in your AWS account.
	//
	// ReportSummaries is a required field
	ReportSummaries []*FindingsReportSummary `locationName:"reportSummaries" type:"list" required:"true"`
	// contains filtered or unexported fields
}

The structure representing the GetFindingsReportAccountSummaryResponse.

func (GetFindingsReportAccountSummaryOutput) GoString added in v1.32.12

GoString returns the string representation

func (*GetFindingsReportAccountSummaryOutput) SetNextToken added in v1.32.12

SetNextToken sets the NextToken field's value.

func (*GetFindingsReportAccountSummaryOutput) SetReportSummaries added in v1.32.12

SetReportSummaries sets the ReportSummaries field's value.

func (GetFindingsReportAccountSummaryOutput) String added in v1.32.12

String returns the string representation

type GetNotificationConfigurationInput added in v1.32.12

type GetNotificationConfigurationInput struct {

	// The name of the profiling group we want to get the notification configuration
	// for.
	//
	// ProfilingGroupName is a required field
	ProfilingGroupName *string `location:"uri" locationName:"profilingGroupName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The structure representing the GetNotificationConfigurationRequest.

func (GetNotificationConfigurationInput) GoString added in v1.32.12

GoString returns the string representation

func (*GetNotificationConfigurationInput) SetProfilingGroupName added in v1.32.12

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (GetNotificationConfigurationInput) String added in v1.32.12

String returns the string representation

func (*GetNotificationConfigurationInput) Validate added in v1.32.12

Validate inspects the fields of the type to determine if they are valid.

type GetNotificationConfigurationOutput added in v1.32.12

type GetNotificationConfigurationOutput struct {

	// The current notification configuration for this profiling group.
	//
	// NotificationConfiguration is a required field
	NotificationConfiguration *NotificationConfiguration `locationName:"notificationConfiguration" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

The structure representing the GetNotificationConfigurationResponse.

func (GetNotificationConfigurationOutput) GoString added in v1.32.12

GoString returns the string representation

func (*GetNotificationConfigurationOutput) SetNotificationConfiguration added in v1.32.12

SetNotificationConfiguration sets the NotificationConfiguration field's value.

func (GetNotificationConfigurationOutput) String added in v1.32.12

String returns the string representation

type GetPolicyInput added in v1.30.7

type GetPolicyInput struct {

	// The name of the profiling group.
	//
	// ProfilingGroupName is a required field
	ProfilingGroupName *string `location:"uri" locationName:"profilingGroupName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The structure representing the getPolicyRequest.

func (GetPolicyInput) GoString added in v1.30.7

func (s GetPolicyInput) GoString() string

GoString returns the string representation

func (*GetPolicyInput) SetProfilingGroupName added in v1.30.7

func (s *GetPolicyInput) SetProfilingGroupName(v string) *GetPolicyInput

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (GetPolicyInput) String added in v1.30.7

func (s GetPolicyInput) String() string

String returns the string representation

func (*GetPolicyInput) Validate added in v1.30.7

func (s *GetPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetPolicyOutput added in v1.30.7

type GetPolicyOutput struct {

	// The JSON-formatted resource-based policy attached to the ProfilingGroup.
	//
	// Policy is a required field
	Policy *string `locationName:"policy" type:"string" required:"true"`

	// A unique identifier for the current revision of the returned policy.
	//
	// RevisionId is a required field
	RevisionId *string `locationName:"revisionId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The structure representing the getPolicyResponse.

func (GetPolicyOutput) GoString added in v1.30.7

func (s GetPolicyOutput) GoString() string

GoString returns the string representation

func (*GetPolicyOutput) SetPolicy added in v1.30.7

func (s *GetPolicyOutput) SetPolicy(v string) *GetPolicyOutput

SetPolicy sets the Policy field's value.

func (*GetPolicyOutput) SetRevisionId added in v1.30.7

func (s *GetPolicyOutput) SetRevisionId(v string) *GetPolicyOutput

SetRevisionId sets the RevisionId field's value.

func (GetPolicyOutput) String added in v1.30.7

func (s GetPolicyOutput) String() string

String returns the string representation

type GetProfileInput

type GetProfileInput struct {

	// The format of the returned profiling data. The format maps to the Accept
	// and Content-Type headers of the HTTP request. You can specify one of the
	// following: or the default .
	//
	//    <ul> <li> <p> <code>application/json</code> — standard JSON format </p>
	//    </li> <li> <p> <code>application/x-amzn-ion</code> — the Amazon Ion
	//    data format. For more information, see <a href="http://amzn.github.io/ion-docs/">Amazon
	//    Ion</a>. </p> </li> </ul>
	Accept *string `location:"header" locationName:"Accept" type:"string"`

	// The end time of the requested profile. Specify using the ISO 8601 format.
	// For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June
	// 1, 2020 1:15:02 PM UTC.
	//
	// If you specify endTime, then you must also specify period or startTime, but
	// not both.
	EndTime *time.Time `location:"querystring" locationName:"endTime" type:"timestamp" timestampFormat:"iso8601"`

	// The maximum depth of the stacks in the code that is represented in the aggregated
	// profile. For example, if CodeGuru Profiler finds a method A, which calls
	// method B, which calls method C, which calls method D, then the depth is 4.
	// If the maxDepth is set to 2, then the aggregated profile contains representations
	// of methods A and B.
	MaxDepth *int64 `location:"querystring" locationName:"maxDepth" min:"1" type:"integer"`

	// Used with startTime or endTime to specify the time range for the returned
	// aggregated profile. Specify using the ISO 8601 format. For example, P1DT1H1M1S.
	//
	//    <p> To get the latest aggregated profile, specify only <code>period</code>.
	//    </p>
	Period *string `location:"querystring" locationName:"period" min:"1" type:"string"`

	// The name of the profiling group to get.
	//
	// ProfilingGroupName is a required field
	ProfilingGroupName *string `location:"uri" locationName:"profilingGroupName" min:"1" type:"string" required:"true"`

	// The start time of the profile to get. Specify using the ISO 8601 format.
	// For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June
	// 1, 2020 1:15:02 PM UTC.
	//
	//    <p> If you specify <code>startTime</code>, then you must also specify
	//    <code>period</code> or <code>endTime</code>, but not both. </p>
	StartTime *time.Time `location:"querystring" locationName:"startTime" type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

The structure representing the getProfileRequest.

func (GetProfileInput) GoString

func (s GetProfileInput) GoString() string

GoString returns the string representation

func (*GetProfileInput) SetAccept

func (s *GetProfileInput) SetAccept(v string) *GetProfileInput

SetAccept sets the Accept field's value.

func (*GetProfileInput) SetEndTime

func (s *GetProfileInput) SetEndTime(v time.Time) *GetProfileInput

SetEndTime sets the EndTime field's value.

func (*GetProfileInput) SetMaxDepth

func (s *GetProfileInput) SetMaxDepth(v int64) *GetProfileInput

SetMaxDepth sets the MaxDepth field's value.

func (*GetProfileInput) SetPeriod

func (s *GetProfileInput) SetPeriod(v string) *GetProfileInput

SetPeriod sets the Period field's value.

func (*GetProfileInput) SetProfilingGroupName

func (s *GetProfileInput) SetProfilingGroupName(v string) *GetProfileInput

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (*GetProfileInput) SetStartTime

func (s *GetProfileInput) SetStartTime(v time.Time) *GetProfileInput

SetStartTime sets the StartTime field's value.

func (GetProfileInput) String

func (s GetProfileInput) String() string

String returns the string representation

func (*GetProfileInput) Validate

func (s *GetProfileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetProfileOutput

type GetProfileOutput struct {

	// The content encoding of the profile.
	ContentEncoding *string `location:"header" locationName:"Content-Encoding" type:"string"`

	// The content type of the profile in the payload. It is either application/json
	// or the default application/x-amzn-ion.
	//
	// ContentType is a required field
	ContentType *string `location:"header" locationName:"Content-Type" type:"string" required:"true"`

	// Information about the profile.
	//
	// Profile is a required field
	Profile []byte `locationName:"profile" type:"blob" required:"true"`
	// contains filtered or unexported fields
}

The structure representing the getProfileResponse.

func (GetProfileOutput) GoString

func (s GetProfileOutput) GoString() string

GoString returns the string representation

func (*GetProfileOutput) SetContentEncoding

func (s *GetProfileOutput) SetContentEncoding(v string) *GetProfileOutput

SetContentEncoding sets the ContentEncoding field's value.

func (*GetProfileOutput) SetContentType

func (s *GetProfileOutput) SetContentType(v string) *GetProfileOutput

SetContentType sets the ContentType field's value.

func (*GetProfileOutput) SetProfile

func (s *GetProfileOutput) SetProfile(v []byte) *GetProfileOutput

SetProfile sets the Profile field's value.

func (GetProfileOutput) String

func (s GetProfileOutput) String() string

String returns the string representation

type GetRecommendationsInput added in v1.32.12

type GetRecommendationsInput struct {

	// The start time of the profile to get analysis data about. You must specify
	// startTime and endTime. This is specified using the ISO 8601 format. For example,
	// 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02
	// PM UTC.
	//
	// EndTime is a required field
	EndTime *time.Time `location:"querystring" locationName:"endTime" type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// The language used to provide analysis. Specify using a string that is one
	// of the following BCP 47 language codes.
	//
	//    * de-DE - German, Germany
	//
	//    * en-GB - English, United Kingdom
	//
	//    * en-US - English, United States
	//
	//    * es-ES - Spanish, Spain
	//
	//    * fr-FR - French, France
	//
	//    * it-IT - Italian, Italy
	//
	//    * ja-JP - Japanese, Japan
	//
	//    * ko-KR - Korean, Republic of Korea
	//
	//    * pt-BR - Portugese, Brazil
	//
	//    * zh-CN - Chinese, China
	//
	//    * zh-TW - Chinese, Taiwan
	Locale *string `location:"querystring" locationName:"locale" type:"string"`

	// The name of the profiling group to get analysis data about.
	//
	// ProfilingGroupName is a required field
	ProfilingGroupName *string `location:"uri" locationName:"profilingGroupName" min:"1" type:"string" required:"true"`

	// The end time of the profile to get analysis data about. You must specify
	// startTime and endTime. This is specified using the ISO 8601 format. For example,
	// 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02
	// PM UTC.
	//
	// StartTime is a required field
	StartTime *time.Time `location:"querystring" locationName:"startTime" type:"timestamp" timestampFormat:"iso8601" required:"true"`
	// contains filtered or unexported fields
}

The structure representing the GetRecommendationsRequest.

func (GetRecommendationsInput) GoString added in v1.32.12

func (s GetRecommendationsInput) GoString() string

GoString returns the string representation

func (*GetRecommendationsInput) SetEndTime added in v1.32.12

SetEndTime sets the EndTime field's value.

func (*GetRecommendationsInput) SetLocale added in v1.32.12

SetLocale sets the Locale field's value.

func (*GetRecommendationsInput) SetProfilingGroupName added in v1.32.12

func (s *GetRecommendationsInput) SetProfilingGroupName(v string) *GetRecommendationsInput

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (*GetRecommendationsInput) SetStartTime added in v1.32.12

SetStartTime sets the StartTime field's value.

func (GetRecommendationsInput) String added in v1.32.12

func (s GetRecommendationsInput) String() string

String returns the string representation

func (*GetRecommendationsInput) Validate added in v1.32.12

func (s *GetRecommendationsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetRecommendationsOutput added in v1.32.12

type GetRecommendationsOutput struct {

	// The list of anomalies that the analysis has found for this profile.
	//
	// Anomalies is a required field
	Anomalies []*Anomaly `locationName:"anomalies" type:"list" required:"true"`

	// The end time of the profile the analysis data is about. This is specified
	// using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents
	// 1 millisecond past June 1, 2020 1:15:02 PM UTC.
	//
	// ProfileEndTime is a required field
	ProfileEndTime *time.Time `locationName:"profileEndTime" type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// The start time of the profile the analysis data is about. This is specified
	// using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents
	// 1 millisecond past June 1, 2020 1:15:02 PM UTC.
	//
	// ProfileStartTime is a required field
	ProfileStartTime *time.Time `locationName:"profileStartTime" type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// The name of the profiling group the analysis data is about.
	//
	// ProfilingGroupName is a required field
	ProfilingGroupName *string `locationName:"profilingGroupName" min:"1" type:"string" required:"true"`

	// The list of recommendations that the analysis found for this profile.
	//
	// Recommendations is a required field
	Recommendations []*Recommendation `locationName:"recommendations" type:"list" required:"true"`
	// contains filtered or unexported fields
}

The structure representing the GetRecommendationsResponse.

func (GetRecommendationsOutput) GoString added in v1.32.12

func (s GetRecommendationsOutput) GoString() string

GoString returns the string representation

func (*GetRecommendationsOutput) SetAnomalies added in v1.32.12

SetAnomalies sets the Anomalies field's value.

func (*GetRecommendationsOutput) SetProfileEndTime added in v1.32.12

SetProfileEndTime sets the ProfileEndTime field's value.

func (*GetRecommendationsOutput) SetProfileStartTime added in v1.32.12

func (s *GetRecommendationsOutput) SetProfileStartTime(v time.Time) *GetRecommendationsOutput

SetProfileStartTime sets the ProfileStartTime field's value.

func (*GetRecommendationsOutput) SetProfilingGroupName added in v1.32.12

func (s *GetRecommendationsOutput) SetProfilingGroupName(v string) *GetRecommendationsOutput

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (*GetRecommendationsOutput) SetRecommendations added in v1.32.12

SetRecommendations sets the Recommendations field's value.

func (GetRecommendationsOutput) String added in v1.32.12

func (s GetRecommendationsOutput) String() string

String returns the string representation

type InternalServerException added in v1.28.0

type InternalServerException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*InternalServerException) Code added in v1.28.0

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error added in v1.28.0

func (s *InternalServerException) Error() string

func (InternalServerException) GoString added in v1.28.0

func (s InternalServerException) GoString() string

GoString returns the string representation

func (*InternalServerException) Message added in v1.28.0

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr added in v1.28.0

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID added in v1.28.0

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode added in v1.28.0

func (s *InternalServerException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalServerException) String added in v1.28.0

func (s InternalServerException) String() string

String returns the string representation

type ListFindingsReportsInput added in v1.32.12

type ListFindingsReportsInput struct {

	// A Boolean value indicating whether to only return reports from daily profiles.
	// If set to True, only analysis data from daily profiles is returned. If set
	// to False, analysis data is returned from smaller time windows (for example,
	// one hour).
	DailyReportsOnly *bool `location:"querystring" locationName:"dailyReportsOnly" type:"boolean"`

	// The end time of the profile to get analysis data about. You must specify
	// startTime and endTime. This is specified using the ISO 8601 format. For example,
	// 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02
	// PM UTC.
	//
	// EndTime is a required field
	EndTime *time.Time `location:"querystring" locationName:"endTime" type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// The maximum number of report results returned by ListFindingsReports in paginated
	// output. When this parameter is used, ListFindingsReports only returns maxResults
	// results in a single page along with a nextToken response element. The remaining
	// results of the initial request can be seen by sending another ListFindingsReports
	// request with the returned nextToken value.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The nextToken value returned from a previous paginated ListFindingsReportsRequest
	// request where maxResults was used and the results exceeded the value of that
	// parameter. Pagination continues from the end of the previous results that
	// returned the nextToken value.
	//
	// This token should be treated as an opaque identifier that is only used to
	// retrieve the next items in a list and not for other programmatic purposes.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`

	// The name of the profiling group from which to search for analysis data.
	//
	// ProfilingGroupName is a required field
	ProfilingGroupName *string `location:"uri" locationName:"profilingGroupName" min:"1" type:"string" required:"true"`

	// The start time of the profile to get analysis data about. You must specify
	// startTime and endTime. This is specified using the ISO 8601 format. For example,
	// 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02
	// PM UTC.
	//
	// StartTime is a required field
	StartTime *time.Time `location:"querystring" locationName:"startTime" type:"timestamp" timestampFormat:"iso8601" required:"true"`
	// contains filtered or unexported fields
}

The structure representing the ListFindingsReportsRequest.

func (ListFindingsReportsInput) GoString added in v1.32.12

func (s ListFindingsReportsInput) GoString() string

GoString returns the string representation

func (*ListFindingsReportsInput) SetDailyReportsOnly added in v1.32.12

func (s *ListFindingsReportsInput) SetDailyReportsOnly(v bool) *ListFindingsReportsInput

SetDailyReportsOnly sets the DailyReportsOnly field's value.

func (*ListFindingsReportsInput) SetEndTime added in v1.32.12

SetEndTime sets the EndTime field's value.

func (*ListFindingsReportsInput) SetMaxResults added in v1.32.12

SetMaxResults sets the MaxResults field's value.

func (*ListFindingsReportsInput) SetNextToken added in v1.32.12

SetNextToken sets the NextToken field's value.

func (*ListFindingsReportsInput) SetProfilingGroupName added in v1.32.12

func (s *ListFindingsReportsInput) SetProfilingGroupName(v string) *ListFindingsReportsInput

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (*ListFindingsReportsInput) SetStartTime added in v1.32.12

SetStartTime sets the StartTime field's value.

func (ListFindingsReportsInput) String added in v1.32.12

func (s ListFindingsReportsInput) String() string

String returns the string representation

func (*ListFindingsReportsInput) Validate added in v1.32.12

func (s *ListFindingsReportsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListFindingsReportsOutput added in v1.32.12

type ListFindingsReportsOutput struct {

	// The list of analysis results summaries.
	//
	// FindingsReportSummaries is a required field
	FindingsReportSummaries []*FindingsReportSummary `locationName:"findingsReportSummaries" type:"list" required:"true"`

	// The nextToken value to include in a future ListFindingsReports request. When
	// the results of a ListFindingsReports request exceed maxResults, this value
	// can be used to retrieve the next page of results. This value is null when
	// there are no more results to return.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The structure representing the ListFindingsReportsResponse.

func (ListFindingsReportsOutput) GoString added in v1.32.12

func (s ListFindingsReportsOutput) GoString() string

GoString returns the string representation

func (*ListFindingsReportsOutput) SetFindingsReportSummaries added in v1.32.12

func (s *ListFindingsReportsOutput) SetFindingsReportSummaries(v []*FindingsReportSummary) *ListFindingsReportsOutput

SetFindingsReportSummaries sets the FindingsReportSummaries field's value.

func (*ListFindingsReportsOutput) SetNextToken added in v1.32.12

SetNextToken sets the NextToken field's value.

func (ListFindingsReportsOutput) String added in v1.32.12

func (s ListFindingsReportsOutput) String() string

String returns the string representation

type ListProfileTimesInput

type ListProfileTimesInput struct {

	// The end time of the time range from which to list the profiles.
	//
	// EndTime is a required field
	EndTime *time.Time `location:"querystring" locationName:"endTime" type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// The maximum number of profile time results returned by ListProfileTimes in
	// paginated output. When this parameter is used, ListProfileTimes only returns
	// maxResults results in a single page with a nextToken response element. The
	// remaining results of the initial request can be seen by sending another ListProfileTimes
	// request with the returned nextToken value.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The nextToken value returned from a previous paginated ListProfileTimes request
	// where maxResults was used and the results exceeded the value of that parameter.
	// Pagination continues from the end of the previous results that returned the
	// nextToken value.
	//
	// This token should be treated as an opaque identifier that is only used to
	// retrieve the next items in a list and not for other programmatic purposes.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`

	// The order (ascending or descending by start time of the profile) to use when
	// listing profiles. Defaults to TIMESTAMP_DESCENDING.
	OrderBy *string `location:"querystring" locationName:"orderBy" type:"string" enum:"OrderBy"`

	// The aggregation period. This specifies the period during which an aggregation
	// profile collects posted agent profiles for a profiling group. There are 3
	// valid values.
	//
	//    * P1D — 1 day
	//
	//    * PT1H — 1 hour
	//
	//    * PT5M — 5 minutes
	//
	// Period is a required field
	Period *string `location:"querystring" locationName:"period" type:"string" required:"true" enum:"AggregationPeriod"`

	// The name of the profiling group.
	//
	// ProfilingGroupName is a required field
	ProfilingGroupName *string `location:"uri" locationName:"profilingGroupName" min:"1" type:"string" required:"true"`

	// The start time of the time range from which to list the profiles.
	//
	// StartTime is a required field
	StartTime *time.Time `location:"querystring" locationName:"startTime" type:"timestamp" timestampFormat:"iso8601" required:"true"`
	// contains filtered or unexported fields
}

The structure representing the listProfileTimesRequest.

func (ListProfileTimesInput) GoString

func (s ListProfileTimesInput) GoString() string

GoString returns the string representation

func (*ListProfileTimesInput) SetEndTime

SetEndTime sets the EndTime field's value.

func (*ListProfileTimesInput) SetMaxResults

func (s *ListProfileTimesInput) SetMaxResults(v int64) *ListProfileTimesInput

SetMaxResults sets the MaxResults field's value.

func (*ListProfileTimesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListProfileTimesInput) SetOrderBy

SetOrderBy sets the OrderBy field's value.

func (*ListProfileTimesInput) SetPeriod

SetPeriod sets the Period field's value.

func (*ListProfileTimesInput) SetProfilingGroupName

func (s *ListProfileTimesInput) SetProfilingGroupName(v string) *ListProfileTimesInput

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (*ListProfileTimesInput) SetStartTime

SetStartTime sets the StartTime field's value.

func (ListProfileTimesInput) String

func (s ListProfileTimesInput) String() string

String returns the string representation

func (*ListProfileTimesInput) Validate

func (s *ListProfileTimesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListProfileTimesOutput

type ListProfileTimesOutput struct {

	// The nextToken value to include in a future ListProfileTimes request. When
	// the results of a ListProfileTimes request exceed maxResults, this value can
	// be used to retrieve the next page of results. This value is null when there
	// are no more results to return.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

	// The list of start times of the available profiles for the aggregation period
	// in the specified time range.
	//
	// ProfileTimes is a required field
	ProfileTimes []*ProfileTime `locationName:"profileTimes" type:"list" required:"true"`
	// contains filtered or unexported fields
}

The structure representing the listProfileTimesResponse.

func (ListProfileTimesOutput) GoString

func (s ListProfileTimesOutput) GoString() string

GoString returns the string representation

func (*ListProfileTimesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListProfileTimesOutput) SetProfileTimes

func (s *ListProfileTimesOutput) SetProfileTimes(v []*ProfileTime) *ListProfileTimesOutput

SetProfileTimes sets the ProfileTimes field's value.

func (ListProfileTimesOutput) String

func (s ListProfileTimesOutput) String() string

String returns the string representation

type ListProfilingGroupsInput

type ListProfilingGroupsInput struct {

	// A Boolean value indicating whether to include a description. If true, then
	// a list of ProfilingGroupDescription (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html)
	// objects that contain detailed information about profiling groups is returned.
	// If false, then a list of profiling group names is returned.
	IncludeDescription *bool `location:"querystring" locationName:"includeDescription" type:"boolean"`

	// The maximum number of profiling groups results returned by ListProfilingGroups
	// in paginated output. When this parameter is used, ListProfilingGroups only
	// returns maxResults results in a single page along with a nextToken response
	// element. The remaining results of the initial request can be seen by sending
	// another ListProfilingGroups request with the returned nextToken value.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The nextToken value returned from a previous paginated ListProfilingGroups
	// request where maxResults was used and the results exceeded the value of that
	// parameter. Pagination continues from the end of the previous results that
	// returned the nextToken value.
	//
	// This token should be treated as an opaque identifier that is only used to
	// retrieve the next items in a list and not for other programmatic purposes.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The structure representing the listProfilingGroupsRequest.

func (ListProfilingGroupsInput) GoString

func (s ListProfilingGroupsInput) GoString() string

GoString returns the string representation

func (*ListProfilingGroupsInput) SetIncludeDescription

func (s *ListProfilingGroupsInput) SetIncludeDescription(v bool) *ListProfilingGroupsInput

SetIncludeDescription sets the IncludeDescription field's value.

func (*ListProfilingGroupsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListProfilingGroupsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListProfilingGroupsInput) String

func (s ListProfilingGroupsInput) String() string

String returns the string representation

func (*ListProfilingGroupsInput) Validate

func (s *ListProfilingGroupsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListProfilingGroupsOutput

type ListProfilingGroupsOutput struct {

	// The nextToken value to include in a future ListProfilingGroups request. When
	// the results of a ListProfilingGroups request exceed maxResults, this value
	// can be used to retrieve the next page of results. This value is null when
	// there are no more results to return.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

	// A returned list of profiling group names. A list of the names is returned
	// only if includeDescription is false, otherwise a list of ProfilingGroupDescription
	// (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html)
	// objects is returned.
	//
	// ProfilingGroupNames is a required field
	ProfilingGroupNames []*string `locationName:"profilingGroupNames" type:"list" required:"true"`

	// A returned list ProfilingGroupDescription (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html)
	// objects. A list of ProfilingGroupDescription (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html)
	// objects is returned only if includeDescription is true, otherwise a list
	// of profiling group names is returned.
	ProfilingGroups []*ProfilingGroupDescription `locationName:"profilingGroups" type:"list"`
	// contains filtered or unexported fields
}

The structure representing the listProfilingGroupsResponse.

func (ListProfilingGroupsOutput) GoString

func (s ListProfilingGroupsOutput) GoString() string

GoString returns the string representation

func (*ListProfilingGroupsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListProfilingGroupsOutput) SetProfilingGroupNames

func (s *ListProfilingGroupsOutput) SetProfilingGroupNames(v []*string) *ListProfilingGroupsOutput

SetProfilingGroupNames sets the ProfilingGroupNames field's value.

func (*ListProfilingGroupsOutput) SetProfilingGroups

SetProfilingGroups sets the ProfilingGroups field's value.

func (ListProfilingGroupsOutput) String

func (s ListProfilingGroupsOutput) String() string

String returns the string representation

type ListTagsForResourceInput added in v1.33.9

type ListTagsForResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource that contains the tags to
	// return.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString added in v1.33.9

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetResourceArn added in v1.33.9

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String added in v1.33.9

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate added in v1.33.9

func (s *ListTagsForResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsForResourceOutput added in v1.33.9

type ListTagsForResourceOutput struct {

	// The list of tags assigned to the specified resource. This is the list of
	// tags returned in the response.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString added in v1.33.9

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetTags added in v1.33.9

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String added in v1.33.9

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type Match added in v1.32.12

type Match struct {

	// The location in the profiling graph that contains a recommendation found
	// during analysis.
	FrameAddress *string `locationName:"frameAddress" type:"string"`

	// The target frame that triggered a match.
	TargetFramesIndex *int64 `locationName:"targetFramesIndex" type:"integer"`

	// The value in the profile data that exceeded the recommendation threshold.
	ThresholdBreachValue *float64 `locationName:"thresholdBreachValue" type:"double"`
	// contains filtered or unexported fields
}

The part of a profile that contains a recommendation found during analysis.

func (Match) GoString added in v1.32.12

func (s Match) GoString() string

GoString returns the string representation

func (*Match) SetFrameAddress added in v1.32.12

func (s *Match) SetFrameAddress(v string) *Match

SetFrameAddress sets the FrameAddress field's value.

func (*Match) SetTargetFramesIndex added in v1.32.12

func (s *Match) SetTargetFramesIndex(v int64) *Match

SetTargetFramesIndex sets the TargetFramesIndex field's value.

func (*Match) SetThresholdBreachValue added in v1.32.12

func (s *Match) SetThresholdBreachValue(v float64) *Match

SetThresholdBreachValue sets the ThresholdBreachValue field's value.

func (Match) String added in v1.32.12

func (s Match) String() string

String returns the string representation

type Metric added in v1.32.12

type Metric struct {

	// The name of the method that appears as a frame in any stack in a profile.
	//
	// FrameName is a required field
	FrameName *string `locationName:"frameName" type:"string" required:"true"`

	// The list of application runtime thread states that is used to calculate the
	// metric value for the frame.
	//
	// ThreadStates is a required field
	ThreadStates []*string `locationName:"threadStates" type:"list" required:"true"`

	// A type that specifies how a metric for a frame is analyzed. The supported
	// value AggregatedRelativeTotalTime is an aggregation of the metric value for
	// one frame that is calculated across the occurences of all frames in a profile.
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true" enum:"MetricType"`
	// contains filtered or unexported fields
}

Details about the metric that the analysis used when it detected the anomaly. The metric what is analyzed to create recommendations. It includes the name of the frame that was analyzed and the type and thread states used to derive the metric value for that frame.

func (Metric) GoString added in v1.32.12

func (s Metric) GoString() string

GoString returns the string representation

func (*Metric) SetFrameName added in v1.32.12

func (s *Metric) SetFrameName(v string) *Metric

SetFrameName sets the FrameName field's value.

func (*Metric) SetThreadStates added in v1.32.12

func (s *Metric) SetThreadStates(v []*string) *Metric

SetThreadStates sets the ThreadStates field's value.

func (*Metric) SetType added in v1.32.12

func (s *Metric) SetType(v string) *Metric

SetType sets the Type field's value.

func (Metric) String added in v1.32.12

func (s Metric) String() string

String returns the string representation

type NotificationConfiguration added in v1.32.12

type NotificationConfiguration struct {

	// List of up to two channels to be used for sending notifications for events
	// detected from the application profile.
	Channels []*Channel `locationName:"channels" min:"1" type:"list"`
	// contains filtered or unexported fields
}

The configuration for notifications stored for each profiling group. This includes up to to two channels and a list of event publishers associated with each channel.

func (NotificationConfiguration) GoString added in v1.32.12

func (s NotificationConfiguration) GoString() string

GoString returns the string representation

func (*NotificationConfiguration) SetChannels added in v1.32.12

SetChannels sets the Channels field's value.

func (NotificationConfiguration) String added in v1.32.12

func (s NotificationConfiguration) String() string

String returns the string representation

type Pattern added in v1.32.12

type Pattern struct {

	// A list of the different counters used to determine if there is a match.
	CountersToAggregate []*string `locationName:"countersToAggregate" type:"list"`

	// The description of the recommendation. This explains a potential inefficiency
	// in a profiled application.
	Description *string `locationName:"description" type:"string"`

	// The universally unique identifier (UUID) of this pattern.
	Id *string `locationName:"id" type:"string"`

	// The name for this pattern.
	Name *string `locationName:"name" type:"string"`

	// A string that contains the steps recommended to address the potential inefficiency.
	ResolutionSteps *string `locationName:"resolutionSteps" type:"string"`

	// A list of frame names that were searched during the analysis that generated
	// a recommendation.
	TargetFrames [][]*string `locationName:"targetFrames" type:"list"`

	// The percentage of time an application spends in one method that triggers
	// a recommendation. The percentage of time is the same as the percentage of
	// the total gathered sample counts during analysis.
	ThresholdPercent *float64 `locationName:"thresholdPercent" type:"double"`
	// contains filtered or unexported fields
}

A set of rules used to make a recommendation during an analysis.

func (Pattern) GoString added in v1.32.12

func (s Pattern) GoString() string

GoString returns the string representation

func (*Pattern) SetCountersToAggregate added in v1.32.12

func (s *Pattern) SetCountersToAggregate(v []*string) *Pattern

SetCountersToAggregate sets the CountersToAggregate field's value.

func (*Pattern) SetDescription added in v1.32.12

func (s *Pattern) SetDescription(v string) *Pattern

SetDescription sets the Description field's value.

func (*Pattern) SetId added in v1.32.12

func (s *Pattern) SetId(v string) *Pattern

SetId sets the Id field's value.

func (*Pattern) SetName added in v1.32.12

func (s *Pattern) SetName(v string) *Pattern

SetName sets the Name field's value.

func (*Pattern) SetResolutionSteps added in v1.32.12

func (s *Pattern) SetResolutionSteps(v string) *Pattern

SetResolutionSteps sets the ResolutionSteps field's value.

func (*Pattern) SetTargetFrames added in v1.32.12

func (s *Pattern) SetTargetFrames(v [][]*string) *Pattern

SetTargetFrames sets the TargetFrames field's value.

func (*Pattern) SetThresholdPercent added in v1.32.12

func (s *Pattern) SetThresholdPercent(v float64) *Pattern

SetThresholdPercent sets the ThresholdPercent field's value.

func (Pattern) String added in v1.32.12

func (s Pattern) String() string

String returns the string representation

type PostAgentProfileInput

type PostAgentProfileInput struct {

	// The submitted profiling data.
	//
	// AgentProfile is a required field
	AgentProfile []byte `locationName:"agentProfile" type:"blob" required:"true"`

	// The format of the submitted profiling data. The format maps to the Accept
	// and Content-Type headers of the HTTP request. You can specify one of the
	// following: or the default .
	//
	//    <ul> <li> <p> <code>application/json</code> — standard JSON format </p>
	//    </li> <li> <p> <code>application/x-amzn-ion</code> — the Amazon Ion
	//    data format. For more information, see <a href="http://amzn.github.io/ion-docs/">Amazon
	//    Ion</a>. </p> </li> </ul>
	//
	// ContentType is a required field
	ContentType *string `location:"header" locationName:"Content-Type" type:"string" required:"true"`

	// Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to
	// prevent the accidental submission of duplicate profiling data if there are
	// failures and retries.
	ProfileToken *string `location:"querystring" locationName:"profileToken" min:"1" type:"string" idempotencyToken:"true"`

	// The name of the profiling group with the aggregated profile that receives
	// the submitted profiling data.
	//
	// ProfilingGroupName is a required field
	ProfilingGroupName *string `location:"uri" locationName:"profilingGroupName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The structure representing the postAgentProfileRequest.

func (PostAgentProfileInput) GoString

func (s PostAgentProfileInput) GoString() string

GoString returns the string representation

func (*PostAgentProfileInput) SetAgentProfile

func (s *PostAgentProfileInput) SetAgentProfile(v []byte) *PostAgentProfileInput

SetAgentProfile sets the AgentProfile field's value.

func (*PostAgentProfileInput) SetContentType

func (s *PostAgentProfileInput) SetContentType(v string) *PostAgentProfileInput

SetContentType sets the ContentType field's value.

func (*PostAgentProfileInput) SetProfileToken

func (s *PostAgentProfileInput) SetProfileToken(v string) *PostAgentProfileInput

SetProfileToken sets the ProfileToken field's value.

func (*PostAgentProfileInput) SetProfilingGroupName

func (s *PostAgentProfileInput) SetProfilingGroupName(v string) *PostAgentProfileInput

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (PostAgentProfileInput) String

func (s PostAgentProfileInput) String() string

String returns the string representation

func (*PostAgentProfileInput) Validate

func (s *PostAgentProfileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PostAgentProfileOutput

type PostAgentProfileOutput struct {
	// contains filtered or unexported fields
}

The structure representing the postAgentProfileResponse.

func (PostAgentProfileOutput) GoString

func (s PostAgentProfileOutput) GoString() string

GoString returns the string representation

func (PostAgentProfileOutput) String

func (s PostAgentProfileOutput) String() string

String returns the string representation

type ProfileTime

type ProfileTime struct {

	// The start time of a profile. It is specified using the ISO 8601 format. For
	// example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020
	// 1:15:02 PM UTC.
	Start *time.Time `locationName:"start" type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

Contains the start time of a profile.

func (ProfileTime) GoString

func (s ProfileTime) GoString() string

GoString returns the string representation

func (*ProfileTime) SetStart

func (s *ProfileTime) SetStart(v time.Time) *ProfileTime

SetStart sets the Start field's value.

func (ProfileTime) String

func (s ProfileTime) String() string

String returns the string representation

type ProfilingGroupDescription

type ProfilingGroupDescription struct {

	// An AgentOrchestrationConfig (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_AgentOrchestrationConfig.html)
	// object that indicates if the profiling group is enabled for profiled or not.
	AgentOrchestrationConfig *AgentOrchestrationConfig `locationName:"agentOrchestrationConfig" type:"structure"`

	// The Amazon Resource Name (ARN) identifying the profiling group resource.
	Arn *string `locationName:"arn" type:"string"`

	// The compute platform of the profiling group. If it is set to AWSLambda, then
	// the profiled application runs on AWS Lambda. If it is set to Default, then
	// the profiled application runs on a compute platform that is not AWS Lambda,
	// such an Amazon EC2 instance, an on-premises server, or a different platform.
	// The default is Default.
	ComputePlatform *string `locationName:"computePlatform" type:"string" enum:"ComputePlatform"`

	// The time when the profiling group was created. Specify using the ISO 8601
	// format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past
	// June 1, 2020 1:15:02 PM UTC.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"`

	// The name of the profiling group.
	Name *string `locationName:"name" min:"1" type:"string"`

	// A ProfilingStatus (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingStatus.html)
	// object that includes information about the last time a profile agent pinged
	// back, the last time a profile was received, and the aggregation period and
	// start time for the most recent aggregated profile.
	ProfilingStatus *ProfilingStatus `locationName:"profilingStatus" type:"structure"`

	// A list of the tags that belong to this profiling group.
	Tags map[string]*string `locationName:"tags" type:"map"`

	// The date and time when the profiling group was last updated. Specify using
	// the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond
	// past June 1, 2020 1:15:02 PM UTC.
	UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

Contains information about a profiling group.

func (ProfilingGroupDescription) GoString

func (s ProfilingGroupDescription) GoString() string

GoString returns the string representation

func (*ProfilingGroupDescription) SetAgentOrchestrationConfig

SetAgentOrchestrationConfig sets the AgentOrchestrationConfig field's value.

func (*ProfilingGroupDescription) SetArn

SetArn sets the Arn field's value.

func (*ProfilingGroupDescription) SetComputePlatform added in v1.32.12

SetComputePlatform sets the ComputePlatform field's value.

func (*ProfilingGroupDescription) SetCreatedAt

SetCreatedAt sets the CreatedAt field's value.

func (*ProfilingGroupDescription) SetName

SetName sets the Name field's value.

func (*ProfilingGroupDescription) SetProfilingStatus

SetProfilingStatus sets the ProfilingStatus field's value.

func (*ProfilingGroupDescription) SetTags added in v1.33.9

SetTags sets the Tags field's value.

func (*ProfilingGroupDescription) SetUpdatedAt

SetUpdatedAt sets the UpdatedAt field's value.

func (ProfilingGroupDescription) String

func (s ProfilingGroupDescription) String() string

String returns the string representation

type ProfilingStatus

type ProfilingStatus struct {

	// The date and time when the profiling agent most recently pinged back. Specify
	// using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents
	// 1 millisecond past June 1, 2020 1:15:02 PM UTC.
	LatestAgentOrchestratedAt *time.Time `locationName:"latestAgentOrchestratedAt" type:"timestamp" timestampFormat:"iso8601"`

	// The date and time when the most recent profile was received. Specify using
	// the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond
	// past June 1, 2020 1:15:02 PM UTC.
	LatestAgentProfileReportedAt *time.Time `locationName:"latestAgentProfileReportedAt" type:"timestamp" timestampFormat:"iso8601"`

	// An AggregatedProfileTime (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_AggregatedProfileTime.html)
	// object that contains the aggregation period and start time for an aggregated
	// profile.
	LatestAggregatedProfile *AggregatedProfileTime `locationName:"latestAggregatedProfile" type:"structure"`
	// contains filtered or unexported fields
}

Profiling status includes information about the last time a profile agent pinged back, the last time a profile was received, and the aggregation period and start time for the most recent aggregated profile.

func (ProfilingStatus) GoString

func (s ProfilingStatus) GoString() string

GoString returns the string representation

func (*ProfilingStatus) SetLatestAgentOrchestratedAt

func (s *ProfilingStatus) SetLatestAgentOrchestratedAt(v time.Time) *ProfilingStatus

SetLatestAgentOrchestratedAt sets the LatestAgentOrchestratedAt field's value.

func (*ProfilingStatus) SetLatestAgentProfileReportedAt

func (s *ProfilingStatus) SetLatestAgentProfileReportedAt(v time.Time) *ProfilingStatus

SetLatestAgentProfileReportedAt sets the LatestAgentProfileReportedAt field's value.

func (*ProfilingStatus) SetLatestAggregatedProfile

func (s *ProfilingStatus) SetLatestAggregatedProfile(v *AggregatedProfileTime) *ProfilingStatus

SetLatestAggregatedProfile sets the LatestAggregatedProfile field's value.

func (ProfilingStatus) String

func (s ProfilingStatus) String() string

String returns the string representation

type PutPermissionInput added in v1.30.7

type PutPermissionInput struct {

	// Specifies an action group that contains permissions to add to a profiling
	// group resource. One action group is supported, agentPermissions, which grants
	// permission to perform actions required by the profiling agent, ConfigureAgent
	// and PostAgentProfile permissions.
	//
	// ActionGroup is a required field
	ActionGroup *string `location:"uri" locationName:"actionGroup" type:"string" required:"true" enum:"ActionGroup"`

	// A list ARNs for the roles and users you want to grant access to the profiling
	// group. Wildcards are not are supported in the ARNs.
	//
	// Principals is a required field
	Principals []*string `locationName:"principals" min:"1" type:"list" required:"true"`

	// The name of the profiling group to grant access to.
	//
	// ProfilingGroupName is a required field
	ProfilingGroupName *string `location:"uri" locationName:"profilingGroupName" min:"1" type:"string" required:"true"`

	// A universally unique identifier (UUID) for the revision of the policy you
	// are adding to the profiling group. Do not specify this when you add permissions
	// to a profiling group for the first time. If a policy already exists on the
	// profiling group, you must specify the revisionId.
	RevisionId *string `locationName:"revisionId" type:"string"`
	// contains filtered or unexported fields
}

The structure representing the putPermissionRequest.

func (PutPermissionInput) GoString added in v1.30.7

func (s PutPermissionInput) GoString() string

GoString returns the string representation

func (*PutPermissionInput) SetActionGroup added in v1.30.7

func (s *PutPermissionInput) SetActionGroup(v string) *PutPermissionInput

SetActionGroup sets the ActionGroup field's value.

func (*PutPermissionInput) SetPrincipals added in v1.30.7

func (s *PutPermissionInput) SetPrincipals(v []*string) *PutPermissionInput

SetPrincipals sets the Principals field's value.

func (*PutPermissionInput) SetProfilingGroupName added in v1.30.7

func (s *PutPermissionInput) SetProfilingGroupName(v string) *PutPermissionInput

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (*PutPermissionInput) SetRevisionId added in v1.30.7

func (s *PutPermissionInput) SetRevisionId(v string) *PutPermissionInput

SetRevisionId sets the RevisionId field's value.

func (PutPermissionInput) String added in v1.30.7

func (s PutPermissionInput) String() string

String returns the string representation

func (*PutPermissionInput) Validate added in v1.30.7

func (s *PutPermissionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutPermissionOutput added in v1.30.7

type PutPermissionOutput struct {

	// The JSON-formatted resource-based policy on the profiling group that includes
	// the added permissions.
	//
	// Policy is a required field
	Policy *string `locationName:"policy" type:"string" required:"true"`

	// A universally unique identifier (UUID) for the revision of the resource-based
	// policy that includes the added permissions. The JSON-formatted policy is
	// in the policy element of the response.
	//
	// RevisionId is a required field
	RevisionId *string `locationName:"revisionId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The structure representing the putPermissionResponse.

func (PutPermissionOutput) GoString added in v1.30.7

func (s PutPermissionOutput) GoString() string

GoString returns the string representation

func (*PutPermissionOutput) SetPolicy added in v1.30.7

SetPolicy sets the Policy field's value.

func (*PutPermissionOutput) SetRevisionId added in v1.30.7

func (s *PutPermissionOutput) SetRevisionId(v string) *PutPermissionOutput

SetRevisionId sets the RevisionId field's value.

func (PutPermissionOutput) String added in v1.30.7

func (s PutPermissionOutput) String() string

String returns the string representation

type Recommendation added in v1.32.12

type Recommendation struct {

	// How many different places in the profile graph triggered a match.
	//
	// AllMatchesCount is a required field
	AllMatchesCount *int64 `locationName:"allMatchesCount" type:"integer" required:"true"`

	// How much of the total sample count is potentially affected.
	//
	// AllMatchesSum is a required field
	AllMatchesSum *float64 `locationName:"allMatchesSum" type:"double" required:"true"`

	// End time of the profile that was used by this analysis. This is specified
	// using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents
	// 1 millisecond past June 1, 2020 1:15:02 PM UTC.
	//
	// EndTime is a required field
	EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// The pattern that analysis recognized in the profile to make this recommendation.
	//
	// Pattern is a required field
	Pattern *Pattern `locationName:"pattern" type:"structure" required:"true"`

	// The start time of the profile that was used by this analysis. This is specified
	// using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents
	// 1 millisecond past June 1, 2020 1:15:02 PM UTC.
	//
	// StartTime is a required field
	StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// List of the matches with most impact.
	//
	// TopMatches is a required field
	TopMatches []*Match `locationName:"topMatches" type:"list" required:"true"`
	// contains filtered or unexported fields
}

A potential improvement that was found from analyzing the profiling data.

func (Recommendation) GoString added in v1.32.12

func (s Recommendation) GoString() string

GoString returns the string representation

func (*Recommendation) SetAllMatchesCount added in v1.32.12

func (s *Recommendation) SetAllMatchesCount(v int64) *Recommendation

SetAllMatchesCount sets the AllMatchesCount field's value.

func (*Recommendation) SetAllMatchesSum added in v1.32.12

func (s *Recommendation) SetAllMatchesSum(v float64) *Recommendation

SetAllMatchesSum sets the AllMatchesSum field's value.

func (*Recommendation) SetEndTime added in v1.32.12

func (s *Recommendation) SetEndTime(v time.Time) *Recommendation

SetEndTime sets the EndTime field's value.

func (*Recommendation) SetPattern added in v1.32.12

func (s *Recommendation) SetPattern(v *Pattern) *Recommendation

SetPattern sets the Pattern field's value.

func (*Recommendation) SetStartTime added in v1.32.12

func (s *Recommendation) SetStartTime(v time.Time) *Recommendation

SetStartTime sets the StartTime field's value.

func (*Recommendation) SetTopMatches added in v1.32.12

func (s *Recommendation) SetTopMatches(v []*Match) *Recommendation

SetTopMatches sets the TopMatches field's value.

func (Recommendation) String added in v1.32.12

func (s Recommendation) String() string

String returns the string representation

type RemoveNotificationChannelInput added in v1.32.12

type RemoveNotificationChannelInput struct {

	// The id of the channel that we want to stop receiving notifications.
	//
	// ChannelId is a required field
	ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"`

	// The name of the profiling group we want to change notification configuration
	// for.
	//
	// ProfilingGroupName is a required field
	ProfilingGroupName *string `location:"uri" locationName:"profilingGroupName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The structure representing the RemoveNotificationChannelRequest.

func (RemoveNotificationChannelInput) GoString added in v1.32.12

GoString returns the string representation

func (*RemoveNotificationChannelInput) SetChannelId added in v1.32.12

SetChannelId sets the ChannelId field's value.

func (*RemoveNotificationChannelInput) SetProfilingGroupName added in v1.32.12

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (RemoveNotificationChannelInput) String added in v1.32.12

String returns the string representation

func (*RemoveNotificationChannelInput) Validate added in v1.32.12

func (s *RemoveNotificationChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RemoveNotificationChannelOutput added in v1.32.12

type RemoveNotificationChannelOutput struct {

	// The new notification configuration for this profiling group.
	NotificationConfiguration *NotificationConfiguration `locationName:"notificationConfiguration" type:"structure"`
	// contains filtered or unexported fields
}

The structure representing the RemoveNotificationChannelResponse.

func (RemoveNotificationChannelOutput) GoString added in v1.32.12

GoString returns the string representation

func (*RemoveNotificationChannelOutput) SetNotificationConfiguration added in v1.32.12

SetNotificationConfiguration sets the NotificationConfiguration field's value.

func (RemoveNotificationChannelOutput) String added in v1.32.12

String returns the string representation

type RemovePermissionInput added in v1.30.7

type RemovePermissionInput struct {

	// Specifies an action group that contains the permissions to remove from a
	// profiling group's resource-based policy. One action group is supported, agentPermissions,
	// which grants ConfigureAgent and PostAgentProfile permissions.
	//
	// ActionGroup is a required field
	ActionGroup *string `location:"uri" locationName:"actionGroup" type:"string" required:"true" enum:"ActionGroup"`

	// The name of the profiling group.
	//
	// ProfilingGroupName is a required field
	ProfilingGroupName *string `location:"uri" locationName:"profilingGroupName" min:"1" type:"string" required:"true"`

	// A universally unique identifier (UUID) for the revision of the resource-based
	// policy from which you want to remove permissions.
	//
	// RevisionId is a required field
	RevisionId *string `location:"querystring" locationName:"revisionId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RemovePermissionInput) GoString added in v1.30.7

func (s RemovePermissionInput) GoString() string

GoString returns the string representation

func (*RemovePermissionInput) SetActionGroup added in v1.30.7

func (s *RemovePermissionInput) SetActionGroup(v string) *RemovePermissionInput

SetActionGroup sets the ActionGroup field's value.

func (*RemovePermissionInput) SetProfilingGroupName added in v1.30.7

func (s *RemovePermissionInput) SetProfilingGroupName(v string) *RemovePermissionInput

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (*RemovePermissionInput) SetRevisionId added in v1.30.7

func (s *RemovePermissionInput) SetRevisionId(v string) *RemovePermissionInput

SetRevisionId sets the RevisionId field's value.

func (RemovePermissionInput) String added in v1.30.7

func (s RemovePermissionInput) String() string

String returns the string representation

func (*RemovePermissionInput) Validate added in v1.30.7

func (s *RemovePermissionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RemovePermissionOutput added in v1.30.7

type RemovePermissionOutput struct {

	// The JSON-formatted resource-based policy on the profiling group after the
	// specified permissions were removed.
	//
	// Policy is a required field
	Policy *string `locationName:"policy" type:"string" required:"true"`

	// A universally unique identifier (UUID) for the revision of the resource-based
	// policy after the specified permissions were removed. The updated JSON-formatted
	// policy is in the policy element of the response.
	//
	// RevisionId is a required field
	RevisionId *string `locationName:"revisionId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The structure representing the removePermissionResponse.

func (RemovePermissionOutput) GoString added in v1.30.7

func (s RemovePermissionOutput) GoString() string

GoString returns the string representation

func (*RemovePermissionOutput) SetPolicy added in v1.30.7

SetPolicy sets the Policy field's value.

func (*RemovePermissionOutput) SetRevisionId added in v1.30.7

SetRevisionId sets the RevisionId field's value.

func (RemovePermissionOutput) String added in v1.30.7

func (s RemovePermissionOutput) String() string

String returns the string representation

type ResourceNotFoundException added in v1.28.0

type ResourceNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The resource specified in the request does not exist.

func (*ResourceNotFoundException) Code added in v1.28.0

Code returns the exception type name.

func (*ResourceNotFoundException) Error added in v1.28.0

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString added in v1.28.0

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation

func (*ResourceNotFoundException) Message added in v1.28.0

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr added in v1.28.0

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID added in v1.28.0

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode added in v1.28.0

func (s *ResourceNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceNotFoundException) String added in v1.28.0

func (s ResourceNotFoundException) String() string

String returns the string representation

type ServiceQuotaExceededException added in v1.28.0

type ServiceQuotaExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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) Code added in v1.28.0

Code returns the exception type name.

func (*ServiceQuotaExceededException) Error added in v1.28.0

func (ServiceQuotaExceededException) GoString added in v1.28.0

GoString returns the string representation

func (*ServiceQuotaExceededException) Message added in v1.28.0

Message returns the exception's message.

func (*ServiceQuotaExceededException) OrigErr added in v1.28.0

func (s *ServiceQuotaExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceQuotaExceededException) RequestID added in v1.28.0

func (s *ServiceQuotaExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceQuotaExceededException) StatusCode added in v1.28.0

func (s *ServiceQuotaExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ServiceQuotaExceededException) String added in v1.28.0

String returns the string representation

type SubmitFeedbackInput added in v1.32.12

type SubmitFeedbackInput struct {

	// The universally unique identifier (UUID) of the AnomalyInstance (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_AnomalyInstance.html)
	// object that is included in the analysis data.
	//
	// AnomalyInstanceId is a required field
	AnomalyInstanceId *string `location:"uri" locationName:"anomalyInstanceId" type:"string" required:"true"`

	// Optional feedback about this anomaly.
	Comment *string `locationName:"comment" type:"string"`

	// The name of the profiling group that is associated with the analysis data.
	//
	// ProfilingGroupName is a required field
	ProfilingGroupName *string `location:"uri" locationName:"profilingGroupName" min:"1" type:"string" required:"true"`

	// The feedback tpye. Thee are two valid values, Positive and Negative.
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true" enum:"FeedbackType"`
	// contains filtered or unexported fields
}

The structure representing the SubmitFeedbackRequest.

func (SubmitFeedbackInput) GoString added in v1.32.12

func (s SubmitFeedbackInput) GoString() string

GoString returns the string representation

func (*SubmitFeedbackInput) SetAnomalyInstanceId added in v1.32.12

func (s *SubmitFeedbackInput) SetAnomalyInstanceId(v string) *SubmitFeedbackInput

SetAnomalyInstanceId sets the AnomalyInstanceId field's value.

func (*SubmitFeedbackInput) SetComment added in v1.32.12

SetComment sets the Comment field's value.

func (*SubmitFeedbackInput) SetProfilingGroupName added in v1.32.12

func (s *SubmitFeedbackInput) SetProfilingGroupName(v string) *SubmitFeedbackInput

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (*SubmitFeedbackInput) SetType added in v1.32.12

SetType sets the Type field's value.

func (SubmitFeedbackInput) String added in v1.32.12

func (s SubmitFeedbackInput) String() string

String returns the string representation

func (*SubmitFeedbackInput) Validate added in v1.32.12

func (s *SubmitFeedbackInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SubmitFeedbackOutput added in v1.32.12

type SubmitFeedbackOutput struct {
	// contains filtered or unexported fields
}

The structure representing the SubmitFeedbackResponse.

func (SubmitFeedbackOutput) GoString added in v1.32.12

func (s SubmitFeedbackOutput) GoString() string

GoString returns the string representation

func (SubmitFeedbackOutput) String added in v1.32.12

func (s SubmitFeedbackOutput) String() string

String returns the string representation

type TagResourceInput added in v1.33.9

type TagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource that the tags are added to.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`

	// The list of tags that are added to the specified resource.
	//
	// Tags is a required field
	Tags map[string]*string `locationName:"tags" type:"map" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString added in v1.33.9

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (*TagResourceInput) SetResourceArn added in v1.33.9

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags added in v1.33.9

func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String added in v1.33.9

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate added in v1.33.9

func (s *TagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceOutput added in v1.33.9

type TagResourceOutput struct {
	// contains filtered or unexported fields
}

func (TagResourceOutput) GoString added in v1.33.9

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) String added in v1.33.9

func (s TagResourceOutput) String() string

String returns the string representation

type ThrottlingException added in v1.28.0

type ThrottlingException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The request was denied due to request throttling.

func (*ThrottlingException) Code added in v1.28.0

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error added in v1.28.0

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString added in v1.28.0

func (s ThrottlingException) GoString() string

GoString returns the string representation

func (*ThrottlingException) Message added in v1.28.0

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr added in v1.28.0

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID added in v1.28.0

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode added in v1.28.0

func (s *ThrottlingException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ThrottlingException) String added in v1.28.0

func (s ThrottlingException) String() string

String returns the string representation

type TimestampStructure added in v1.32.12

type TimestampStructure struct {

	// A Timestamp. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z
	// represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
	//
	// Value is a required field
	Value *time.Time `locationName:"value" type:"timestamp" timestampFormat:"iso8601" required:"true"`
	// contains filtered or unexported fields
}

A data type that contains a Timestamp object. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.

func (TimestampStructure) GoString added in v1.32.12

func (s TimestampStructure) GoString() string

GoString returns the string representation

func (*TimestampStructure) SetValue added in v1.32.12

SetValue sets the Value field's value.

func (TimestampStructure) String added in v1.32.12

func (s TimestampStructure) String() string

String returns the string representation

type UntagResourceInput added in v1.33.9

type UntagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource that contains the tags to
	// remove.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`

	// A list of tag keys. Existing tags of resources with keys in this list are
	// removed from the specified resource.
	//
	// TagKeys is a required field
	TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString added in v1.33.9

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (*UntagResourceInput) SetResourceArn added in v1.33.9

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys added in v1.33.9

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String added in v1.33.9

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate added in v1.33.9

func (s *UntagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UntagResourceOutput added in v1.33.9

type UntagResourceOutput struct {
	// contains filtered or unexported fields
}

func (UntagResourceOutput) GoString added in v1.33.9

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) String added in v1.33.9

func (s UntagResourceOutput) String() string

String returns the string representation

type UpdateProfilingGroupInput

type UpdateProfilingGroupInput struct {

	// Specifies whether profiling is enabled or disabled for a profiling group.
	//
	// AgentOrchestrationConfig is a required field
	AgentOrchestrationConfig *AgentOrchestrationConfig `locationName:"agentOrchestrationConfig" type:"structure" required:"true"`

	// The name of the profiling group to update.
	//
	// ProfilingGroupName is a required field
	ProfilingGroupName *string `location:"uri" locationName:"profilingGroupName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The structure representing the updateProfilingGroupRequest.

func (UpdateProfilingGroupInput) GoString

func (s UpdateProfilingGroupInput) GoString() string

GoString returns the string representation

func (*UpdateProfilingGroupInput) SetAgentOrchestrationConfig

SetAgentOrchestrationConfig sets the AgentOrchestrationConfig field's value.

func (*UpdateProfilingGroupInput) SetProfilingGroupName

func (s *UpdateProfilingGroupInput) SetProfilingGroupName(v string) *UpdateProfilingGroupInput

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (UpdateProfilingGroupInput) String

func (s UpdateProfilingGroupInput) String() string

String returns the string representation

func (*UpdateProfilingGroupInput) Validate

func (s *UpdateProfilingGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateProfilingGroupOutput

type UpdateProfilingGroupOutput struct {

	// A ProfilingGroupDescription (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html)
	// that contains information about the returned updated profiling group.
	//
	// ProfilingGroup is a required field
	ProfilingGroup *ProfilingGroupDescription `locationName:"profilingGroup" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

The structure representing the updateProfilingGroupResponse.

func (UpdateProfilingGroupOutput) GoString

func (s UpdateProfilingGroupOutput) GoString() string

GoString returns the string representation

func (*UpdateProfilingGroupOutput) SetProfilingGroup

SetProfilingGroup sets the ProfilingGroup field's value.

func (UpdateProfilingGroupOutput) String

String returns the string representation

type UserFeedback added in v1.32.12

type UserFeedback struct {

	// Optional Positive or Negative feedback submitted by the user about whether
	// the recommendation is useful or not.
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true" enum:"FeedbackType"`
	// contains filtered or unexported fields
}

Feedback that can be submitted for each instance of an anomaly by the user. Feedback is be used for improvements in generating recommendations for the application.

func (UserFeedback) GoString added in v1.32.12

func (s UserFeedback) GoString() string

GoString returns the string representation

func (*UserFeedback) SetType added in v1.32.12

func (s *UserFeedback) SetType(v string) *UserFeedback

SetType sets the Type field's value.

func (UserFeedback) String added in v1.32.12

func (s UserFeedback) String() string

String returns the string representation

type ValidationException added in v1.28.0

type ValidationException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The parameter is not valid.

func (*ValidationException) Code added in v1.28.0

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error added in v1.28.0

func (s *ValidationException) Error() string

func (ValidationException) GoString added in v1.28.0

func (s ValidationException) GoString() string

GoString returns the string representation

func (*ValidationException) Message added in v1.28.0

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr added in v1.28.0

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID added in v1.28.0

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode added in v1.28.0

func (s *ValidationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ValidationException) String added in v1.28.0

func (s ValidationException) String() string

String returns the string representation

Directories

Path Synopsis
Package codeguruprofileriface provides an interface to enable mocking the Amazon CodeGuru Profiler service client for testing your code.
Package codeguruprofileriface provides an interface to enable mocking the Amazon CodeGuru Profiler service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL