Documentation
¶
Index ¶
- type AccessDeniedException
- type ConflictException
- type DestinationType
- type InternalServerException
- type ResourceNotFoundException
- type ResourceType
- type ServiceQuotaExceededException
- type Status
- type TelemetryConfiguration
- type TelemetryDestinationConfiguration
- type TelemetryRule
- type TelemetryRuleSummary
- type TelemetryState
- type TelemetryType
- type TooManyRequestsException
- type VPCFlowLogParameters
- type ValidationException
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessDeniedException ¶
type AccessDeniedException struct { Message *string ErrorCodeOverride *string AmznErrorType *string // contains filtered or unexported fields }
Indicates you don't have permissions to perform the requested operation. The
user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
func (*AccessDeniedException) Error ¶
func (e *AccessDeniedException) Error() string
func (*AccessDeniedException) ErrorCode ¶
func (e *AccessDeniedException) ErrorCode() string
func (*AccessDeniedException) ErrorFault ¶
func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault
func (*AccessDeniedException) ErrorMessage ¶
func (e *AccessDeniedException) ErrorMessage() string
type ConflictException ¶ added in v1.3.0
type ConflictException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The requested operation conflicts with the current state of the specified
resource or with another request.
func (*ConflictException) Error ¶ added in v1.3.0
func (e *ConflictException) Error() string
func (*ConflictException) ErrorCode ¶ added in v1.3.0
func (e *ConflictException) ErrorCode() string
func (*ConflictException) ErrorFault ¶ added in v1.3.0
func (e *ConflictException) ErrorFault() smithy.ErrorFault
func (*ConflictException) ErrorMessage ¶ added in v1.3.0
func (e *ConflictException) ErrorMessage() string
type DestinationType ¶ added in v1.3.0
type DestinationType string
const (
DestinationTypeCloudwatchLogs DestinationType = "cloud-watch-logs"
)
Enum values for DestinationType
func (DestinationType) Values ¶ added in v1.3.0
func (DestinationType) Values() []DestinationType
Values returns all known values for DestinationType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type InternalServerException ¶
type InternalServerException struct { Message *string ErrorCodeOverride *string AmznErrorType *string // contains filtered or unexported fields }
Indicates the request has failed to process because of an unknown server
error, exception, or failure.
func (*InternalServerException) Error ¶
func (e *InternalServerException) Error() string
func (*InternalServerException) ErrorCode ¶
func (e *InternalServerException) ErrorCode() string
func (*InternalServerException) ErrorFault ¶
func (e *InternalServerException) ErrorFault() smithy.ErrorFault
func (*InternalServerException) ErrorMessage ¶
func (e *InternalServerException) ErrorMessage() string
type ResourceNotFoundException ¶ added in v1.3.0
type ResourceNotFoundException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The specified resource (such as a telemetry rule) could not be found.
func (*ResourceNotFoundException) Error ¶ added in v1.3.0
func (e *ResourceNotFoundException) Error() string
func (*ResourceNotFoundException) ErrorCode ¶ added in v1.3.0
func (e *ResourceNotFoundException) ErrorCode() string
func (*ResourceNotFoundException) ErrorFault ¶ added in v1.3.0
func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
func (*ResourceNotFoundException) ErrorMessage ¶ added in v1.3.0
func (e *ResourceNotFoundException) ErrorMessage() string
type ResourceType ¶
type ResourceType string
const ( ResourceTypeAwsEc2Instance ResourceType = "AWS::EC2::Instance" ResourceTypeAwsEc2Vpc ResourceType = "AWS::EC2::VPC" ResourceTypeAwsLamdbaFunction ResourceType = "AWS::Lambda::Function" )
Enum values for ResourceType
func (ResourceType) Values ¶
func (ResourceType) Values() []ResourceType
Values returns all known values for ResourceType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ServiceQuotaExceededException ¶ added in v1.3.0
type ServiceQuotaExceededException struct { Message *string ErrorCodeOverride *string AmznErrorType *string // contains filtered or unexported fields }
The requested operation would exceed the allowed quota for the specified
resource type.
func (*ServiceQuotaExceededException) Error ¶ added in v1.3.0
func (e *ServiceQuotaExceededException) Error() string
func (*ServiceQuotaExceededException) ErrorCode ¶ added in v1.3.0
func (e *ServiceQuotaExceededException) ErrorCode() string
func (*ServiceQuotaExceededException) ErrorFault ¶ added in v1.3.0
func (e *ServiceQuotaExceededException) ErrorFault() smithy.ErrorFault
func (*ServiceQuotaExceededException) ErrorMessage ¶ added in v1.3.0
func (e *ServiceQuotaExceededException) ErrorMessage() string
type Status ¶
type Status string
type TelemetryConfiguration ¶
type TelemetryConfiguration struct { // The account ID which contains the resource managed in telemetry configuration. // An example of a valid account ID is 012345678901 . AccountIdentifier *string // The timestamp of the last change to the telemetry configuration for the // resource. For example, 1728679196318 . LastUpdateTimeStamp *int64 // The identifier of the resource, for example i-0b22a22eec53b9321 . ResourceIdentifier *string // Tags associated with the resource, for example { Name: "ExampleInstance", // Environment: "Development" } . ResourceTags map[string]string // The type of resource, for example Amazon Web Services::EC2::Instance . ResourceType ResourceType // The configuration state for the resource, for example { Logs: NotApplicable; // Metrics: Enabled; Traces: NotApplicable; } . TelemetryConfigurationState map[string]TelemetryState // contains filtered or unexported fields }
A model representing the state of a resource within an account according to
telemetry config.
type TelemetryDestinationConfiguration ¶ added in v1.3.0
type TelemetryDestinationConfiguration struct { // The pattern used to generate the destination path or name, supporting macros // like <resourceId> and <accountId>. DestinationPattern *string // The type of destination for the telemetry data (e.g., "Amazon CloudWatch // Logs", "S3"). DestinationType DestinationType // The number of days to retain the telemetry data in the destination. RetentionInDays *int32 // Configuration parameters specific to VPC Flow Logs when VPC is the resource // type. VPCFlowLogParameters *VPCFlowLogParameters // contains filtered or unexported fields }
Configuration specifying where and how telemetry data should be delivered for
Amazon Web Services resources.
type TelemetryRule ¶ added in v1.3.0
type TelemetryRule struct { // The type of telemetry to collect (Logs, Metrics, or Traces). // // This member is required. TelemetryType TelemetryType // Configuration specifying where and how the telemetry data should be delivered. DestinationConfiguration *TelemetryDestinationConfiguration // The type of Amazon Web Services resource to configure telemetry for (e.g., // "AWS::EC2::VPC"). ResourceType ResourceType // The organizational scope to which the rule applies, specified using accounts // or organizational units. Scope *string // Criteria for selecting which resources the rule applies to, such as resource // tags. SelectionCriteria *string // contains filtered or unexported fields }
Defines how telemetry should be configured for specific Amazon Web Services
resources.
type TelemetryRuleSummary ¶ added in v1.3.0
type TelemetryRuleSummary struct { // The timestamp when the telemetry rule was created. CreatedTimeStamp *int64 // The timestamp when the telemetry rule was last modified. LastUpdateTimeStamp *int64 // The type of Amazon Web Services resource the rule applies to. ResourceType ResourceType // The Amazon Resource Name (ARN) of the telemetry rule. RuleArn *string // The name of the telemetry rule. RuleName *string // The type of telemetry (Logs, Metrics, or Traces) the rule configures. TelemetryType TelemetryType // contains filtered or unexported fields }
A summary of a telemetry rule's key properties.
type TelemetryState ¶
type TelemetryState string
const ( TelemetryStateEnabled TelemetryState = "Enabled" TelemetryStateDisabled TelemetryState = "Disabled" TelemetryStateNotApplicable TelemetryState = "NotApplicable" )
Enum values for TelemetryState
func (TelemetryState) Values ¶
func (TelemetryState) Values() []TelemetryState
Values returns all known values for TelemetryState. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type TelemetryType ¶
type TelemetryType string
const ( TelemetryTypeLogs TelemetryType = "Logs" TelemetryTypeMetrics TelemetryType = "Metrics" TelemetryTypeTraces TelemetryType = "Traces" )
Enum values for TelemetryType
func (TelemetryType) Values ¶
func (TelemetryType) Values() []TelemetryType
Values returns all known values for TelemetryType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type TooManyRequestsException ¶ added in v1.3.0
type TooManyRequestsException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The request throughput limit was exceeded.
func (*TooManyRequestsException) Error ¶ added in v1.3.0
func (e *TooManyRequestsException) Error() string
func (*TooManyRequestsException) ErrorCode ¶ added in v1.3.0
func (e *TooManyRequestsException) ErrorCode() string
func (*TooManyRequestsException) ErrorFault ¶ added in v1.3.0
func (e *TooManyRequestsException) ErrorFault() smithy.ErrorFault
func (*TooManyRequestsException) ErrorMessage ¶ added in v1.3.0
func (e *TooManyRequestsException) ErrorMessage() string
type VPCFlowLogParameters ¶ added in v1.3.0
type VPCFlowLogParameters struct { // The format in which VPC Flow Log entries should be logged. LogFormat *string // The maximum interval in seconds between the capture of flow log records. MaxAggregationInterval *int32 // The type of traffic to log (ACCEPT, REJECT, or ALL). TrafficType *string // contains filtered or unexported fields }
Configuration parameters specific to VPC Flow Logs.
type ValidationException ¶
type ValidationException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
Indicates input validation failed. Check your request parameters and retry the
request.
func (*ValidationException) Error ¶
func (e *ValidationException) Error() string
func (*ValidationException) ErrorCode ¶
func (e *ValidationException) ErrorCode() string
func (*ValidationException) ErrorFault ¶
func (e *ValidationException) ErrorFault() smithy.ErrorFault
func (*ValidationException) ErrorMessage ¶
func (e *ValidationException) ErrorMessage() string