types

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Examples

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
	// contains filtered or unexported fields
}

You do not have sufficient access to perform this action. Access denied errors appear when Amazon Security Lake explicitly or implicitly denies an authorization request. An explicit denial occurs when a policy contains a Deny statement for the specific Amazon Web Services action. An implicit denial occurs when there is no applicable Deny statement and also no applicable Allow statement.

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 AccessType

type AccessType string
const (
	AccessTypeLakeformation AccessType = "LAKEFORMATION"
	AccessTypeS3            AccessType = "S3"
)

Enum values for AccessType

func (AccessType) Values

func (AccessType) Values() []AccessType

Values returns all known values for AccessType. 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 AccountNotFoundException

type AccountNotFoundException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Amazon Security Lake cannot find an Amazon Web Services account with the accountID that you specified, or the account whose credentials you used to make this request isn't a member of an organization.

func (*AccountNotFoundException) Error

func (e *AccountNotFoundException) Error() string

func (*AccountNotFoundException) ErrorCode

func (e *AccountNotFoundException) ErrorCode() string

func (*AccountNotFoundException) ErrorFault

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

func (*AccountNotFoundException) ErrorMessage

func (e *AccountNotFoundException) ErrorMessage() string

type AccountSources

type AccountSources struct {

	// The ID of the Security Lake account for which logs are collected.
	//
	// This member is required.
	Account *string

	// The supported Amazon Web Services from which logs and events are collected.
	// Amazon Security Lake supports log and event collection for natively supported
	// Amazon Web Services.
	//
	// This member is required.
	SourceType *string

	// Initializes a new instance of the Event class.
	EventClass OcsfEventClass

	// The log status for the Security Lake account.
	LogsStatus []LogsStatus
	// contains filtered or unexported fields
}

