types

package
v1.21.4 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 3 Imported by: 28

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComplianceDetails

type ComplianceDetails struct {

	// Whether a resource is compliant with the effective tag policy.
	ComplianceStatus *bool

	// These are keys defined in the effective policy that are on the resource with
	// either incorrect case treatment or noncompliant values.
	KeysWithNoncompliantValues []string

	// These tag keys on the resource are noncompliant with the effective tag policy.
	NoncompliantKeys []string
	// contains filtered or unexported fields
}

Information that shows whether a resource is compliant with the effective tag policy, including details on any noncompliant tag keys.

type ConcurrentModificationException

type ConcurrentModificationException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The target of the operation is currently being modified by a different request. Try again later.

func (*ConcurrentModificationException) Error

func (*ConcurrentModificationException) ErrorCode

func (e *ConcurrentModificationException) ErrorCode() string

func (*ConcurrentModificationException) ErrorFault

func (*ConcurrentModificationException) ErrorMessage

func (e *ConcurrentModificationException) ErrorMessage() string

type ConstraintViolationException

type ConstraintViolationException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The request was denied because performing this operation violates a constraint. Some of the reasons in the following list might not apply to this specific operation.

func (*ConstraintViolationException) Error

func (*ConstraintViolationException) ErrorCode

func (e *ConstraintViolationException) ErrorCode() string

func (*ConstraintViolationException) ErrorFault

func (*ConstraintViolationException) ErrorMessage

func (e *ConstraintViolationException) ErrorMessage() string

type ErrorCode

type ErrorCode string
const (
	ErrorCodeInternalServiceException  ErrorCode = "InternalServiceException"
	ErrorCodeInvalidParameterException ErrorCode = "InvalidParameterException"
)

Enum values for ErrorCode

func (ErrorCode) Values added in v0.29.0

func (ErrorCode) Values() []ErrorCode

Values returns all known values for ErrorCode. 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 FailureInfo

type FailureInfo struct {

	// The code of the common error. Valid values include InternalServiceException ,
	// InvalidParameterException , and any valid error code returned by the Amazon Web
	// Services service that hosts the resource that you want to tag.
	ErrorCode ErrorCode

	// The message of the common error.
	ErrorMessage *string

	// The HTTP status code of the common error.
	StatusCode int32
	// contains filtered or unexported fields
}

Information about the errors that are returned for each failed resource. This information can include InternalServiceException and InvalidParameterException errors. It can also include any valid error code returned by the Amazon Web Services service that hosts the resource that the ARN key represents. The following are common error codes that you might receive from other Amazon Web Services services:

For more information on errors that are generated from other Amazon Web Services services, see the documentation for that service.

type GroupByAttribute

type GroupByAttribute string
const (
	GroupByAttributeTargetId     GroupByAttribute = "TARGET_ID"
	GroupByAttributeRegion       GroupByAttribute = "REGION"
	GroupByAttributeResourceType GroupByAttribute = "RESOURCE_TYPE"
)

Enum values for GroupByAttribute

func (GroupByAttribute) Values added in v0.29.0

Values returns all known values for GroupByAttribute. 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 InternalServiceException

type InternalServiceException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The request processing failed because of an unknown error, exception, or failure. You can retry the request.

func (*InternalServiceException) Error

func (e *InternalServiceException) Error() string

func (*InternalServiceException) ErrorCode

func (e *InternalServiceException) ErrorCode() string

func (*InternalServiceException) ErrorFault

func (e *InternalServiceException) ErrorFault() smithy.ErrorFault

func (*InternalServiceException) ErrorMessage

func (e *InternalServiceException) ErrorMessage() string

type InvalidParameterException

type InvalidParameterException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

This error indicates one of the following:

func (*InvalidParameterException) Error

func (e *InvalidParameterException) Error() string

func (*InvalidParameterException) ErrorCode

func (e *InvalidParameterException) ErrorCode() string

func (*InvalidParameterException) ErrorFault

func (*InvalidParameterException) ErrorMessage

func (e *InvalidParameterException) ErrorMessage() string

type PaginationTokenExpiredException

type PaginationTokenExpiredException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

A PaginationToken is valid for a maximum of 15 minutes. Your request was denied because the specified PaginationToken has expired.

func (*PaginationTokenExpiredException) Error

func (*PaginationTokenExpiredException) ErrorCode

func (e *PaginationTokenExpiredException) ErrorCode() string

func (*PaginationTokenExpiredException) ErrorFault

func (*PaginationTokenExpiredException) ErrorMessage

func (e *PaginationTokenExpiredException) ErrorMessage() string

type ResourceTagMapping

type ResourceTagMapping struct {

	// Information that shows whether a resource is compliant with the effective tag
	// policy, including details on any noncompliant tag keys.
	ComplianceDetails *ComplianceDetails

	// The ARN of the resource.
	ResourceARN *string

	// The tags that have been applied to one or more Amazon Web Services resources.
	Tags []Tag
	// contains filtered or unexported fields
}

A list of resource ARNs and the tags (keys and values) that are associated with each.

type Summary

type Summary struct {

	// The timestamp that shows when this summary was generated in this Region.
	LastUpdated *string

	// The count of noncompliant resources.
	NonCompliantResources int64

	// The Amazon Web Services Region that the summary applies to.
	Region *string

	// The Amazon Web Services resource type.
	ResourceType *string

	// The account identifier or the root identifier of the organization. If you don't
	// know the root ID, you can call the Organizations ListRoots (https://docs.aws.amazon.com/organizations/latest/APIReference/API_ListRoots.html)
	// API.
	TargetId *string

	// Whether the target is an account, an OU, or the organization root.
	TargetIdType TargetIdType
	// contains filtered or unexported fields
}

A count of noncompliant resources.

type Tag

type Tag struct {

	// One part of a key-value pair that makes up a tag. A key is a general label that
	// acts like a category for more specific tag values.
	//
	// This member is required.
	Key *string

	// One part of a key-value pair that make up a tag. A value acts as a descriptor
	// within a tag category (key). The value can be empty or null.
	//
	// This member is required.
	Value *string
	// contains filtered or unexported fields
}

The metadata that you apply to Amazon Web Services resources to help you categorize and organize them. Each tag consists of a key and a value, both of which you define. For more information, see Tagging Amazon Web Services Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) in the Amazon Web Services General Reference.

type TagFilter

type TagFilter struct {

	// One part of a key-value pair that makes up a tag. A key is a general label that
	// acts like a category for more specific tag values.
	Key *string

	// One part of a key-value pair that make up a tag. A value acts as a descriptor
	// within a tag category (key). The value can be empty or null.
	Values []string
	// contains filtered or unexported fields
}

A list of tags (keys and values) that are used to specify the associated resources.

type TargetIdType

type TargetIdType string
const (
	TargetIdTypeAccount TargetIdType = "ACCOUNT"
	TargetIdTypeOu      TargetIdType = "OU"
	TargetIdTypeRoot    TargetIdType = "ROOT"
)

Enum values for TargetIdType

func (TargetIdType) Values added in v0.29.0

func (TargetIdType) Values() []TargetIdType

Values returns all known values for TargetIdType. 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 ThrottledException

type ThrottledException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The request was denied to limit the frequency of submitted requests.

func (*ThrottledException) Error

func (e *ThrottledException) Error() string

func (*ThrottledException) ErrorCode

func (e *ThrottledException) ErrorCode() string

func (*ThrottledException) ErrorFault

func (e *ThrottledException) ErrorFault() smithy.ErrorFault

func (*ThrottledException) ErrorMessage

func (e *ThrottledException) ErrorMessage() string

Jump to

Keyboard shortcuts

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