aws-sdk-go: github.com/aws/aws-sdk-go/service/codeguruprofiler Index | Files | Directories

package codeguruprofiler

import "github.com/aws/aws-sdk-go/service/codeguruprofiler"

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.

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

Package Files

api.go doc.go errors.go service.go

Constants

const (
    // AggregationPeriodP1d is a AggregationPeriod enum value
    AggregationPeriodP1d = "P1D"

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

    // AggregationPeriodPt5m is a AggregationPeriod enum value
    AggregationPeriodPt5m = "PT5M"
)
const (
    // OrderByTimestampAscending is a OrderBy enum value
    OrderByTimestampAscending = "TimestampAscending"

    // OrderByTimestampDescending is a OrderBy enum value
    OrderByTimestampDescending = "TimestampDescending"
)
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"
)
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

type AgentConfiguration Uses

type AgentConfiguration struct {

    // PeriodInSeconds is a required field
    PeriodInSeconds *int64 `locationName:"periodInSeconds" type:"integer" required:"true"`

    // ShouldProfile is a required field
    ShouldProfile *bool `locationName:"shouldProfile" type:"boolean" required:"true"`
    // contains filtered or unexported fields
}

func (AgentConfiguration) GoString Uses

func (s AgentConfiguration) GoString() string

GoString returns the string representation

func (*AgentConfiguration) SetPeriodInSeconds Uses

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

SetPeriodInSeconds sets the PeriodInSeconds field's value.

func (*AgentConfiguration) SetShouldProfile Uses

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

SetShouldProfile sets the ShouldProfile field's value.

func (AgentConfiguration) String Uses

func (s AgentConfiguration) String() string

String returns the string representation

type AgentOrchestrationConfig Uses

type AgentOrchestrationConfig struct {

    // ProfilingEnabled is a required field
    ProfilingEnabled *bool `locationName:"profilingEnabled" type:"boolean" required:"true"`
    // contains filtered or unexported fields
}

func (AgentOrchestrationConfig) GoString Uses

func (s AgentOrchestrationConfig) GoString() string

GoString returns the string representation

func (*AgentOrchestrationConfig) SetProfilingEnabled Uses

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

SetProfilingEnabled sets the ProfilingEnabled field's value.

func (AgentOrchestrationConfig) String Uses

func (s AgentOrchestrationConfig) String() string

String returns the string representation

func (*AgentOrchestrationConfig) Validate Uses

func (s *AgentOrchestrationConfig) Validate() error

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

type AggregatedProfileTime Uses

type AggregatedProfileTime struct {

    // The time period.
    Period *string `locationName:"period" type:"string" enum:"AggregationPeriod"`

    // The start time.
    Start *time.Time `locationName:"start" type:"timestamp" timestampFormat:"iso8601"`
    // contains filtered or unexported fields
}

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

func (AggregatedProfileTime) GoString Uses

func (s AggregatedProfileTime) GoString() string

GoString returns the string representation

func (*AggregatedProfileTime) SetPeriod Uses

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

SetPeriod sets the Period field's value.

func (*AggregatedProfileTime) SetStart Uses

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

SetStart sets the Start field's value.

func (AggregatedProfileTime) String Uses

func (s AggregatedProfileTime) String() string

String returns the string representation

type CodeGuruProfiler Uses

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 Uses

func New(p client.ConfigProvider, cfgs ...*aws.Config) *CodeGuruProfiler

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) ConfigureAgent Uses

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

ConfigureAgent API operation for Amazon CodeGuru Profiler.

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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.

* 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 Uses

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 Uses

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 Uses

func (c *CodeGuruProfiler) DescribeProfilingGroup(input *DescribeProfilingGroupInput) (*DescribeProfilingGroupOutput, error)

DescribeProfilingGroup API operation for Amazon CodeGuru Profiler.

Describes 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 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 Uses

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 Uses

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) GetProfile Uses

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