Amazon Security Lake collects logs and events from supported Amazon Web Services and custom sources. For the list of supported Amazon Web Services, see the Amazon Security Lake User Guide (https://docs.aws.amazon.com/security-lake/latest/userguide/internal-sources.html).

type AutoEnableNewRegionConfiguration

type AutoEnableNewRegionConfiguration struct {

	// The Amazon Web Services Regions where Security Lake is automatically enabled.
	//
	// This member is required.
	Region Region

	// The Amazon Web Services sources that are automatically enabled in Security Lake.
	//
	// This member is required.
	Sources []AwsLogSourceType
	// contains filtered or unexported fields
}

Automatically enable new organization accounts as member accounts from an Amazon Security Lake administrator account.

type AwsLogSourceType

type AwsLogSourceType string
const (
	AwsLogSourceTypeRoute53    AwsLogSourceType = "ROUTE53"
	AwsLogSourceTypeVpcFlow    AwsLogSourceType = "VPC_FLOW"
	AwsLogSourceTypeCloudTrail AwsLogSourceType = "CLOUD_TRAIL"
	AwsLogSourceTypeShFindings AwsLogSourceType = "SH_FINDINGS"
)

Enum values for AwsLogSourceType

func (AwsLogSourceType) Values

Values returns all known values for AwsLogSourceType. 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 BucketNotFoundException

type BucketNotFoundException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Amazon Security Lake generally returns 404 errors if the requested object is missing from the bucket.

func (*BucketNotFoundException) Error

func (e *BucketNotFoundException) Error() string

func (*BucketNotFoundException) ErrorCode

func (e *BucketNotFoundException) ErrorCode() string

func (*BucketNotFoundException) ErrorFault

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

func (*BucketNotFoundException) ErrorMessage

func (e *BucketNotFoundException) ErrorMessage() string

type ConcurrentModificationException

type ConcurrentModificationException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

More than one process tried to modify a resource at the same time.

func (*ConcurrentModificationException) Error

func (*ConcurrentModificationException) ErrorCode

func (e *ConcurrentModificationException) ErrorCode() string

func (*ConcurrentModificationException) ErrorFault

func (*ConcurrentModificationException) ErrorMessage

func (e *ConcurrentModificationException) ErrorMessage() string

type ConflictException

type ConflictException struct {
	Message *string

	ErrorCodeOverride *string

	ResourceId   *string
	ResourceType *string
	// contains filtered or unexported fields
}

Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.

func (*ConflictException) Error

func (e *ConflictException) Error() string

func (*ConflictException) ErrorCode

func (e *ConflictException) ErrorCode() string

func (*ConflictException) ErrorFault

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

func (*ConflictException) ErrorMessage

func (e *ConflictException) ErrorMessage() string

type ConflictSourceNamesException

type ConflictSourceNamesException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

There was a conflict when you attempted to modify a Security Lake source name.

func (*ConflictSourceNamesException) Error

func (*ConflictSourceNamesException) ErrorCode

func (e *ConflictSourceNamesException) ErrorCode() string

func (*ConflictSourceNamesException) ErrorFault

func (*ConflictSourceNamesException) ErrorMessage

func (e *ConflictSourceNamesException) ErrorMessage() string

type ConflictSubscriptionException

type ConflictSubscriptionException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

A conflicting subscription exception operation is in progress.

func (*ConflictSubscriptionException) Error

func (*ConflictSubscriptionException) ErrorCode

func (e *ConflictSubscriptionException) ErrorCode() string

func (*ConflictSubscriptionException) ErrorFault

func (*ConflictSubscriptionException) ErrorMessage

func (e *ConflictSubscriptionException) ErrorMessage() string

type Dimension

type Dimension string
const (
	DimensionRegion     Dimension = "REGION"
	DimensionSourceType Dimension = "SOURCE_TYPE"
	DimensionMember     Dimension = "MEMBER"
)

Enum values for Dimension

func (Dimension) Values

func (Dimension) Values() []Dimension

Values returns all known values for Dimension. 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 EndpointProtocol

type EndpointProtocol string
const (
	EndpointProtocolHttps EndpointProtocol = "HTTPS"
	EndpointProtocolSqs   EndpointProtocol = "SQS"
)

Enum values for EndpointProtocol

func (EndpointProtocol) Values

Values returns all known values for EndpointProtocol. 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 EventBridgeException

type EventBridgeException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Represents an error interacting with the Amazon EventBridge service.

func (*EventBridgeException) Error

func (e *EventBridgeException) Error() string

func (*EventBridgeException) ErrorCode

func (e *EventBridgeException) ErrorCode() string

func (*EventBridgeException) ErrorFault

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

func (*EventBridgeException) ErrorMessage

func (e *EventBridgeException) ErrorMessage() string

type Failures

type Failures struct {

	// List of all exception messages.
	//
	// This member is required.
	ExceptionMessage *string

	// List of all remediation steps for failures.
	//
	// This member is required.
	Remediation *string

	// This error can occur if you configure the wrong timestamp format, or if the
	// subset of entries used for validation had errors or missing values.
	//
	// This member is required.
	Timestamp *time.Time
	// contains filtered or unexported fields
}

List of all failures.

type FailuresResponse

type FailuresResponse struct {

	// List of all failures.
	Failures []Failures

	// List of Amazon Web Services Regions where the failure occurred.
	Region *string
	// contains filtered or unexported fields
}

Response element for actions that make changes, namely create, update, or delete actions.

type HttpsMethod

type HttpsMethod string
const (
	HttpsMethodPost HttpsMethod = "POST"
	HttpsMethodPut  HttpsMethod = "PUT"
)

Enum values for HttpsMethod

func (HttpsMethod) Values

func (HttpsMethod) Values() []HttpsMethod

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

	RetryAfterSeconds *int32
	// contains filtered or unexported fields
}

Internal service exceptions are sometimes caused by transient issues. Before you start troubleshooting, perform the operation again.

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 InvalidInputException

type InvalidInputException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The request was rejected because a value that's not valid or is out of range was supplied for an input parameter.

func (*InvalidInputException) Error

