...
AWS SDK for Go API Reference
import "github.com/aws/aws-sdk-go/service/codeguruprofiler"
Overview
Constants

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.

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

The stub package, codeguruprofileriface, can be used to provide alternative implementations of service clients, such as mocking the client for testing.

Types ▾

type CodeGuruProfiler
func New(p client.ConfigProvider, cfgs ...*aws.Config) *CodeGuruProfiler
func (c *CodeGuruProfiler) ConfigureAgent(input *ConfigureAgentInput) (*ConfigureAgentOutput, error)
func (c *CodeGuruProfiler) ConfigureAgentRequest(input *ConfigureAgentInput) (req *request.Request, output *ConfigureAgentOutput)
func (c *CodeGuruProfiler) ConfigureAgentWithContext(ctx aws.Context, input *ConfigureAgentInput, opts ...request.Option) (*ConfigureAgentOutput, error)
func (c *CodeGuruProfiler) CreateProfilingGroup(input *CreateProfilingGroupInput) (*CreateProfilingGroupOutput, error)
func (c *CodeGuruProfiler) CreateProfilingGroupRequest(input *CreateProfilingGroupInput) (req *request.Request, output *CreateProfilingGroupOutput)
func (c *CodeGuruProfiler) CreateProfilingGroupWithContext(ctx aws.Context, input *CreateProfilingGroupInput, opts ...request.Option) (*CreateProfilingGroupOutput, error)
func (c *CodeGuruProfiler) DeleteProfilingGroup(input *DeleteProfilingGroupInput) (*DeleteProfilingGroupOutput, error)
func (c *CodeGuruProfiler) DeleteProfilingGroupRequest(input *DeleteProfilingGroupInput) (req *request.Request, output *DeleteProfilingGroupOutput)
func (c *CodeGuruProfiler) DeleteProfilingGroupWithContext(ctx aws.Context, input *DeleteProfilingGroupInput, opts ...request.Option) (*DeleteProfilingGroupOutput, error)
func (c *CodeGuruProfiler) DescribeProfilingGroup(input *DescribeProfilingGroupInput) (*DescribeProfilingGroupOutput, error)
func (c *CodeGuruProfiler) DescribeProfilingGroupRequest(input *DescribeProfilingGroupInput) (req *request.Request, output *DescribeProfilingGroupOutput)
func (c *CodeGuruProfiler) DescribeProfilingGroupWithContext(ctx aws.Context, input *DescribeProfilingGroupInput, opts ...request.Option) (*DescribeProfilingGroupOutput, error)
func (c *CodeGuruProfiler) GetPolicy(input *GetPolicyInput) (*GetPolicyOutput, error)
func (c *CodeGuruProfiler) GetPolicyRequest(input *GetPolicyInput) (req *request.Request, output *GetPolicyOutput)
func (c *CodeGuruProfiler) GetPolicyWithContext(ctx aws.Context, input *GetPolicyInput, opts ...request.Option) (*GetPolicyOutput, error)
func (c *CodeGuruProfiler) GetProfile(input *GetProfileInput) (*GetProfileOutput, error)
func (c *CodeGuruProfiler) GetProfileRequest(input *GetProfileInput) (req *request.Request, output *GetProfileOutput)
func (c *CodeGuruProfiler) GetProfileWithContext(ctx aws.Context, input *GetProfileInput, opts ...request.Option) (*GetProfileOutput, error)
func (c *CodeGuruProfiler) ListProfileTimes(input *ListProfileTimesInput) (*ListProfileTimesOutput, error)
func (c *CodeGuruProfiler) ListProfileTimesPages(input *ListProfileTimesInput, fn func(*ListProfileTimesOutput, bool) bool) error
func (c *CodeGuruProfiler) ListProfileTimesPagesWithContext(ctx aws.Context, input *ListProfileTimesInput, fn func(*ListProfileTimesOutput, bool) bool, opts ...request.Option) error
func (c *CodeGuruProfiler) ListProfileTimesRequest(input *ListProfileTimesInput) (req *request.Request, output *ListProfileTimesOutput)
func (c *CodeGuruProfiler) ListProfileTimesWithContext(ctx aws.Context, input *ListProfileTimesInput, opts ...request.Option) (*ListProfileTimesOutput, error)
func (c *CodeGuruProfiler) ListProfilingGroups(input *ListProfilingGroupsInput) (*ListProfilingGroupsOutput, error)
func (c *CodeGuruProfiler) ListProfilingGroupsPages(input *ListProfilingGroupsInput, fn func(*ListProfilingGroupsOutput, bool) bool) error
func (c *CodeGuruProfiler) ListProfilingGroupsPagesWithContext(ctx aws.Context, input *ListProfilingGroupsInput, fn func(*ListProfilingGroupsOutput, bool) bool, opts ...request.Option) error
func (c *CodeGuruProfiler) ListProfilingGroupsRequest(input *ListProfilingGroupsInput) (req *request.Request, output *ListProfilingGroupsOutput)
func (c *CodeGuruProfiler) ListProfilingGroupsWithContext(ctx aws.Context, input *ListProfilingGroupsInput, opts ...request.Option) (*ListProfilingGroupsOutput, error)
func (c *CodeGuruProfiler) PostAgentProfile(input *PostAgentProfileInput) (*PostAgentProfileOutput, error)
func (c *CodeGuruProfiler) PostAgentProfileRequest(input *PostAgentProfileInput) (req *request.Request, output *PostAgentProfileOutput)
func (c *CodeGuruProfiler) PostAgentProfileWithContext(ctx aws.Context, input *PostAgentProfileInput, opts ...request.Option) (*PostAgentProfileOutput, error)
func (c *CodeGuruProfiler) PutPermission(input *PutPermissionInput) (*PutPermissionOutput, error)
func (c *CodeGuruProfiler) PutPermissionRequest(input *PutPermissionInput) (req *request.Request, output *PutPermissionOutput)
func (c *CodeGuruProfiler) PutPermissionWithContext(ctx aws.Context, input *PutPermissionInput, opts ...request.Option) (*PutPermissionOutput, error)
func (c *CodeGuruProfiler) RemovePermission(input *RemovePermissionInput) (*RemovePermissionOutput, error)
func (c *CodeGuruProfiler) RemovePermissionRequest(input *RemovePermissionInput) (req *request.Request, output *RemovePermissionOutput)
func (c *CodeGuruProfiler) RemovePermissionWithContext(ctx aws.Context, input *RemovePermissionInput, opts ...request.Option) (*RemovePermissionOutput, error)
func (c *CodeGuruProfiler) UpdateProfilingGroup(input *UpdateProfilingGroupInput) (*UpdateProfilingGroupOutput, error)
func (c *CodeGuruProfiler) UpdateProfilingGroupRequest(input *UpdateProfilingGroupInput) (req *request.Request, output *UpdateProfilingGroupOutput)
func (c *CodeGuruProfiler) UpdateProfilingGroupWithContext(ctx aws.Context, input *UpdateProfilingGroupInput, opts ...request.Option) (*UpdateProfilingGroupOutput, error)
type AgentConfiguration
type AgentOrchestrationConfig
type AggregatedProfileTime
type ConfigureAgentInput
type ConfigureAgentOutput
type ConflictException
type CreateProfilingGroupInput
type CreateProfilingGroupOutput
type DeleteProfilingGroupInput
type DeleteProfilingGroupOutput
type DescribeProfilingGroupInput
type DescribeProfilingGroupOutput
type GetPolicyInput
type GetPolicyOutput
type GetProfileInput
type GetProfileOutput
type InternalServerException
type ListProfileTimesInput
type ListProfileTimesOutput
type ListProfilingGroupsInput
type ListProfilingGroupsOutput
type PostAgentProfileInput
type PostAgentProfileOutput
type ProfileTime
type ProfilingGroupDescription
type ProfilingStatus
type PutPermissionInput
type PutPermissionOutput
type RemovePermissionInput
type RemovePermissionOutput
type ResourceNotFoundException
type ServiceQuotaExceededException
type ThrottlingException
type UpdateProfilingGroupInput
type UpdateProfilingGroupOutput
type ValidationException

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