GetProfile API operation for Amazon CodeGuru Profiler.

Gets the aggregated profile of a profiling group for the specified time range. If the requested time range does not align with the available aggregated profiles, it is expanded to attain alignment. If aggregated profiles are available only for part of the period requested, the profile is returned from the earliest available to the latest within the requested time range.

For example, if the requested time range is from 00:00 to 00:20 and the available profiles are from 00:15 to 00:25, the returned profile will be from 00:15 to 00:20.

You must specify exactly two of the following parameters: startTime, period, and endTime.

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 Uses

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 Uses

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) ListProfileTimes Uses

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

ListProfileTimes API operation for Amazon CodeGuru Profiler.

List 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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListProfilingGroups API operation for Amazon CodeGuru Profiler.

Lists profiling groups.

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 Uses

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 Uses

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 Uses

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 Uses

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) PostAgentProfile Uses

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

PostAgentProfile API operation for Amazon CodeGuru Profiler.

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 Uses

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 Uses

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) UpdateProfilingGroup Uses

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 Uses

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 Uses

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 Uses

type ConfigureAgentInput struct {
    FleetInstanceId *string `locationName:"fleetInstanceId" min:"1" type:"string"`

    // 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 Uses

func (s ConfigureAgentInput) GoString() string

GoString returns the string representation

func (*ConfigureAgentInput) SetFleetInstanceId Uses

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

SetFleetInstanceId sets the FleetInstanceId field's value.

func (*ConfigureAgentInput) SetProfilingGroupName Uses

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

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (ConfigureAgentInput) String Uses

func (s ConfigureAgentInput) String() string

String returns the string representation

func (*ConfigureAgentInput) Validate Uses

func (s *ConfigureAgentInput) Validate() error

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

type ConfigureAgentOutput Uses

type ConfigureAgentOutput struct {

    // 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 Uses

func (s ConfigureAgentOutput) GoString() string

GoString returns the string representation

func (*ConfigureAgentOutput) SetConfiguration Uses

func (s *ConfigureAgentOutput) SetConfiguration(v *AgentConfiguration) *ConfigureAgentOutput

SetConfiguration sets the Configuration field's value.

func (ConfigureAgentOutput) String Uses

func (s ConfigureAgentOutput) String() string

String returns the string representation

type ConflictException Uses

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 Uses

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error Uses

func (s *ConflictException) Error() string

func (ConflictException) GoString Uses

func (s ConflictException) GoString() string

GoString returns the string representation

func (*ConflictException) Message Uses

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr Uses

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID Uses

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode Uses

func (s *ConflictException) StatusCode() int

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

func (ConflictException) String Uses

func (s ConflictException) String() string

String returns the string representation

type CreateProfilingGroupInput Uses

type CreateProfilingGroupInput struct {

    // The agent orchestration configuration.
    AgentOrchestrationConfig *AgentOrchestrationConfig `locationName:"agentOrchestrationConfig" type:"structure"`

    // Unique, case-sensitive identifier that you provide to ensure the idempotency
    // of the request.
    //
    // This parameter specifies a unique identifier for the new profiling group
    // that helps ensure idempotency.
    ClientToken *string `location:"querystring" locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`

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

The structure representing the createProfiliingGroupRequest.

func (CreateProfilingGroupInput) GoString Uses

func (s CreateProfilingGroupInput) GoString() string

GoString returns the string representation

func (*CreateProfilingGroupInput) SetAgentOrchestrationConfig Uses

func (s *CreateProfilingGroupInput) SetAgentOrchestrationConfig(v *AgentOrchestrationConfig) *CreateProfilingGroupInput

SetAgentOrchestrationConfig sets the AgentOrchestrationConfig field's value.

func (*CreateProfilingGroupInput) SetClientToken Uses

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

SetClientToken sets the ClientToken field's value.

func (*CreateProfilingGroupInput) SetProfilingGroupName Uses

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

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (CreateProfilingGroupInput) String Uses

func (s CreateProfilingGroupInput) String() string

String returns the string representation

func (*CreateProfilingGroupInput) Validate Uses

func (s *CreateProfilingGroupInput) Validate() error

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

type CreateProfilingGroupOutput Uses

type CreateProfilingGroupOutput struct {

    // Information about the new 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 Uses

func (s CreateProfilingGroupOutput) GoString() string

GoString returns the string representation

func (*CreateProfilingGroupOutput) SetProfilingGroup Uses

func (s *CreateProfilingGroupOutput) SetProfilingGroup(v *ProfilingGroupDescription) *CreateProfilingGroupOutput

SetProfilingGroup sets the ProfilingGroup field's value.

func (CreateProfilingGroupOutput) String Uses

func (s CreateProfilingGroupOutput) String() string

String returns the string representation

type DeleteProfilingGroupInput Uses

type DeleteProfilingGroupInput struct {

    // The profiling group name 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 Uses

func (s DeleteProfilingGroupInput) GoString() string

GoString returns the string representation

func (*DeleteProfilingGroupInput) SetProfilingGroupName Uses

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

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (DeleteProfilingGroupInput) String Uses

func (s DeleteProfilingGroupInput) String() string

String returns the string representation

func (*DeleteProfilingGroupInput) Validate Uses

func (s *DeleteProfilingGroupInput) Validate() error

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

type DeleteProfilingGroupOutput Uses

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

The structure representing the deleteProfilingGroupResponse.

func (DeleteProfilingGroupOutput) GoString Uses

func (s DeleteProfilingGroupOutput) GoString() string

GoString returns the string representation

func (DeleteProfilingGroupOutput) String Uses

func (s DeleteProfilingGroupOutput) String() string

String returns the string representation

type DescribeProfilingGroupInput Uses

type DescribeProfilingGroupInput struct {

    // The profiling group name.
    //
    // 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 Uses

func (s DescribeProfilingGroupInput) GoString() string

GoString returns the string representation

func (*DescribeProfilingGroupInput) SetProfilingGroupName Uses

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

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (DescribeProfilingGroupInput) String Uses

func (s DescribeProfilingGroupInput) String() string

String returns the string representation

func (*DescribeProfilingGroupInput) Validate Uses

func (s *DescribeProfilingGroupInput) Validate() error

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

type DescribeProfilingGroupOutput Uses

type DescribeProfilingGroupOutput struct {

    // Information about a 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 Uses

func (s DescribeProfilingGroupOutput) GoString() string

GoString returns the string representation

func (*DescribeProfilingGroupOutput) SetProfilingGroup Uses

func (s *DescribeProfilingGroupOutput) SetProfilingGroup(v *ProfilingGroupDescription) *DescribeProfilingGroupOutput

SetProfilingGroup sets the ProfilingGroup field's value.

func (DescribeProfilingGroupOutput) String Uses

func (s DescribeProfilingGroupOutput) String() string

String returns the string representation

type GetProfileInput Uses

type GetProfileInput struct {

    // The format of the profile to return. You can choose application/json or the
    // default application/x-amzn-ion.
    Accept *string `location:"header" locationName:"Accept" type:"string"`

    // You must specify exactly two of the following parameters: startTime, period,
    // and endTime.
    EndTime *time.Time `location:"querystring" locationName:"endTime" type:"timestamp" timestampFormat:"iso8601"`

    // The maximum depth of the graph.
    MaxDepth *int64 `location:"querystring" locationName:"maxDepth" min:"1" type:"integer"`

    // The period of the profile to get. The time range must be in the past and
    // not longer than one week.
    //
    // You must specify exactly two of the following parameters: startTime, period,
    // and endTime.
    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.
    //
    // You must specify exactly two of the following parameters: startTime, period,
    // and endTime.
    StartTime *time.Time `location:"querystring" locationName:"startTime" type:"timestamp" timestampFormat:"iso8601"`
    // contains filtered or unexported fields
}

The structure representing the getProfileRequest.

func (GetProfileInput) GoString Uses

func (s GetProfileInput) GoString() string

GoString returns the string representation

func (*GetProfileInput) SetAccept Uses

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

SetAccept sets the Accept field's value.

func (*GetProfileInput) SetEndTime Uses

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

SetEndTime sets the EndTime field's value.

func (*GetProfileInput) SetMaxDepth Uses

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

SetMaxDepth sets the MaxDepth field's value.

func (*GetProfileInput) SetPeriod Uses

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

SetPeriod sets the Period field's value.

func (*GetProfileInput) SetProfilingGroupName Uses

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

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (*GetProfileInput) SetStartTime Uses

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

SetStartTime sets the StartTime field's value.

func (GetProfileInput) String Uses

func (s GetProfileInput) String() string

String returns the string representation

func (*GetProfileInput) Validate Uses

func (s *GetProfileInput) Validate() error

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

type GetProfileOutput Uses

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 Uses

func (s GetProfileOutput) GoString() string

GoString returns the string representation

func (*GetProfileOutput) SetContentEncoding Uses

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

SetContentEncoding sets the ContentEncoding field's value.

func (*GetProfileOutput) SetContentType Uses

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

SetContentType sets the ContentType field's value.

func (*GetProfileOutput) SetProfile Uses

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

SetProfile sets the Profile field's value.

func (GetProfileOutput) String Uses

func (s GetProfileOutput) String() string

String returns the string representation

type InternalServerException Uses

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 Uses

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error Uses

func (s *InternalServerException) Error() string

func (InternalServerException) GoString Uses

func (s InternalServerException) GoString() string

GoString returns the string representation

func (*InternalServerException) Message Uses

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr Uses

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID Uses

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode Uses

func (s *InternalServerException) StatusCode() int

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

func (InternalServerException) String Uses

func (s InternalServerException) String() string

String returns the string representation

type ListProfileTimesInput Uses

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.
    //
    // 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 Uses

func (s ListProfileTimesInput) GoString() string

GoString returns the string representation

func (*ListProfileTimesInput) SetEndTime Uses

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

SetEndTime sets the EndTime field's value.

func (*ListProfileTimesInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListProfileTimesInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*ListProfileTimesInput) SetOrderBy Uses

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

SetOrderBy sets the OrderBy field's value.

func (*ListProfileTimesInput) SetPeriod Uses

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

SetPeriod sets the Period field's value.

func (*ListProfileTimesInput) SetProfilingGroupName Uses

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

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (*ListProfileTimesInput) SetStartTime Uses

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

SetStartTime sets the StartTime field's value.

func (ListProfileTimesInput) String Uses

func (s ListProfileTimesInput) String() string

String returns the string representation

func (*ListProfileTimesInput) Validate Uses

func (s *ListProfileTimesInput) Validate() error

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

type ListProfileTimesOutput Uses

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 Uses

func (s ListProfileTimesOutput) GoString() string

GoString returns the string representation

func (*ListProfileTimesOutput) SetNextToken Uses

func (s *ListProfileTimesOutput) SetNextToken(v string) *ListProfileTimesOutput

SetNextToken sets the NextToken field's value.

func (*ListProfileTimesOutput) SetProfileTimes Uses

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

SetProfileTimes sets the ProfileTimes field's value.

func (ListProfileTimesOutput) String Uses

func (s ListProfileTimesOutput) String() string

String returns the string representation

type ListProfilingGroupsInput Uses

type ListProfilingGroupsInput struct {

    // A Boolean value indicating whether to include a description.
    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 Uses

func (s ListProfilingGroupsInput) GoString() string

GoString returns the string representation

func (*ListProfilingGroupsInput) SetIncludeDescription Uses

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

SetIncludeDescription sets the IncludeDescription field's value.

func (*ListProfilingGroupsInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListProfilingGroupsInput) SetNextToken Uses

func (s *ListProfilingGroupsInput) SetNextToken(v string) *ListProfilingGroupsInput

SetNextToken sets the NextToken field's value.

func (ListProfilingGroupsInput) String Uses

func (s ListProfilingGroupsInput) String() string

String returns the string representation

func (*ListProfilingGroupsInput) Validate Uses

func (s *ListProfilingGroupsInput) Validate() error

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

type ListProfilingGroupsOutput Uses

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"`

    // Information about profiling group names.
    //
    // ProfilingGroupNames is a required field
    ProfilingGroupNames []*string `locationName:"profilingGroupNames" type:"list" required:"true"`

    // Information about profiling groups.
    ProfilingGroups []*ProfilingGroupDescription `locationName:"profilingGroups" type:"list"`
    // contains filtered or unexported fields
}

The structure representing the listProfilingGroupsResponse.

func (ListProfilingGroupsOutput) GoString Uses

func (s ListProfilingGroupsOutput) GoString() string

GoString returns the string representation

func (*ListProfilingGroupsOutput) SetNextToken Uses

func (s *ListProfilingGroupsOutput) SetNextToken(v string) *ListProfilingGroupsOutput

SetNextToken sets the NextToken field's value.

func (*ListProfilingGroupsOutput) SetProfilingGroupNames Uses

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

SetProfilingGroupNames sets the ProfilingGroupNames field's value.

func (*ListProfilingGroupsOutput) SetProfilingGroups Uses

func (s *ListProfilingGroupsOutput) SetProfilingGroups(v []*ProfilingGroupDescription) *ListProfilingGroupsOutput

SetProfilingGroups sets the ProfilingGroups field's value.

func (ListProfilingGroupsOutput) String Uses

func (s ListProfilingGroupsOutput) String() string

String returns the string representation

type PostAgentProfileInput Uses

type PostAgentProfileInput struct {

    // AgentProfile is a required field
    AgentProfile []byte `locationName:"agentProfile" type:"blob" required:"true"`

    // ContentType is a required field
    ContentType *string `location:"header" locationName:"Content-Type" type:"string" required:"true"`

    ProfileToken *string `location:"querystring" locationName:"profileToken" min:"1" type:"string" idempotencyToken:"true"`

    // 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 Uses

func (s PostAgentProfileInput) GoString() string

GoString returns the string representation

func (*PostAgentProfileInput) SetAgentProfile Uses

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

SetAgentProfile sets the AgentProfile field's value.

func (*PostAgentProfileInput) SetContentType Uses

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

SetContentType sets the ContentType field's value.

func (*PostAgentProfileInput) SetProfileToken Uses

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

SetProfileToken sets the ProfileToken field's value.

func (*PostAgentProfileInput) SetProfilingGroupName Uses

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

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (PostAgentProfileInput) String Uses

func (s PostAgentProfileInput) String() string

String returns the string representation

func (*PostAgentProfileInput) Validate Uses

func (s *PostAgentProfileInput) Validate() error

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

type PostAgentProfileOutput Uses

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

The structure representing the postAgentProfileResponse.

func (PostAgentProfileOutput) GoString Uses

func (s PostAgentProfileOutput) GoString() string

GoString returns the string representation

func (PostAgentProfileOutput) String Uses

func (s PostAgentProfileOutput) String() string

String returns the string representation

type ProfileTime Uses

type ProfileTime struct {

    // The start time of the profile.
    Start *time.Time `locationName:"start" type:"timestamp" timestampFormat:"iso8601"`
    // contains filtered or unexported fields
}

Information about the profile time.

func (ProfileTime) GoString Uses

func (s ProfileTime) GoString() string

GoString returns the string representation

func (*ProfileTime) SetStart Uses

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

SetStart sets the Start field's value.

func (ProfileTime) String Uses

func (s ProfileTime) String() string

String returns the string representation

type ProfilingGroupDescription Uses

type ProfilingGroupDescription struct {
    AgentOrchestrationConfig *AgentOrchestrationConfig `locationName:"agentOrchestrationConfig" type:"structure"`

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

    // The time, in milliseconds since the epoch, when the profiling group was created.
    CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"`

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

    // The status of the profiling group.
    ProfilingStatus *ProfilingStatus `locationName:"profilingStatus" type:"structure"`

    // The time, in milliseconds since the epoch, when the profiling group was last
    // updated.
    UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" timestampFormat:"iso8601"`
    // contains filtered or unexported fields
}

The description of a profiling group.

func (ProfilingGroupDescription) GoString Uses

func (s ProfilingGroupDescription) GoString() string

GoString returns the string representation

func (*ProfilingGroupDescription) SetAgentOrchestrationConfig Uses

func (s *ProfilingGroupDescription) SetAgentOrchestrationConfig(v *AgentOrchestrationConfig) *ProfilingGroupDescription

SetAgentOrchestrationConfig sets the AgentOrchestrationConfig field's value.

func (*ProfilingGroupDescription) SetArn Uses

func (s *ProfilingGroupDescription) SetArn(v string) *ProfilingGroupDescription

SetArn sets the Arn field's value.

func (*ProfilingGroupDescription) SetCreatedAt Uses

func (s *ProfilingGroupDescription) SetCreatedAt(v time.Time) *ProfilingGroupDescription

SetCreatedAt sets the CreatedAt field's value.

func (*ProfilingGroupDescription) SetName Uses

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

SetName sets the Name field's value.

func (*ProfilingGroupDescription) SetProfilingStatus Uses

func (s *ProfilingGroupDescription) SetProfilingStatus(v *ProfilingStatus) *ProfilingGroupDescription

SetProfilingStatus sets the ProfilingStatus field's value.

func (*ProfilingGroupDescription) SetUpdatedAt Uses

func (s *ProfilingGroupDescription) SetUpdatedAt(v time.Time) *ProfilingGroupDescription

SetUpdatedAt sets the UpdatedAt field's value.

func (ProfilingGroupDescription) String Uses

func (s ProfilingGroupDescription) String() string

String returns the string representation

type ProfilingStatus Uses

type ProfilingStatus struct {

    // The time, in milliseconds since the epoch, when the latest agent was orchestrated.
    LatestAgentOrchestratedAt *time.Time `locationName:"latestAgentOrchestratedAt" type:"timestamp" timestampFormat:"iso8601"`

    // The time, in milliseconds since the epoch, when the latest agent was reported..
    LatestAgentProfileReportedAt *time.Time `locationName:"latestAgentProfileReportedAt" type:"timestamp" timestampFormat:"iso8601"`

    // The latest aggregated profile
    LatestAggregatedProfile *AggregatedProfileTime `locationName:"latestAggregatedProfile" type:"structure"`
    // contains filtered or unexported fields
}

Information about the profiling status.

func (ProfilingStatus) GoString Uses

func (s ProfilingStatus) GoString() string

GoString returns the string representation

func (*ProfilingStatus) SetLatestAgentOrchestratedAt Uses

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

SetLatestAgentOrchestratedAt sets the LatestAgentOrchestratedAt field's value.

func (*ProfilingStatus) SetLatestAgentProfileReportedAt Uses

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

SetLatestAgentProfileReportedAt sets the LatestAgentProfileReportedAt field's value.

func (*ProfilingStatus) SetLatestAggregatedProfile Uses

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

SetLatestAggregatedProfile sets the LatestAggregatedProfile field's value.

func (ProfilingStatus) String Uses

func (s ProfilingStatus) String() string

String returns the string representation

type ResourceNotFoundException Uses

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 Uses

func (s *ResourceNotFoundException) Code() string

Code returns the exception type name.

func (*ResourceNotFoundException) Error Uses

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString Uses

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation

func (*ResourceNotFoundException) Message Uses

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr Uses

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID Uses

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode Uses

func (s *ResourceNotFoundException) StatusCode() int

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

func (ResourceNotFoundException) String Uses

func (s ResourceNotFoundException) String() string

String returns the string representation

type ServiceQuotaExceededException Uses

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 Uses

func (s *ServiceQuotaExceededException) Code() string

Code returns the exception type name.

func (*ServiceQuotaExceededException) Error Uses

func (s *ServiceQuotaExceededException) Error() string

func (ServiceQuotaExceededException) GoString Uses

func (s ServiceQuotaExceededException) GoString() string

GoString returns the string representation

func (*ServiceQuotaExceededException) Message Uses

func (s *ServiceQuotaExceededException) Message() string

Message returns the exception's message.

func (*ServiceQuotaExceededException) OrigErr Uses

func (s *ServiceQuotaExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceQuotaExceededException) RequestID Uses

func (s *ServiceQuotaExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceQuotaExceededException) StatusCode Uses

func (s *ServiceQuotaExceededException) StatusCode() int

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

func (ServiceQuotaExceededException) String Uses

func (s ServiceQuotaExceededException) String() string

String returns the string representation

type ThrottlingException Uses

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 Uses

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error Uses

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString Uses

func (s ThrottlingException) GoString() string

GoString returns the string representation

func (*ThrottlingException) Message Uses

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr Uses

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID Uses

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode Uses

func (s *ThrottlingException) StatusCode() int

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

func (ThrottlingException) String Uses

func (s ThrottlingException) String() string

String returns the string representation

type UpdateProfilingGroupInput Uses

type UpdateProfilingGroupInput struct {

    // 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 Uses

func (s UpdateProfilingGroupInput) GoString() string

GoString returns the string representation

func (*UpdateProfilingGroupInput) SetAgentOrchestrationConfig Uses

func (s *UpdateProfilingGroupInput) SetAgentOrchestrationConfig(v *AgentOrchestrationConfig) *UpdateProfilingGroupInput

SetAgentOrchestrationConfig sets the AgentOrchestrationConfig field's value.

func (*UpdateProfilingGroupInput) SetProfilingGroupName Uses

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

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (UpdateProfilingGroupInput) String Uses

func (s UpdateProfilingGroupInput) String() string

String returns the string representation

func (*UpdateProfilingGroupInput) Validate Uses

func (s *UpdateProfilingGroupInput) Validate() error

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

type UpdateProfilingGroupOutput Uses

type UpdateProfilingGroupOutput struct {

    // Updated information about the 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 Uses

func (s UpdateProfilingGroupOutput) GoString() string

GoString returns the string representation

func (*UpdateProfilingGroupOutput) SetProfilingGroup Uses

func (s *UpdateProfilingGroupOutput) SetProfilingGroup(v *ProfilingGroupDescription) *UpdateProfilingGroupOutput

SetProfilingGroup sets the ProfilingGroup field's value.

func (UpdateProfilingGroupOutput) String Uses

func (s UpdateProfilingGroupOutput) String() string

String returns the string representation

type ValidationException Uses

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 Uses

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error Uses

func (s *ValidationException) Error() string

func (ValidationException) GoString Uses

func (s ValidationException) GoString() string

GoString returns the string representation

func (*ValidationException) Message Uses

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr Uses

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID Uses

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode Uses

func (s *ValidationException) StatusCode() int

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

func (ValidationException) String Uses

func (s ValidationException) String() string

String returns the string representation

Directories

PathSynopsis
codeguruprofilerifacePackage codeguruprofileriface provides an interface to enable mocking the Amazon CodeGuru Profiler service client for testing your code.

Package codeguruprofiler imports 10 packages (graph) and is imported by 6 packages. Updated 2020-04-06. Refresh now. Tools for package owners.