func (e *InvalidInputException) Error() string

func (*InvalidInputException) ErrorCode

func (e *InvalidInputException) ErrorCode() string

func (*InvalidInputException) ErrorFault

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

func (*InvalidInputException) ErrorMessage

func (e *InvalidInputException) ErrorMessage() string

type LakeConfigurationRequest

type LakeConfigurationRequest struct {

	// The type of encryption key used by Amazon Security Lake to encrypt the Security
	// Lake configuration object.
	EncryptionKey *string

	// Replication enables automatic, asynchronous copying of objects across Amazon S3
	// buckets. Amazon S3 buckets that are configured for object replication can be
	// owned by the same Amazon Web Services account or by different accounts. You can
	// replicate objects to a single destination bucket or to multiple destination
	// buckets. The destination buckets can be in different Amazon Web Services Regions
	// or within the same Region as the source bucket. Set up one or more rollup
	// Regions by providing the Region or Regions that should contribute to the central
	// rollup Region.
	ReplicationDestinationRegions []Region

	// Replication settings for the Amazon S3 buckets. This parameter uses the Identity
	// and Access Management (IAM) role you created that is managed by Security Lake,
	// to ensure the replication setting is correct.
	ReplicationRoleArn *string

	// Retention settings for the destination Amazon S3 buckets.
	RetentionSettings []RetentionSetting

	// A tag is a label that you assign to an Amazon Web Services resource. Each tag
	// consists of a key and an optional value, both of which you define.
	TagsMap map[string]string
	// contains filtered or unexported fields
}

Provides details of Amazon Security Lake configuration object.

type LakeConfigurationResponse

type LakeConfigurationResponse struct {

	// The type of encryption key used by secure the Security Lake configuration
	// object.
	EncryptionKey *string

	// Replication enables automatic, asynchronous copying of objects across Amazon S3
	// buckets. Amazon S3 buckets that are configured for object replication can be
	// owned by the same Amazon Web Services account or by different accounts. You can
	// replicate objects to a single destination bucket or to multiple destination
	// buckets. The destination buckets can be in different Amazon Web Services Regions
	// or within the same Region as the source bucket. Set up one or more rollup
	// Regions by providing the Region or Regions that should contribute to the central
	// rollup Region.
	ReplicationDestinationRegions []Region

	// Replication settings for the Amazon S3 buckets. This parameter uses the IAM role
	// you created that is managed by Security Lake, to ensure the replication setting
	// is correct.
	ReplicationRoleArn *string

	// Retention settings for the destination Amazon S3 buckets.
	RetentionSettings []RetentionSetting

	// Amazon Resource Names (ARNs) uniquely identify Amazon Web Services resources.
	// Security Lake requires an ARN when you need to specify a resource unambiguously
	// across all of Amazon Web Services, such as in IAM policies, Amazon Relational
	// Database Service (Amazon RDS) tags, and API calls.
	S3BucketArn *string

	// Retrieves the status of the configuration operation for an account in Amazon
	// Security Lake.
	Status SettingsStatus

	// A tag is a label that you assign to an Amazon Web Services resource. Each tag
	// consists of a key and an optional value, both of which you define.
	TagsMap map[string]string
	// contains filtered or unexported fields
}

Provides details of Amazon Security Lake lake configuration object.

type LogsStatus

type LogsStatus struct {

	// The health status of services, including error codes and patterns.
	//
	// This member is required.
	HealthStatus SourceStatus

	// Defines path the stored logs are available which has information on your
	// systems, applications, and services.
	//
	// This member is required.
	PathToLogs *string
	// contains filtered or unexported fields
}

Retrieves the Logs status for the Amazon Security Lake account.

type OcsfEventClass