const (
    // ActionGroupAgentPermissions is a ActionGroup enum value
    ActionGroupAgentPermissions = "agentPermissions"
)

type AgentConfiguration

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

func (s AgentConfiguration) GoString() string

GoString returns the string representation

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 {

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

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

func (s AggregatedProfileTime) GoString() string

GoString returns the string representation

func (*AggregatedProfileTime) SetPeriod

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

SetPeriod sets the Period field's value.

func (*AggregatedProfileTime) SetStart

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

SetStart sets the Start field's value.

func (AggregatedProfileTime) String

func (s AggregatedProfileTime) String() string

String returns the string representation

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

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

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

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.

* 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

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

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) GetPolicy

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

GetPolicy API operation for Amazon CodeGuru Profiler.

Gets the profiling group policy.

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

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

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

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

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

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.

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

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

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

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

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

PutPermission API operation for Amazon CodeGuru Profiler.

Provides permission to the principals. This overwrites the existing permissions, and is not additive.

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

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

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) RemovePermission

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

RemovePermission API operation for Amazon CodeGuru Profiler.

Removes statement for the provided action group from the policy.

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

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

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) 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 {
    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

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) 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 {

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

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

SetConfiguration sets the Configuration field's value.

func (ConfigureAgentOutput) String

func (s ConfigureAgentOutput) String() string

String returns the string representation

type ConflictException

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

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error

func (s *ConflictException) Error() string

func (ConflictException) GoString

func (s ConflictException) GoString() string

GoString returns the string representation

func (*ConflictException) Message

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode

func (s *ConflictException) StatusCode() int

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

func (ConflictException) String

func (s ConflictException) String() string

String returns the string representation

type CreateProfilingGroupInput

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

func (s CreateProfilingGroupInput) GoString() string

GoString returns the string representation

func (*CreateProfilingGroupInput) SetAgentOrchestrationConfig

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

SetAgentOrchestrationConfig sets the AgentOrchestrationConfig field's value.

func (*CreateProfilingGroupInput) SetClientToken

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

SetClientToken sets the ClientToken field's value.

func (*CreateProfilingGroupInput) SetProfilingGroupName

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

SetProfilingGroupName sets the ProfilingGroupName 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 {

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

func (s CreateProfilingGroupOutput) GoString() string

GoString returns the string representation

func (*CreateProfilingGroupOutput) SetProfilingGroup

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

SetProfilingGroup sets the ProfilingGroup field's value.

func (CreateProfilingGroupOutput) String

func (s CreateProfilingGroupOutput) String() string

String returns the string representation

type DeleteProfilingGroupInput

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

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

func (s DeleteProfilingGroupOutput) String() string

String returns the string representation

type DescribeProfilingGroupInput

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

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

func (s DescribeProfilingGroupInput) String() 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 {

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

func (s DescribeProfilingGroupOutput) GoString() string

GoString returns the string representation

func (*DescribeProfilingGroupOutput) SetProfilingGroup

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

SetProfilingGroup sets the ProfilingGroup field's value.

func (DescribeProfilingGroupOutput) String

func (s DescribeProfilingGroupOutput) String() string

String returns the string representation

type GetPolicyInput

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

func (s GetPolicyInput) GoString() string

GoString returns the string representation

func (*GetPolicyInput) SetProfilingGroupName

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

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (GetPolicyInput) String

func (s GetPolicyInput) String() string

String returns the string representation

func (*GetPolicyInput) Validate

func (s *GetPolicyInput) Validate() error

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

type GetPolicyOutput

type GetPolicyOutput struct {

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

func (s GetPolicyOutput) GoString() string

GoString returns the string representation

func (*GetPolicyOutput) SetPolicy

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

SetPolicy sets the Policy field's value.

func (*GetPolicyOutput) SetRevisionId

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

SetRevisionId sets the RevisionId field's value.

func (GetPolicyOutput) String

func (s GetPolicyOutput) String() string

String returns the string representation

type GetProfileInput

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

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 InternalServerException

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

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error

func (s *InternalServerException) Error() string

func (InternalServerException) GoString

func (s InternalServerException) GoString() string

GoString returns the string representation

func (*InternalServerException) Message

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode

func (s *InternalServerException) StatusCode() int

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

func (InternalServerException) String

func (s InternalServerException) 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.
    //
    // 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

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

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

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

SetNextToken sets the NextToken field's value.

func (*ListProfileTimesInput) SetOrderBy

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

SetOrderBy sets the OrderBy field's value.

func (*ListProfileTimesInput) SetPeriod

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

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

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

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

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

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

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

SetMaxResults sets the MaxResults field's value.

func (*ListProfilingGroupsInput) SetNextToken

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

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

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

func (s ListProfilingGroupsOutput) GoString() string

GoString returns the string representation

func (*ListProfilingGroupsOutput) SetNextToken

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

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

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

SetProfilingGroups sets the ProfilingGroups field's value.

func (ListProfilingGroupsOutput) String

func (s ListProfilingGroupsOutput) String() string

String returns the string representation

type PostAgentProfileInput

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

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 the profile.
    Start *time.Time `locationName:"start" type:"timestamp" timestampFormat:"iso8601"`
    // contains filtered or unexported fields
}

Information about the profile time.

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 {
    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

func (s ProfilingGroupDescription) GoString() string

GoString returns the string representation

func (*ProfilingGroupDescription) SetAgentOrchestrationConfig

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

SetAgentOrchestrationConfig sets the AgentOrchestrationConfig field's value.

func (*ProfilingGroupDescription) SetArn

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

SetArn sets the Arn field's value.

func (*ProfilingGroupDescription) SetCreatedAt

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

SetCreatedAt sets the CreatedAt field's value.

func (*ProfilingGroupDescription) SetName

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

SetName sets the Name field's value.

func (*ProfilingGroupDescription) SetProfilingStatus

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

SetProfilingStatus sets the ProfilingStatus field's value.

func (*ProfilingGroupDescription) SetUpdatedAt

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

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

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

type PutPermissionInput struct {

    // The list of actions that the users and roles can perform on the profiling
    // group.
    //
    // ActionGroup is a required field
    ActionGroup *string `location:"uri" locationName:"actionGroup" type:"string" required:"true" enum:"ActionGroup"`

    // The list of role and user ARNs or the accountId that needs access (wildcards
    // are not allowed).
    //
    // Principals is a required field
    Principals []*string `locationName:"principals" min:"1" type:"list" required:"true"`

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

    // A unique identifier for the current revision of the policy. This is required,
    // if a policy exists for the profiling group. This is not required when creating
    // the policy for the first time.
    RevisionId *string `locationName:"revisionId" type:"string"`
    // contains filtered or unexported fields
}

The structure representing the putPermissionRequest.

func (PutPermissionInput) GoString

func (s PutPermissionInput) GoString() string

GoString returns the string representation

func (*PutPermissionInput) SetActionGroup

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

SetActionGroup sets the ActionGroup field's value.

func (*PutPermissionInput) SetPrincipals

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

SetPrincipals sets the Principals field's value.

func (*PutPermissionInput) SetProfilingGroupName

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

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (*PutPermissionInput) SetRevisionId

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

SetRevisionId sets the RevisionId field's value.

func (PutPermissionInput) String

func (s PutPermissionInput) String() string

String returns the string representation

func (*PutPermissionInput) Validate

func (s *PutPermissionInput) Validate() error

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

type PutPermissionOutput

type PutPermissionOutput struct {

    // The resource-based policy.
    //
    // Policy is a required field
    Policy *string `locationName:"policy" type:"string" required:"true"`

    // A unique identifier for the current revision of the policy.
    //
    // 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

func (s PutPermissionOutput) GoString() string

GoString returns the string representation

func (*PutPermissionOutput) SetPolicy

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

SetPolicy sets the Policy field's value.

func (*PutPermissionOutput) SetRevisionId

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

SetRevisionId sets the RevisionId field's value.

func (PutPermissionOutput) String

func (s PutPermissionOutput) String() string

String returns the string representation

type RemovePermissionInput

type RemovePermissionInput struct {

    // The list of actions that the users and roles can perform on the profiling
    // group.
    //
    // 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 unique identifier for the current revision of the policy.
    //
    // RevisionId is a required field
    RevisionId *string `location:"querystring" locationName:"revisionId" type:"string" required:"true"`
    // contains filtered or unexported fields
}

The structure representing the removePermissionRequest.

func (RemovePermissionInput) GoString

func (s RemovePermissionInput) GoString() string

GoString returns the string representation

func (*RemovePermissionInput) SetActionGroup

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

SetActionGroup sets the ActionGroup field's value.

func (*RemovePermissionInput) SetProfilingGroupName

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

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (*RemovePermissionInput) SetRevisionId

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

SetRevisionId sets the RevisionId field's value.

func (RemovePermissionInput) String

func (s RemovePermissionInput) String() string

String returns the string representation

func (*RemovePermissionInput) Validate

func (s *RemovePermissionInput) Validate() error

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

type RemovePermissionOutput

type RemovePermissionOutput struct {

    // The resource-based policy.
    //
    // Policy is a required field
    Policy *string `locationName:"policy" type:"string" required:"true"`

    // A unique identifier for the current revision of the policy.
    //
    // 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

func (s RemovePermissionOutput) GoString() string

GoString returns the string representation

func (*RemovePermissionOutput) SetPolicy

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

SetPolicy sets the Policy field's value.

func (*RemovePermissionOutput) SetRevisionId

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

SetRevisionId sets the RevisionId field's value.

func (RemovePermissionOutput) String

func (s RemovePermissionOutput) String() string

String returns the string representation

type ResourceNotFoundException

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

func (s *ResourceNotFoundException) Code() string

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation

func (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

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

func (ResourceNotFoundException) String

func (s ResourceNotFoundException) String() string

String returns the string representation

type ServiceQuotaExceededException

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

func (s *ServiceQuotaExceededException) Code() string

Code returns the exception type name.

func (*ServiceQuotaExceededException) Error

func (s *ServiceQuotaExceededException) Error() string

func (ServiceQuotaExceededException) GoString

func (s ServiceQuotaExceededException) GoString() string

GoString returns the string representation

func (*ServiceQuotaExceededException) Message

func (s *ServiceQuotaExceededException) Message() string

Message returns the exception's message.

func (*ServiceQuotaExceededException) OrigErr

func (s *ServiceQuotaExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceQuotaExceededException) RequestID

func (s *ServiceQuotaExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceQuotaExceededException) StatusCode

func (s *ServiceQuotaExceededException) StatusCode() int

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

func (ServiceQuotaExceededException) String

func (s ServiceQuotaExceededException) String() string

String returns the string representation

type ThrottlingException

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

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString

func (s ThrottlingException) GoString() string

GoString returns the string representation

func (*ThrottlingException) Message

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode

func (s *ThrottlingException) StatusCode() int

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

func (ThrottlingException) String

func (s ThrottlingException) String() string

String returns the string representation

type UpdateProfilingGroupInput

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

func (s UpdateProfilingGroupInput) GoString() string

GoString returns the string representation

func (*UpdateProfilingGroupInput) SetAgentOrchestrationConfig

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

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 {

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

func (s UpdateProfilingGroupOutput) GoString() string

GoString returns the string representation

func (*UpdateProfilingGroupOutput) SetProfilingGroup

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

SetProfilingGroup sets the ProfilingGroup field's value.

func (UpdateProfilingGroupOutput) String

func (s UpdateProfilingGroupOutput) String() string

String returns the string representation

type ValidationException

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

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error

func (s *ValidationException) Error() string

func (ValidationException) GoString

func (s ValidationException) GoString() string

GoString returns the string representation

func (*ValidationException) Message

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode

func (s *ValidationException) StatusCode() int

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

func (ValidationException) String

func (s ValidationException) String() string

String returns the string representation