codeguruprofiler

package
v1.32.11 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2020 License: Apache-2.0 Imports: 10 Imported by: 14

Documentation

Overview

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

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

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

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

Using the Client

To contact Amazon CodeGuru Profiler with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Amazon CodeGuru Profiler client CodeGuruProfiler for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/codeguruprofiler/#New

Index

Constants

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

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

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

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

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// The requested operation would cause a conflict with the current state of
	// a service resource associated with the request. Resolve the conflict before
	// retrying this request.
	ErrCodeConflictException = "ConflictException"

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

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

	// ErrCodeServiceQuotaExceededException for service response error code
	// "ServiceQuotaExceededException".
	//
	// You have exceeded your service quota. To perform the requested action, remove
	// some of the relevant resources, or use Service Quotas (https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html)
	// to request a service quota increase.
	ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"

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

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

Service information constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

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

SetPeriod sets the Period field's value.

func (*AggregatedProfileTime) SetStart

SetStart sets the Start field's value.

func (AggregatedProfileTime) String

func (s AggregatedProfileTime) String() string

String returns the string representation

type CodeGuruProfiler

type CodeGuruProfiler struct {
	*client.Client
}

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

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

func New

New creates a new instance of the CodeGuruProfiler client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a CodeGuruProfiler client from just a session.
svc := codeguruprofiler.New(mySession)

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

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

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 added in v1.30.7

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 added in v1.30.7

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

GetPolicyRequest generates a "aws/request.Request" representing the client's request for the GetPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetPolicy for more information on using the GetPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetPolicyRequest method.
req, resp := client.GetPolicyRequest(params)

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

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

func (*CodeGuruProfiler) GetPolicyWithContext added in v1.30.7

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

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

See GetPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeGuruProfiler) GetProfile

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

GetProfile API operation for Amazon CodeGuru Profiler.

Gets the aggregated profile of a profiling group for 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 added in v1.30.7

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 added in v1.30.7

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

PutPermissionRequest generates a "aws/request.Request" representing the client's request for the PutPermission operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutPermission for more information on using the PutPermission API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutPermissionRequest method.
req, resp := client.PutPermissionRequest(params)

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

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

func (*CodeGuruProfiler) PutPermissionWithContext added in v1.30.7

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

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

See PutPermission for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeGuruProfiler) RemovePermission added in v1.30.7

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 added in v1.30.7

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

RemovePermissionRequest generates a "aws/request.Request" representing the client's request for the RemovePermission operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RemovePermission for more information on using the RemovePermission API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RemovePermissionRequest method.
req, resp := client.RemovePermissionRequest(params)

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

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

func (*CodeGuruProfiler) RemovePermissionWithContext added in v1.30.7

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

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

See RemovePermission for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

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

SetConfiguration sets the Configuration field's value.

func (ConfigureAgentOutput) String

func (s ConfigureAgentOutput) String() string

String returns the string representation

type ConflictException added in v1.28.0

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

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

The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.

func (*ConflictException) Code added in v1.28.0

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error added in v1.28.0

func (s *ConflictException) Error() string

func (ConflictException) GoString added in v1.28.0

func (s ConflictException) GoString() string

GoString returns the string representation

func (*ConflictException) Message added in v1.28.0

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr added in v1.28.0

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID added in v1.28.0

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode added in v1.28.0

func (s *ConflictException) StatusCode() int

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

func (ConflictException) String added in v1.28.0

func (s ConflictException) String() string

String returns the string representation

type CreateProfilingGroupInput