type OcsfEventClass string
const (
	OcsfEventClassAccessActivity         OcsfEventClass = "ACCESS_ACTIVITY"
	OcsfEventClassFileActivity           OcsfEventClass = "FILE_ACTIVITY"
	OcsfEventClassKernelActivity         OcsfEventClass = "KERNEL_ACTIVITY"
	OcsfEventClassKernelExtension        OcsfEventClass = "KERNEL_EXTENSION"
	OcsfEventClassMemoryActivity         OcsfEventClass = "MEMORY_ACTIVITY"
	OcsfEventClassModuleActivity         OcsfEventClass = "MODULE_ACTIVITY"
	OcsfEventClassProcessActivity        OcsfEventClass = "PROCESS_ACTIVITY"
	OcsfEventClassRegistryKeyActivity    OcsfEventClass = "REGISTRY_KEY_ACTIVITY"
	OcsfEventClassRegistryValueActivity  OcsfEventClass = "REGISTRY_VALUE_ACTIVITY"
	OcsfEventClassResourceActivity       OcsfEventClass = "RESOURCE_ACTIVITY"
	OcsfEventClassScheduledJobActivity   OcsfEventClass = "SCHEDULED_JOB_ACTIVITY"
	OcsfEventClassSecurityFinding        OcsfEventClass = "SECURITY_FINDING"
	OcsfEventClassAccountChange          OcsfEventClass = "ACCOUNT_CHANGE"
	OcsfEventClassAuthentication         OcsfEventClass = "AUTHENTICATION"
	OcsfEventClassAuthorization          OcsfEventClass = "AUTHORIZATION"
	OcsfEventClassEntityManagementAudit  OcsfEventClass = "ENTITY_MANAGEMENT_AUDIT"
	OcsfEventClassDhcpActivity           OcsfEventClass = "DHCP_ACTIVITY"
	OcsfEventClassNetworkActivity        OcsfEventClass = "NETWORK_ACTIVITY"
	OcsfEventClassDnsActivity            OcsfEventClass = "DNS_ACTIVITY"
	OcsfEventClassFtpActivity            OcsfEventClass = "FTP_ACTIVITY"
	OcsfEventClassHttpActivity           OcsfEventClass = "HTTP_ACTIVITY"
	OcsfEventClassRdpActivity            OcsfEventClass = "RDP_ACTIVITY"
	OcsfEventClassSmbActivity            OcsfEventClass = "SMB_ACTIVITY"
	OcsfEventClassSshActivity            OcsfEventClass = "SSH_ACTIVITY"
	OcsfEventClassCloudApi               OcsfEventClass = "CLOUD_API"
	OcsfEventClassContainerLifecycle     OcsfEventClass = "CONTAINER_LIFECYCLE"
	OcsfEventClassDatabaseLifecycle      OcsfEventClass = "DATABASE_LIFECYCLE"
	OcsfEventClassConfigState            OcsfEventClass = "CONFIG_STATE"
	OcsfEventClassCloudStorage           OcsfEventClass = "CLOUD_STORAGE"
	OcsfEventClassInventoryInfo          OcsfEventClass = "INVENTORY_INFO"
	OcsfEventClassRfbActivity            OcsfEventClass = "RFB_ACTIVITY"
	OcsfEventClassSmtpActivity           OcsfEventClass = "SMTP_ACTIVITY"
	OcsfEventClassVirtualMachineActivity OcsfEventClass = "VIRTUAL_MACHINE_ACTIVITY"
)

Enum values for OcsfEventClass

func (OcsfEventClass) Values

func (OcsfEventClass) Values() []OcsfEventClass

Values returns all known values for OcsfEventClass. 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 ProtocolAndNotificationEndpoint

type ProtocolAndNotificationEndpoint struct {

	// The account that is subscribed to receive exception notifications.
	Endpoint *string

	// The protocol to which notification messages are posted.
	Protocol *string
	// contains filtered or unexported fields
}

Protocol used in Amazon Security Lake that dictates how notifications are posted at the endpoint.

type Region

