Documentation ¶
Overview ¶
Package prometheusservice provides the client and types for making API requests to Amazon Prometheus Service.
Amazon Managed Service for Prometheus ¶
See https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01 for more information on this service.
See prometheusservice package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/prometheusservice/
Using the Client ¶
To contact Amazon Prometheus Service 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 Prometheus Service client PrometheusService for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/prometheusservice/#New
Index ¶
- Constants
- func AlertManagerDefinitionStatusCode_Values() []string
- func LoggingConfigurationStatusCode_Values() []string
- func RuleGroupsNamespaceStatusCode_Values() []string
- func ScraperStatusCode_Values() []string
- func ValidationExceptionReason_Values() []string
- func WorkspaceStatusCode_Values() []string
- type AccessDeniedException
- func (s *AccessDeniedException) Code() string
- func (s *AccessDeniedException) Error() string
- func (s AccessDeniedException) GoString() string
- func (s *AccessDeniedException) Message() string
- func (s *AccessDeniedException) OrigErr() error
- func (s *AccessDeniedException) RequestID() string
- func (s *AccessDeniedException) StatusCode() int
- func (s AccessDeniedException) String() string
- type AlertManagerDefinitionDescription
- func (s AlertManagerDefinitionDescription) GoString() string
- func (s *AlertManagerDefinitionDescription) SetCreatedAt(v time.Time) *AlertManagerDefinitionDescription
- func (s *AlertManagerDefinitionDescription) SetData(v []byte) *AlertManagerDefinitionDescription
- func (s *AlertManagerDefinitionDescription) SetModifiedAt(v time.Time) *AlertManagerDefinitionDescription
- func (s *AlertManagerDefinitionDescription) SetStatus(v *AlertManagerDefinitionStatus) *AlertManagerDefinitionDescription
- func (s AlertManagerDefinitionDescription) String() string
- type AlertManagerDefinitionStatus
- type AmpConfiguration
- type ConflictException
- func (s *ConflictException) Code() string
- func (s *ConflictException) Error() string
- func (s ConflictException) GoString() string
- func (s *ConflictException) Message() string
- func (s *ConflictException) OrigErr() error
- func (s *ConflictException) RequestID() string
- func (s *ConflictException) StatusCode() int
- func (s ConflictException) String() string
- type CreateAlertManagerDefinitionInput
- func (s CreateAlertManagerDefinitionInput) GoString() string
- func (s *CreateAlertManagerDefinitionInput) SetClientToken(v string) *CreateAlertManagerDefinitionInput
- func (s *CreateAlertManagerDefinitionInput) SetData(v []byte) *CreateAlertManagerDefinitionInput
- func (s *CreateAlertManagerDefinitionInput) SetWorkspaceId(v string) *CreateAlertManagerDefinitionInput
- func (s CreateAlertManagerDefinitionInput) String() string
- func (s *CreateAlertManagerDefinitionInput) Validate() error
- type CreateAlertManagerDefinitionOutput
- type CreateLoggingConfigurationInput
- func (s CreateLoggingConfigurationInput) GoString() string
- func (s *CreateLoggingConfigurationInput) SetClientToken(v string) *CreateLoggingConfigurationInput
- func (s *CreateLoggingConfigurationInput) SetLogGroupArn(v string) *CreateLoggingConfigurationInput
- func (s *CreateLoggingConfigurationInput) SetWorkspaceId(v string) *CreateLoggingConfigurationInput
- func (s CreateLoggingConfigurationInput) String() string
- func (s *CreateLoggingConfigurationInput) Validate() error
- type CreateLoggingConfigurationOutput
- type CreateRuleGroupsNamespaceInput
- func (s CreateRuleGroupsNamespaceInput) GoString() string
- func (s *CreateRuleGroupsNamespaceInput) SetClientToken(v string) *CreateRuleGroupsNamespaceInput
- func (s *CreateRuleGroupsNamespaceInput) SetData(v []byte) *CreateRuleGroupsNamespaceInput
- func (s *CreateRuleGroupsNamespaceInput) SetName(v string) *CreateRuleGroupsNamespaceInput
- func (s *CreateRuleGroupsNamespaceInput) SetTags(v map[string]*string) *CreateRuleGroupsNamespaceInput
- func (s *CreateRuleGroupsNamespaceInput) SetWorkspaceId(v string) *CreateRuleGroupsNamespaceInput
- func (s CreateRuleGroupsNamespaceInput) String() string
- func (s *CreateRuleGroupsNamespaceInput) Validate() error
- type CreateRuleGroupsNamespaceOutput
- func (s CreateRuleGroupsNamespaceOutput) GoString() string
- func (s *CreateRuleGroupsNamespaceOutput) SetArn(v string) *CreateRuleGroupsNamespaceOutput
- func (s *CreateRuleGroupsNamespaceOutput) SetName(v string) *CreateRuleGroupsNamespaceOutput
- func (s *CreateRuleGroupsNamespaceOutput) SetStatus(v *RuleGroupsNamespaceStatus) *CreateRuleGroupsNamespaceOutput
- func (s *CreateRuleGroupsNamespaceOutput) SetTags(v map[string]*string) *CreateRuleGroupsNamespaceOutput
- func (s CreateRuleGroupsNamespaceOutput) String() string
- type CreateScraperInput
- func (s CreateScraperInput) GoString() string
- func (s *CreateScraperInput) SetAlias(v string) *CreateScraperInput
- func (s *CreateScraperInput) SetClientToken(v string) *CreateScraperInput
- func (s *CreateScraperInput) SetDestination(v *Destination) *CreateScraperInput
- func (s *CreateScraperInput) SetScrapeConfiguration(v *ScrapeConfiguration) *CreateScraperInput
- func (s *CreateScraperInput) SetSource(v *Source) *CreateScraperInput
- func (s *CreateScraperInput) SetTags(v map[string]*string) *CreateScraperInput
- func (s CreateScraperInput) String() string
- func (s *CreateScraperInput) Validate() error
- type CreateScraperOutput
- func (s CreateScraperOutput) GoString() string
- func (s *CreateScraperOutput) SetArn(v string) *CreateScraperOutput
- func (s *CreateScraperOutput) SetScraperId(v string) *CreateScraperOutput
- func (s *CreateScraperOutput) SetStatus(v *ScraperStatus) *CreateScraperOutput
- func (s *CreateScraperOutput) SetTags(v map[string]*string) *CreateScraperOutput
- func (s CreateScraperOutput) String() string
- type CreateWorkspaceInput
- func (s CreateWorkspaceInput) GoString() string
- func (s *CreateWorkspaceInput) SetAlias(v string) *CreateWorkspaceInput
- func (s *CreateWorkspaceInput) SetClientToken(v string) *CreateWorkspaceInput
- func (s *CreateWorkspaceInput) SetKmsKeyArn(v string) *CreateWorkspaceInput
- func (s *CreateWorkspaceInput) SetTags(v map[string]*string) *CreateWorkspaceInput
- func (s CreateWorkspaceInput) String() string
- func (s *CreateWorkspaceInput) Validate() error
- type CreateWorkspaceOutput
- func (s CreateWorkspaceOutput) GoString() string
- func (s *CreateWorkspaceOutput) SetArn(v string) *CreateWorkspaceOutput
- func (s *CreateWorkspaceOutput) SetKmsKeyArn(v string) *CreateWorkspaceOutput
- func (s *CreateWorkspaceOutput) SetStatus(v *WorkspaceStatus) *CreateWorkspaceOutput
- func (s *CreateWorkspaceOutput) SetTags(v map[string]*string) *CreateWorkspaceOutput
- func (s *CreateWorkspaceOutput) SetWorkspaceId(v string) *CreateWorkspaceOutput
- func (s CreateWorkspaceOutput) String() string
- type DeleteAlertManagerDefinitionInput
- func (s DeleteAlertManagerDefinitionInput) GoString() string
- func (s *DeleteAlertManagerDefinitionInput) SetClientToken(v string) *DeleteAlertManagerDefinitionInput
- func (s *DeleteAlertManagerDefinitionInput) SetWorkspaceId(v string) *DeleteAlertManagerDefinitionInput
- func (s DeleteAlertManagerDefinitionInput) String() string
- func (s *DeleteAlertManagerDefinitionInput) Validate() error
- type DeleteAlertManagerDefinitionOutput
- type DeleteLoggingConfigurationInput
- func (s DeleteLoggingConfigurationInput) GoString() string
- func (s *DeleteLoggingConfigurationInput) SetClientToken(v string) *DeleteLoggingConfigurationInput
- func (s *DeleteLoggingConfigurationInput) SetWorkspaceId(v string) *DeleteLoggingConfigurationInput
- func (s DeleteLoggingConfigurationInput) String() string
- func (s *DeleteLoggingConfigurationInput) Validate() error
- type DeleteLoggingConfigurationOutput
- type DeleteRuleGroupsNamespaceInput
- func (s DeleteRuleGroupsNamespaceInput) GoString() string
- func (s *DeleteRuleGroupsNamespaceInput) SetClientToken(v string) *DeleteRuleGroupsNamespaceInput
- func (s *DeleteRuleGroupsNamespaceInput) SetName(v string) *DeleteRuleGroupsNamespaceInput
- func (s *DeleteRuleGroupsNamespaceInput) SetWorkspaceId(v string) *DeleteRuleGroupsNamespaceInput
- func (s DeleteRuleGroupsNamespaceInput) String() string
- func (s *DeleteRuleGroupsNamespaceInput) Validate() error
- type DeleteRuleGroupsNamespaceOutput
- type DeleteScraperInput
- type DeleteScraperOutput
- type DeleteWorkspaceInput
- type DeleteWorkspaceOutput
- type DescribeAlertManagerDefinitionInput
- type DescribeAlertManagerDefinitionOutput
- type DescribeLoggingConfigurationInput
- type DescribeLoggingConfigurationOutput
- type DescribeRuleGroupsNamespaceInput
- func (s DescribeRuleGroupsNamespaceInput) GoString() string
- func (s *DescribeRuleGroupsNamespaceInput) SetName(v string) *DescribeRuleGroupsNamespaceInput
- func (s *DescribeRuleGroupsNamespaceInput) SetWorkspaceId(v string) *DescribeRuleGroupsNamespaceInput
- func (s DescribeRuleGroupsNamespaceInput) String() string
- func (s *DescribeRuleGroupsNamespaceInput) Validate() error
- type DescribeRuleGroupsNamespaceOutput
- type DescribeScraperInput
- type DescribeScraperOutput
- type DescribeWorkspaceInput
- type DescribeWorkspaceOutput
- type Destination
- type EksConfiguration
- func (s EksConfiguration) GoString() string
- func (s *EksConfiguration) SetClusterArn(v string) *EksConfiguration
- func (s *EksConfiguration) SetSecurityGroupIds(v []*string) *EksConfiguration
- func (s *EksConfiguration) SetSubnetIds(v []*string) *EksConfiguration
- func (s EksConfiguration) String() string
- func (s *EksConfiguration) Validate() error
- type GetDefaultScraperConfigurationInput
- type GetDefaultScraperConfigurationOutput
- type InternalServerException
- func (s *InternalServerException) Code() string
- func (s *InternalServerException) Error() string
- func (s InternalServerException) GoString() string
- func (s *InternalServerException) Message() string
- func (s *InternalServerException) OrigErr() error
- func (s *InternalServerException) RequestID() string
- func (s *InternalServerException) StatusCode() int
- func (s InternalServerException) String() string
- type ListRuleGroupsNamespacesInput
- func (s ListRuleGroupsNamespacesInput) GoString() string
- func (s *ListRuleGroupsNamespacesInput) SetMaxResults(v int64) *ListRuleGroupsNamespacesInput
- func (s *ListRuleGroupsNamespacesInput) SetName(v string) *ListRuleGroupsNamespacesInput
- func (s *ListRuleGroupsNamespacesInput) SetNextToken(v string) *ListRuleGroupsNamespacesInput
- func (s *ListRuleGroupsNamespacesInput) SetWorkspaceId(v string) *ListRuleGroupsNamespacesInput
- func (s ListRuleGroupsNamespacesInput) String() string
- func (s *ListRuleGroupsNamespacesInput) Validate() error
- type ListRuleGroupsNamespacesOutput
- func (s ListRuleGroupsNamespacesOutput) GoString() string
- func (s *ListRuleGroupsNamespacesOutput) SetNextToken(v string) *ListRuleGroupsNamespacesOutput
- func (s *ListRuleGroupsNamespacesOutput) SetRuleGroupsNamespaces(v []*RuleGroupsNamespaceSummary) *ListRuleGroupsNamespacesOutput
- func (s ListRuleGroupsNamespacesOutput) String() string
- type ListScrapersInput
- func (s ListScrapersInput) GoString() string
- func (s *ListScrapersInput) SetFilters(v map[string][]*string) *ListScrapersInput
- func (s *ListScrapersInput) SetMaxResults(v int64) *ListScrapersInput
- func (s *ListScrapersInput) SetNextToken(v string) *ListScrapersInput
- func (s ListScrapersInput) String() string
- func (s *ListScrapersInput) Validate() error
- type ListScrapersOutput
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ListWorkspacesInput
- func (s ListWorkspacesInput) GoString() string
- func (s *ListWorkspacesInput) SetAlias(v string) *ListWorkspacesInput
- func (s *ListWorkspacesInput) SetMaxResults(v int64) *ListWorkspacesInput
- func (s *ListWorkspacesInput) SetNextToken(v string) *ListWorkspacesInput
- func (s ListWorkspacesInput) String() string
- func (s *ListWorkspacesInput) Validate() error
- type ListWorkspacesOutput
- type LoggingConfigurationMetadata
- func (s LoggingConfigurationMetadata) GoString() string
- func (s *LoggingConfigurationMetadata) SetCreatedAt(v time.Time) *LoggingConfigurationMetadata
- func (s *LoggingConfigurationMetadata) SetLogGroupArn(v string) *LoggingConfigurationMetadata
- func (s *LoggingConfigurationMetadata) SetModifiedAt(v time.Time) *LoggingConfigurationMetadata
- func (s *LoggingConfigurationMetadata) SetStatus(v *LoggingConfigurationStatus) *LoggingConfigurationMetadata
- func (s *LoggingConfigurationMetadata) SetWorkspace(v string) *LoggingConfigurationMetadata
- func (s LoggingConfigurationMetadata) String() string
- type LoggingConfigurationStatus
- type PrometheusService
- func (c *PrometheusService) CreateAlertManagerDefinition(input *CreateAlertManagerDefinitionInput) (*CreateAlertManagerDefinitionOutput, error)
- func (c *PrometheusService) CreateAlertManagerDefinitionRequest(input *CreateAlertManagerDefinitionInput) (req *request.Request, output *CreateAlertManagerDefinitionOutput)
- func (c *PrometheusService) CreateAlertManagerDefinitionWithContext(ctx aws.Context, input *CreateAlertManagerDefinitionInput, ...) (*CreateAlertManagerDefinitionOutput, error)
- func (c *PrometheusService) CreateLoggingConfiguration(input *CreateLoggingConfigurationInput) (*CreateLoggingConfigurationOutput, error)
- func (c *PrometheusService) CreateLoggingConfigurationRequest(input *CreateLoggingConfigurationInput) (req *request.Request, output *CreateLoggingConfigurationOutput)
- func (c *PrometheusService) CreateLoggingConfigurationWithContext(ctx aws.Context, input *CreateLoggingConfigurationInput, ...) (*CreateLoggingConfigurationOutput, error)
- func (c *PrometheusService) CreateRuleGroupsNamespace(input *CreateRuleGroupsNamespaceInput) (*CreateRuleGroupsNamespaceOutput, error)
- func (c *PrometheusService) CreateRuleGroupsNamespaceRequest(input *CreateRuleGroupsNamespaceInput) (req *request.Request, output *CreateRuleGroupsNamespaceOutput)
- func (c *PrometheusService) CreateRuleGroupsNamespaceWithContext(ctx aws.Context, input *CreateRuleGroupsNamespaceInput, opts ...request.Option) (*CreateRuleGroupsNamespaceOutput, error)
- func (c *PrometheusService) CreateScraper(input *CreateScraperInput) (*CreateScraperOutput, error)
- func (c *PrometheusService) CreateScraperRequest(input *CreateScraperInput) (req *request.Request, output *CreateScraperOutput)
- func (c *PrometheusService) CreateScraperWithContext(ctx aws.Context, input *CreateScraperInput, opts ...request.Option) (*CreateScraperOutput, error)
- func (c *PrometheusService) CreateWorkspace(input *CreateWorkspaceInput) (*CreateWorkspaceOutput, error)
- func (c *PrometheusService) CreateWorkspaceRequest(input *CreateWorkspaceInput) (req *request.Request, output *CreateWorkspaceOutput)
- func (c *PrometheusService) CreateWorkspaceWithContext(ctx aws.Context, input *CreateWorkspaceInput, opts ...request.Option) (*CreateWorkspaceOutput, error)
- func (c *PrometheusService) DeleteAlertManagerDefinition(input *DeleteAlertManagerDefinitionInput) (*DeleteAlertManagerDefinitionOutput, error)
- func (c *PrometheusService) DeleteAlertManagerDefinitionRequest(input *DeleteAlertManagerDefinitionInput) (req *request.Request, output *DeleteAlertManagerDefinitionOutput)
- func (c *PrometheusService) DeleteAlertManagerDefinitionWithContext(ctx aws.Context, input *DeleteAlertManagerDefinitionInput, ...) (*DeleteAlertManagerDefinitionOutput, error)
- func (c *PrometheusService) DeleteLoggingConfiguration(input *DeleteLoggingConfigurationInput) (*DeleteLoggingConfigurationOutput, error)
- func (c *PrometheusService) DeleteLoggingConfigurationRequest(input *DeleteLoggingConfigurationInput) (req *request.Request, output *DeleteLoggingConfigurationOutput)
- func (c *PrometheusService) DeleteLoggingConfigurationWithContext(ctx aws.Context, input *DeleteLoggingConfigurationInput, ...) (*DeleteLoggingConfigurationOutput, error)
- func (c *PrometheusService) DeleteRuleGroupsNamespace(input *DeleteRuleGroupsNamespaceInput) (*DeleteRuleGroupsNamespaceOutput, error)
- func (c *PrometheusService) DeleteRuleGroupsNamespaceRequest(input *DeleteRuleGroupsNamespaceInput) (req *request.Request, output *DeleteRuleGroupsNamespaceOutput)
- func (c *PrometheusService) DeleteRuleGroupsNamespaceWithContext(ctx aws.Context, input *DeleteRuleGroupsNamespaceInput, opts ...request.Option) (*DeleteRuleGroupsNamespaceOutput, error)
- func (c *PrometheusService) DeleteScraper(input *DeleteScraperInput) (*DeleteScraperOutput, error)
- func (c *PrometheusService) DeleteScraperRequest(input *DeleteScraperInput) (req *request.Request, output *DeleteScraperOutput)
- func (c *PrometheusService) DeleteScraperWithContext(ctx aws.Context, input *DeleteScraperInput, opts ...request.Option) (*DeleteScraperOutput, error)
- func (c *PrometheusService) DeleteWorkspace(input *DeleteWorkspaceInput) (*DeleteWorkspaceOutput, error)
- func (c *PrometheusService) DeleteWorkspaceRequest(input *DeleteWorkspaceInput) (req *request.Request, output *DeleteWorkspaceOutput)
- func (c *PrometheusService) DeleteWorkspaceWithContext(ctx aws.Context, input *DeleteWorkspaceInput, opts ...request.Option) (*DeleteWorkspaceOutput, error)
- func (c *PrometheusService) DescribeAlertManagerDefinition(input *DescribeAlertManagerDefinitionInput) (*DescribeAlertManagerDefinitionOutput, error)
- func (c *PrometheusService) DescribeAlertManagerDefinitionRequest(input *DescribeAlertManagerDefinitionInput) (req *request.Request, output *DescribeAlertManagerDefinitionOutput)
- func (c *PrometheusService) DescribeAlertManagerDefinitionWithContext(ctx aws.Context, input *DescribeAlertManagerDefinitionInput, ...) (*DescribeAlertManagerDefinitionOutput, error)
- func (c *PrometheusService) DescribeLoggingConfiguration(input *DescribeLoggingConfigurationInput) (*DescribeLoggingConfigurationOutput, error)
- func (c *PrometheusService) DescribeLoggingConfigurationRequest(input *DescribeLoggingConfigurationInput) (req *request.Request, output *DescribeLoggingConfigurationOutput)
- func (c *PrometheusService) DescribeLoggingConfigurationWithContext(ctx aws.Context, input *DescribeLoggingConfigurationInput, ...) (*DescribeLoggingConfigurationOutput, error)
- func (c *PrometheusService) DescribeRuleGroupsNamespace(input *DescribeRuleGroupsNamespaceInput) (*DescribeRuleGroupsNamespaceOutput, error)
- func (c *PrometheusService) DescribeRuleGroupsNamespaceRequest(input *DescribeRuleGroupsNamespaceInput) (req *request.Request, output *DescribeRuleGroupsNamespaceOutput)
- func (c *PrometheusService) DescribeRuleGroupsNamespaceWithContext(ctx aws.Context, input *DescribeRuleGroupsNamespaceInput, ...) (*DescribeRuleGroupsNamespaceOutput, error)
- func (c *PrometheusService) DescribeScraper(input *DescribeScraperInput) (*DescribeScraperOutput, error)
- func (c *PrometheusService) DescribeScraperRequest(input *DescribeScraperInput) (req *request.Request, output *DescribeScraperOutput)
- func (c *PrometheusService) DescribeScraperWithContext(ctx aws.Context, input *DescribeScraperInput, opts ...request.Option) (*DescribeScraperOutput, error)
- func (c *PrometheusService) DescribeWorkspace(input *DescribeWorkspaceInput) (*DescribeWorkspaceOutput, error)
- func (c *PrometheusService) DescribeWorkspaceRequest(input *DescribeWorkspaceInput) (req *request.Request, output *DescribeWorkspaceOutput)
- func (c *PrometheusService) DescribeWorkspaceWithContext(ctx aws.Context, input *DescribeWorkspaceInput, opts ...request.Option) (*DescribeWorkspaceOutput, error)
- func (c *PrometheusService) GetDefaultScraperConfiguration(input *GetDefaultScraperConfigurationInput) (*GetDefaultScraperConfigurationOutput, error)
- func (c *PrometheusService) GetDefaultScraperConfigurationRequest(input *GetDefaultScraperConfigurationInput) (req *request.Request, output *GetDefaultScraperConfigurationOutput)
- func (c *PrometheusService) GetDefaultScraperConfigurationWithContext(ctx aws.Context, input *GetDefaultScraperConfigurationInput, ...) (*GetDefaultScraperConfigurationOutput, error)
- func (c *PrometheusService) ListRuleGroupsNamespaces(input *ListRuleGroupsNamespacesInput) (*ListRuleGroupsNamespacesOutput, error)
- func (c *PrometheusService) ListRuleGroupsNamespacesPages(input *ListRuleGroupsNamespacesInput, ...) error
- func (c *PrometheusService) ListRuleGroupsNamespacesPagesWithContext(ctx aws.Context, input *ListRuleGroupsNamespacesInput, ...) error
- func (c *PrometheusService) ListRuleGroupsNamespacesRequest(input *ListRuleGroupsNamespacesInput) (req *request.Request, output *ListRuleGroupsNamespacesOutput)
- func (c *PrometheusService) ListRuleGroupsNamespacesWithContext(ctx aws.Context, input *ListRuleGroupsNamespacesInput, opts ...request.Option) (*ListRuleGroupsNamespacesOutput, error)
- func (c *PrometheusService) ListScrapers(input *ListScrapersInput) (*ListScrapersOutput, error)
- func (c *PrometheusService) ListScrapersPages(input *ListScrapersInput, fn func(*ListScrapersOutput, bool) bool) error
- func (c *PrometheusService) ListScrapersPagesWithContext(ctx aws.Context, input *ListScrapersInput, ...) error
- func (c *PrometheusService) ListScrapersRequest(input *ListScrapersInput) (req *request.Request, output *ListScrapersOutput)
- func (c *PrometheusService) ListScrapersWithContext(ctx aws.Context, input *ListScrapersInput, opts ...request.Option) (*ListScrapersOutput, error)
- func (c *PrometheusService) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
- func (c *PrometheusService) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
- func (c *PrometheusService) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
- func (c *PrometheusService) ListWorkspaces(input *ListWorkspacesInput) (*ListWorkspacesOutput, error)
- func (c *PrometheusService) ListWorkspacesPages(input *ListWorkspacesInput, fn func(*ListWorkspacesOutput, bool) bool) error
- func (c *PrometheusService) ListWorkspacesPagesWithContext(ctx aws.Context, input *ListWorkspacesInput, ...) error
- func (c *PrometheusService) ListWorkspacesRequest(input *ListWorkspacesInput) (req *request.Request, output *ListWorkspacesOutput)
- func (c *PrometheusService) ListWorkspacesWithContext(ctx aws.Context, input *ListWorkspacesInput, opts ...request.Option) (*ListWorkspacesOutput, error)
- func (c *PrometheusService) PutAlertManagerDefinition(input *PutAlertManagerDefinitionInput) (*PutAlertManagerDefinitionOutput, error)
- func (c *PrometheusService) PutAlertManagerDefinitionRequest(input *PutAlertManagerDefinitionInput) (req *request.Request, output *PutAlertManagerDefinitionOutput)
- func (c *PrometheusService) PutAlertManagerDefinitionWithContext(ctx aws.Context, input *PutAlertManagerDefinitionInput, opts ...request.Option) (*PutAlertManagerDefinitionOutput, error)
- func (c *PrometheusService) PutRuleGroupsNamespace(input *PutRuleGroupsNamespaceInput) (*PutRuleGroupsNamespaceOutput, error)
- func (c *PrometheusService) PutRuleGroupsNamespaceRequest(input *PutRuleGroupsNamespaceInput) (req *request.Request, output *PutRuleGroupsNamespaceOutput)
- func (c *PrometheusService) PutRuleGroupsNamespaceWithContext(ctx aws.Context, input *PutRuleGroupsNamespaceInput, opts ...request.Option) (*PutRuleGroupsNamespaceOutput, error)
- func (c *PrometheusService) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
- func (c *PrometheusService) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
- func (c *PrometheusService) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
- func (c *PrometheusService) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
- func (c *PrometheusService) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
- func (c *PrometheusService) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
- func (c *PrometheusService) UpdateLoggingConfiguration(input *UpdateLoggingConfigurationInput) (*UpdateLoggingConfigurationOutput, error)
- func (c *PrometheusService) UpdateLoggingConfigurationRequest(input *UpdateLoggingConfigurationInput) (req *request.Request, output *UpdateLoggingConfigurationOutput)
- func (c *PrometheusService) UpdateLoggingConfigurationWithContext(ctx aws.Context, input *UpdateLoggingConfigurationInput, ...) (*UpdateLoggingConfigurationOutput, error)
- func (c *PrometheusService) UpdateWorkspaceAlias(input *UpdateWorkspaceAliasInput) (*UpdateWorkspaceAliasOutput, error)
- func (c *PrometheusService) UpdateWorkspaceAliasRequest(input *UpdateWorkspaceAliasInput) (req *request.Request, output *UpdateWorkspaceAliasOutput)
- func (c *PrometheusService) UpdateWorkspaceAliasWithContext(ctx aws.Context, input *UpdateWorkspaceAliasInput, opts ...request.Option) (*UpdateWorkspaceAliasOutput, error)
- func (c *PrometheusService) WaitUntilScraperActive(input *DescribeScraperInput) error
- func (c *PrometheusService) WaitUntilScraperActiveWithContext(ctx aws.Context, input *DescribeScraperInput, opts ...request.WaiterOption) error
- func (c *PrometheusService) WaitUntilScraperDeleted(input *DescribeScraperInput) error
- func (c *PrometheusService) WaitUntilScraperDeletedWithContext(ctx aws.Context, input *DescribeScraperInput, opts ...request.WaiterOption) error
- func (c *PrometheusService) WaitUntilWorkspaceActive(input *DescribeWorkspaceInput) error
- func (c *PrometheusService) WaitUntilWorkspaceActiveWithContext(ctx aws.Context, input *DescribeWorkspaceInput, opts ...request.WaiterOption) error
- func (c *PrometheusService) WaitUntilWorkspaceDeleted(input *DescribeWorkspaceInput) error
- func (c *PrometheusService) WaitUntilWorkspaceDeletedWithContext(ctx aws.Context, input *DescribeWorkspaceInput, opts ...request.WaiterOption) error
- type PutAlertManagerDefinitionInput
- func (s PutAlertManagerDefinitionInput) GoString() string
- func (s *PutAlertManagerDefinitionInput) SetClientToken(v string) *PutAlertManagerDefinitionInput
- func (s *PutAlertManagerDefinitionInput) SetData(v []byte) *PutAlertManagerDefinitionInput
- func (s *PutAlertManagerDefinitionInput) SetWorkspaceId(v string) *PutAlertManagerDefinitionInput
- func (s PutAlertManagerDefinitionInput) String() string
- func (s *PutAlertManagerDefinitionInput) Validate() error
- type PutAlertManagerDefinitionOutput
- type PutRuleGroupsNamespaceInput
- func (s PutRuleGroupsNamespaceInput) GoString() string
- func (s *PutRuleGroupsNamespaceInput) SetClientToken(v string) *PutRuleGroupsNamespaceInput
- func (s *PutRuleGroupsNamespaceInput) SetData(v []byte) *PutRuleGroupsNamespaceInput
- func (s *PutRuleGroupsNamespaceInput) SetName(v string) *PutRuleGroupsNamespaceInput
- func (s *PutRuleGroupsNamespaceInput) SetWorkspaceId(v string) *PutRuleGroupsNamespaceInput
- func (s PutRuleGroupsNamespaceInput) String() string
- func (s *PutRuleGroupsNamespaceInput) Validate() error
- type PutRuleGroupsNamespaceOutput
- func (s PutRuleGroupsNamespaceOutput) GoString() string
- func (s *PutRuleGroupsNamespaceOutput) SetArn(v string) *PutRuleGroupsNamespaceOutput
- func (s *PutRuleGroupsNamespaceOutput) SetName(v string) *PutRuleGroupsNamespaceOutput
- func (s *PutRuleGroupsNamespaceOutput) SetStatus(v *RuleGroupsNamespaceStatus) *PutRuleGroupsNamespaceOutput
- func (s *PutRuleGroupsNamespaceOutput) SetTags(v map[string]*string) *PutRuleGroupsNamespaceOutput
- func (s PutRuleGroupsNamespaceOutput) String() string
- type ResourceNotFoundException
- func (s *ResourceNotFoundException) Code() string
- func (s *ResourceNotFoundException) Error() string
- func (s ResourceNotFoundException) GoString() string
- func (s *ResourceNotFoundException) Message() string
- func (s *ResourceNotFoundException) OrigErr() error
- func (s *ResourceNotFoundException) RequestID() string
- func (s *ResourceNotFoundException) StatusCode() int
- func (s ResourceNotFoundException) String() string
- type RuleGroupsNamespaceDescription
- func (s RuleGroupsNamespaceDescription) GoString() string
- func (s *RuleGroupsNamespaceDescription) SetArn(v string) *RuleGroupsNamespaceDescription
- func (s *RuleGroupsNamespaceDescription) SetCreatedAt(v time.Time) *RuleGroupsNamespaceDescription
- func (s *RuleGroupsNamespaceDescription) SetData(v []byte) *RuleGroupsNamespaceDescription
- func (s *RuleGroupsNamespaceDescription) SetModifiedAt(v time.Time) *RuleGroupsNamespaceDescription
- func (s *RuleGroupsNamespaceDescription) SetName(v string) *RuleGroupsNamespaceDescription
- func (s *RuleGroupsNamespaceDescription) SetStatus(v *RuleGroupsNamespaceStatus) *RuleGroupsNamespaceDescription
- func (s *RuleGroupsNamespaceDescription) SetTags(v map[string]*string) *RuleGroupsNamespaceDescription
- func (s RuleGroupsNamespaceDescription) String() string
- type RuleGroupsNamespaceStatus
- type RuleGroupsNamespaceSummary
- func (s RuleGroupsNamespaceSummary) GoString() string
- func (s *RuleGroupsNamespaceSummary) SetArn(v string) *RuleGroupsNamespaceSummary
- func (s *RuleGroupsNamespaceSummary) SetCreatedAt(v time.Time) *RuleGroupsNamespaceSummary
- func (s *RuleGroupsNamespaceSummary) SetModifiedAt(v time.Time) *RuleGroupsNamespaceSummary
- func (s *RuleGroupsNamespaceSummary) SetName(v string) *RuleGroupsNamespaceSummary
- func (s *RuleGroupsNamespaceSummary) SetStatus(v *RuleGroupsNamespaceStatus) *RuleGroupsNamespaceSummary
- func (s *RuleGroupsNamespaceSummary) SetTags(v map[string]*string) *RuleGroupsNamespaceSummary
- func (s RuleGroupsNamespaceSummary) String() string
- type ScrapeConfiguration
- type ScraperDescription
- func (s ScraperDescription) GoString() string
- func (s *ScraperDescription) SetAlias(v string) *ScraperDescription
- func (s *ScraperDescription) SetArn(v string) *ScraperDescription
- func (s *ScraperDescription) SetCreatedAt(v time.Time) *ScraperDescription
- func (s *ScraperDescription) SetDestination(v *Destination) *ScraperDescription
- func (s *ScraperDescription) SetLastModifiedAt(v time.Time) *ScraperDescription
- func (s *ScraperDescription) SetRoleArn(v string) *ScraperDescription
- func (s *ScraperDescription) SetScrapeConfiguration(v *ScrapeConfiguration) *ScraperDescription
- func (s *ScraperDescription) SetScraperId(v string) *ScraperDescription
- func (s *ScraperDescription) SetSource(v *Source) *ScraperDescription
- func (s *ScraperDescription) SetStatus(v *ScraperStatus) *ScraperDescription
- func (s *ScraperDescription) SetStatusReason(v string) *ScraperDescription
- func (s *ScraperDescription) SetTags(v map[string]*string) *ScraperDescription
- func (s ScraperDescription) String() string
- type ScraperStatus
- type ScraperSummary
- func (s ScraperSummary) GoString() string
- func (s *ScraperSummary) SetAlias(v string) *ScraperSummary
- func (s *ScraperSummary) SetArn(v string) *ScraperSummary
- func (s *ScraperSummary) SetCreatedAt(v time.Time) *ScraperSummary
- func (s *ScraperSummary) SetDestination(v *Destination) *ScraperSummary
- func (s *ScraperSummary) SetLastModifiedAt(v time.Time) *ScraperSummary
- func (s *ScraperSummary) SetRoleArn(v string) *ScraperSummary
- func (s *ScraperSummary) SetScraperId(v string) *ScraperSummary
- func (s *ScraperSummary) SetSource(v *Source) *ScraperSummary
- func (s *ScraperSummary) SetStatus(v *ScraperStatus) *ScraperSummary
- func (s *ScraperSummary) SetStatusReason(v string) *ScraperSummary
- func (s *ScraperSummary) SetTags(v map[string]*string) *ScraperSummary
- func (s ScraperSummary) String() string
- type ServiceQuotaExceededException
- func (s *ServiceQuotaExceededException) Code() string
- func (s *ServiceQuotaExceededException) Error() string
- func (s ServiceQuotaExceededException) GoString() string
- func (s *ServiceQuotaExceededException) Message() string
- func (s *ServiceQuotaExceededException) OrigErr() error
- func (s *ServiceQuotaExceededException) RequestID() string
- func (s *ServiceQuotaExceededException) StatusCode() int
- func (s ServiceQuotaExceededException) String() string
- type Source
- type TagResourceInput
- type TagResourceOutput
- type ThrottlingException
- func (s *ThrottlingException) Code() string
- func (s *ThrottlingException) Error() string
- func (s ThrottlingException) GoString() string
- func (s *ThrottlingException) Message() string
- func (s *ThrottlingException) OrigErr() error
- func (s *ThrottlingException) RequestID() string
- func (s *ThrottlingException) StatusCode() int
- func (s ThrottlingException) String() string
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateLoggingConfigurationInput
- func (s UpdateLoggingConfigurationInput) GoString() string
- func (s *UpdateLoggingConfigurationInput) SetClientToken(v string) *UpdateLoggingConfigurationInput
- func (s *UpdateLoggingConfigurationInput) SetLogGroupArn(v string) *UpdateLoggingConfigurationInput
- func (s *UpdateLoggingConfigurationInput) SetWorkspaceId(v string) *UpdateLoggingConfigurationInput
- func (s UpdateLoggingConfigurationInput) String() string
- func (s *UpdateLoggingConfigurationInput) Validate() error
- type UpdateLoggingConfigurationOutput
- type UpdateWorkspaceAliasInput
- func (s UpdateWorkspaceAliasInput) GoString() string
- func (s *UpdateWorkspaceAliasInput) SetAlias(v string) *UpdateWorkspaceAliasInput
- func (s *UpdateWorkspaceAliasInput) SetClientToken(v string) *UpdateWorkspaceAliasInput
- func (s *UpdateWorkspaceAliasInput) SetWorkspaceId(v string) *UpdateWorkspaceAliasInput
- func (s UpdateWorkspaceAliasInput) String() string
- func (s *UpdateWorkspaceAliasInput) Validate() error
- type UpdateWorkspaceAliasOutput
- type ValidationException
- func (s *ValidationException) Code() string
- func (s *ValidationException) Error() string
- func (s ValidationException) GoString() string
- func (s *ValidationException) Message() string
- func (s *ValidationException) OrigErr() error
- func (s *ValidationException) RequestID() string
- func (s *ValidationException) StatusCode() int
- func (s ValidationException) String() string
- type ValidationExceptionField
- type WorkspaceDescription
- func (s WorkspaceDescription) GoString() string
- func (s *WorkspaceDescription) SetAlias(v string) *WorkspaceDescription
- func (s *WorkspaceDescription) SetArn(v string) *WorkspaceDescription
- func (s *WorkspaceDescription) SetCreatedAt(v time.Time) *WorkspaceDescription
- func (s *WorkspaceDescription) SetKmsKeyArn(v string) *WorkspaceDescription
- func (s *WorkspaceDescription) SetPrometheusEndpoint(v string) *WorkspaceDescription
- func (s *WorkspaceDescription) SetStatus(v *WorkspaceStatus) *WorkspaceDescription
- func (s *WorkspaceDescription) SetTags(v map[string]*string) *WorkspaceDescription
- func (s *WorkspaceDescription) SetWorkspaceId(v string) *WorkspaceDescription
- func (s WorkspaceDescription) String() string
- type WorkspaceStatus
- type WorkspaceSummary
- func (s WorkspaceSummary) GoString() string
- func (s *WorkspaceSummary) SetAlias(v string) *WorkspaceSummary
- func (s *WorkspaceSummary) SetArn(v string) *WorkspaceSummary
- func (s *WorkspaceSummary) SetCreatedAt(v time.Time) *WorkspaceSummary
- func (s *WorkspaceSummary) SetKmsKeyArn(v string) *WorkspaceSummary
- func (s *WorkspaceSummary) SetStatus(v *WorkspaceStatus) *WorkspaceSummary
- func (s *WorkspaceSummary) SetTags(v map[string]*string) *WorkspaceSummary
- func (s *WorkspaceSummary) SetWorkspaceId(v string) *WorkspaceSummary
- func (s WorkspaceSummary) String() string
Constants ¶
const ( // AlertManagerDefinitionStatusCodeCreating is a AlertManagerDefinitionStatusCode enum value AlertManagerDefinitionStatusCodeCreating = "CREATING" // AlertManagerDefinitionStatusCodeActive is a AlertManagerDefinitionStatusCode enum value AlertManagerDefinitionStatusCodeActive = "ACTIVE" // AlertManagerDefinitionStatusCodeUpdating is a AlertManagerDefinitionStatusCode enum value AlertManagerDefinitionStatusCodeUpdating = "UPDATING" // AlertManagerDefinitionStatusCodeDeleting is a AlertManagerDefinitionStatusCode enum value AlertManagerDefinitionStatusCodeDeleting = "DELETING" // AlertManagerDefinitionStatusCodeCreationFailed is a AlertManagerDefinitionStatusCode enum value AlertManagerDefinitionStatusCodeCreationFailed = "CREATION_FAILED" // AlertManagerDefinitionStatusCodeUpdateFailed is a AlertManagerDefinitionStatusCode enum value AlertManagerDefinitionStatusCodeUpdateFailed = "UPDATE_FAILED" )
State of an alert manager definition.
const ( // LoggingConfigurationStatusCodeCreating is a LoggingConfigurationStatusCode enum value LoggingConfigurationStatusCodeCreating = "CREATING" // LoggingConfigurationStatusCodeActive is a LoggingConfigurationStatusCode enum value LoggingConfigurationStatusCodeActive = "ACTIVE" // LoggingConfigurationStatusCodeUpdating is a LoggingConfigurationStatusCode enum value LoggingConfigurationStatusCodeUpdating = "UPDATING" // LoggingConfigurationStatusCodeDeleting is a LoggingConfigurationStatusCode enum value LoggingConfigurationStatusCodeDeleting = "DELETING" // LoggingConfigurationStatusCodeCreationFailed is a LoggingConfigurationStatusCode enum value LoggingConfigurationStatusCodeCreationFailed = "CREATION_FAILED" // LoggingConfigurationStatusCodeUpdateFailed is a LoggingConfigurationStatusCode enum value LoggingConfigurationStatusCodeUpdateFailed = "UPDATE_FAILED" )
State of a logging configuration.
const ( // RuleGroupsNamespaceStatusCodeCreating is a RuleGroupsNamespaceStatusCode enum value RuleGroupsNamespaceStatusCodeCreating = "CREATING" // RuleGroupsNamespaceStatusCodeActive is a RuleGroupsNamespaceStatusCode enum value RuleGroupsNamespaceStatusCodeActive = "ACTIVE" // RuleGroupsNamespaceStatusCodeUpdating is a RuleGroupsNamespaceStatusCode enum value RuleGroupsNamespaceStatusCodeUpdating = "UPDATING" // RuleGroupsNamespaceStatusCodeDeleting is a RuleGroupsNamespaceStatusCode enum value RuleGroupsNamespaceStatusCodeDeleting = "DELETING" // RuleGroupsNamespaceStatusCodeCreationFailed is a RuleGroupsNamespaceStatusCode enum value RuleGroupsNamespaceStatusCodeCreationFailed = "CREATION_FAILED" // RuleGroupsNamespaceStatusCodeUpdateFailed is a RuleGroupsNamespaceStatusCode enum value RuleGroupsNamespaceStatusCodeUpdateFailed = "UPDATE_FAILED" )
State of a namespace.
const ( // ScraperStatusCodeCreating is a ScraperStatusCode enum value ScraperStatusCodeCreating = "CREATING" // ScraperStatusCodeActive is a ScraperStatusCode enum value ScraperStatusCodeActive = "ACTIVE" // ScraperStatusCodeDeleting is a ScraperStatusCode enum value ScraperStatusCodeDeleting = "DELETING" // ScraperStatusCodeCreationFailed is a ScraperStatusCode enum value ScraperStatusCodeCreationFailed = "CREATION_FAILED" // ScraperStatusCodeDeletionFailed is a ScraperStatusCode enum value ScraperStatusCodeDeletionFailed = "DELETION_FAILED" )
State of a scraper.
const ( // ValidationExceptionReasonUnknownOperation is a ValidationExceptionReason enum value ValidationExceptionReasonUnknownOperation = "UNKNOWN_OPERATION" // ValidationExceptionReasonCannotParse is a ValidationExceptionReason enum value ValidationExceptionReasonCannotParse = "CANNOT_PARSE" // ValidationExceptionReasonFieldValidationFailed is a ValidationExceptionReason enum value ValidationExceptionReasonFieldValidationFailed = "FIELD_VALIDATION_FAILED" // ValidationExceptionReasonOther is a ValidationExceptionReason enum value ValidationExceptionReasonOther = "OTHER" )
Possible reasons a request failed validation.
const ( // WorkspaceStatusCodeCreating is a WorkspaceStatusCode enum value WorkspaceStatusCodeCreating = "CREATING" // WorkspaceStatusCodeActive is a WorkspaceStatusCode enum value WorkspaceStatusCodeActive = "ACTIVE" // WorkspaceStatusCodeUpdating is a WorkspaceStatusCode enum value WorkspaceStatusCodeUpdating = "UPDATING" // WorkspaceStatusCodeDeleting is a WorkspaceStatusCode enum value WorkspaceStatusCodeDeleting = "DELETING" // WorkspaceStatusCodeCreationFailed is a WorkspaceStatusCode enum value WorkspaceStatusCodeCreationFailed = "CREATION_FAILED" )
State of a workspace.
const ( // ErrCodeAccessDeniedException for service response error code // "AccessDeniedException". // // User does not have sufficient access to perform this action. ErrCodeAccessDeniedException = "AccessDeniedException" // ErrCodeConflictException for service response error code // "ConflictException". // // Updating or deleting a resource can cause an inconsistent state. ErrCodeConflictException = "ConflictException" // ErrCodeInternalServerException for service response error code // "InternalServerException". // // Unexpected error during processing of request. ErrCodeInternalServerException = "InternalServerException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // // Request references a resource which does not exist. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeServiceQuotaExceededException for service response error code // "ServiceQuotaExceededException". // // Request would cause a service quota to be exceeded. ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException" // ErrCodeThrottlingException for service response error code // "ThrottlingException". // // Request was denied due to request throttling. ErrCodeThrottlingException = "ThrottlingException" // ErrCodeValidationException for service response error code // "ValidationException". // // The input fails to satisfy the constraints specified by an AWS service. ErrCodeValidationException = "ValidationException" )
const ( ServiceName = "amp" // Name of service. EndpointsID = "aps" // ID to lookup a service endpoint with. ServiceID = "amp" // ServiceID is a unique identifier of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
func AlertManagerDefinitionStatusCode_Values ¶
func AlertManagerDefinitionStatusCode_Values() []string
AlertManagerDefinitionStatusCode_Values returns all elements of the AlertManagerDefinitionStatusCode enum
func LoggingConfigurationStatusCode_Values ¶
func LoggingConfigurationStatusCode_Values() []string
LoggingConfigurationStatusCode_Values returns all elements of the LoggingConfigurationStatusCode enum
func RuleGroupsNamespaceStatusCode_Values ¶
func RuleGroupsNamespaceStatusCode_Values() []string
RuleGroupsNamespaceStatusCode_Values returns all elements of the RuleGroupsNamespaceStatusCode enum
func ScraperStatusCode_Values ¶
func ScraperStatusCode_Values() []string
ScraperStatusCode_Values returns all elements of the ScraperStatusCode enum
func ValidationExceptionReason_Values ¶
func ValidationExceptionReason_Values() []string
ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum
func WorkspaceStatusCode_Values ¶
func WorkspaceStatusCode_Values() []string
WorkspaceStatusCode_Values returns all elements of the WorkspaceStatusCode enum
Types ¶
type AccessDeniedException ¶
type AccessDeniedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // Description of the error. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
User does not have sufficient access to perform this action.
func (*AccessDeniedException) Code ¶
func (s *AccessDeniedException) Code() string
Code returns the exception type name.
func (*AccessDeniedException) Error ¶
func (s *AccessDeniedException) Error() string
func (AccessDeniedException) GoString ¶
func (s AccessDeniedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AccessDeniedException) Message ¶
func (s *AccessDeniedException) Message() string
Message returns the exception's message.
func (*AccessDeniedException) OrigErr ¶
func (s *AccessDeniedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*AccessDeniedException) RequestID ¶
func (s *AccessDeniedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*AccessDeniedException) StatusCode ¶
func (s *AccessDeniedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (AccessDeniedException) String ¶
func (s AccessDeniedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AlertManagerDefinitionDescription ¶
type AlertManagerDefinitionDescription struct { // The time when the alert manager definition was created. // // CreatedAt is a required field CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"` // The alert manager definition. // Data is automatically base64 encoded/decoded by the SDK. // // Data is a required field Data []byte `locationName:"data" type:"blob" required:"true"` // The time when the alert manager definition was modified. // // ModifiedAt is a required field ModifiedAt *time.Time `locationName:"modifiedAt" type:"timestamp" required:"true"` // The status of alert manager definition. // // Status is a required field Status *AlertManagerDefinitionStatus `locationName:"status" type:"structure" required:"true"` // contains filtered or unexported fields }
Represents the properties of an alert manager definition.
func (AlertManagerDefinitionDescription) GoString ¶
func (s AlertManagerDefinitionDescription) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AlertManagerDefinitionDescription) SetCreatedAt ¶
func (s *AlertManagerDefinitionDescription) SetCreatedAt(v time.Time) *AlertManagerDefinitionDescription
SetCreatedAt sets the CreatedAt field's value.
func (*AlertManagerDefinitionDescription) SetData ¶
func (s *AlertManagerDefinitionDescription) SetData(v []byte) *AlertManagerDefinitionDescription
SetData sets the Data field's value.
func (*AlertManagerDefinitionDescription) SetModifiedAt ¶
func (s *AlertManagerDefinitionDescription) SetModifiedAt(v time.Time) *AlertManagerDefinitionDescription
SetModifiedAt sets the ModifiedAt field's value.
func (*AlertManagerDefinitionDescription) SetStatus ¶
func (s *AlertManagerDefinitionDescription) SetStatus(v *AlertManagerDefinitionStatus) *AlertManagerDefinitionDescription
SetStatus sets the Status field's value.
func (AlertManagerDefinitionDescription) String ¶
func (s AlertManagerDefinitionDescription) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AlertManagerDefinitionStatus ¶
type AlertManagerDefinitionStatus struct { // Status code of this definition. // // StatusCode is a required field StatusCode *string `locationName:"statusCode" type:"string" required:"true" enum:"AlertManagerDefinitionStatusCode"` // The reason for failure if any. StatusReason *string `locationName:"statusReason" type:"string"` // contains filtered or unexported fields }
Represents the status of a definition.
func (AlertManagerDefinitionStatus) GoString ¶
func (s AlertManagerDefinitionStatus) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AlertManagerDefinitionStatus) SetStatusCode ¶
func (s *AlertManagerDefinitionStatus) SetStatusCode(v string) *AlertManagerDefinitionStatus
SetStatusCode sets the StatusCode field's value.
func (*AlertManagerDefinitionStatus) SetStatusReason ¶
func (s *AlertManagerDefinitionStatus) SetStatusReason(v string) *AlertManagerDefinitionStatus
SetStatusReason sets the StatusReason field's value.
func (AlertManagerDefinitionStatus) String ¶
func (s AlertManagerDefinitionStatus) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AmpConfiguration ¶
type AmpConfiguration struct { // The ARN of an AMP workspace. // // WorkspaceArn is a required field WorkspaceArn *string `locationName:"workspaceArn" type:"string" required:"true"` // contains filtered or unexported fields }
A representation of an AMP destination.
func (AmpConfiguration) GoString ¶
func (s AmpConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AmpConfiguration) SetWorkspaceArn ¶
func (s *AmpConfiguration) SetWorkspaceArn(v string) *AmpConfiguration
SetWorkspaceArn sets the WorkspaceArn field's value.
func (AmpConfiguration) String ¶
func (s AmpConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AmpConfiguration) Validate ¶
func (s *AmpConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ConflictException ¶
type ConflictException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // Description of the error. Message_ *string `locationName:"message" type:"string"` // Identifier of the resource affected. // // ResourceId is a required field ResourceId *string `locationName:"resourceId" type:"string" required:"true"` // Type of the resource affected. // // ResourceType is a required field ResourceType *string `locationName:"resourceType" type:"string" required:"true"` // contains filtered or unexported fields }
Updating or deleting a resource can cause an inconsistent state.
func (*ConflictException) Code ¶
func (s *ConflictException) Code() string
Code returns the exception type name.
func (*ConflictException) Error ¶
func (s *ConflictException) Error() string
func (ConflictException) GoString ¶
func (s ConflictException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ConflictException) Message ¶
func (s *ConflictException) Message() string
Message returns the exception's message.
func (*ConflictException) OrigErr ¶
func (s *ConflictException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ConflictException) RequestID ¶
func (s *ConflictException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ConflictException) StatusCode ¶
func (s *ConflictException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ConflictException) String ¶
func (s ConflictException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateAlertManagerDefinitionInput ¶
type CreateAlertManagerDefinitionInput struct { // Optional, unique, case-sensitive, user-provided identifier to ensure the // idempotency of the request. ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` // The alert manager definition data. // Data is automatically base64 encoded/decoded by the SDK. // // Data is a required field Data []byte `locationName:"data" type:"blob" required:"true"` // The ID of the workspace in which to create the alert manager definition. // // WorkspaceId is a required field WorkspaceId *string `location:"uri" locationName:"workspaceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a CreateAlertManagerDefinition operation.
func (CreateAlertManagerDefinitionInput) GoString ¶
func (s CreateAlertManagerDefinitionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateAlertManagerDefinitionInput) SetClientToken ¶
func (s *CreateAlertManagerDefinitionInput) SetClientToken(v string) *CreateAlertManagerDefinitionInput
SetClientToken sets the ClientToken field's value.
func (*CreateAlertManagerDefinitionInput) SetData ¶
func (s *CreateAlertManagerDefinitionInput) SetData(v []byte) *CreateAlertManagerDefinitionInput
SetData sets the Data field's value.
func (*CreateAlertManagerDefinitionInput) SetWorkspaceId ¶
func (s *CreateAlertManagerDefinitionInput) SetWorkspaceId(v string) *CreateAlertManagerDefinitionInput
SetWorkspaceId sets the WorkspaceId field's value.
func (CreateAlertManagerDefinitionInput) String ¶
func (s CreateAlertManagerDefinitionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateAlertManagerDefinitionInput) Validate ¶
func (s *CreateAlertManagerDefinitionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateAlertManagerDefinitionOutput ¶
type CreateAlertManagerDefinitionOutput struct { // The status of alert manager definition. // // Status is a required field Status *AlertManagerDefinitionStatus `locationName:"status" type:"structure" required:"true"` // contains filtered or unexported fields }
Represents the output of a CreateAlertManagerDefinition operation.
func (CreateAlertManagerDefinitionOutput) GoString ¶
func (s CreateAlertManagerDefinitionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateAlertManagerDefinitionOutput) SetStatus ¶
func (s *CreateAlertManagerDefinitionOutput) SetStatus(v *AlertManagerDefinitionStatus) *CreateAlertManagerDefinitionOutput
SetStatus sets the Status field's value.
func (CreateAlertManagerDefinitionOutput) String ¶
func (s CreateAlertManagerDefinitionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateLoggingConfigurationInput ¶
type CreateLoggingConfigurationInput struct { // Optional, unique, case-sensitive, user-provided identifier to ensure the // idempotency of the request. ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` // The ARN of the CW log group to which the vended log data will be published. // // LogGroupArn is a required field LogGroupArn *string `locationName:"logGroupArn" type:"string" required:"true"` // The ID of the workspace to vend logs to. // // WorkspaceId is a required field WorkspaceId *string `location:"uri" locationName:"workspaceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a CreateLoggingConfiguration operation.
func (CreateLoggingConfigurationInput) GoString ¶
func (s CreateLoggingConfigurationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateLoggingConfigurationInput) SetClientToken ¶
func (s *CreateLoggingConfigurationInput) SetClientToken(v string) *CreateLoggingConfigurationInput
SetClientToken sets the ClientToken field's value.
func (*CreateLoggingConfigurationInput) SetLogGroupArn ¶
func (s *CreateLoggingConfigurationInput) SetLogGroupArn(v string) *CreateLoggingConfigurationInput
SetLogGroupArn sets the LogGroupArn field's value.
func (*CreateLoggingConfigurationInput) SetWorkspaceId ¶
func (s *CreateLoggingConfigurationInput) SetWorkspaceId(v string) *CreateLoggingConfigurationInput
SetWorkspaceId sets the WorkspaceId field's value.
func (CreateLoggingConfigurationInput) String ¶
func (s CreateLoggingConfigurationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateLoggingConfigurationInput) Validate ¶
func (s *CreateLoggingConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateLoggingConfigurationOutput ¶
type CreateLoggingConfigurationOutput struct { // The status of the logging configuration. // // Status is a required field Status *LoggingConfigurationStatus `locationName:"status" type:"structure" required:"true"` // contains filtered or unexported fields }
Represents the output of a CreateLoggingConfiguration operation.
func (CreateLoggingConfigurationOutput) GoString ¶
func (s CreateLoggingConfigurationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateLoggingConfigurationOutput) SetStatus ¶
func (s *CreateLoggingConfigurationOutput) SetStatus(v *LoggingConfigurationStatus) *CreateLoggingConfigurationOutput
SetStatus sets the Status field's value.
func (CreateLoggingConfigurationOutput) String ¶
func (s CreateLoggingConfigurationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateRuleGroupsNamespaceInput ¶
type CreateRuleGroupsNamespaceInput struct { // Optional, unique, case-sensitive, user-provided identifier to ensure the // idempotency of the request. ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` // The namespace data that define the rule groups. // Data is automatically base64 encoded/decoded by the SDK. // // Data is a required field Data []byte `locationName:"data" type:"blob" required:"true"` // The rule groups namespace name. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // Optional, user-provided tags for this rule groups namespace. Tags map[string]*string `locationName:"tags" type:"map"` // The ID of the workspace in which to create the rule group namespace. // // WorkspaceId is a required field WorkspaceId *string `location:"uri" locationName:"workspaceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a CreateRuleGroupsNamespace operation.
func (CreateRuleGroupsNamespaceInput) GoString ¶
func (s CreateRuleGroupsNamespaceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateRuleGroupsNamespaceInput) SetClientToken ¶
func (s *CreateRuleGroupsNamespaceInput) SetClientToken(v string) *CreateRuleGroupsNamespaceInput
SetClientToken sets the ClientToken field's value.
func (*CreateRuleGroupsNamespaceInput) SetData ¶
func (s *CreateRuleGroupsNamespaceInput) SetData(v []byte) *CreateRuleGroupsNamespaceInput
SetData sets the Data field's value.
func (*CreateRuleGroupsNamespaceInput) SetName ¶
func (s *CreateRuleGroupsNamespaceInput) SetName(v string) *CreateRuleGroupsNamespaceInput
SetName sets the Name field's value.
func (*CreateRuleGroupsNamespaceInput) SetTags ¶
func (s *CreateRuleGroupsNamespaceInput) SetTags(v map[string]*string) *CreateRuleGroupsNamespaceInput
SetTags sets the Tags field's value.
func (*CreateRuleGroupsNamespaceInput) SetWorkspaceId ¶
func (s *CreateRuleGroupsNamespaceInput) SetWorkspaceId(v string) *CreateRuleGroupsNamespaceInput
SetWorkspaceId sets the WorkspaceId field's value.
func (CreateRuleGroupsNamespaceInput) String ¶
func (s CreateRuleGroupsNamespaceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateRuleGroupsNamespaceInput) Validate ¶
func (s *CreateRuleGroupsNamespaceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateRuleGroupsNamespaceOutput ¶
type CreateRuleGroupsNamespaceOutput struct { // The Amazon Resource Name (ARN) of this rule groups namespace. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // The rule groups namespace name. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The status of rule groups namespace. // // Status is a required field Status *RuleGroupsNamespaceStatus `locationName:"status" type:"structure" required:"true"` // The tags of this rule groups namespace. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
Represents the output of a CreateRuleGroupsNamespace operation.
func (CreateRuleGroupsNamespaceOutput) GoString ¶
func (s CreateRuleGroupsNamespaceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateRuleGroupsNamespaceOutput) SetArn ¶
func (s *CreateRuleGroupsNamespaceOutput) SetArn(v string) *CreateRuleGroupsNamespaceOutput
SetArn sets the Arn field's value.
func (*CreateRuleGroupsNamespaceOutput) SetName ¶
func (s *CreateRuleGroupsNamespaceOutput) SetName(v string) *CreateRuleGroupsNamespaceOutput
SetName sets the Name field's value.
func (*CreateRuleGroupsNamespaceOutput) SetStatus ¶
func (s *CreateRuleGroupsNamespaceOutput) SetStatus(v *RuleGroupsNamespaceStatus) *CreateRuleGroupsNamespaceOutput
SetStatus sets the Status field's value.
func (*CreateRuleGroupsNamespaceOutput) SetTags ¶
func (s *CreateRuleGroupsNamespaceOutput) SetTags(v map[string]*string) *CreateRuleGroupsNamespaceOutput
SetTags sets the Tags field's value.
func (CreateRuleGroupsNamespaceOutput) String ¶
func (s CreateRuleGroupsNamespaceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateScraperInput ¶
type CreateScraperInput struct { // An optional user-assigned alias for this scraper. This alias is for user // reference and does not need to be unique. Alias *string `locationName:"alias" min:"1" type:"string"` // Optional, unique, case-sensitive, user-provided identifier to ensure the // idempotency of the request. ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` // The destination that the scraper will be producing metrics to. // // Destination is a required field Destination *Destination `locationName:"destination" type:"structure" required:"true"` // The configuration used to create the scraper. // // ScrapeConfiguration is a required field ScrapeConfiguration *ScrapeConfiguration `locationName:"scrapeConfiguration" type:"structure" required:"true"` // The source that the scraper will be discovering and collecting metrics from. // // Source is a required field Source *Source `locationName:"source" type:"structure" required:"true"` // Optional, user-provided tags for this scraper. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
Represents the input of a CreateScraper operation.
func (CreateScraperInput) GoString ¶
func (s CreateScraperInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateScraperInput) SetAlias ¶
func (s *CreateScraperInput) SetAlias(v string) *CreateScraperInput
SetAlias sets the Alias field's value.
func (*CreateScraperInput) SetClientToken ¶
func (s *CreateScraperInput) SetClientToken(v string) *CreateScraperInput
SetClientToken sets the ClientToken field's value.
func (*CreateScraperInput) SetDestination ¶
func (s *CreateScraperInput) SetDestination(v *Destination) *CreateScraperInput
SetDestination sets the Destination field's value.
func (*CreateScraperInput) SetScrapeConfiguration ¶
func (s *CreateScraperInput) SetScrapeConfiguration(v *ScrapeConfiguration) *CreateScraperInput
SetScrapeConfiguration sets the ScrapeConfiguration field's value.
func (*CreateScraperInput) SetSource ¶
func (s *CreateScraperInput) SetSource(v *Source) *CreateScraperInput
SetSource sets the Source field's value.
func (*CreateScraperInput) SetTags ¶
func (s *CreateScraperInput) SetTags(v map[string]*string) *CreateScraperInput
SetTags sets the Tags field's value.
func (CreateScraperInput) String ¶
func (s CreateScraperInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateScraperInput) Validate ¶
func (s *CreateScraperInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateScraperOutput ¶
type CreateScraperOutput struct { // The ARN of the scraper that was just created. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // The generated ID of the scraper that was just created. // // ScraperId is a required field ScraperId *string `locationName:"scraperId" min:"1" type:"string" required:"true"` // The status of the scraper that was just created (usually CREATING). // // Status is a required field Status *ScraperStatus `locationName:"status" type:"structure" required:"true"` // The tags of this scraper. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
Represents the output of a CreateScraper operation.
func (CreateScraperOutput) GoString ¶
func (s CreateScraperOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateScraperOutput) SetArn ¶
func (s *CreateScraperOutput) SetArn(v string) *CreateScraperOutput
SetArn sets the Arn field's value.
func (*CreateScraperOutput) SetScraperId ¶
func (s *CreateScraperOutput) SetScraperId(v string) *CreateScraperOutput
SetScraperId sets the ScraperId field's value.
func (*CreateScraperOutput) SetStatus ¶
func (s *CreateScraperOutput) SetStatus(v *ScraperStatus) *CreateScraperOutput
SetStatus sets the Status field's value.
func (*CreateScraperOutput) SetTags ¶
func (s *CreateScraperOutput) SetTags(v map[string]*string) *CreateScraperOutput
SetTags sets the Tags field's value.
func (CreateScraperOutput) String ¶
func (s CreateScraperOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateWorkspaceInput ¶
type CreateWorkspaceInput struct { // An optional user-assigned alias for this workspace. This alias is for user // reference and does not need to be unique. Alias *string `locationName:"alias" min:"1" type:"string"` // Optional, unique, case-sensitive, user-provided identifier to ensure the // idempotency of the request. ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` // Optional, customer managed KMS key used to encrypt data for this workspace KmsKeyArn *string `locationName:"kmsKeyArn" min:"20" type:"string"` // Optional, user-provided tags for this workspace. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
Represents the input of a CreateWorkspace operation.
func (CreateWorkspaceInput) GoString ¶
func (s CreateWorkspaceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateWorkspaceInput) SetAlias ¶
func (s *CreateWorkspaceInput) SetAlias(v string) *CreateWorkspaceInput
SetAlias sets the Alias field's value.
func (*CreateWorkspaceInput) SetClientToken ¶
func (s *CreateWorkspaceInput) SetClientToken(v string) *CreateWorkspaceInput
SetClientToken sets the ClientToken field's value.
func (*CreateWorkspaceInput) SetKmsKeyArn ¶
func (s *CreateWorkspaceInput) SetKmsKeyArn(v string) *CreateWorkspaceInput
SetKmsKeyArn sets the KmsKeyArn field's value.
func (*CreateWorkspaceInput) SetTags ¶
func (s *CreateWorkspaceInput) SetTags(v map[string]*string) *CreateWorkspaceInput
SetTags sets the Tags field's value.
func (CreateWorkspaceInput) String ¶
func (s CreateWorkspaceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateWorkspaceInput) Validate ¶
func (s *CreateWorkspaceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateWorkspaceOutput ¶
type CreateWorkspaceOutput struct { // The ARN of the workspace that was just created. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // Customer managed KMS key ARN for this workspace KmsKeyArn *string `locationName:"kmsKeyArn" min:"20" type:"string"` // The status of the workspace that was just created (usually CREATING). // // Status is a required field Status *WorkspaceStatus `locationName:"status" type:"structure" required:"true"` // The tags of this workspace. Tags map[string]*string `locationName:"tags" type:"map"` // The generated ID of the workspace that was just created. // // WorkspaceId is a required field WorkspaceId *string `locationName:"workspaceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the output of a CreateWorkspace operation.
func (CreateWorkspaceOutput) GoString ¶
func (s CreateWorkspaceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateWorkspaceOutput) SetArn ¶
func (s *CreateWorkspaceOutput) SetArn(v string) *CreateWorkspaceOutput
SetArn sets the Arn field's value.
func (*CreateWorkspaceOutput) SetKmsKeyArn ¶
func (s *CreateWorkspaceOutput) SetKmsKeyArn(v string) *CreateWorkspaceOutput
SetKmsKeyArn sets the KmsKeyArn field's value.
func (*CreateWorkspaceOutput) SetStatus ¶
func (s *CreateWorkspaceOutput) SetStatus(v *WorkspaceStatus) *CreateWorkspaceOutput
SetStatus sets the Status field's value.
func (*CreateWorkspaceOutput) SetTags ¶
func (s *CreateWorkspaceOutput) SetTags(v map[string]*string) *CreateWorkspaceOutput
SetTags sets the Tags field's value.
func (*CreateWorkspaceOutput) SetWorkspaceId ¶
func (s *CreateWorkspaceOutput) SetWorkspaceId(v string) *CreateWorkspaceOutput
SetWorkspaceId sets the WorkspaceId field's value.
func (CreateWorkspaceOutput) String ¶
func (s CreateWorkspaceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteAlertManagerDefinitionInput ¶
type DeleteAlertManagerDefinitionInput struct { // Optional, unique, case-sensitive, user-provided identifier to ensure the // idempotency of the request. ClientToken *string `location:"querystring" locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` // The ID of the workspace in which to delete the alert manager definition. // // WorkspaceId is a required field WorkspaceId *string `location:"uri" locationName:"workspaceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a DeleteAlertManagerDefinition operation.
func (DeleteAlertManagerDefinitionInput) GoString ¶
func (s DeleteAlertManagerDefinitionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteAlertManagerDefinitionInput) SetClientToken ¶
func (s *DeleteAlertManagerDefinitionInput) SetClientToken(v string) *DeleteAlertManagerDefinitionInput
SetClientToken sets the ClientToken field's value.
func (*DeleteAlertManagerDefinitionInput) SetWorkspaceId ¶
func (s *DeleteAlertManagerDefinitionInput) SetWorkspaceId(v string) *DeleteAlertManagerDefinitionInput
SetWorkspaceId sets the WorkspaceId field's value.
func (DeleteAlertManagerDefinitionInput) String ¶
func (s DeleteAlertManagerDefinitionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteAlertManagerDefinitionInput) Validate ¶
func (s *DeleteAlertManagerDefinitionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteAlertManagerDefinitionOutput ¶
type DeleteAlertManagerDefinitionOutput struct {
// contains filtered or unexported fields
}
func (DeleteAlertManagerDefinitionOutput) GoString ¶
func (s DeleteAlertManagerDefinitionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteAlertManagerDefinitionOutput) String ¶
func (s DeleteAlertManagerDefinitionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteLoggingConfigurationInput ¶
type DeleteLoggingConfigurationInput struct { // Optional, unique, case-sensitive, user-provided identifier to ensure the // idempotency of the request. ClientToken *string `location:"querystring" locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` // The ID of the workspace to vend logs to. // // WorkspaceId is a required field WorkspaceId *string `location:"uri" locationName:"workspaceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a DeleteLoggingConfiguration operation.
func (DeleteLoggingConfigurationInput) GoString ¶
func (s DeleteLoggingConfigurationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteLoggingConfigurationInput) SetClientToken ¶
func (s *DeleteLoggingConfigurationInput) SetClientToken(v string) *DeleteLoggingConfigurationInput
SetClientToken sets the ClientToken field's value.
func (*DeleteLoggingConfigurationInput) SetWorkspaceId ¶
func (s *DeleteLoggingConfigurationInput) SetWorkspaceId(v string) *DeleteLoggingConfigurationInput
SetWorkspaceId sets the WorkspaceId field's value.
func (DeleteLoggingConfigurationInput) String ¶
func (s DeleteLoggingConfigurationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteLoggingConfigurationInput) Validate ¶
func (s *DeleteLoggingConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteLoggingConfigurationOutput ¶
type DeleteLoggingConfigurationOutput struct {
// contains filtered or unexported fields
}
func (DeleteLoggingConfigurationOutput) GoString ¶
func (s DeleteLoggingConfigurationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteLoggingConfigurationOutput) String ¶
func (s DeleteLoggingConfigurationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteRuleGroupsNamespaceInput ¶
type DeleteRuleGroupsNamespaceInput struct { // Optional, unique, case-sensitive, user-provided identifier to ensure the // idempotency of the request. ClientToken *string `location:"querystring" locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` // The rule groups namespace name. // // Name is a required field Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` // The ID of the workspace to delete rule group definition. // // WorkspaceId is a required field WorkspaceId *string `location:"uri" locationName:"workspaceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a DeleteRuleGroupsNamespace operation.
func (DeleteRuleGroupsNamespaceInput) GoString ¶
func (s DeleteRuleGroupsNamespaceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteRuleGroupsNamespaceInput) SetClientToken ¶
func (s *DeleteRuleGroupsNamespaceInput) SetClientToken(v string) *DeleteRuleGroupsNamespaceInput
SetClientToken sets the ClientToken field's value.
func (*DeleteRuleGroupsNamespaceInput) SetName ¶
func (s *DeleteRuleGroupsNamespaceInput) SetName(v string) *DeleteRuleGroupsNamespaceInput
SetName sets the Name field's value.
func (*DeleteRuleGroupsNamespaceInput) SetWorkspaceId ¶
func (s *DeleteRuleGroupsNamespaceInput) SetWorkspaceId(v string) *DeleteRuleGroupsNamespaceInput
SetWorkspaceId sets the WorkspaceId field's value.
func (DeleteRuleGroupsNamespaceInput) String ¶
func (s DeleteRuleGroupsNamespaceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteRuleGroupsNamespaceInput) Validate ¶
func (s *DeleteRuleGroupsNamespaceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteRuleGroupsNamespaceOutput ¶
type DeleteRuleGroupsNamespaceOutput struct {
// contains filtered or unexported fields
}
func (DeleteRuleGroupsNamespaceOutput) GoString ¶
func (s DeleteRuleGroupsNamespaceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteRuleGroupsNamespaceOutput) String ¶
func (s DeleteRuleGroupsNamespaceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteScraperInput ¶
type DeleteScraperInput struct { // Optional, unique, case-sensitive, user-provided identifier to ensure the // idempotency of the request. ClientToken *string `location:"querystring" locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` // The ID of the scraper to delete. // // ScraperId is a required field ScraperId *string `location:"uri" locationName:"scraperId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a DeleteScraper operation.
func (DeleteScraperInput) GoString ¶
func (s DeleteScraperInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteScraperInput) SetClientToken ¶
func (s *DeleteScraperInput) SetClientToken(v string) *DeleteScraperInput
SetClientToken sets the ClientToken field's value.
func (*DeleteScraperInput) SetScraperId ¶
func (s *DeleteScraperInput) SetScraperId(v string) *DeleteScraperInput
SetScraperId sets the ScraperId field's value.
func (DeleteScraperInput) String ¶
func (s DeleteScraperInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteScraperInput) Validate ¶
func (s *DeleteScraperInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteScraperOutput ¶
type DeleteScraperOutput struct { // The ID of the scraper that was deleted. // // ScraperId is a required field ScraperId *string `locationName:"scraperId" min:"1" type:"string" required:"true"` // The status of the scraper that is being deleted. // // Status is a required field Status *ScraperStatus `locationName:"status" type:"structure" required:"true"` // contains filtered or unexported fields }
Represents the output of a DeleteScraper operation.
func (DeleteScraperOutput) GoString ¶
func (s DeleteScraperOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteScraperOutput) SetScraperId ¶
func (s *DeleteScraperOutput) SetScraperId(v string) *DeleteScraperOutput
SetScraperId sets the ScraperId field's value.
func (*DeleteScraperOutput) SetStatus ¶
func (s *DeleteScraperOutput) SetStatus(v *ScraperStatus) *DeleteScraperOutput
SetStatus sets the Status field's value.
func (DeleteScraperOutput) String ¶
func (s DeleteScraperOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteWorkspaceInput ¶
type DeleteWorkspaceInput struct { // Optional, unique, case-sensitive, user-provided identifier to ensure the // idempotency of the request. ClientToken *string `location:"querystring" locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` // The ID of the workspace to delete. // // WorkspaceId is a required field WorkspaceId *string `location:"uri" locationName:"workspaceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a DeleteWorkspace operation.
func (DeleteWorkspaceInput) GoString ¶
func (s DeleteWorkspaceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteWorkspaceInput) SetClientToken ¶
func (s *DeleteWorkspaceInput) SetClientToken(v string) *DeleteWorkspaceInput
SetClientToken sets the ClientToken field's value.
func (*DeleteWorkspaceInput) SetWorkspaceId ¶
func (s *DeleteWorkspaceInput) SetWorkspaceId(v string) *DeleteWorkspaceInput
SetWorkspaceId sets the WorkspaceId field's value.
func (DeleteWorkspaceInput) String ¶
func (s DeleteWorkspaceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteWorkspaceInput) Validate ¶
func (s *DeleteWorkspaceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteWorkspaceOutput ¶
type DeleteWorkspaceOutput struct {
// contains filtered or unexported fields
}
func (DeleteWorkspaceOutput) GoString ¶
func (s DeleteWorkspaceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteWorkspaceOutput) String ¶
func (s DeleteWorkspaceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeAlertManagerDefinitionInput ¶
type DescribeAlertManagerDefinitionInput struct { // The ID of the workspace to describe. // // WorkspaceId is a required field WorkspaceId *string `location:"uri" locationName:"workspaceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a DescribeAlertManagerDefinition operation.
func (DescribeAlertManagerDefinitionInput) GoString ¶
func (s DescribeAlertManagerDefinitionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeAlertManagerDefinitionInput) SetWorkspaceId ¶
func (s *DescribeAlertManagerDefinitionInput) SetWorkspaceId(v string) *DescribeAlertManagerDefinitionInput
SetWorkspaceId sets the WorkspaceId field's value.
func (DescribeAlertManagerDefinitionInput) String ¶
func (s DescribeAlertManagerDefinitionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeAlertManagerDefinitionInput) Validate ¶
func (s *DescribeAlertManagerDefinitionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeAlertManagerDefinitionOutput ¶
type DescribeAlertManagerDefinitionOutput struct { // The properties of the selected workspace's alert manager definition. // // AlertManagerDefinition is a required field AlertManagerDefinition *AlertManagerDefinitionDescription `locationName:"alertManagerDefinition" type:"structure" required:"true"` // contains filtered or unexported fields }
Represents the output of a DescribeAlertManagerDefinition operation.
func (DescribeAlertManagerDefinitionOutput) GoString ¶
func (s DescribeAlertManagerDefinitionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeAlertManagerDefinitionOutput) SetAlertManagerDefinition ¶
func (s *DescribeAlertManagerDefinitionOutput) SetAlertManagerDefinition(v *AlertManagerDefinitionDescription) *DescribeAlertManagerDefinitionOutput
SetAlertManagerDefinition sets the AlertManagerDefinition field's value.
func (DescribeAlertManagerDefinitionOutput) String ¶
func (s DescribeAlertManagerDefinitionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeLoggingConfigurationInput ¶
type DescribeLoggingConfigurationInput struct { // The ID of the workspace to vend logs to. // // WorkspaceId is a required field WorkspaceId *string `location:"uri" locationName:"workspaceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a DescribeLoggingConfiguration operation.
func (DescribeLoggingConfigurationInput) GoString ¶
func (s DescribeLoggingConfigurationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeLoggingConfigurationInput) SetWorkspaceId ¶
func (s *DescribeLoggingConfigurationInput) SetWorkspaceId(v string) *DescribeLoggingConfigurationInput
SetWorkspaceId sets the WorkspaceId field's value.
func (DescribeLoggingConfigurationInput) String ¶
func (s DescribeLoggingConfigurationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeLoggingConfigurationInput) Validate ¶
func (s *DescribeLoggingConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeLoggingConfigurationOutput ¶
type DescribeLoggingConfigurationOutput struct { // Metadata object containing information about the logging configuration of // a workspace. // // LoggingConfiguration is a required field LoggingConfiguration *LoggingConfigurationMetadata `locationName:"loggingConfiguration" type:"structure" required:"true"` // contains filtered or unexported fields }
Represents the output of a DescribeLoggingConfiguration operation.
func (DescribeLoggingConfigurationOutput) GoString ¶
func (s DescribeLoggingConfigurationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeLoggingConfigurationOutput) SetLoggingConfiguration ¶
func (s *DescribeLoggingConfigurationOutput) SetLoggingConfiguration(v *LoggingConfigurationMetadata) *DescribeLoggingConfigurationOutput
SetLoggingConfiguration sets the LoggingConfiguration field's value.
func (DescribeLoggingConfigurationOutput) String ¶
func (s DescribeLoggingConfigurationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeRuleGroupsNamespaceInput ¶
type DescribeRuleGroupsNamespaceInput struct { // The rule groups namespace. // // Name is a required field Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` // The ID of the workspace to describe. // // WorkspaceId is a required field WorkspaceId *string `location:"uri" locationName:"workspaceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a DescribeRuleGroupsNamespace operation.
func (DescribeRuleGroupsNamespaceInput) GoString ¶
func (s DescribeRuleGroupsNamespaceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeRuleGroupsNamespaceInput) SetName ¶
func (s *DescribeRuleGroupsNamespaceInput) SetName(v string) *DescribeRuleGroupsNamespaceInput
SetName sets the Name field's value.
func (*DescribeRuleGroupsNamespaceInput) SetWorkspaceId ¶
func (s *DescribeRuleGroupsNamespaceInput) SetWorkspaceId(v string) *DescribeRuleGroupsNamespaceInput
SetWorkspaceId sets the WorkspaceId field's value.
func (DescribeRuleGroupsNamespaceInput) String ¶
func (s DescribeRuleGroupsNamespaceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeRuleGroupsNamespaceInput) Validate ¶
func (s *DescribeRuleGroupsNamespaceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeRuleGroupsNamespaceOutput ¶
type DescribeRuleGroupsNamespaceOutput struct { // The selected rule groups namespace. // // RuleGroupsNamespace is a required field RuleGroupsNamespace *RuleGroupsNamespaceDescription `locationName:"ruleGroupsNamespace" type:"structure" required:"true"` // contains filtered or unexported fields }
Represents the output of a DescribeRuleGroupsNamespace operation.
func (DescribeRuleGroupsNamespaceOutput) GoString ¶
func (s DescribeRuleGroupsNamespaceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeRuleGroupsNamespaceOutput) SetRuleGroupsNamespace ¶
func (s *DescribeRuleGroupsNamespaceOutput) SetRuleGroupsNamespace(v *RuleGroupsNamespaceDescription) *DescribeRuleGroupsNamespaceOutput
SetRuleGroupsNamespace sets the RuleGroupsNamespace field's value.
func (DescribeRuleGroupsNamespaceOutput) String ¶
func (s DescribeRuleGroupsNamespaceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeScraperInput ¶
type DescribeScraperInput struct { // The IDs of the scraper to describe. // // ScraperId is a required field ScraperId *string `location:"uri" locationName:"scraperId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a DescribeScraper operation.
func (DescribeScraperInput) GoString ¶
func (s DescribeScraperInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeScraperInput) SetScraperId ¶
func (s *DescribeScraperInput) SetScraperId(v string) *DescribeScraperInput
SetScraperId sets the ScraperId field's value.
func (DescribeScraperInput) String ¶
func (s DescribeScraperInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeScraperInput) Validate ¶
func (s *DescribeScraperInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeScraperOutput ¶
type DescribeScraperOutput struct { // The properties of the selected scrapers. // // Scraper is a required field Scraper *ScraperDescription `locationName:"scraper" type:"structure" required:"true"` // contains filtered or unexported fields }
Represents the output of a DescribeScraper operation.
func (DescribeScraperOutput) GoString ¶
func (s DescribeScraperOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeScraperOutput) SetScraper ¶
func (s *DescribeScraperOutput) SetScraper(v *ScraperDescription) *DescribeScraperOutput
SetScraper sets the Scraper field's value.
func (DescribeScraperOutput) String ¶
func (s DescribeScraperOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeWorkspaceInput ¶
type DescribeWorkspaceInput struct { // The ID of the workspace to describe. // // WorkspaceId is a required field WorkspaceId *string `location:"uri" locationName:"workspaceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a DescribeWorkspace operation.
func (DescribeWorkspaceInput) GoString ¶
func (s DescribeWorkspaceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeWorkspaceInput) SetWorkspaceId ¶
func (s *DescribeWorkspaceInput) SetWorkspaceId(v string) *DescribeWorkspaceInput
SetWorkspaceId sets the WorkspaceId field's value.
func (DescribeWorkspaceInput) String ¶
func (s DescribeWorkspaceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeWorkspaceInput) Validate ¶
func (s *DescribeWorkspaceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeWorkspaceOutput ¶
type DescribeWorkspaceOutput struct { // The properties of the selected workspace. // // Workspace is a required field Workspace *WorkspaceDescription `locationName:"workspace" type:"structure" required:"true"` // contains filtered or unexported fields }
Represents the output of a DescribeWorkspace operation.
func (DescribeWorkspaceOutput) GoString ¶
func (s DescribeWorkspaceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeWorkspaceOutput) SetWorkspace ¶
func (s *DescribeWorkspaceOutput) SetWorkspace(v *WorkspaceDescription) *DescribeWorkspaceOutput
SetWorkspace sets the Workspace field's value.
func (DescribeWorkspaceOutput) String ¶
func (s DescribeWorkspaceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Destination ¶
type Destination struct { // A representation of an AMP destination. AmpConfiguration *AmpConfiguration `locationName:"ampConfiguration" type:"structure"` // contains filtered or unexported fields }
A representation of a destination that a scraper can produce metrics to.
func (Destination) GoString ¶
func (s Destination) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Destination) SetAmpConfiguration ¶
func (s *Destination) SetAmpConfiguration(v *AmpConfiguration) *Destination
SetAmpConfiguration sets the AmpConfiguration field's value.
func (Destination) String ¶
func (s Destination) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Destination) Validate ¶
func (s *Destination) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EksConfiguration ¶
type EksConfiguration struct { // The ARN of an EKS cluster. // // ClusterArn is a required field ClusterArn *string `locationName:"clusterArn" type:"string" required:"true"` // A list of security group IDs specified for VPC configuration. SecurityGroupIds []*string `locationName:"securityGroupIds" min:"1" type:"list"` // A list of subnet IDs specified for VPC configuration. // // SubnetIds is a required field SubnetIds []*string `locationName:"subnetIds" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
A representation of an EKS source.
func (EksConfiguration) GoString ¶
func (s EksConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksConfiguration) SetClusterArn ¶
func (s *EksConfiguration) SetClusterArn(v string) *EksConfiguration
SetClusterArn sets the ClusterArn field's value.
func (*EksConfiguration) SetSecurityGroupIds ¶
func (s *EksConfiguration) SetSecurityGroupIds(v []*string) *EksConfiguration
SetSecurityGroupIds sets the SecurityGroupIds field's value.
func (*EksConfiguration) SetSubnetIds ¶
func (s *EksConfiguration) SetSubnetIds(v []*string) *EksConfiguration
SetSubnetIds sets the SubnetIds field's value.
func (EksConfiguration) String ¶
func (s EksConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EksConfiguration) Validate ¶
func (s *EksConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDefaultScraperConfigurationInput ¶
type GetDefaultScraperConfigurationInput struct {
// contains filtered or unexported fields
}
Represents the input of a GetDefaultScraperConfiguration operation.
func (GetDefaultScraperConfigurationInput) GoString ¶
func (s GetDefaultScraperConfigurationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (GetDefaultScraperConfigurationInput) String ¶
func (s GetDefaultScraperConfigurationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetDefaultScraperConfigurationOutput ¶
type GetDefaultScraperConfigurationOutput struct { // The default configuration. // Configuration is automatically base64 encoded/decoded by the SDK. // // Configuration is a required field Configuration []byte `locationName:"configuration" type:"blob" required:"true"` // contains filtered or unexported fields }
Represents the output of a GetDefaultScraperConfiguration operation.
func (GetDefaultScraperConfigurationOutput) GoString ¶
func (s GetDefaultScraperConfigurationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetDefaultScraperConfigurationOutput) SetConfiguration ¶
func (s *GetDefaultScraperConfigurationOutput) SetConfiguration(v []byte) *GetDefaultScraperConfigurationOutput
SetConfiguration sets the Configuration field's value.
func (GetDefaultScraperConfigurationOutput) String ¶
func (s GetDefaultScraperConfigurationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InternalServerException ¶
type InternalServerException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // Description of the error. Message_ *string `locationName:"message" type:"string"` // Advice to clients on when the call can be safely retried. RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"integer"` // contains filtered or unexported fields }
Unexpected error during processing of request.
func (*InternalServerException) Code ¶
func (s *InternalServerException) Code() string
Code returns the exception type name.
func (*InternalServerException) Error ¶
func (s *InternalServerException) Error() string
func (InternalServerException) GoString ¶
func (s InternalServerException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InternalServerException) Message ¶
func (s *InternalServerException) Message() string
Message returns the exception's message.
func (*InternalServerException) OrigErr ¶
func (s *InternalServerException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InternalServerException) RequestID ¶
func (s *InternalServerException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InternalServerException) StatusCode ¶
func (s *InternalServerException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InternalServerException) String ¶
func (s InternalServerException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListRuleGroupsNamespacesInput ¶
type ListRuleGroupsNamespacesInput struct { // Maximum results to return in response (default=100, maximum=1000). MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // Optional filter for rule groups namespace name. Only the rule groups namespace // that begin with this value will be returned. Name *string `location:"querystring" locationName:"name" min:"1" type:"string"` // Pagination token to request the next page in a paginated list. This token // is obtained from the output of the previous ListRuleGroupsNamespaces request. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The ID of the workspace. // // WorkspaceId is a required field WorkspaceId *string `location:"uri" locationName:"workspaceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a ListRuleGroupsNamespaces operation.
func (ListRuleGroupsNamespacesInput) GoString ¶
func (s ListRuleGroupsNamespacesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListRuleGroupsNamespacesInput) SetMaxResults ¶
func (s *ListRuleGroupsNamespacesInput) SetMaxResults(v int64) *ListRuleGroupsNamespacesInput
SetMaxResults sets the MaxResults field's value.
func (*ListRuleGroupsNamespacesInput) SetName ¶
func (s *ListRuleGroupsNamespacesInput) SetName(v string) *ListRuleGroupsNamespacesInput
SetName sets the Name field's value.
func (*ListRuleGroupsNamespacesInput) SetNextToken ¶
func (s *ListRuleGroupsNamespacesInput) SetNextToken(v string) *ListRuleGroupsNamespacesInput
SetNextToken sets the NextToken field's value.
func (*ListRuleGroupsNamespacesInput) SetWorkspaceId ¶
func (s *ListRuleGroupsNamespacesInput) SetWorkspaceId(v string) *ListRuleGroupsNamespacesInput
SetWorkspaceId sets the WorkspaceId field's value.
func (ListRuleGroupsNamespacesInput) String ¶
func (s ListRuleGroupsNamespacesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListRuleGroupsNamespacesInput) Validate ¶
func (s *ListRuleGroupsNamespacesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListRuleGroupsNamespacesOutput ¶
type ListRuleGroupsNamespacesOutput struct { // Pagination token to use when requesting the next page in this list. NextToken *string `locationName:"nextToken" type:"string"` // The list of the selected rule groups namespaces. // // RuleGroupsNamespaces is a required field RuleGroupsNamespaces []*RuleGroupsNamespaceSummary `locationName:"ruleGroupsNamespaces" type:"list" required:"true"` // contains filtered or unexported fields }
Represents the output of a ListRuleGroupsNamespaces operation.
func (ListRuleGroupsNamespacesOutput) GoString ¶
func (s ListRuleGroupsNamespacesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListRuleGroupsNamespacesOutput) SetNextToken ¶
func (s *ListRuleGroupsNamespacesOutput) SetNextToken(v string) *ListRuleGroupsNamespacesOutput
SetNextToken sets the NextToken field's value.
func (*ListRuleGroupsNamespacesOutput) SetRuleGroupsNamespaces ¶
func (s *ListRuleGroupsNamespacesOutput) SetRuleGroupsNamespaces(v []*RuleGroupsNamespaceSummary) *ListRuleGroupsNamespacesOutput
SetRuleGroupsNamespaces sets the RuleGroupsNamespaces field's value.
func (ListRuleGroupsNamespacesOutput) String ¶
func (s ListRuleGroupsNamespacesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListScrapersInput ¶
type ListScrapersInput struct { // A list of scraper filters. Filters map[string][]*string `location:"querystring" locationName:"filters" min:"1" type:"map"` // Maximum results to return in response (default=100, maximum=1000). MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // Pagination token to request the next page in a paginated list. This token // is obtained from the output of the previous ListScrapers request. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Represents the input of a ListScrapers operation.
func (ListScrapersInput) GoString ¶
func (s ListScrapersInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListScrapersInput) SetFilters ¶
func (s *ListScrapersInput) SetFilters(v map[string][]*string) *ListScrapersInput
SetFilters sets the Filters field's value.
func (*ListScrapersInput) SetMaxResults ¶
func (s *ListScrapersInput) SetMaxResults(v int64) *ListScrapersInput
SetMaxResults sets the MaxResults field's value.
func (*ListScrapersInput) SetNextToken ¶
func (s *ListScrapersInput) SetNextToken(v string) *ListScrapersInput
SetNextToken sets the NextToken field's value.
func (ListScrapersInput) String ¶
func (s ListScrapersInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListScrapersInput) Validate ¶
func (s *ListScrapersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListScrapersOutput ¶
type ListScrapersOutput struct { // Pagination token to use when requesting the next page in this list. NextToken *string `locationName:"nextToken" type:"string"` // The list of scrapers, filtered down if a set of filters was provided in the // request. // // Scrapers is a required field Scrapers []*ScraperSummary `locationName:"scrapers" type:"list" required:"true"` // contains filtered or unexported fields }
Represents the output of a ListScrapers operation.
func (ListScrapersOutput) GoString ¶
func (s ListScrapersOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListScrapersOutput) SetNextToken ¶
func (s *ListScrapersOutput) SetNextToken(v string) *ListScrapersOutput
SetNextToken sets the NextToken field's value.
func (*ListScrapersOutput) SetScrapers ¶
func (s *ListScrapersOutput) SetScrapers(v []*ScraperSummary) *ListScrapersOutput
SetScrapers sets the Scrapers field's value.
func (ListScrapersOutput) String ¶
func (s ListScrapersOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The ARN of the resource. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListTagsForResourceInput) GoString ¶
func (s ListTagsForResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsForResourceInput) SetResourceArn ¶
func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
SetResourceArn sets the ResourceArn field's value.
func (ListTagsForResourceInput) String ¶
func (s ListTagsForResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsForResourceInput) Validate ¶
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // The list of tags assigned to the resource. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (ListTagsForResourceOutput) GoString ¶
func (s ListTagsForResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsForResourceOutput) SetTags ¶
func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput
SetTags sets the Tags field's value.
func (ListTagsForResourceOutput) String ¶
func (s ListTagsForResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListWorkspacesInput ¶
type ListWorkspacesInput struct { // Optional filter for workspace alias. Only the workspaces with aliases that // begin with this value will be returned. Alias *string `location:"querystring" locationName:"alias" min:"1" type:"string"` // Maximum results to return in response (default=100, maximum=1000). MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // Pagination token to request the next page in a paginated list. This token // is obtained from the output of the previous ListWorkspaces request. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Represents the input of a ListWorkspaces operation.
func (ListWorkspacesInput) GoString ¶
func (s ListWorkspacesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListWorkspacesInput) SetAlias ¶
func (s *ListWorkspacesInput) SetAlias(v string) *ListWorkspacesInput
SetAlias sets the Alias field's value.
func (*ListWorkspacesInput) SetMaxResults ¶
func (s *ListWorkspacesInput) SetMaxResults(v int64) *ListWorkspacesInput
SetMaxResults sets the MaxResults field's value.
func (*ListWorkspacesInput) SetNextToken ¶
func (s *ListWorkspacesInput) SetNextToken(v string) *ListWorkspacesInput
SetNextToken sets the NextToken field's value.
func (ListWorkspacesInput) String ¶
func (s ListWorkspacesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListWorkspacesInput) Validate ¶
func (s *ListWorkspacesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListWorkspacesOutput ¶
type ListWorkspacesOutput struct { // Pagination token to use when requesting the next page in this list. NextToken *string `locationName:"nextToken" type:"string"` // The list of existing workspaces, including those undergoing creation or deletion. // // Workspaces is a required field Workspaces []*WorkspaceSummary `locationName:"workspaces" type:"list" required:"true"` // contains filtered or unexported fields }
Represents the output of a ListWorkspaces operation.
func (ListWorkspacesOutput) GoString ¶
func (s ListWorkspacesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListWorkspacesOutput) SetNextToken ¶
func (s *ListWorkspacesOutput) SetNextToken(v string) *ListWorkspacesOutput
SetNextToken sets the NextToken field's value.
func (*ListWorkspacesOutput) SetWorkspaces ¶
func (s *ListWorkspacesOutput) SetWorkspaces(v []*WorkspaceSummary) *ListWorkspacesOutput
SetWorkspaces sets the Workspaces field's value.
func (ListWorkspacesOutput) String ¶
func (s ListWorkspacesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LoggingConfigurationMetadata ¶
type LoggingConfigurationMetadata struct { // The time when the logging configuration was created. // // CreatedAt is a required field CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"` // The ARN of the CW log group to which the vended log data will be published. // // LogGroupArn is a required field LogGroupArn *string `locationName:"logGroupArn" type:"string" required:"true"` // The time when the logging configuration was modified. // // ModifiedAt is a required field ModifiedAt *time.Time `locationName:"modifiedAt" type:"timestamp" required:"true"` // The status of the logging configuration. // // Status is a required field Status *LoggingConfigurationStatus `locationName:"status" type:"structure" required:"true"` // The workspace where the logging configuration exists. // // Workspace is a required field Workspace *string `locationName:"workspace" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the properties of a logging configuration metadata.
func (LoggingConfigurationMetadata) GoString ¶
func (s LoggingConfigurationMetadata) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LoggingConfigurationMetadata) SetCreatedAt ¶
func (s *LoggingConfigurationMetadata) SetCreatedAt(v time.Time) *LoggingConfigurationMetadata
SetCreatedAt sets the CreatedAt field's value.
func (*LoggingConfigurationMetadata) SetLogGroupArn ¶
func (s *LoggingConfigurationMetadata) SetLogGroupArn(v string) *LoggingConfigurationMetadata
SetLogGroupArn sets the LogGroupArn field's value.
func (*LoggingConfigurationMetadata) SetModifiedAt ¶
func (s *LoggingConfigurationMetadata) SetModifiedAt(v time.Time) *LoggingConfigurationMetadata
SetModifiedAt sets the ModifiedAt field's value.
func (*LoggingConfigurationMetadata) SetStatus ¶
func (s *LoggingConfigurationMetadata) SetStatus(v *LoggingConfigurationStatus) *LoggingConfigurationMetadata
SetStatus sets the Status field's value.
func (*LoggingConfigurationMetadata) SetWorkspace ¶
func (s *LoggingConfigurationMetadata) SetWorkspace(v string) *LoggingConfigurationMetadata
SetWorkspace sets the Workspace field's value.
func (LoggingConfigurationMetadata) String ¶
func (s LoggingConfigurationMetadata) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LoggingConfigurationStatus ¶
type LoggingConfigurationStatus struct { // Status code of the logging configuration. // // StatusCode is a required field StatusCode *string `locationName:"statusCode" type:"string" required:"true" enum:"LoggingConfigurationStatusCode"` // The reason for failure if any. StatusReason *string `locationName:"statusReason" type:"string"` // contains filtered or unexported fields }
Represents the status of a logging configuration.
func (LoggingConfigurationStatus) GoString ¶
func (s LoggingConfigurationStatus) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LoggingConfigurationStatus) SetStatusCode ¶
func (s *LoggingConfigurationStatus) SetStatusCode(v string) *LoggingConfigurationStatus
SetStatusCode sets the StatusCode field's value.
func (*LoggingConfigurationStatus) SetStatusReason ¶
func (s *LoggingConfigurationStatus) SetStatusReason(v string) *LoggingConfigurationStatus
SetStatusReason sets the StatusReason field's value.
func (LoggingConfigurationStatus) String ¶
func (s LoggingConfigurationStatus) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PrometheusService ¶
PrometheusService provides the API operation methods for making requests to Amazon Prometheus Service. See this package's package overview docs for details on the service.
PrometheusService methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *PrometheusService
New creates a new instance of the PrometheusService 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 PrometheusService client from just a session. svc := prometheusservice.New(mySession) // Create a PrometheusService client with additional configuration svc := prometheusservice.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*PrometheusService) CreateAlertManagerDefinition ¶
func (c *PrometheusService) CreateAlertManagerDefinition(input *CreateAlertManagerDefinitionInput) (*CreateAlertManagerDefinitionOutput, error)
CreateAlertManagerDefinition API operation for Amazon Prometheus Service.
Create an alert manager definition.
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 Prometheus Service's API operation CreateAlertManagerDefinition for usage and error information.
Returned Error Types:
ThrottlingException Request was denied due to request throttling.
ConflictException Updating or deleting a resource can cause an inconsistent state.
ValidationException The input fails to satisfy the constraints specified by an AWS service.
ResourceNotFoundException Request references a resource which does not exist.
AccessDeniedException User does not have sufficient access to perform this action.
InternalServerException Unexpected error during processing of request.
ServiceQuotaExceededException Request would cause a service quota to be exceeded.
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateAlertManagerDefinition
func (*PrometheusService) CreateAlertManagerDefinitionRequest ¶
func (c *PrometheusService) CreateAlertManagerDefinitionRequest(input *CreateAlertManagerDefinitionInput) (req *request.Request, output *CreateAlertManagerDefinitionOutput)
CreateAlertManagerDefinitionRequest generates a "aws/request.Request" representing the client's request for the CreateAlertManagerDefinition 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 CreateAlertManagerDefinition for more information on using the CreateAlertManagerDefinition 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 CreateAlertManagerDefinitionRequest method. req, resp := client.CreateAlertManagerDefinitionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateAlertManagerDefinition
func (*PrometheusService) CreateAlertManagerDefinitionWithContext ¶
func (c *PrometheusService) CreateAlertManagerDefinitionWithContext(ctx aws.Context, input *CreateAlertManagerDefinitionInput, opts ...request.Option) (*CreateAlertManagerDefinitionOutput, error)
CreateAlertManagerDefinitionWithContext is the same as CreateAlertManagerDefinition with the addition of the ability to pass a context and additional request options.
See CreateAlertManagerDefinition 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 (*PrometheusService) CreateLoggingConfiguration ¶
func (c *PrometheusService) CreateLoggingConfiguration(input *CreateLoggingConfigurationInput) (*CreateLoggingConfigurationOutput, error)
CreateLoggingConfiguration API operation for Amazon Prometheus Service.
Create logging configuration.
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 Prometheus Service's API operation CreateLoggingConfiguration for usage and error information.
Returned Error Types:
ValidationException The input fails to satisfy the constraints specified by an AWS service.
ResourceNotFoundException Request references a resource which does not exist.
AccessDeniedException User does not have sufficient access to perform this action.
InternalServerException Unexpected error during processing of request.
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateLoggingConfiguration
func (*PrometheusService) CreateLoggingConfigurationRequest ¶
func (c *PrometheusService) CreateLoggingConfigurationRequest(input *CreateLoggingConfigurationInput) (req *request.Request, output *CreateLoggingConfigurationOutput)
CreateLoggingConfigurationRequest generates a "aws/request.Request" representing the client's request for the CreateLoggingConfiguration 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 CreateLoggingConfiguration for more information on using the CreateLoggingConfiguration 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 CreateLoggingConfigurationRequest method. req, resp := client.CreateLoggingConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateLoggingConfiguration
func (*PrometheusService) CreateLoggingConfigurationWithContext ¶
func (c *PrometheusService) CreateLoggingConfigurationWithContext(ctx aws.Context, input *CreateLoggingConfigurationInput, opts ...request.Option) (*CreateLoggingConfigurationOutput, error)
CreateLoggingConfigurationWithContext is the same as CreateLoggingConfiguration with the addition of the ability to pass a context and additional request options.
See CreateLoggingConfiguration 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 (*PrometheusService) CreateRuleGroupsNamespace ¶
func (c *PrometheusService) CreateRuleGroupsNamespace(input *CreateRuleGroupsNamespaceInput) (*CreateRuleGroupsNamespaceOutput, error)
CreateRuleGroupsNamespace API operation for Amazon Prometheus Service.
Create a rule group namespace.
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 Prometheus Service's API operation CreateRuleGroupsNamespace for usage and error information.
Returned Error Types:
ThrottlingException Request was denied due to request throttling.
ConflictException Updating or deleting a resource can cause an inconsistent state.
ValidationException The input fails to satisfy the constraints specified by an AWS service.
ResourceNotFoundException Request references a resource which does not exist.
AccessDeniedException User does not have sufficient access to perform this action.
InternalServerException Unexpected error during processing of request.
ServiceQuotaExceededException Request would cause a service quota to be exceeded.
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateRuleGroupsNamespace
func (*PrometheusService) CreateRuleGroupsNamespaceRequest ¶
func (c *PrometheusService) CreateRuleGroupsNamespaceRequest(input *CreateRuleGroupsNamespaceInput) (req *request.Request, output *CreateRuleGroupsNamespaceOutput)
CreateRuleGroupsNamespaceRequest generates a "aws/request.Request" representing the client's request for the CreateRuleGroupsNamespace 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 CreateRuleGroupsNamespace for more information on using the CreateRuleGroupsNamespace 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 CreateRuleGroupsNamespaceRequest method. req, resp := client.CreateRuleGroupsNamespaceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateRuleGroupsNamespace
func (*PrometheusService) CreateRuleGroupsNamespaceWithContext ¶
func (c *PrometheusService) CreateRuleGroupsNamespaceWithContext(ctx aws.Context, input *CreateRuleGroupsNamespaceInput, opts ...request.Option) (*CreateRuleGroupsNamespaceOutput, error)
CreateRuleGroupsNamespaceWithContext is the same as CreateRuleGroupsNamespace with the addition of the ability to pass a context and additional request options.
See CreateRuleGroupsNamespace 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 (*PrometheusService) CreateScraper ¶
func (c *PrometheusService) CreateScraper(input *CreateScraperInput) (*CreateScraperOutput, error)
CreateScraper API operation for Amazon Prometheus Service.
Create a scraper.
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 Prometheus Service's API operation CreateScraper for usage and error information.
Returned Error Types:
ThrottlingException Request was denied due to request throttling.
ConflictException Updating or deleting a resource can cause an inconsistent state.
ValidationException The input fails to satisfy the constraints specified by an AWS service.
ResourceNotFoundException Request references a resource which does not exist.
AccessDeniedException User does not have sufficient access to perform this action.
InternalServerException Unexpected error during processing of request.
ServiceQuotaExceededException Request would cause a service quota to be exceeded.
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateScraper
func (*PrometheusService) CreateScraperRequest ¶
func (c *PrometheusService) CreateScraperRequest(input *CreateScraperInput) (req *request.Request, output *CreateScraperOutput)
CreateScraperRequest generates a "aws/request.Request" representing the client's request for the CreateScraper 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 CreateScraper for more information on using the CreateScraper 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 CreateScraperRequest method. req, resp := client.CreateScraperRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateScraper
func (*PrometheusService) CreateScraperWithContext ¶
func (c *PrometheusService) CreateScraperWithContext(ctx aws.Context, input *CreateScraperInput, opts ...request.Option) (*CreateScraperOutput, error)
CreateScraperWithContext is the same as CreateScraper with the addition of the ability to pass a context and additional request options.
See CreateScraper 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 (*PrometheusService) CreateWorkspace ¶
func (c *PrometheusService) CreateWorkspace(input *CreateWorkspaceInput) (*CreateWorkspaceOutput, error)
CreateWorkspace API operation for Amazon Prometheus Service.
Creates a new AMP workspace.
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 Prometheus Service's API operation CreateWorkspace for usage and error information.
Returned Error Types:
ThrottlingException Request was denied due to request throttling.
ConflictException Updating or deleting a resource can cause an inconsistent state.
ValidationException The input fails to satisfy the constraints specified by an AWS service.
AccessDeniedException User does not have sufficient access to perform this action.
InternalServerException Unexpected error during processing of request.
ServiceQuotaExceededException Request would cause a service quota to be exceeded.
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateWorkspace
func (*PrometheusService) CreateWorkspaceRequest ¶
func (c *PrometheusService) CreateWorkspaceRequest(input *CreateWorkspaceInput) (req *request.Request, output *CreateWorkspaceOutput)
CreateWorkspaceRequest generates a "aws/request.Request" representing the client's request for the CreateWorkspace 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 CreateWorkspace for more information on using the CreateWorkspace 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 CreateWorkspaceRequest method. req, resp := client.CreateWorkspaceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateWorkspace
func (*PrometheusService) CreateWorkspaceWithContext ¶
func (c *PrometheusService) CreateWorkspaceWithContext(ctx aws.Context, input *CreateWorkspaceInput, opts ...request.Option) (*CreateWorkspaceOutput, error)
CreateWorkspaceWithContext is the same as CreateWorkspace with the addition of the ability to pass a context and additional request options.
See CreateWorkspace 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 (*PrometheusService) DeleteAlertManagerDefinition ¶
func (c *PrometheusService) DeleteAlertManagerDefinition(input *DeleteAlertManagerDefinitionInput) (*DeleteAlertManagerDefinitionOutput, error)
DeleteAlertManagerDefinition API operation for Amazon Prometheus Service.
Deletes an alert manager definition.
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 Prometheus Service's API operation DeleteAlertManagerDefinition for usage and error information.
Returned Error Types:
ThrottlingException Request was denied due to request throttling.
ConflictException Updating or deleting a resource can cause an inconsistent state.
ValidationException The input fails to satisfy the constraints specified by an AWS service.
ResourceNotFoundException Request references a resource which does not exist.
AccessDeniedException User does not have sufficient access to perform this action.
InternalServerException Unexpected error during processing of request.
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteAlertManagerDefinition
func (*PrometheusService) DeleteAlertManagerDefinitionRequest ¶
func (c *PrometheusService) DeleteAlertManagerDefinitionRequest(input *DeleteAlertManagerDefinitionInput) (req *request.Request, output *DeleteAlertManagerDefinitionOutput)
DeleteAlertManagerDefinitionRequest generates a "aws/request.Request" representing the client's request for the DeleteAlertManagerDefinition 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 DeleteAlertManagerDefinition for more information on using the DeleteAlertManagerDefinition 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 DeleteAlertManagerDefinitionRequest method. req, resp := client.DeleteAlertManagerDefinitionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteAlertManagerDefinition
func (*PrometheusService) DeleteAlertManagerDefinitionWithContext ¶
func (c *PrometheusService) DeleteAlertManagerDefinitionWithContext(ctx aws.Context, input *DeleteAlertManagerDefinitionInput, opts ...request.Option) (*DeleteAlertManagerDefinitionOutput, error)
DeleteAlertManagerDefinitionWithContext is the same as DeleteAlertManagerDefinition with the addition of the ability to pass a context and additional request options.
See DeleteAlertManagerDefinition 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 (*PrometheusService) DeleteLoggingConfiguration ¶
func (c *PrometheusService) DeleteLoggingConfiguration(input *DeleteLoggingConfigurationInput) (*DeleteLoggingConfigurationOutput, error)
DeleteLoggingConfiguration API operation for Amazon Prometheus Service.
Delete logging configuration.
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 Prometheus Service's API operation DeleteLoggingConfiguration for usage and error information.
Returned Error Types:
ConflictException Updating or deleting a resource can cause an inconsistent state.
ValidationException The input fails to satisfy the constraints specified by an AWS service.
ResourceNotFoundException Request references a resource which does not exist.
AccessDeniedException User does not have sufficient access to perform this action.
InternalServerException Unexpected error during processing of request.
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteLoggingConfiguration
func (*PrometheusService) DeleteLoggingConfigurationRequest ¶
func (c *PrometheusService) DeleteLoggingConfigurationRequest(input *DeleteLoggingConfigurationInput) (req *request.Request, output *DeleteLoggingConfigurationOutput)
DeleteLoggingConfigurationRequest generates a "aws/request.Request" representing the client's request for the DeleteLoggingConfiguration 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 DeleteLoggingConfiguration for more information on using the DeleteLoggingConfiguration 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 DeleteLoggingConfigurationRequest method. req, resp := client.DeleteLoggingConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteLoggingConfiguration
func (*PrometheusService) DeleteLoggingConfigurationWithContext ¶
func (c *PrometheusService) DeleteLoggingConfigurationWithContext(ctx aws.Context, input *DeleteLoggingConfigurationInput, opts ...request.Option) (*DeleteLoggingConfigurationOutput, error)
DeleteLoggingConfigurationWithContext is the same as DeleteLoggingConfiguration with the addition of the ability to pass a context and additional request options.
See DeleteLoggingConfiguration 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 (*PrometheusService) DeleteRuleGroupsNamespace ¶
func (c *PrometheusService) DeleteRuleGroupsNamespace(input *DeleteRuleGroupsNamespaceInput) (*DeleteRuleGroupsNamespaceOutput, error)
DeleteRuleGroupsNamespace API operation for Amazon Prometheus Service.
Delete a rule groups namespace.
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 Prometheus Service's API operation DeleteRuleGroupsNamespace for usage and error information.
Returned Error Types:
ThrottlingException Request was denied due to request throttling.
ConflictException Updating or deleting a resource can cause an inconsistent state.
ValidationException The input fails to satisfy the constraints specified by an AWS service.
ResourceNotFoundException Request references a resource which does not exist.
AccessDeniedException User does not have sufficient access to perform this action.
InternalServerException Unexpected error during processing of request.
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteRuleGroupsNamespace
func (*PrometheusService) DeleteRuleGroupsNamespaceRequest ¶
func (c *PrometheusService) DeleteRuleGroupsNamespaceRequest(input *DeleteRuleGroupsNamespaceInput) (req *request.Request, output *DeleteRuleGroupsNamespaceOutput)
DeleteRuleGroupsNamespaceRequest generates a "aws/request.Request" representing the client's request for the DeleteRuleGroupsNamespace 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 DeleteRuleGroupsNamespace for more information on using the DeleteRuleGroupsNamespace 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 DeleteRuleGroupsNamespaceRequest method. req, resp := client.DeleteRuleGroupsNamespaceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteRuleGroupsNamespace
func (*PrometheusService) DeleteRuleGroupsNamespaceWithContext ¶
func (c *PrometheusService) DeleteRuleGroupsNamespaceWithContext(ctx aws.Context, input *DeleteRuleGroupsNamespaceInput, opts ...request.Option) (*DeleteRuleGroupsNamespaceOutput, error)
DeleteRuleGroupsNamespaceWithContext is the same as DeleteRuleGroupsNamespace with the addition of the ability to pass a context and additional request options.
See DeleteRuleGroupsNamespace 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 (*PrometheusService) DeleteScraper ¶
func (c *PrometheusService) DeleteScraper(input *DeleteScraperInput) (*DeleteScraperOutput, error)
DeleteScraper API operation for Amazon Prometheus Service.
Deletes a scraper.
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 Prometheus Service's API operation DeleteScraper for usage and error information.
Returned Error Types:
ThrottlingException Request was denied due to request throttling.
ConflictException Updating or deleting a resource can cause an inconsistent state.
ValidationException The input fails to satisfy the constraints specified by an AWS service.
ResourceNotFoundException Request references a resource which does not exist.
AccessDeniedException User does not have sufficient access to perform this action.
InternalServerException Unexpected error during processing of request.
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteScraper
func (*PrometheusService) DeleteScraperRequest ¶
func (c *PrometheusService) DeleteScraperRequest(input *DeleteScraperInput) (req *request.Request, output *DeleteScraperOutput)
DeleteScraperRequest generates a "aws/request.Request" representing the client's request for the DeleteScraper 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 DeleteScraper for more information on using the DeleteScraper 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 DeleteScraperRequest method. req, resp := client.DeleteScraperRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteScraper
func (*PrometheusService) DeleteScraperWithContext ¶
func (c *PrometheusService) DeleteScraperWithContext(ctx aws.Context, input *DeleteScraperInput, opts ...request.Option) (*DeleteScraperOutput, error)
DeleteScraperWithContext is the same as DeleteScraper with the addition of the ability to pass a context and additional request options.
See DeleteScraper 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 (*PrometheusService) DeleteWorkspace ¶
func (c *PrometheusService) DeleteWorkspace(input *DeleteWorkspaceInput) (*DeleteWorkspaceOutput, error)
DeleteWorkspace API operation for Amazon Prometheus Service.
Deletes an AMP workspace.
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 Prometheus Service's API operation DeleteWorkspace for usage and error information.
Returned Error Types:
ThrottlingException Request was denied due to request throttling.
ConflictException Updating or deleting a resource can cause an inconsistent state.
ValidationException The input fails to satisfy the constraints specified by an AWS service.
ResourceNotFoundException Request references a resource which does not exist.
AccessDeniedException User does not have sufficient access to perform this action.
InternalServerException Unexpected error during processing of request.
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteWorkspace
func (*PrometheusService) DeleteWorkspaceRequest ¶
func (c *PrometheusService) DeleteWorkspaceRequest(input *DeleteWorkspaceInput) (req *request.Request, output *DeleteWorkspaceOutput)
DeleteWorkspaceRequest generates a "aws/request.Request" representing the client's request for the DeleteWorkspace 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 DeleteWorkspace for more information on using the DeleteWorkspace 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 DeleteWorkspaceRequest method. req, resp := client.DeleteWorkspaceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteWorkspace
func (*PrometheusService) DeleteWorkspaceWithContext ¶
func (c *PrometheusService) DeleteWorkspaceWithContext(ctx aws.Context, input *DeleteWorkspaceInput, opts ...request.Option) (*DeleteWorkspaceOutput, error)
DeleteWorkspaceWithContext is the same as DeleteWorkspace with the addition of the ability to pass a context and additional request options.
See DeleteWorkspace 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 (*PrometheusService) DescribeAlertManagerDefinition ¶
func (c *PrometheusService) DescribeAlertManagerDefinition(input *DescribeAlertManagerDefinitionInput) (*DescribeAlertManagerDefinitionOutput, error)
DescribeAlertManagerDefinition API operation for Amazon Prometheus Service.
Describes an alert manager definition.
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 Prometheus Service's API operation DescribeAlertManagerDefinition for usage and error information.
Returned Error Types:
ThrottlingException Request was denied due to request throttling.
ValidationException The input fails to satisfy the constraints specified by an AWS service.
ResourceNotFoundException Request references a resource which does not exist.
AccessDeniedException User does not have sufficient access to perform this action.
InternalServerException Unexpected error during processing of request.
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeAlertManagerDefinition
func (*PrometheusService) DescribeAlertManagerDefinitionRequest ¶
func (c *PrometheusService) DescribeAlertManagerDefinitionRequest(input *DescribeAlertManagerDefinitionInput) (req *request.Request, output *DescribeAlertManagerDefinitionOutput)
DescribeAlertManagerDefinitionRequest generates a "aws/request.Request" representing the client's request for the DescribeAlertManagerDefinition 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 DescribeAlertManagerDefinition for more information on using the DescribeAlertManagerDefinition 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 DescribeAlertManagerDefinitionRequest method. req, resp := client.DescribeAlertManagerDefinitionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeAlertManagerDefinition
func (*PrometheusService) DescribeAlertManagerDefinitionWithContext ¶
func (c *PrometheusService) DescribeAlertManagerDefinitionWithContext(ctx aws.Context, input *DescribeAlertManagerDefinitionInput, opts ...request.Option) (*DescribeAlertManagerDefinitionOutput, error)
DescribeAlertManagerDefinitionWithContext is the same as DescribeAlertManagerDefinition with the addition of the ability to pass a context and additional request options.
See DescribeAlertManagerDefinition 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 (*PrometheusService) DescribeLoggingConfiguration ¶
func (c *PrometheusService) DescribeLoggingConfiguration(input *DescribeLoggingConfigurationInput) (*DescribeLoggingConfigurationOutput, error)
DescribeLoggingConfiguration API operation for Amazon Prometheus Service.
Describes logging configuration.
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 Prometheus Service's API operation DescribeLoggingConfiguration for usage and error information.
Returned Error Types:
ValidationException The input fails to satisfy the constraints specified by an AWS service.
ResourceNotFoundException Request references a resource which does not exist.
AccessDeniedException User does not have sufficient access to perform this action.
InternalServerException Unexpected error during processing of request.
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeLoggingConfiguration
func (*PrometheusService) DescribeLoggingConfigurationRequest ¶
func (c *PrometheusService) DescribeLoggingConfigurationRequest(input *DescribeLoggingConfigurationInput) (req *request.Request, output *DescribeLoggingConfigurationOutput)
DescribeLoggingConfigurationRequest generates a "aws/request.Request" representing the client's request for the DescribeLoggingConfiguration 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 DescribeLoggingConfiguration for more information on using the DescribeLoggingConfiguration 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 DescribeLoggingConfigurationRequest method. req, resp := client.DescribeLoggingConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeLoggingConfiguration
func (*PrometheusService) DescribeLoggingConfigurationWithContext ¶
func (c *PrometheusService) DescribeLoggingConfigurationWithContext(ctx aws.Context, input *DescribeLoggingConfigurationInput, opts ...request.Option) (*DescribeLoggingConfigurationOutput, error)
DescribeLoggingConfigurationWithContext is the same as DescribeLoggingConfiguration with the addition of the ability to pass a context and additional request options.
See DescribeLoggingConfiguration 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 (*PrometheusService) DescribeRuleGroupsNamespace ¶
func (c *PrometheusService) DescribeRuleGroupsNamespace(input *DescribeRuleGroupsNamespaceInput) (*DescribeRuleGroupsNamespaceOutput, error)
DescribeRuleGroupsNamespace API operation for Amazon Prometheus Service.
Describe a rule groups namespace.
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 Prometheus Service's API operation DescribeRuleGroupsNamespace for usage and error information.
Returned Error Types:
ThrottlingException Request was denied due to request throttling.
ValidationException The input fails to satisfy the constraints specified by an AWS service.
ResourceNotFoundException Request references a resource which does not exist.
AccessDeniedException User does not have sufficient access to perform this action.
InternalServerException Unexpected error during processing of request.
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeRuleGroupsNamespace
func (*PrometheusService) DescribeRuleGroupsNamespaceRequest ¶
func (c *PrometheusService) DescribeRuleGroupsNamespaceRequest(input *DescribeRuleGroupsNamespaceInput) (req *request.Request, output *DescribeRuleGroupsNamespaceOutput)
DescribeRuleGroupsNamespaceRequest generates a "aws/request.Request" representing the client's request for the DescribeRuleGroupsNamespace 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 DescribeRuleGroupsNamespace for more information on using the DescribeRuleGroupsNamespace 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 DescribeRuleGroupsNamespaceRequest method. req, resp := client.DescribeRuleGroupsNamespaceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeRuleGroupsNamespace
func (*PrometheusService) DescribeRuleGroupsNamespaceWithContext ¶
func (c *PrometheusService) DescribeRuleGroupsNamespaceWithContext(ctx aws.Context, input *DescribeRuleGroupsNamespaceInput, opts ...request.Option) (*DescribeRuleGroupsNamespaceOutput, error)
DescribeRuleGroupsNamespaceWithContext is the same as DescribeRuleGroupsNamespace with the addition of the ability to pass a context and additional request options.
See DescribeRuleGroupsNamespace 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 (*PrometheusService) DescribeScraper ¶
func (c *PrometheusService) DescribeScraper(input *DescribeScraperInput) (*DescribeScraperOutput, error)
DescribeScraper API operation for Amazon Prometheus Service.
Describe an existing scraper.
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 Prometheus Service's API operation DescribeScraper for usage and error information.
Returned Error Types:
ThrottlingException Request was denied due to request throttling.
ValidationException The input fails to satisfy the constraints specified by an AWS service.
ResourceNotFoundException Request references a resource which does not exist.
AccessDeniedException User does not have sufficient access to perform this action.
InternalServerException Unexpected error during processing of request.
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeScraper
func (*PrometheusService) DescribeScraperRequest ¶
func (c *PrometheusService) DescribeScraperRequest(input *DescribeScraperInput) (req *request.Request, output *DescribeScraperOutput)
DescribeScraperRequest generates a "aws/request.Request" representing the client's request for the DescribeScraper 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 DescribeScraper for more information on using the DescribeScraper 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 DescribeScraperRequest method. req, resp := client.DescribeScraperRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeScraper
func (*PrometheusService) DescribeScraperWithContext ¶
func (c *PrometheusService) DescribeScraperWithContext(ctx aws.Context, input *DescribeScraperInput, opts ...request.Option) (*DescribeScraperOutput, error)
DescribeScraperWithContext is the same as DescribeScraper with the addition of the ability to pass a context and additional request options.
See DescribeScraper 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 (*PrometheusService) DescribeWorkspace ¶
func (c *PrometheusService) DescribeWorkspace(input *DescribeWorkspaceInput) (*DescribeWorkspaceOutput, error)
DescribeWorkspace API operation for Amazon Prometheus Service.
Describes an existing AMP workspace.
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 Prometheus Service's API operation DescribeWorkspace for usage and error information.
Returned Error Types:
ThrottlingException Request was denied due to request throttling.
ValidationException The input fails to satisfy the constraints specified by an AWS service.
ResourceNotFoundException Request references a resource which does not exist.
AccessDeniedException User does not have sufficient access to perform this action.
InternalServerException Unexpected error during processing of request.
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeWorkspace
func (*PrometheusService) DescribeWorkspaceRequest ¶
func (c *PrometheusService) DescribeWorkspaceRequest(input *DescribeWorkspaceInput) (req *request.Request, output *DescribeWorkspaceOutput)
DescribeWorkspaceRequest generates a "aws/request.Request" representing the client's request for the DescribeWorkspace 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 DescribeWorkspace for more information on using the DescribeWorkspace 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 DescribeWorkspaceRequest method. req, resp := client.DescribeWorkspaceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeWorkspace
func (*PrometheusService) DescribeWorkspaceWithContext ¶
func (c *PrometheusService) DescribeWorkspaceWithContext(ctx aws.Context, input *DescribeWorkspaceInput, opts ...request.Option) (*DescribeWorkspaceOutput, error)
DescribeWorkspaceWithContext is the same as DescribeWorkspace with the addition of the ability to pass a context and additional request options.
See DescribeWorkspace 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 (*PrometheusService) GetDefaultScraperConfiguration ¶
func (c *PrometheusService) GetDefaultScraperConfiguration(input *GetDefaultScraperConfigurationInput) (*GetDefaultScraperConfigurationOutput, error)
GetDefaultScraperConfiguration API operation for Amazon Prometheus Service.
Gets a default configuration.
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 Prometheus Service's API operation GetDefaultScraperConfiguration for usage and error information.
Returned Error Types:
ThrottlingException Request was denied due to request throttling.
AccessDeniedException User does not have sufficient access to perform this action.
InternalServerException Unexpected error during processing of request.
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/GetDefaultScraperConfiguration
func (*PrometheusService) GetDefaultScraperConfigurationRequest ¶
func (c *PrometheusService) GetDefaultScraperConfigurationRequest(input *GetDefaultScraperConfigurationInput) (req *request.Request, output *GetDefaultScraperConfigurationOutput)
GetDefaultScraperConfigurationRequest generates a "aws/request.Request" representing the client's request for the GetDefaultScraperConfiguration 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 GetDefaultScraperConfiguration for more information on using the GetDefaultScraperConfiguration 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 GetDefaultScraperConfigurationRequest method. req, resp := client.GetDefaultScraperConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/GetDefaultScraperConfiguration
func (*PrometheusService) GetDefaultScraperConfigurationWithContext ¶
func (c *PrometheusService) GetDefaultScraperConfigurationWithContext(ctx aws.Context, input *GetDefaultScraperConfigurationInput, opts ...request.Option) (*GetDefaultScraperConfigurationOutput, error)
GetDefaultScraperConfigurationWithContext is the same as GetDefaultScraperConfiguration with the addition of the ability to pass a context and additional request options.
See GetDefaultScraperConfiguration 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 (*PrometheusService) ListRuleGroupsNamespaces ¶
func (c *PrometheusService) ListRuleGroupsNamespaces(input *ListRuleGroupsNamespacesInput) (*ListRuleGroupsNamespacesOutput, error)
ListRuleGroupsNamespaces API operation for Amazon Prometheus Service.
Lists rule groups namespaces.
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 Prometheus Service's API operation ListRuleGroupsNamespaces for usage and error information.
Returned Error Types:
ThrottlingException Request was denied due to request throttling.
ValidationException The input fails to satisfy the constraints specified by an AWS service.
ResourceNotFoundException Request references a resource which does not exist.
AccessDeniedException User does not have sufficient access to perform this action.
InternalServerException Unexpected error during processing of request.
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListRuleGroupsNamespaces
func (*PrometheusService) ListRuleGroupsNamespacesPages ¶
func (c *PrometheusService) ListRuleGroupsNamespacesPages(input *ListRuleGroupsNamespacesInput, fn func(*ListRuleGroupsNamespacesOutput, bool) bool) error
ListRuleGroupsNamespacesPages iterates over the pages of a ListRuleGroupsNamespaces operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListRuleGroupsNamespaces 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 ListRuleGroupsNamespaces operation. pageNum := 0 err := client.ListRuleGroupsNamespacesPages(params, func(page *prometheusservice.ListRuleGroupsNamespacesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*PrometheusService) ListRuleGroupsNamespacesPagesWithContext ¶
func (c *PrometheusService) ListRuleGroupsNamespacesPagesWithContext(ctx aws.Context, input *ListRuleGroupsNamespacesInput, fn func(*ListRuleGroupsNamespacesOutput, bool) bool, opts ...request.Option) error
ListRuleGroupsNamespacesPagesWithContext same as ListRuleGroupsNamespacesPages 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 (*PrometheusService) ListRuleGroupsNamespacesRequest ¶
func (c *PrometheusService) ListRuleGroupsNamespacesRequest(input *ListRuleGroupsNamespacesInput) (req *request.Request, output *ListRuleGroupsNamespacesOutput)
ListRuleGroupsNamespacesRequest generates a "aws/request.Request" representing the client's request for the ListRuleGroupsNamespaces 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 ListRuleGroupsNamespaces for more information on using the ListRuleGroupsNamespaces 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 ListRuleGroupsNamespacesRequest method. req, resp := client.ListRuleGroupsNamespacesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListRuleGroupsNamespaces
func (*PrometheusService) ListRuleGroupsNamespacesWithContext ¶
func (c *PrometheusService) ListRuleGroupsNamespacesWithContext(ctx aws.Context, input *ListRuleGroupsNamespacesInput, opts ...request.Option) (*ListRuleGroupsNamespacesOutput, error)
ListRuleGroupsNamespacesWithContext is the same as ListRuleGroupsNamespaces with the addition of the ability to pass a context and additional request options.
See ListRuleGroupsNamespaces 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 (*PrometheusService) ListScrapers ¶
func (c *PrometheusService) ListScrapers(input *ListScrapersInput) (*ListScrapersOutput, error)
ListScrapers API operation for Amazon Prometheus Service.
Lists all scrapers in a customer account, including scrapers being created or deleted. You may provide filters to return a more specific list of results.
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 Prometheus Service's API operation ListScrapers for usage and error information.
Returned Error Types:
ThrottlingException Request was denied due to request throttling.
ValidationException The input fails to satisfy the constraints specified by an AWS service.
AccessDeniedException User does not have sufficient access to perform this action.
InternalServerException Unexpected error during processing of request.
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListScrapers
func (*PrometheusService) ListScrapersPages ¶
func (c *PrometheusService) ListScrapersPages(input *ListScrapersInput, fn func(*ListScrapersOutput, bool) bool) error
ListScrapersPages iterates over the pages of a ListScrapers operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListScrapers 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 ListScrapers operation. pageNum := 0 err := client.ListScrapersPages(params, func(page *prometheusservice.ListScrapersOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*PrometheusService) ListScrapersPagesWithContext ¶
func (c *PrometheusService) ListScrapersPagesWithContext(ctx aws.Context, input *ListScrapersInput, fn func(*ListScrapersOutput, bool) bool, opts ...request.Option) error
ListScrapersPagesWithContext same as ListScrapersPages 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 (*PrometheusService) ListScrapersRequest ¶
func (c *PrometheusService) ListScrapersRequest(input *ListScrapersInput) (req *request.Request, output *ListScrapersOutput)
ListScrapersRequest generates a "aws/request.Request" representing the client's request for the ListScrapers 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 ListScrapers for more information on using the ListScrapers 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 ListScrapersRequest method. req, resp := client.ListScrapersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListScrapers
func (*PrometheusService) ListScrapersWithContext ¶
func (c *PrometheusService) ListScrapersWithContext(ctx aws.Context, input *ListScrapersInput, opts ...request.Option) (*ListScrapersOutput, error)
ListScrapersWithContext is the same as ListScrapers with the addition of the ability to pass a context and additional request options.
See ListScrapers 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 (*PrometheusService) ListTagsForResource ¶
func (c *PrometheusService) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
ListTagsForResource API operation for Amazon Prometheus Service.
Lists the tags you have assigned to the resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Prometheus Service's API operation ListTagsForResource for usage and error information.
Returned Error Types:
ThrottlingException Request was denied due to request throttling.
ValidationException The input fails to satisfy the constraints specified by an AWS service.
ResourceNotFoundException Request references a resource which does not exist.
AccessDeniedException User does not have sufficient access to perform this action.
InternalServerException Unexpected error during processing of request.
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListTagsForResource
func (*PrometheusService) ListTagsForResourceRequest ¶
func (c *PrometheusService) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListTagsForResourceRequest method. req, resp := client.ListTagsForResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListTagsForResource
func (*PrometheusService) ListTagsForResourceWithContext ¶
func (c *PrometheusService) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.
See ListTagsForResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*PrometheusService) ListWorkspaces ¶
func (c *PrometheusService) ListWorkspaces(input *ListWorkspacesInput) (*ListWorkspacesOutput, error)
ListWorkspaces API operation for Amazon Prometheus Service.
Lists all AMP workspaces, including workspaces being created or deleted.
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 Prometheus Service's API operation ListWorkspaces for usage and error information.
Returned Error Types:
ThrottlingException Request was denied due to request throttling.
ValidationException The input fails to satisfy the constraints specified by an AWS service.
AccessDeniedException User does not have sufficient access to perform this action.
InternalServerException Unexpected error during processing of request.
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListWorkspaces
func (*PrometheusService) ListWorkspacesPages ¶
func (c *PrometheusService) ListWorkspacesPages(input *ListWorkspacesInput, fn func(*ListWorkspacesOutput, bool) bool) error
ListWorkspacesPages iterates over the pages of a ListWorkspaces operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListWorkspaces 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 ListWorkspaces operation. pageNum := 0 err := client.ListWorkspacesPages(params, func(page *prometheusservice.ListWorkspacesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*PrometheusService) ListWorkspacesPagesWithContext ¶
func (c *PrometheusService) ListWorkspacesPagesWithContext(ctx aws.Context, input *ListWorkspacesInput, fn func(*ListWorkspacesOutput, bool) bool, opts ...request.Option) error
ListWorkspacesPagesWithContext same as ListWorkspacesPages 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 (*PrometheusService) ListWorkspacesRequest ¶
func (c *PrometheusService) ListWorkspacesRequest(input *ListWorkspacesInput) (req *request.Request, output *ListWorkspacesOutput)
ListWorkspacesRequest generates a "aws/request.Request" representing the client's request for the ListWorkspaces 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 ListWorkspaces for more information on using the ListWorkspaces 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 ListWorkspacesRequest method. req, resp := client.ListWorkspacesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListWorkspaces
func (*PrometheusService) ListWorkspacesWithContext ¶
func (c *PrometheusService) ListWorkspacesWithContext(ctx aws.Context, input *ListWorkspacesInput, opts ...request.Option) (*ListWorkspacesOutput, error)
ListWorkspacesWithContext is the same as ListWorkspaces with the addition of the ability to pass a context and additional request options.
See ListWorkspaces 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 (*PrometheusService) PutAlertManagerDefinition ¶
func (c *PrometheusService) PutAlertManagerDefinition(input *PutAlertManagerDefinitionInput) (*PutAlertManagerDefinitionOutput, error)
PutAlertManagerDefinition API operation for Amazon Prometheus Service.
Update an alert manager definition.
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 Prometheus Service's API operation PutAlertManagerDefinition for usage and error information.
Returned Error Types:
ThrottlingException Request was denied due to request throttling.
ConflictException Updating or deleting a resource can cause an inconsistent state.
ValidationException The input fails to satisfy the constraints specified by an AWS service.
ResourceNotFoundException Request references a resource which does not exist.
AccessDeniedException User does not have sufficient access to perform this action.
InternalServerException Unexpected error during processing of request.
ServiceQuotaExceededException Request would cause a service quota to be exceeded.
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/PutAlertManagerDefinition
func (*PrometheusService) PutAlertManagerDefinitionRequest ¶
func (c *PrometheusService) PutAlertManagerDefinitionRequest(input *PutAlertManagerDefinitionInput) (req *request.Request, output *PutAlertManagerDefinitionOutput)
PutAlertManagerDefinitionRequest generates a "aws/request.Request" representing the client's request for the PutAlertManagerDefinition 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 PutAlertManagerDefinition for more information on using the PutAlertManagerDefinition 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 PutAlertManagerDefinitionRequest method. req, resp := client.PutAlertManagerDefinitionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/PutAlertManagerDefinition
func (*PrometheusService) PutAlertManagerDefinitionWithContext ¶
func (c *PrometheusService) PutAlertManagerDefinitionWithContext(ctx aws.Context, input *PutAlertManagerDefinitionInput, opts ...request.Option) (*PutAlertManagerDefinitionOutput, error)
PutAlertManagerDefinitionWithContext is the same as PutAlertManagerDefinition with the addition of the ability to pass a context and additional request options.
See PutAlertManagerDefinition 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 (*PrometheusService) PutRuleGroupsNamespace ¶
func (c *PrometheusService) PutRuleGroupsNamespace(input *PutRuleGroupsNamespaceInput) (*PutRuleGroupsNamespaceOutput, error)
PutRuleGroupsNamespace API operation for Amazon Prometheus Service.
Update a rule groups namespace.
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 Prometheus Service's API operation PutRuleGroupsNamespace for usage and error information.
Returned Error Types:
ThrottlingException Request was denied due to request throttling.
ConflictException Updating or deleting a resource can cause an inconsistent state.
ValidationException The input fails to satisfy the constraints specified by an AWS service.
ResourceNotFoundException Request references a resource which does not exist.
AccessDeniedException User does not have sufficient access to perform this action.
InternalServerException Unexpected error during processing of request.
ServiceQuotaExceededException Request would cause a service quota to be exceeded.
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/PutRuleGroupsNamespace
func (*PrometheusService) PutRuleGroupsNamespaceRequest ¶
func (c *PrometheusService) PutRuleGroupsNamespaceRequest(input *PutRuleGroupsNamespaceInput) (req *request.Request, output *PutRuleGroupsNamespaceOutput)
PutRuleGroupsNamespaceRequest generates a "aws/request.Request" representing the client's request for the PutRuleGroupsNamespace 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 PutRuleGroupsNamespace for more information on using the PutRuleGroupsNamespace 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 PutRuleGroupsNamespaceRequest method. req, resp := client.PutRuleGroupsNamespaceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/PutRuleGroupsNamespace
func (*PrometheusService) PutRuleGroupsNamespaceWithContext ¶
func (c *PrometheusService) PutRuleGroupsNamespaceWithContext(ctx aws.Context, input *PutRuleGroupsNamespaceInput, opts ...request.Option) (*PutRuleGroupsNamespaceOutput, error)
PutRuleGroupsNamespaceWithContext is the same as PutRuleGroupsNamespace with the addition of the ability to pass a context and additional request options.
See PutRuleGroupsNamespace 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 (*PrometheusService) TagResource ¶
func (c *PrometheusService) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
TagResource API operation for Amazon Prometheus Service.
Creates tags for the specified resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Prometheus Service's API operation TagResource for usage and error information.
Returned Error Types:
ThrottlingException Request was denied due to request throttling.
ValidationException The input fails to satisfy the constraints specified by an AWS service.
ResourceNotFoundException Request references a resource which does not exist.
AccessDeniedException User does not have sufficient access to perform this action.
InternalServerException Unexpected error during processing of request.
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/TagResource
func (*PrometheusService) TagResourceRequest ¶
func (c *PrometheusService) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See TagResource for more information on using the TagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the TagResourceRequest method. req, resp := client.TagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/TagResource
func (*PrometheusService) TagResourceWithContext ¶
func (c *PrometheusService) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.
See TagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*PrometheusService) UntagResource ¶
func (c *PrometheusService) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
UntagResource API operation for Amazon Prometheus Service.
Deletes tags from the specified resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Prometheus Service's API operation UntagResource for usage and error information.
Returned Error Types:
ThrottlingException Request was denied due to request throttling.
ValidationException The input fails to satisfy the constraints specified by an AWS service.
ResourceNotFoundException Request references a resource which does not exist.
AccessDeniedException User does not have sufficient access to perform this action.
InternalServerException Unexpected error during processing of request.
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/UntagResource
func (*PrometheusService) UntagResourceRequest ¶
func (c *PrometheusService) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UntagResource for more information on using the UntagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UntagResourceRequest method. req, resp := client.UntagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/UntagResource
func (*PrometheusService) UntagResourceWithContext ¶
func (c *PrometheusService) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.
See UntagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*PrometheusService) UpdateLoggingConfiguration ¶
func (c *PrometheusService) UpdateLoggingConfiguration(input *UpdateLoggingConfigurationInput) (*UpdateLoggingConfigurationOutput, error)
UpdateLoggingConfiguration API operation for Amazon Prometheus Service.
Update logging configuration.
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 Prometheus Service's API operation UpdateLoggingConfiguration for usage and error information.
Returned Error Types:
ConflictException Updating or deleting a resource can cause an inconsistent state.
ValidationException The input fails to satisfy the constraints specified by an AWS service.
ResourceNotFoundException Request references a resource which does not exist.
AccessDeniedException User does not have sufficient access to perform this action.
InternalServerException Unexpected error during processing of request.
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/UpdateLoggingConfiguration
func (*PrometheusService) UpdateLoggingConfigurationRequest ¶
func (c *PrometheusService) UpdateLoggingConfigurationRequest(input *UpdateLoggingConfigurationInput) (req *request.Request, output *UpdateLoggingConfigurationOutput)
UpdateLoggingConfigurationRequest generates a "aws/request.Request" representing the client's request for the UpdateLoggingConfiguration 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 UpdateLoggingConfiguration for more information on using the UpdateLoggingConfiguration 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 UpdateLoggingConfigurationRequest method. req, resp := client.UpdateLoggingConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/UpdateLoggingConfiguration
func (*PrometheusService) UpdateLoggingConfigurationWithContext ¶
func (c *PrometheusService) UpdateLoggingConfigurationWithContext(ctx aws.Context, input *UpdateLoggingConfigurationInput, opts ...request.Option) (*UpdateLoggingConfigurationOutput, error)
UpdateLoggingConfigurationWithContext is the same as UpdateLoggingConfiguration with the addition of the ability to pass a context and additional request options.
See UpdateLoggingConfiguration 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 (*PrometheusService) UpdateWorkspaceAlias ¶
func (c *PrometheusService) UpdateWorkspaceAlias(input *UpdateWorkspaceAliasInput) (*UpdateWorkspaceAliasOutput, error)
UpdateWorkspaceAlias API operation for Amazon Prometheus Service.
Updates an AMP workspace alias.
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 Prometheus Service's API operation UpdateWorkspaceAlias for usage and error information.
Returned Error Types:
ThrottlingException Request was denied due to request throttling.
ConflictException Updating or deleting a resource can cause an inconsistent state.
ValidationException The input fails to satisfy the constraints specified by an AWS service.
ResourceNotFoundException Request references a resource which does not exist.
AccessDeniedException User does not have sufficient access to perform this action.
InternalServerException Unexpected error during processing of request.
ServiceQuotaExceededException Request would cause a service quota to be exceeded.
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/UpdateWorkspaceAlias
func (*PrometheusService) UpdateWorkspaceAliasRequest ¶
func (c *PrometheusService) UpdateWorkspaceAliasRequest(input *UpdateWorkspaceAliasInput) (req *request.Request, output *UpdateWorkspaceAliasOutput)
UpdateWorkspaceAliasRequest generates a "aws/request.Request" representing the client's request for the UpdateWorkspaceAlias 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 UpdateWorkspaceAlias for more information on using the UpdateWorkspaceAlias 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 UpdateWorkspaceAliasRequest method. req, resp := client.UpdateWorkspaceAliasRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/UpdateWorkspaceAlias
func (*PrometheusService) UpdateWorkspaceAliasWithContext ¶
func (c *PrometheusService) UpdateWorkspaceAliasWithContext(ctx aws.Context, input *UpdateWorkspaceAliasInput, opts ...request.Option) (*UpdateWorkspaceAliasOutput, error)
UpdateWorkspaceAliasWithContext is the same as UpdateWorkspaceAlias with the addition of the ability to pass a context and additional request options.
See UpdateWorkspaceAlias 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 (*PrometheusService) WaitUntilScraperActive ¶
func (c *PrometheusService) WaitUntilScraperActive(input *DescribeScraperInput) error
WaitUntilScraperActive uses the Amazon Prometheus Service API operation DescribeScraper to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
func (*PrometheusService) WaitUntilScraperActiveWithContext ¶
func (c *PrometheusService) WaitUntilScraperActiveWithContext(ctx aws.Context, input *DescribeScraperInput, opts ...request.WaiterOption) error
WaitUntilScraperActiveWithContext is an extended version of WaitUntilScraperActive. With the support for passing in a context and options to configure the Waiter and the underlying request options.
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 (*PrometheusService) WaitUntilScraperDeleted ¶
func (c *PrometheusService) WaitUntilScraperDeleted(input *DescribeScraperInput) error
WaitUntilScraperDeleted uses the Amazon Prometheus Service API operation DescribeScraper to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
func (*PrometheusService) WaitUntilScraperDeletedWithContext ¶
func (c *PrometheusService) WaitUntilScraperDeletedWithContext(ctx aws.Context, input *DescribeScraperInput, opts ...request.WaiterOption) error
WaitUntilScraperDeletedWithContext is an extended version of WaitUntilScraperDeleted. With the support for passing in a context and options to configure the Waiter and the underlying request options.
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 (*PrometheusService) WaitUntilWorkspaceActive ¶
func (c *PrometheusService) WaitUntilWorkspaceActive(input *DescribeWorkspaceInput) error
WaitUntilWorkspaceActive uses the Amazon Prometheus Service API operation DescribeWorkspace to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
func (*PrometheusService) WaitUntilWorkspaceActiveWithContext ¶
func (c *PrometheusService) WaitUntilWorkspaceActiveWithContext(ctx aws.Context, input *DescribeWorkspaceInput, opts ...request.WaiterOption) error
WaitUntilWorkspaceActiveWithContext is an extended version of WaitUntilWorkspaceActive. With the support for passing in a context and options to configure the Waiter and the underlying request options.
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 (*PrometheusService) WaitUntilWorkspaceDeleted ¶
func (c *PrometheusService) WaitUntilWorkspaceDeleted(input *DescribeWorkspaceInput) error
WaitUntilWorkspaceDeleted uses the Amazon Prometheus Service API operation DescribeWorkspace to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
func (*PrometheusService) WaitUntilWorkspaceDeletedWithContext ¶
func (c *PrometheusService) WaitUntilWorkspaceDeletedWithContext(ctx aws.Context, input *DescribeWorkspaceInput, opts ...request.WaiterOption) error
WaitUntilWorkspaceDeletedWithContext is an extended version of WaitUntilWorkspaceDeleted. With the support for passing in a context and options to configure the Waiter and the underlying request options.
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 PutAlertManagerDefinitionInput ¶
type PutAlertManagerDefinitionInput struct { // Optional, unique, case-sensitive, user-provided identifier to ensure the // idempotency of the request. ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` // The alert manager definition data. // Data is automatically base64 encoded/decoded by the SDK. // // Data is a required field Data []byte `locationName:"data" type:"blob" required:"true"` // The ID of the workspace in which to update the alert manager definition. // // WorkspaceId is a required field WorkspaceId *string `location:"uri" locationName:"workspaceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a PutAlertManagerDefinition operation.
func (PutAlertManagerDefinitionInput) GoString ¶
func (s PutAlertManagerDefinitionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutAlertManagerDefinitionInput) SetClientToken ¶
func (s *PutAlertManagerDefinitionInput) SetClientToken(v string) *PutAlertManagerDefinitionInput
SetClientToken sets the ClientToken field's value.
func (*PutAlertManagerDefinitionInput) SetData ¶
func (s *PutAlertManagerDefinitionInput) SetData(v []byte) *PutAlertManagerDefinitionInput
SetData sets the Data field's value.
func (*PutAlertManagerDefinitionInput) SetWorkspaceId ¶
func (s *PutAlertManagerDefinitionInput) SetWorkspaceId(v string) *PutAlertManagerDefinitionInput
SetWorkspaceId sets the WorkspaceId field's value.
func (PutAlertManagerDefinitionInput) String ¶
func (s PutAlertManagerDefinitionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutAlertManagerDefinitionInput) Validate ¶
func (s *PutAlertManagerDefinitionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutAlertManagerDefinitionOutput ¶
type PutAlertManagerDefinitionOutput struct { // The status of alert manager definition. // // Status is a required field Status *AlertManagerDefinitionStatus `locationName:"status" type:"structure" required:"true"` // contains filtered or unexported fields }
Represents the output of a PutAlertManagerDefinition operation.
func (PutAlertManagerDefinitionOutput) GoString ¶
func (s PutAlertManagerDefinitionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutAlertManagerDefinitionOutput) SetStatus ¶
func (s *PutAlertManagerDefinitionOutput) SetStatus(v *AlertManagerDefinitionStatus) *PutAlertManagerDefinitionOutput
SetStatus sets the Status field's value.
func (PutAlertManagerDefinitionOutput) String ¶
func (s PutAlertManagerDefinitionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PutRuleGroupsNamespaceInput ¶
type PutRuleGroupsNamespaceInput struct { // Optional, unique, case-sensitive, user-provided identifier to ensure the // idempotency of the request. ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` // The namespace data that define the rule groups. // Data is automatically base64 encoded/decoded by the SDK. // // Data is a required field Data []byte `locationName:"data" type:"blob" required:"true"` // The rule groups namespace name. // // Name is a required field Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` // The ID of the workspace in which to update the rule group namespace. // // WorkspaceId is a required field WorkspaceId *string `location:"uri" locationName:"workspaceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of a PutRuleGroupsNamespace operation.
func (PutRuleGroupsNamespaceInput) GoString ¶
func (s PutRuleGroupsNamespaceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutRuleGroupsNamespaceInput) SetClientToken ¶
func (s *PutRuleGroupsNamespaceInput) SetClientToken(v string) *PutRuleGroupsNamespaceInput
SetClientToken sets the ClientToken field's value.
func (*PutRuleGroupsNamespaceInput) SetData ¶
func (s *PutRuleGroupsNamespaceInput) SetData(v []byte) *PutRuleGroupsNamespaceInput
SetData sets the Data field's value.
func (*PutRuleGroupsNamespaceInput) SetName ¶
func (s *PutRuleGroupsNamespaceInput) SetName(v string) *PutRuleGroupsNamespaceInput
SetName sets the Name field's value.
func (*PutRuleGroupsNamespaceInput) SetWorkspaceId ¶
func (s *PutRuleGroupsNamespaceInput) SetWorkspaceId(v string) *PutRuleGroupsNamespaceInput
SetWorkspaceId sets the WorkspaceId field's value.
func (PutRuleGroupsNamespaceInput) String ¶
func (s PutRuleGroupsNamespaceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutRuleGroupsNamespaceInput) Validate ¶
func (s *PutRuleGroupsNamespaceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutRuleGroupsNamespaceOutput ¶
type PutRuleGroupsNamespaceOutput struct { // The Amazon Resource Name (ARN) of this rule groups namespace. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // The rule groups namespace name. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The status of rule groups namespace. // // Status is a required field Status *RuleGroupsNamespaceStatus `locationName:"status" type:"structure" required:"true"` // The tags of this rule groups namespace. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
Represents the output of a PutRuleGroupsNamespace operation.
func (PutRuleGroupsNamespaceOutput) GoString ¶
func (s PutRuleGroupsNamespaceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutRuleGroupsNamespaceOutput) SetArn ¶
func (s *PutRuleGroupsNamespaceOutput) SetArn(v string) *PutRuleGroupsNamespaceOutput
SetArn sets the Arn field's value.
func (*PutRuleGroupsNamespaceOutput) SetName ¶
func (s *PutRuleGroupsNamespaceOutput) SetName(v string) *PutRuleGroupsNamespaceOutput
SetName sets the Name field's value.
func (*PutRuleGroupsNamespaceOutput) SetStatus ¶
func (s *PutRuleGroupsNamespaceOutput) SetStatus(v *RuleGroupsNamespaceStatus) *PutRuleGroupsNamespaceOutput
SetStatus sets the Status field's value.
func (*PutRuleGroupsNamespaceOutput) SetTags ¶
func (s *PutRuleGroupsNamespaceOutput) SetTags(v map[string]*string) *PutRuleGroupsNamespaceOutput
SetTags sets the Tags field's value.
func (PutRuleGroupsNamespaceOutput) String ¶
func (s PutRuleGroupsNamespaceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceNotFoundException ¶
type ResourceNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // Description of the error. Message_ *string `locationName:"message" type:"string"` // Identifier of the resource affected. // // ResourceId is a required field ResourceId *string `locationName:"resourceId" type:"string" required:"true"` // Type of the resource affected. // // ResourceType is a required field ResourceType *string `locationName:"resourceType" type:"string" required:"true"` // contains filtered or unexported fields }
Request references a resource which does not exist.
func (*ResourceNotFoundException) Code ¶
func (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (*ResourceNotFoundException) Error ¶
func (s *ResourceNotFoundException) Error() string
func (ResourceNotFoundException) GoString ¶
func (s ResourceNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceNotFoundException) Message ¶
func (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (*ResourceNotFoundException) OrigErr ¶
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceNotFoundException) RequestID ¶
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceNotFoundException) StatusCode ¶
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceNotFoundException) String ¶
func (s ResourceNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RuleGroupsNamespaceDescription ¶
type RuleGroupsNamespaceDescription struct { // The Amazon Resource Name (ARN) of this rule groups namespace. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // The time when the rule groups namespace was created. // // CreatedAt is a required field CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"` // The rule groups namespace data. // Data is automatically base64 encoded/decoded by the SDK. // // Data is a required field Data []byte `locationName:"data" type:"blob" required:"true"` // The time when the rule groups namespace was modified. // // ModifiedAt is a required field ModifiedAt *time.Time `locationName:"modifiedAt" type:"timestamp" required:"true"` // The rule groups namespace name. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The status of rule groups namespace. // // Status is a required field Status *RuleGroupsNamespaceStatus `locationName:"status" type:"structure" required:"true"` // The tags of this rule groups namespace. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
Represents a description of the rule groups namespace.
func (RuleGroupsNamespaceDescription) GoString ¶
func (s RuleGroupsNamespaceDescription) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RuleGroupsNamespaceDescription) SetArn ¶
func (s *RuleGroupsNamespaceDescription) SetArn(v string) *RuleGroupsNamespaceDescription
SetArn sets the Arn field's value.
func (*RuleGroupsNamespaceDescription) SetCreatedAt ¶
func (s *RuleGroupsNamespaceDescription) SetCreatedAt(v time.Time) *RuleGroupsNamespaceDescription
SetCreatedAt sets the CreatedAt field's value.
func (*RuleGroupsNamespaceDescription) SetData ¶
func (s *RuleGroupsNamespaceDescription) SetData(v []byte) *RuleGroupsNamespaceDescription
SetData sets the Data field's value.
func (*RuleGroupsNamespaceDescription) SetModifiedAt ¶
func (s *RuleGroupsNamespaceDescription) SetModifiedAt(v time.Time) *RuleGroupsNamespaceDescription
SetModifiedAt sets the ModifiedAt field's value.
func (*RuleGroupsNamespaceDescription) SetName ¶
func (s *RuleGroupsNamespaceDescription) SetName(v string) *RuleGroupsNamespaceDescription
SetName sets the Name field's value.
func (*RuleGroupsNamespaceDescription) SetStatus ¶
func (s *RuleGroupsNamespaceDescription) SetStatus(v *RuleGroupsNamespaceStatus) *RuleGroupsNamespaceDescription
SetStatus sets the Status field's value.
func (*RuleGroupsNamespaceDescription) SetTags ¶
func (s *RuleGroupsNamespaceDescription) SetTags(v map[string]*string) *RuleGroupsNamespaceDescription
SetTags sets the Tags field's value.
func (RuleGroupsNamespaceDescription) String ¶
func (s RuleGroupsNamespaceDescription) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RuleGroupsNamespaceStatus ¶
type RuleGroupsNamespaceStatus struct { // Status code of this namespace. // // StatusCode is a required field StatusCode *string `locationName:"statusCode" type:"string" required:"true" enum:"RuleGroupsNamespaceStatusCode"` // The reason for failure if any. StatusReason *string `locationName:"statusReason" type:"string"` // contains filtered or unexported fields }
Represents the status of a namespace.
func (RuleGroupsNamespaceStatus) GoString ¶
func (s RuleGroupsNamespaceStatus) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RuleGroupsNamespaceStatus) SetStatusCode ¶
func (s *RuleGroupsNamespaceStatus) SetStatusCode(v string) *RuleGroupsNamespaceStatus
SetStatusCode sets the StatusCode field's value.
func (*RuleGroupsNamespaceStatus) SetStatusReason ¶
func (s *RuleGroupsNamespaceStatus) SetStatusReason(v string) *RuleGroupsNamespaceStatus
SetStatusReason sets the StatusReason field's value.
func (RuleGroupsNamespaceStatus) String ¶
func (s RuleGroupsNamespaceStatus) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RuleGroupsNamespaceSummary ¶
type RuleGroupsNamespaceSummary struct { // The Amazon Resource Name (ARN) of this rule groups namespace. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // The time when the rule groups namespace was created. // // CreatedAt is a required field CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"` // The time when the rule groups namespace was modified. // // ModifiedAt is a required field ModifiedAt *time.Time `locationName:"modifiedAt" type:"timestamp" required:"true"` // The rule groups namespace name. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The status of rule groups namespace. // // Status is a required field Status *RuleGroupsNamespaceStatus `locationName:"status" type:"structure" required:"true"` // The tags of this rule groups namespace. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
Represents a summary of the rule groups namespace.
func (RuleGroupsNamespaceSummary) GoString ¶
func (s RuleGroupsNamespaceSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RuleGroupsNamespaceSummary) SetArn ¶
func (s *RuleGroupsNamespaceSummary) SetArn(v string) *RuleGroupsNamespaceSummary
SetArn sets the Arn field's value.
func (*RuleGroupsNamespaceSummary) SetCreatedAt ¶
func (s *RuleGroupsNamespaceSummary) SetCreatedAt(v time.Time) *RuleGroupsNamespaceSummary
SetCreatedAt sets the CreatedAt field's value.
func (*RuleGroupsNamespaceSummary) SetModifiedAt ¶
func (s *RuleGroupsNamespaceSummary) SetModifiedAt(v time.Time) *RuleGroupsNamespaceSummary
SetModifiedAt sets the ModifiedAt field's value.
func (*RuleGroupsNamespaceSummary) SetName ¶
func (s *RuleGroupsNamespaceSummary) SetName(v string) *RuleGroupsNamespaceSummary
SetName sets the Name field's value.
func (*RuleGroupsNamespaceSummary) SetStatus ¶
func (s *RuleGroupsNamespaceSummary) SetStatus(v *RuleGroupsNamespaceStatus) *RuleGroupsNamespaceSummary
SetStatus sets the Status field's value.
func (*RuleGroupsNamespaceSummary) SetTags ¶
func (s *RuleGroupsNamespaceSummary) SetTags(v map[string]*string) *RuleGroupsNamespaceSummary
SetTags sets the Tags field's value.
func (RuleGroupsNamespaceSummary) String ¶
func (s RuleGroupsNamespaceSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ScrapeConfiguration ¶
type ScrapeConfiguration struct { // Binary data representing a Prometheus configuration file. // ConfigurationBlob is automatically base64 encoded/decoded by the SDK. ConfigurationBlob []byte `locationName:"configurationBlob" type:"blob"` // contains filtered or unexported fields }
A representation of a Prometheus configuration file.
func (ScrapeConfiguration) GoString ¶
func (s ScrapeConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ScrapeConfiguration) SetConfigurationBlob ¶
func (s *ScrapeConfiguration) SetConfigurationBlob(v []byte) *ScrapeConfiguration
SetConfigurationBlob sets the ConfigurationBlob field's value.
func (ScrapeConfiguration) String ¶
func (s ScrapeConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ScraperDescription ¶
type ScraperDescription struct { // Alias of this scraper. Alias *string `locationName:"alias" min:"1" type:"string"` // The Amazon Resource Name (ARN) of this scraper. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // The time when the scraper was created. // // CreatedAt is a required field CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"` // The destination that the scraper is producing metrics to. // // Destination is a required field Destination *Destination `locationName:"destination" type:"structure" required:"true"` // The time when the scraper was last modified. // // LastModifiedAt is a required field LastModifiedAt *time.Time `locationName:"lastModifiedAt" type:"timestamp" required:"true"` // The Amazon Resource Name (ARN) of the IAM role that provides permissions // for the scraper to dsicover, collect, and produce metrics on your behalf. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` // The configuration used to create the scraper. // // ScrapeConfiguration is a required field ScrapeConfiguration *ScrapeConfiguration `locationName:"scrapeConfiguration" type:"structure" required:"true"` // Unique string identifying this scraper. // // ScraperId is a required field ScraperId *string `locationName:"scraperId" min:"1" type:"string" required:"true"` // The source that the scraper is discovering and collecting metrics from. // // Source is a required field Source *Source `locationName:"source" type:"structure" required:"true"` // The status of this scraper. // // Status is a required field Status *ScraperStatus `locationName:"status" type:"structure" required:"true"` // The reason for failure if any. StatusReason *string `locationName:"statusReason" min:"1" type:"string"` // The tags of this scraper. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
Represents the properties of a scraper.
func (ScraperDescription) GoString ¶
func (s ScraperDescription) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ScraperDescription) SetAlias ¶
func (s *ScraperDescription) SetAlias(v string) *ScraperDescription
SetAlias sets the Alias field's value.
func (*ScraperDescription) SetArn ¶
func (s *ScraperDescription) SetArn(v string) *ScraperDescription
SetArn sets the Arn field's value.
func (*ScraperDescription) SetCreatedAt ¶
func (s *ScraperDescription) SetCreatedAt(v time.Time) *ScraperDescription
SetCreatedAt sets the CreatedAt field's value.
func (*ScraperDescription) SetDestination ¶
func (s *ScraperDescription) SetDestination(v *Destination) *ScraperDescription
SetDestination sets the Destination field's value.
func (*ScraperDescription) SetLastModifiedAt ¶
func (s *ScraperDescription) SetLastModifiedAt(v time.Time) *ScraperDescription
SetLastModifiedAt sets the LastModifiedAt field's value.
func (*ScraperDescription) SetRoleArn ¶
func (s *ScraperDescription) SetRoleArn(v string) *ScraperDescription
SetRoleArn sets the RoleArn field's value.
func (*ScraperDescription) SetScrapeConfiguration ¶
func (s *ScraperDescription) SetScrapeConfiguration(v *ScrapeConfiguration) *ScraperDescription
SetScrapeConfiguration sets the ScrapeConfiguration field's value.
func (*ScraperDescription) SetScraperId ¶
func (s *ScraperDescription) SetScraperId(v string) *ScraperDescription
SetScraperId sets the ScraperId field's value.
func (*ScraperDescription) SetSource ¶
func (s *ScraperDescription) SetSource(v *Source) *ScraperDescription
SetSource sets the Source field's value.
func (*ScraperDescription) SetStatus ¶
func (s *ScraperDescription) SetStatus(v *ScraperStatus) *ScraperDescription
SetStatus sets the Status field's value.
func (*ScraperDescription) SetStatusReason ¶
func (s *ScraperDescription) SetStatusReason(v string) *ScraperDescription
SetStatusReason sets the StatusReason field's value.
func (*ScraperDescription) SetTags ¶
func (s *ScraperDescription) SetTags(v map[string]*string) *ScraperDescription
SetTags sets the Tags field's value.
func (ScraperDescription) String ¶
func (s ScraperDescription) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ScraperStatus ¶
type ScraperStatus struct { // Status code of this scraper. // // StatusCode is a required field StatusCode *string `locationName:"statusCode" type:"string" required:"true" enum:"ScraperStatusCode"` // contains filtered or unexported fields }
Represents the status of a scraper.
func (ScraperStatus) GoString ¶
func (s ScraperStatus) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ScraperStatus) SetStatusCode ¶
func (s *ScraperStatus) SetStatusCode(v string) *ScraperStatus
SetStatusCode sets the StatusCode field's value.
func (ScraperStatus) String ¶
func (s ScraperStatus) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ScraperSummary ¶
type ScraperSummary struct { // Alias of this scraper. Alias *string `locationName:"alias" min:"1" type:"string"` // The Amazon Resource Name (ARN) of this scraper. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // The time when the scraper was created. // // CreatedAt is a required field CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"` // The destination that the scraper is producing metrics to. // // Destination is a required field Destination *Destination `locationName:"destination" type:"structure" required:"true"` // The time when the scraper was last modified. // // LastModifiedAt is a required field LastModifiedAt *time.Time `locationName:"lastModifiedAt" type:"timestamp" required:"true"` // The Amazon Resource Name (ARN) of the IAM role that provides permissions // for the scraper to dsicover, collect, and produce metrics on your behalf. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` // Unique string identifying this scraper. // // ScraperId is a required field ScraperId *string `locationName:"scraperId" min:"1" type:"string" required:"true"` // The source that the scraper is discovering and collecting metrics from. // // Source is a required field Source *Source `locationName:"source" type:"structure" required:"true"` // The status of this scraper. // // Status is a required field Status *ScraperStatus `locationName:"status" type:"structure" required:"true"` // The reason for failure if any. StatusReason *string `locationName:"statusReason" min:"1" type:"string"` // The tags of this scraper. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
Represents a summary of the properties of a scraper.
func (ScraperSummary) GoString ¶
func (s ScraperSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ScraperSummary) SetAlias ¶
func (s *ScraperSummary) SetAlias(v string) *ScraperSummary
SetAlias sets the Alias field's value.
func (*ScraperSummary) SetArn ¶
func (s *ScraperSummary) SetArn(v string) *ScraperSummary
SetArn sets the Arn field's value.
func (*ScraperSummary) SetCreatedAt ¶
func (s *ScraperSummary) SetCreatedAt(v time.Time) *ScraperSummary
SetCreatedAt sets the CreatedAt field's value.
func (*ScraperSummary) SetDestination ¶
func (s *ScraperSummary) SetDestination(v *Destination) *ScraperSummary
SetDestination sets the Destination field's value.
func (*ScraperSummary) SetLastModifiedAt ¶
func (s *ScraperSummary) SetLastModifiedAt(v time.Time) *ScraperSummary
SetLastModifiedAt sets the LastModifiedAt field's value.
func (*ScraperSummary) SetRoleArn ¶
func (s *ScraperSummary) SetRoleArn(v string) *ScraperSummary
SetRoleArn sets the RoleArn field's value.
func (*ScraperSummary) SetScraperId ¶
func (s *ScraperSummary) SetScraperId(v string) *ScraperSummary
SetScraperId sets the ScraperId field's value.
func (*ScraperSummary) SetSource ¶
func (s *ScraperSummary) SetSource(v *Source) *ScraperSummary
SetSource sets the Source field's value.
func (*ScraperSummary) SetStatus ¶
func (s *ScraperSummary) SetStatus(v *ScraperStatus) *ScraperSummary
SetStatus sets the Status field's value.
func (*ScraperSummary) SetStatusReason ¶
func (s *ScraperSummary) SetStatusReason(v string) *ScraperSummary
SetStatusReason sets the StatusReason field's value.
func (*ScraperSummary) SetTags ¶
func (s *ScraperSummary) SetTags(v map[string]*string) *ScraperSummary
SetTags sets the Tags field's value.
func (ScraperSummary) String ¶
func (s ScraperSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ServiceQuotaExceededException ¶
type ServiceQuotaExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // Description of the error. Message_ *string `locationName:"message" type:"string"` // Service Quotas requirement to identify originating quota. // // QuotaCode is a required field QuotaCode *string `locationName:"quotaCode" type:"string" required:"true"` // Identifier of the resource affected. // // ResourceId is a required field ResourceId *string `locationName:"resourceId" type:"string" required:"true"` // Type of the resource affected. // // ResourceType is a required field ResourceType *string `locationName:"resourceType" type:"string" required:"true"` // Service Quotas requirement to identify originating service. // // ServiceCode is a required field ServiceCode *string `locationName:"serviceCode" type:"string" required:"true"` // contains filtered or unexported fields }
Request would cause a service quota to be exceeded.
func (*ServiceQuotaExceededException) Code ¶
func (s *ServiceQuotaExceededException) Code() string
Code returns the exception type name.
func (*ServiceQuotaExceededException) Error ¶
func (s *ServiceQuotaExceededException) Error() string
func (ServiceQuotaExceededException) GoString ¶
func (s ServiceQuotaExceededException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ServiceQuotaExceededException) Message ¶
func (s *ServiceQuotaExceededException) Message() string
Message returns the exception's message.
func (*ServiceQuotaExceededException) OrigErr ¶
func (s *ServiceQuotaExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ServiceQuotaExceededException) RequestID ¶
func (s *ServiceQuotaExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ServiceQuotaExceededException) StatusCode ¶
func (s *ServiceQuotaExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ServiceQuotaExceededException) String ¶
func (s ServiceQuotaExceededException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Source ¶
type Source struct { // A representation of an EKS source. EksConfiguration *EksConfiguration `locationName:"eksConfiguration" type:"structure"` // contains filtered or unexported fields }
A representation of a source that a scraper can discover and collect metrics from.
func (Source) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Source) SetEksConfiguration ¶
func (s *Source) SetEksConfiguration(v *EksConfiguration) *Source
SetEksConfiguration sets the EksConfiguration field's value.
type TagResourceInput ¶
type TagResourceInput struct { // The ARN of the resource. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` // The list of tags assigned to the resource. // // Tags is a required field Tags map[string]*string `locationName:"tags" type:"map" required:"true"` // contains filtered or unexported fields }
func (TagResourceInput) GoString ¶
func (s TagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TagResourceInput) SetResourceArn ¶
func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*TagResourceInput) SetTags ¶
func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput
SetTags sets the Tags field's value.
func (TagResourceInput) String ¶
func (s TagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TagResourceInput) Validate ¶
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput ¶
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (TagResourceOutput) GoString ¶
func (s TagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (TagResourceOutput) String ¶
func (s TagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ThrottlingException ¶
type ThrottlingException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // Description of the error. Message_ *string `locationName:"message" type:"string"` // Service Quotas requirement to identify originating quota. QuotaCode *string `locationName:"quotaCode" type:"string"` // Advice to clients on when the call can be safely retried. RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"integer"` // Service Quotas requirement to identify originating service. ServiceCode *string `locationName:"serviceCode" type:"string"` // contains filtered or unexported fields }
Request was denied due to request throttling.
func (*ThrottlingException) Code ¶
func (s *ThrottlingException) Code() string
Code returns the exception type name.
func (*ThrottlingException) Error ¶
func (s *ThrottlingException) Error() string
func (ThrottlingException) GoString ¶
func (s ThrottlingException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ThrottlingException) Message ¶
func (s *ThrottlingException) Message() string
Message returns the exception's message.
func (*ThrottlingException) OrigErr ¶
func (s *ThrottlingException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ThrottlingException) RequestID ¶
func (s *ThrottlingException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ThrottlingException) StatusCode ¶
func (s *ThrottlingException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ThrottlingException) String ¶
func (s ThrottlingException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UntagResourceInput ¶
type UntagResourceInput struct { // The ARN of the resource. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` // One or more tag keys // // TagKeys is a required field TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"` // contains filtered or unexported fields }
func (UntagResourceInput) GoString ¶
func (s UntagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UntagResourceInput) SetResourceArn ¶
func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*UntagResourceInput) SetTagKeys ¶
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
SetTagKeys sets the TagKeys field's value.
func (UntagResourceInput) String ¶
func (s UntagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UntagResourceInput) Validate ¶
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput ¶
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (UntagResourceOutput) GoString ¶
func (s UntagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (UntagResourceOutput) String ¶
func (s UntagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateLoggingConfigurationInput ¶
type UpdateLoggingConfigurationInput struct { // Optional, unique, case-sensitive, user-provided identifier to ensure the // idempotency of the request. ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` // The ARN of the CW log group to which the vended log data will be published. // // LogGroupArn is a required field LogGroupArn *string `locationName:"logGroupArn" type:"string" required:"true"` // The ID of the workspace to vend logs to. // // WorkspaceId is a required field WorkspaceId *string `location:"uri" locationName:"workspaceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of an UpdateLoggingConfiguration operation.
func (UpdateLoggingConfigurationInput) GoString ¶
func (s UpdateLoggingConfigurationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateLoggingConfigurationInput) SetClientToken ¶
func (s *UpdateLoggingConfigurationInput) SetClientToken(v string) *UpdateLoggingConfigurationInput
SetClientToken sets the ClientToken field's value.
func (*UpdateLoggingConfigurationInput) SetLogGroupArn ¶
func (s *UpdateLoggingConfigurationInput) SetLogGroupArn(v string) *UpdateLoggingConfigurationInput
SetLogGroupArn sets the LogGroupArn field's value.
func (*UpdateLoggingConfigurationInput) SetWorkspaceId ¶
func (s *UpdateLoggingConfigurationInput) SetWorkspaceId(v string) *UpdateLoggingConfigurationInput
SetWorkspaceId sets the WorkspaceId field's value.
func (UpdateLoggingConfigurationInput) String ¶
func (s UpdateLoggingConfigurationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateLoggingConfigurationInput) Validate ¶
func (s *UpdateLoggingConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateLoggingConfigurationOutput ¶
type UpdateLoggingConfigurationOutput struct { // The status of the logging configuration. // // Status is a required field Status *LoggingConfigurationStatus `locationName:"status" type:"structure" required:"true"` // contains filtered or unexported fields }
Represents the output of an UpdateLoggingConfiguration operation.
func (UpdateLoggingConfigurationOutput) GoString ¶
func (s UpdateLoggingConfigurationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateLoggingConfigurationOutput) SetStatus ¶
func (s *UpdateLoggingConfigurationOutput) SetStatus(v *LoggingConfigurationStatus) *UpdateLoggingConfigurationOutput
SetStatus sets the Status field's value.
func (UpdateLoggingConfigurationOutput) String ¶
func (s UpdateLoggingConfigurationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateWorkspaceAliasInput ¶
type UpdateWorkspaceAliasInput struct { // The new alias of the workspace. Alias *string `locationName:"alias" min:"1" type:"string"` // Optional, unique, case-sensitive, user-provided identifier to ensure the // idempotency of the request. ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` // The ID of the workspace being updated. // // WorkspaceId is a required field WorkspaceId *string `location:"uri" locationName:"workspaceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the input of an UpdateWorkspaceAlias operation.
func (UpdateWorkspaceAliasInput) GoString ¶
func (s UpdateWorkspaceAliasInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateWorkspaceAliasInput) SetAlias ¶
func (s *UpdateWorkspaceAliasInput) SetAlias(v string) *UpdateWorkspaceAliasInput
SetAlias sets the Alias field's value.
func (*UpdateWorkspaceAliasInput) SetClientToken ¶
func (s *UpdateWorkspaceAliasInput) SetClientToken(v string) *UpdateWorkspaceAliasInput
SetClientToken sets the ClientToken field's value.
func (*UpdateWorkspaceAliasInput) SetWorkspaceId ¶
func (s *UpdateWorkspaceAliasInput) SetWorkspaceId(v string) *UpdateWorkspaceAliasInput
SetWorkspaceId sets the WorkspaceId field's value.
func (UpdateWorkspaceAliasInput) String ¶
func (s UpdateWorkspaceAliasInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateWorkspaceAliasInput) Validate ¶
func (s *UpdateWorkspaceAliasInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateWorkspaceAliasOutput ¶
type UpdateWorkspaceAliasOutput struct {
// contains filtered or unexported fields
}
func (UpdateWorkspaceAliasOutput) GoString ¶
func (s UpdateWorkspaceAliasOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (UpdateWorkspaceAliasOutput) String ¶
func (s UpdateWorkspaceAliasOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ValidationException ¶
type ValidationException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The field that caused the error, if applicable. If more than one field caused // the error, pick one and elaborate in the message. FieldList []*ValidationExceptionField `locationName:"fieldList" type:"list"` // Description of the error. Message_ *string `locationName:"message" type:"string"` // Reason the request failed validation. // // Reason is a required field Reason *string `locationName:"reason" type:"string" required:"true" enum:"ValidationExceptionReason"` // contains filtered or unexported fields }
The input fails to satisfy the constraints specified by an AWS service.
func (*ValidationException) Code ¶
func (s *ValidationException) Code() string
Code returns the exception type name.
func (*ValidationException) Error ¶
func (s *ValidationException) Error() string
func (ValidationException) GoString ¶
func (s ValidationException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ValidationException) Message ¶
func (s *ValidationException) Message() string
Message returns the exception's message.
func (*ValidationException) OrigErr ¶
func (s *ValidationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ValidationException) RequestID ¶
func (s *ValidationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ValidationException) StatusCode ¶
func (s *ValidationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ValidationException) String ¶
func (s ValidationException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ValidationExceptionField ¶
type ValidationExceptionField struct { // Message describing why the field failed validation. // // Message is a required field Message *string `locationName:"message" type:"string" required:"true"` // The field name. // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // contains filtered or unexported fields }
Stores information about a field passed inside a request that resulted in an exception.
func (ValidationExceptionField) GoString ¶
func (s ValidationExceptionField) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ValidationExceptionField) SetMessage ¶
func (s *ValidationExceptionField) SetMessage(v string) *ValidationExceptionField
SetMessage sets the Message field's value.
func (*ValidationExceptionField) SetName ¶
func (s *ValidationExceptionField) SetName(v string) *ValidationExceptionField
SetName sets the Name field's value.
func (ValidationExceptionField) String ¶
func (s ValidationExceptionField) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type WorkspaceDescription ¶
type WorkspaceDescription struct { // Alias of this workspace. Alias *string `locationName:"alias" min:"1" type:"string"` // The Amazon Resource Name (ARN) of this workspace. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // The time when the workspace was created. // // CreatedAt is a required field CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"` // The customer managed KMS key of this workspace. KmsKeyArn *string `locationName:"kmsKeyArn" min:"20" type:"string"` // Prometheus endpoint URI. PrometheusEndpoint *string `locationName:"prometheusEndpoint" min:"1" type:"string"` // The status of this workspace. // // Status is a required field Status *WorkspaceStatus `locationName:"status" type:"structure" required:"true"` // The tags of this workspace. Tags map[string]*string `locationName:"tags" type:"map"` // Unique string identifying this workspace. // // WorkspaceId is a required field WorkspaceId *string `locationName:"workspaceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents the properties of a workspace.
func (WorkspaceDescription) GoString ¶
func (s WorkspaceDescription) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*WorkspaceDescription) SetAlias ¶
func (s *WorkspaceDescription) SetAlias(v string) *WorkspaceDescription
SetAlias sets the Alias field's value.
func (*WorkspaceDescription) SetArn ¶
func (s *WorkspaceDescription) SetArn(v string) *WorkspaceDescription
SetArn sets the Arn field's value.
func (*WorkspaceDescription) SetCreatedAt ¶
func (s *WorkspaceDescription) SetCreatedAt(v time.Time) *WorkspaceDescription
SetCreatedAt sets the CreatedAt field's value.
func (*WorkspaceDescription) SetKmsKeyArn ¶
func (s *WorkspaceDescription) SetKmsKeyArn(v string) *WorkspaceDescription
SetKmsKeyArn sets the KmsKeyArn field's value.
func (*WorkspaceDescription) SetPrometheusEndpoint ¶
func (s *WorkspaceDescription) SetPrometheusEndpoint(v string) *WorkspaceDescription
SetPrometheusEndpoint sets the PrometheusEndpoint field's value.
func (*WorkspaceDescription) SetStatus ¶
func (s *WorkspaceDescription) SetStatus(v *WorkspaceStatus) *WorkspaceDescription
SetStatus sets the Status field's value.
func (*WorkspaceDescription) SetTags ¶
func (s *WorkspaceDescription) SetTags(v map[string]*string) *WorkspaceDescription
SetTags sets the Tags field's value.
func (*WorkspaceDescription) SetWorkspaceId ¶
func (s *WorkspaceDescription) SetWorkspaceId(v string) *WorkspaceDescription
SetWorkspaceId sets the WorkspaceId field's value.
func (WorkspaceDescription) String ¶
func (s WorkspaceDescription) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type WorkspaceStatus ¶
type WorkspaceStatus struct { // Status code of this workspace. // // StatusCode is a required field StatusCode *string `locationName:"statusCode" type:"string" required:"true" enum:"WorkspaceStatusCode"` // contains filtered or unexported fields }
Represents the status of a workspace.
func (WorkspaceStatus) GoString ¶
func (s WorkspaceStatus) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*WorkspaceStatus) SetStatusCode ¶
func (s *WorkspaceStatus) SetStatusCode(v string) *WorkspaceStatus
SetStatusCode sets the StatusCode field's value.
func (WorkspaceStatus) String ¶
func (s WorkspaceStatus) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type WorkspaceSummary ¶
type WorkspaceSummary struct { // Alias of this workspace. Alias *string `locationName:"alias" min:"1" type:"string"` // The AmazonResourceName of this workspace. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // The time when the workspace was created. // // CreatedAt is a required field CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"` // Customer managed KMS key ARN for this workspace KmsKeyArn *string `locationName:"kmsKeyArn" min:"20" type:"string"` // The status of this workspace. // // Status is a required field Status *WorkspaceStatus `locationName:"status" type:"structure" required:"true"` // The tags of this workspace. Tags map[string]*string `locationName:"tags" type:"map"` // Unique string identifying this workspace. // // WorkspaceId is a required field WorkspaceId *string `locationName:"workspaceId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Represents a summary of the properties of a workspace.
func (WorkspaceSummary) GoString ¶
func (s WorkspaceSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*WorkspaceSummary) SetAlias ¶
func (s *WorkspaceSummary) SetAlias(v string) *WorkspaceSummary
SetAlias sets the Alias field's value.
func (*WorkspaceSummary) SetArn ¶
func (s *WorkspaceSummary) SetArn(v string) *WorkspaceSummary
SetArn sets the Arn field's value.
func (*WorkspaceSummary) SetCreatedAt ¶
func (s *WorkspaceSummary) SetCreatedAt(v time.Time) *WorkspaceSummary
SetCreatedAt sets the CreatedAt field's value.
func (*WorkspaceSummary) SetKmsKeyArn ¶
func (s *WorkspaceSummary) SetKmsKeyArn(v string) *WorkspaceSummary
SetKmsKeyArn sets the KmsKeyArn field's value.
func (*WorkspaceSummary) SetStatus ¶
func (s *WorkspaceSummary) SetStatus(v *WorkspaceStatus) *WorkspaceSummary
SetStatus sets the Status field's value.
func (*WorkspaceSummary) SetTags ¶
func (s *WorkspaceSummary) SetTags(v map[string]*string) *WorkspaceSummary
SetTags sets the Tags field's value.
func (*WorkspaceSummary) SetWorkspaceId ¶
func (s *WorkspaceSummary) SetWorkspaceId(v string) *WorkspaceSummary
SetWorkspaceId sets the WorkspaceId field's value.
func (WorkspaceSummary) String ¶
func (s WorkspaceSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
Directories ¶
Path | Synopsis |
---|---|
Package prometheusserviceiface provides an interface to enable mocking the Amazon Prometheus Service service client for testing your code.
|
Package prometheusserviceiface provides an interface to enable mocking the Amazon Prometheus Service service client for testing your code. |