type CreateProfilingGroupInput struct {

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

SetAgentOrchestrationConfig sets the AgentOrchestrationConfig field's value.

func (*CreateProfilingGroupInput) SetClientToken

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

SetProfilingGroup sets the ProfilingGroup field's value.

func (CreateProfilingGroupOutput) 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

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

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

SetProfilingGroup sets the ProfilingGroup field's value.

func (DescribeProfilingGroupOutput) String

String returns the string representation

type GetPolicyInput added in v1.30.7

type GetPolicyInput struct {

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

The structure representing the getPolicyRequest.

func (GetPolicyInput) GoString added in v1.30.7

func (s GetPolicyInput) GoString() string

GoString returns the string representation

func (*GetPolicyInput) SetProfilingGroupName added in v1.30.7

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

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (GetPolicyInput) String added in v1.30.7

func (s GetPolicyInput) String() string

String returns the string representation

func (*GetPolicyInput) Validate added in v1.30.7

func (s *GetPolicyInput) Validate() error

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

type GetPolicyOutput added in v1.30.7

type GetPolicyOutput struct {

	// The 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 added in v1.30.7

func (s GetPolicyOutput) GoString() string

GoString returns the string representation

func (*GetPolicyOutput) SetPolicy added in v1.30.7

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

SetPolicy sets the Policy field's value.

func (*GetPolicyOutput) SetRevisionId added in v1.30.7

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

SetRevisionId sets the RevisionId field's value.

func (GetPolicyOutput) String added in v1.30.7

func (s GetPolicyOutput) String() string

String returns the string representation

type GetProfileInput

type GetProfileInput struct {

	// The format of the 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 added in v1.28.0

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

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

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

func (*InternalServerException) Code added in v1.28.0

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error added in v1.28.0

func (s *InternalServerException) Error() string

func (InternalServerException) GoString added in v1.28.0

func (s InternalServerException) GoString() string

GoString returns the string representation

func (*InternalServerException) Message added in v1.28.0

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr added in v1.28.0

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID added in v1.28.0

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode added in v1.28.0

func (s *InternalServerException) StatusCode() int

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

func (InternalServerException) String added in v1.28.0

func (s InternalServerException) String() string

String returns the string representation

type 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

SetEndTime sets the EndTime field's value.

func (*ListProfileTimesInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListProfileTimesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListProfileTimesInput) SetOrderBy

SetOrderBy sets the OrderBy field's value.

func (*ListProfileTimesInput) SetPeriod

SetPeriod sets the Period field's value.

func (*ListProfileTimesInput) SetProfilingGroupName

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

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (*ListProfileTimesInput) SetStartTime

SetStartTime sets the StartTime field's value.

func (ListProfileTimesInput) String

func (s ListProfileTimesInput) String() string

String returns the string representation

func (*ListProfileTimesInput) Validate

func (s *ListProfileTimesInput) Validate() error

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

type ListProfileTimesOutput

type ListProfileTimesOutput struct {

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

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

The structure representing the listProfileTimesResponse.

func (ListProfileTimesOutput) GoString

func (s ListProfileTimesOutput) GoString() string

GoString returns the string representation

func (*ListProfileTimesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListProfileTimesOutput) SetProfileTimes

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

SetProfileTimes sets the ProfileTimes field's value.

func (ListProfileTimesOutput) String

func (s ListProfileTimesOutput) String() string

String returns the string representation

type ListProfilingGroupsInput

type ListProfilingGroupsInput struct {

	// A Boolean value indicating whether to include a description.
	IncludeDescription *bool `location:"querystring" locationName:"includeDescription" type:"boolean"`

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

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

The structure representing the listProfilingGroupsRequest.

func (ListProfilingGroupsInput) GoString

func (s ListProfilingGroupsInput) GoString() string

GoString returns the string representation

func (*ListProfilingGroupsInput) SetIncludeDescription

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

SetIncludeDescription sets the IncludeDescription field's value.

func (*ListProfilingGroupsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListProfilingGroupsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListProfilingGroupsInput) String

func (s ListProfilingGroupsInput) String() string

String returns the string representation

func (*ListProfilingGroupsInput) Validate

func (s *ListProfilingGroupsInput) Validate() error

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

type ListProfilingGroupsOutput

type ListProfilingGroupsOutput struct {

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

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

SetNextToken sets the NextToken field's value.

func (*ListProfilingGroupsOutput) SetProfilingGroupNames

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

SetProfilingGroupNames sets the ProfilingGroupNames field's value.

func (*ListProfilingGroupsOutput) SetProfilingGroups

SetProfilingGroups sets the ProfilingGroups field's value.

func (ListProfilingGroupsOutput) String

func (s ListProfilingGroupsOutput) String() string

String returns the string representation

type 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

SetAgentOrchestrationConfig sets the AgentOrchestrationConfig field's value.

func (*ProfilingGroupDescription) SetArn

SetArn sets the Arn field's value.

func (*ProfilingGroupDescription) SetCreatedAt

SetCreatedAt sets the CreatedAt field's value.

func (*ProfilingGroupDescription) SetName

SetName sets the Name field's value.

func (*ProfilingGroupDescription) SetProfilingStatus

SetProfilingStatus sets the ProfilingStatus field's value.

func (*ProfilingGroupDescription) SetUpdatedAt

SetUpdatedAt sets the UpdatedAt field's value.

func (ProfilingGroupDescription) String

func (s ProfilingGroupDescription) String() string

String returns the string representation

type ProfilingStatus

type ProfilingStatus struct {

	// The 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 added in v1.30.7

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 added in v1.30.7

func (s PutPermissionInput) GoString() string

GoString returns the string representation

func (*PutPermissionInput) SetActionGroup added in v1.30.7

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

SetActionGroup sets the ActionGroup field's value.

func (*PutPermissionInput) SetPrincipals added in v1.30.7

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

SetPrincipals sets the Principals field's value.

func (*PutPermissionInput) SetProfilingGroupName added in v1.30.7

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

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (*PutPermissionInput) SetRevisionId added in v1.30.7

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

SetRevisionId sets the RevisionId field's value.

func (PutPermissionInput) String added in v1.30.7

func (s PutPermissionInput) String() string

String returns the string representation

func (*PutPermissionInput) Validate added in v1.30.7

func (s *PutPermissionInput) Validate() error

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

type PutPermissionOutput added in v1.30.7

type PutPermissionOutput struct {

	// The 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 added in v1.30.7

func (s PutPermissionOutput) GoString() string

GoString returns the string representation

func (*PutPermissionOutput) SetPolicy added in v1.30.7

SetPolicy sets the Policy field's value.

func (*PutPermissionOutput) SetRevisionId added in v1.30.7

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

SetRevisionId sets the RevisionId field's value.

func (PutPermissionOutput) String added in v1.30.7

func (s PutPermissionOutput) String() string

String returns the string representation

type RemovePermissionInput added in v1.30.7

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 added in v1.30.7

func (s RemovePermissionInput) GoString() string

GoString returns the string representation

func (*RemovePermissionInput) SetActionGroup added in v1.30.7

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

SetActionGroup sets the ActionGroup field's value.

func (*RemovePermissionInput) SetProfilingGroupName added in v1.30.7

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

SetProfilingGroupName sets the ProfilingGroupName field's value.

func (*RemovePermissionInput) SetRevisionId added in v1.30.7

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

SetRevisionId sets the RevisionId field's value.

func (RemovePermissionInput) String added in v1.30.7

func (s RemovePermissionInput) String() string

String returns the string representation

func (*RemovePermissionInput) Validate added in v1.30.7

func (s *RemovePermissionInput) Validate() error

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

type RemovePermissionOutput added in v1.30.7

type RemovePermissionOutput struct {

	// The 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 added in v1.30.7

func (s RemovePermissionOutput) GoString() string

GoString returns the string representation

func (*RemovePermissionOutput) SetPolicy added in v1.30.7

SetPolicy sets the Policy field's value.

func (*RemovePermissionOutput) SetRevisionId added in v1.30.7

SetRevisionId sets the RevisionId field's value.

func (RemovePermissionOutput) String added in v1.30.7

func (s RemovePermissionOutput) String() string

String returns the string representation

type ResourceNotFoundException added in v1.28.0

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

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

The resource specified in the request does not exist.

func (*ResourceNotFoundException) Code added in v1.28.0

Code returns the exception type name.

func (*ResourceNotFoundException) Error added in v1.28.0

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString added in v1.28.0

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation

func (*ResourceNotFoundException) Message added in v1.28.0

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr added in v1.28.0

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID added in v1.28.0

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode added in v1.28.0

func (s *ResourceNotFoundException) StatusCode() int

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

func (ResourceNotFoundException) String added in v1.28.0

func (s ResourceNotFoundException) String() string

String returns the string representation

type ServiceQuotaExceededException added in v1.28.0

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

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

You have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas (https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html) to request a service quota increase.

func (*ServiceQuotaExceededException) Code added in v1.28.0

Code returns the exception type name.

func (*ServiceQuotaExceededException) Error added in v1.28.0

func (ServiceQuotaExceededException) GoString added in v1.28.0

GoString returns the string representation

func (*ServiceQuotaExceededException) Message added in v1.28.0

Message returns the exception's message.

func (*ServiceQuotaExceededException) OrigErr added in v1.28.0

func (s *ServiceQuotaExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceQuotaExceededException) RequestID added in v1.28.0

func (s *ServiceQuotaExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceQuotaExceededException) StatusCode added in v1.28.0

func (s *ServiceQuotaExceededException) StatusCode() int

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

func (ServiceQuotaExceededException) String added in v1.28.0

String returns the string representation

type ThrottlingException added in v1.28.0

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

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

The request was denied due to request throttling.

func (*ThrottlingException) Code added in v1.28.0

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error added in v1.28.0

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString added in v1.28.0

func (s ThrottlingException) GoString() string

GoString returns the string representation

func (*ThrottlingException) Message added in v1.28.0

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr added in v1.28.0

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID added in v1.28.0

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode added in v1.28.0

func (s *ThrottlingException) StatusCode() int

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

func (ThrottlingException) String added in v1.28.0

func (s ThrottlingException) String() string

String returns the string representation

type 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

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

SetProfilingGroup sets the ProfilingGroup field's value.

func (UpdateProfilingGroupOutput) String

String returns the string representation

type ValidationException added in v1.28.0

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

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

The parameter is not valid.

func (*ValidationException) Code added in v1.28.0

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error added in v1.28.0

func (s *ValidationException) Error() string

func (ValidationException) GoString added in v1.28.0

func (s ValidationException) GoString() string

GoString returns the string representation

func (*ValidationException) Message added in v1.28.0

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr added in v1.28.0

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID added in v1.28.0

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode added in v1.28.0

func (s *ValidationException) StatusCode() int

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

func (ValidationException) String added in v1.28.0

func (s ValidationException) String() string

String returns the string representation

Directories

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

Jump to

Keyboard shortcuts

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