type Region string
const (
	RegionUsEast1      Region = "us-east-1"
	RegionUsWest2      Region = "us-west-2"
	RegionEuCentral1   Region = "eu-central-1"
	RegionUsEast2      Region = "us-east-2"
	RegionEuWest1      Region = "eu-west-1"
	RegionApNortheast1 Region = "ap-northeast-1"
	RegionApSoutheast2 Region = "ap-southeast-2"
)

Enum values for Region

func (Region) Values

func (Region) Values() []Region

Values returns all known values for Region. 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 ResourceNotFoundException

type ResourceNotFoundException struct {
	Message *string

	ErrorCodeOverride *string

	ResourceId   *string
	ResourceType *string
	// contains filtered or unexported fields
}

The resource could not be found.

func (*ResourceNotFoundException) Error

func (e *ResourceNotFoundException) Error() string

func (*ResourceNotFoundException) ErrorCode

func (e *ResourceNotFoundException) ErrorCode() string

func (*ResourceNotFoundException) ErrorFault

func (*ResourceNotFoundException) ErrorMessage

func (e *ResourceNotFoundException) ErrorMessage() string

type RetentionSetting

type RetentionSetting struct {

	// The retention period specifies a fixed period of time during which the Security
	// Lake object remains locked. You can specify the retention period in days for one
	// or more sources.
	RetentionPeriod *int32

	// The range of storage classes that you can choose from based on the data access,
	// resiliency, and cost requirements of your workloads.
	StorageClass StorageClass
	// contains filtered or unexported fields
}

Retention settings for the destination Amazon S3 buckets in Amazon Security Lake.

type S3Exception

type S3Exception struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Provides an extension of the AmazonServiceException for errors reported by Amazon S3 while processing a request. In particular, this class provides access to the Amazon S3 extended request ID. If Amazon S3 is incorrectly handling a request and you need to contact Amazon, this extended request ID may provide useful debugging information.

func (*S3Exception) Error

func (e *S3Exception) Error() string

func (*S3Exception) ErrorCode

func (e *S3Exception) ErrorCode() string

func (*S3Exception) ErrorFault

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

func (*S3Exception) ErrorMessage

func (e *S3Exception) ErrorMessage() string

type ServiceQuotaExceededException

type ServiceQuotaExceededException struct {
	Message *string

	ErrorCodeOverride *string

	ResourceId   *string
	ResourceType *string
	ServiceCode  *string
	QuotaCode    *string
	// contains filtered or unexported fields
}

You have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.

func (*ServiceQuotaExceededException) Error

func (*ServiceQuotaExceededException) ErrorCode

func (e *ServiceQuotaExceededException) ErrorCode() string

func (*ServiceQuotaExceededException) ErrorFault

func (*ServiceQuotaExceededException) ErrorMessage

func (e *ServiceQuotaExceededException) ErrorMessage() string

type SettingsStatus

type SettingsStatus string
const (
	SettingsStatusInitialized SettingsStatus = "INITIALIZED"
	SettingsStatusPending     SettingsStatus = "PENDING"
	SettingsStatusCompleted   SettingsStatus = "COMPLETED"
	SettingsStatusFailed      SettingsStatus = "FAILED"
)

Enum values for SettingsStatus

func (SettingsStatus) Values

func (SettingsStatus) Values() []SettingsStatus

Values returns all known values for SettingsStatus. 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 SourceStatus

type SourceStatus string
const (
	SourceStatusActive      SourceStatus = "ACTIVE"
	SourceStatusDeactivated SourceStatus = "DEACTIVATED"
	SourceStatusPending     SourceStatus = "PENDING"
)

Enum values for SourceStatus

func (SourceStatus) Values

func (SourceStatus) Values() []SourceStatus

Values returns all known values for SourceStatus. 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 SourceType

type SourceType interface {
	// contains filtered or unexported methods
}

The supported source types from which logs and events are collected in Amazon Security Lake. For the list of supported Amazon Web Services, see the Amazon Security Lake User Guide (https://docs.aws.amazon.com/security-lake/latest/userguide/internal-sources.html).

The following types satisfy this interface:

SourceTypeMemberAwsSourceType
SourceTypeMemberCustomSourceType
Example (OutputUsage)
// Code generated by smithy-go-codegen DO NOT EDIT.

package main

import (
	"fmt"
	"github.com/aws/aws-sdk-go-v2/service/securitylake/types"
)

func main() {
	var union types.SourceType
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.SourceTypeMemberAwsSourceType:
		_ = v.Value // Value is types.AwsLogSourceType

	case *types.SourceTypeMemberCustomSourceType:
		_ = v.Value // Value is string

	case *types.UnknownUnionMember:
		fmt.Println("unknown tag:", v.Tag)

	default:
		fmt.Println("union is nil or unknown type")

	}
}

var _ *string
var _ types.AwsLogSourceType
Output:

type SourceTypeMemberAwsSourceType

type SourceTypeMemberAwsSourceType struct {
	Value AwsLogSourceType
	// contains filtered or unexported fields
}

Amazon Security Lake supports log and event collection for natively supported Amazon Web Services.

type SourceTypeMemberCustomSourceType

type SourceTypeMemberCustomSourceType struct {
	Value string
	// contains filtered or unexported fields
}

Amazon Security Lake supports custom source types. For a detailed list, see the Amazon Security Lake User Guide.

type StorageClass

type StorageClass string
const (
	StorageClassStandardIa         StorageClass = "STANDARD_IA"
	StorageClassOnezoneIa          StorageClass = "ONEZONE_IA"
	StorageClassIntelligentTiering StorageClass = "INTELLIGENT_TIERING"
	StorageClassGlacierIr          StorageClass = "GLACIER_IR"
	StorageClassGlacier            StorageClass = "GLACIER"
	StorageClassDeepArchive        StorageClass = "DEEP_ARCHIVE"
	StorageClassExpire             StorageClass = "EXPIRE"
)

Enum values for StorageClass

func (StorageClass) Values

func (StorageClass) Values() []StorageClass

Values returns all known values for StorageClass. 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 SubscriberResource

type SubscriberResource struct {

	// The Amazon Web Services account ID you are using to create your Amazon Security
	// Lake account.
	//
	// This member is required.
	AccountId *string

	// Amazon Security Lake supports log and event collection for natively supported
	// Amazon Web Services. For more information, see the Amazon Security Lake User
	// Guide.
	//
	// This member is required.
	SourceTypes []SourceType

	// The subscription ID of the Amazon Security Lake subscriber account.
	//
	// This member is required.
	SubscriptionId *string

	// You can choose to notify subscribers of new objects with an Amazon Simple Queue
	// Service (Amazon SQS) queue or through messaging to an HTTPS endpoint provided by
	// the subscriber. Subscribers can consume data by directly querying Lake Formation
	// tables in your Amazon S3 bucket through services like Amazon Athena. This
	// subscription type is defined as LAKEFORMATION.
	AccessTypes []AccessType

	// The date and time when the subscription was created.
	CreatedAt *time.Time

	// The external ID of the subscriber. The external ID lets the user that is
	// assuming the role assert the circumstances in which they are operating. It also
	// provides a way for the account owner to permit the role to be assumed only under
	// specific circumstances.
	ExternalId *string

	// The Amazon Resource Name (ARN) specifying the role of the subscriber.
	RoleArn *string

	// The ARN for the Amazon S3 bucket.
	S3BucketArn *string

	// The ARN for the Amazon Simple Notification Service.
	SnsArn *string

	// The subscriber descriptions for a subscriber account. The description for a
	// subscriber includes subscriberName, accountID, externalID, and subscriptionId.
	SubscriberDescription *string

	// The name of your Amazon Security Lake subscriber account.
	SubscriberName *string

	// The subscription endpoint to which exception messages are posted.
	SubscriptionEndpoint *string

	// The subscription protocol to which exception messages are posted.
	SubscriptionProtocol EndpointProtocol

	// The subscription status of the Amazon Security Lake subscriber account.
	SubscriptionStatus SubscriptionStatus

	// The date and time when the subscription was created.
	UpdatedAt *time.Time
	// contains filtered or unexported fields
}

Provides details about the Amazon Security Lake account subscription. Subscribers are notified of new objects for a source as the data is written to your Amazon S3 bucket for Security Lake.

type SubscriptionProtocolType

type SubscriptionProtocolType string
const (
	SubscriptionProtocolTypeHttp      SubscriptionProtocolType = "HTTP"
	SubscriptionProtocolTypeHttps     SubscriptionProtocolType = "HTTPS"
	SubscriptionProtocolTypeEmail     SubscriptionProtocolType = "EMAIL"
	SubscriptionProtocolTypeEmailJson SubscriptionProtocolType = "EMAIL_JSON"
	SubscriptionProtocolTypeSms       SubscriptionProtocolType = "SMS"
	SubscriptionProtocolTypeSqs       SubscriptionProtocolType = "SQS"
	SubscriptionProtocolTypeLambda    SubscriptionProtocolType = "LAMBDA"
	SubscriptionProtocolTypeApp       SubscriptionProtocolType = "APP"
	SubscriptionProtocolTypeFirehose  SubscriptionProtocolType = "FIREHOSE"
)

Enum values for SubscriptionProtocolType

func (SubscriptionProtocolType) Values

Values returns all known values for SubscriptionProtocolType. 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 SubscriptionStatus

type SubscriptionStatus string
const (
	SubscriptionStatusActive      SubscriptionStatus = "ACTIVE"
	SubscriptionStatusDeactivated SubscriptionStatus = "DEACTIVATED"
	SubscriptionStatusPending     SubscriptionStatus = "PENDING"
	SubscriptionStatusReady       SubscriptionStatus = "READY"
)

Enum values for SubscriptionStatus

func (SubscriptionStatus) Values

Values returns all known values for SubscriptionStatus. 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 ThrottlingException

type ThrottlingException struct {
	Message *string

	ErrorCodeOverride *string

	ServiceCode       *string
	QuotaCode         *string
	RetryAfterSeconds *int32
	// contains filtered or unexported fields
}

The limit on the number of requests per second was exceeded.

func (*ThrottlingException) Error

func (e *ThrottlingException) Error() string

func (*ThrottlingException) ErrorCode

func (e *ThrottlingException) ErrorCode() string

func (*ThrottlingException) ErrorFault

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

func (*ThrottlingException) ErrorMessage

func (e *ThrottlingException) ErrorMessage() string

type UnknownUnionMember

type UnknownUnionMember struct {
	Tag   string
	Value []byte
	// contains filtered or unexported fields
}

UnknownUnionMember is returned when a union member is returned over the wire, but has an unknown tag.

type ValidationException

type ValidationException struct {
	Message *string

	ErrorCodeOverride *string

	Reason    ValidationExceptionReason
	FieldList []ValidationExceptionField
	// contains filtered or unexported fields
}

Your signing certificate could not be validated.

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

type ValidationExceptionField

type ValidationExceptionField struct {

	// Describes the error encountered.
	//
	// This member is required.
	Message *string

	// Name of the validation exception.
	//
	// This member is required.
	Name *string
	// contains filtered or unexported fields
}

The input fails to meet the constraints specified in Amazon Security Lake.

type ValidationExceptionReason

type ValidationExceptionReason string
const (
	ValidationExceptionReasonUnknownOperation      ValidationExceptionReason = "unknownOperation"
	ValidationExceptionReasonCannotParse           ValidationExceptionReason = "cannotParse"
	ValidationExceptionReasonFieldValidationFailed ValidationExceptionReason = "fieldValidationFailed"
	ValidationExceptionReasonOther                 ValidationExceptionReason = "other"
)

Enum values for ValidationExceptionReason

func (ValidationExceptionReason) Values

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

Jump to

Keyboard shortcuts

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