Fugue.Core.AWS.S3

Module Members

Bucket

(Type)

type Bucket:
  | Bucket
      acl: Optional<BucketCannedACL>
      name: String
      region: Region
      tags: Optional<List<Tag>>
      policy: Optional<String>
      corsConfiguration: Optional<CORSConfiguration>
      websiteConfiguration: Optional<WebsiteConfiguration>
      loggingConfiguration: Optional<LoggingConfiguration>
      lifecycleConfiguration: Optional<NotImplemented>
      replicationConfiguration: Optional<NotImplemented>
      versioningConfiguration: Optional<NotImplemented>
      accelerateConfiguration: Optional<NotImplemented>
      requestPaymentConfiguration: Optional<NotImplemented>
      notificationConfiguration: Optional<NotificationConfiguration>

Bucket

(Constructor)

Argument:

Record {

Field: acl
Type: Optional<BucketCannedACL>
Field: name
Type: String
Field: region
Type: Region
Field: tags
Type: Optional<List<Tag>>
Field: policy
Type: Optional<String>
Field: corsConfiguration
Type: Optional<CORSConfiguration>
Field: websiteConfiguration
Type: Optional<WebsiteConfiguration>
Field: loggingConfiguration
Type: Optional<LoggingConfiguration>
Field: lifecycleConfiguration
Type: Optional<NotImplemented>
Field: replicationConfiguration
Type: Optional<NotImplemented>
Field: versioningConfiguration
Type: Optional<NotImplemented>
Field: accelerateConfiguration
Type: Optional<NotImplemented>
Field: requestPaymentConfiguration
Type: Optional<NotImplemented>
Field: notificationConfiguration
Type: Optional<NotificationConfiguration>

}

BucketCannedACL

(Type)

type BucketCannedACL:
  | Private
  | PublicRead
  | PublicReadWrite
  | AwsExecRead
  | AuthenticatedRead
  | BucketOwnerRead
  | BucketOwnerFullControl
  | LogDeliveryWrite

AuthenticatedRead

(Constructor)

AwsExecRead

(Constructor)

BucketOwnerFullControl

(Constructor)

BucketOwnerRead

(Constructor)

LogDeliveryWrite

(Constructor)

Private

(Constructor)

PublicRead

(Constructor)

PublicReadWrite

(Constructor)

BucketLogsPermission

(Type)

type BucketLogsPermission:
  | BucketLogsFullControl
  | BucketLogsWrite
  | BucketLogsRead

BucketLogsFullControl

(Constructor)

BucketLogsRead

(Constructor)

BucketLogsWrite

(Constructor)

CORSConfiguration

(Type)

type CORSConfiguration:
  | CORSConfiguration
      corsRules: List<CORSRule>

CORSConfiguration

(Constructor)

Argument:

Record {

Field: corsRules
Type: List<CORSRule>

}

CORSRule

(Type)

type CORSRule:
  | CORSRule
      allowedHeaders: Optional<List<String>>
      allowedMethods: List<String>
      allowedOrigins: List<String>
      exposeHeaders: Optional<List<String>>
      maxAgeSeconds: Optional<Int>

CORSRule

(Constructor)

Argument:

Record {

Field: allowedHeaders
Type: Optional<List<String>>
Field: allowedMethods
Type: List<String>
Field: allowedOrigins
Type: List<String>
Field: exposeHeaders
Type: Optional<List<String>>
Field: maxAgeSeconds
Type: Optional<Int>

}

Event

(Type)

type Event:
  | S3ReducedRedundancyLostObject
  | S3ObjectCreatedAny
  | S3ObjectCreatedPut
  | S3ObjectCreatedPost
  | S3ObjectCreatedCopy
  | S3ObjectCreatedCompleteMultipartUpload
  | S3ObjectRemovedAny
  | S3ObjectRemovedDelete
  | S3ObjectRemovedDeleteMarkerCreated

S3ObjectCreatedAny

(Constructor)

S3ObjectCreatedCompleteMultipartUpload

(Constructor)

S3ObjectCreatedCopy

(Constructor)

S3ObjectCreatedPost

(Constructor)

S3ObjectCreatedPut

(Constructor)

S3ObjectRemovedAny

(Constructor)

S3ObjectRemovedDelete

(Constructor)

S3ObjectRemovedDeleteMarkerCreated

(Constructor)

S3ReducedRedundancyLostObject

(Constructor)

FilterRule

(Type)

type FilterRule:
  | PrefixFilterRule String
  | SuffixFilterRule String

PrefixFilterRule

(Constructor)

Argument:
Ludwig.String

SuffixFilterRule

(Constructor)

Argument:
Ludwig.String

Grantee

(Type)

type Grantee:
  | CanonicalUserIdentGrantee String
  | AmazonCustomerByEmail String
  | GroupUri String

AmazonCustomerByEmail

(Constructor)

Argument:
Ludwig.String

CanonicalUserIdentGrantee

(Constructor)

Argument:
Ludwig.String

GroupUri

(Constructor)

Argument:
Ludwig.String

LoggingConfiguration

(Type)

type LoggingConfiguration:
  | LoggingConfiguration
      targetGrants: List<TargetGrant>
      targetPrefix: String
      targetBucket: Bucket

LoggingConfiguration

(Constructor)

Argument:

Record {

Field: targetGrants
Type: List<TargetGrant>
Field: targetPrefix
Type: String
Field: targetBucket
Type: Bucket

}

NotificationConfiguration

(Type)

type NotificationConfiguration:
  | NotificationConfiguration
      configurations: List<TargetConfiguration>

NotificationConfiguration

(Constructor)

Argument:

Record {

Field: configurations
Type: List<TargetConfiguration>

}

NotificationTarget

(Type)

type NotificationTarget:
  | Topic Topic
  | Queue Queue
  | LambdaFunction Function

LambdaFunction

(Constructor)

Argument:
Function

Queue

(Constructor)

Argument:
Queue

Topic

(Constructor)

Argument:
Topic

Protocol

(Type)

type Protocol:
  | Http
  | Https

Http

(Constructor)

Https

(Constructor)

RoutingRule

(Type)

type RoutingRule:
  | RoutingRule
      conditionHttpErrorCodeReturnedEquals: Optional<String>
      conditionKeyPrefixEquals: Optional<String>
      redirectHostName: Optional<String>
      redirectHttpCode: Optional<String>
      redirectProtocol: Optional<Protocol>
      redirectReplaceKeyPrefixWith: Optional<String>
      redirectReplaceKeyWith: Optional<String>

RoutingRule

(Constructor)

Argument:

Record {

Field: conditionHttpErrorCodeReturnedEquals
Type: Optional<String>
Field: conditionKeyPrefixEquals
Type: Optional<String>
Field: redirectHostName
Type: Optional<String>
Field: redirectHttpCode
Type: Optional<String>
Field: redirectProtocol
Type: Optional<Protocol>
Field: redirectReplaceKeyPrefixWith
Type: Optional<String>
Field: redirectReplaceKeyWith
Type: Optional<String>

}

TargetConfiguration

(Type)

type TargetConfiguration:
  | TargetConfiguration
      target: NotificationTarget
      events: List<Event>
      filters: Optional<List<FilterRule>>
      id: Optional<String>

TargetConfiguration

(Constructor)

Argument:

Record {

Field: target
Type: NotificationTarget
Field: events
Type: List<Event>
Field: filters
Type: Optional<List<FilterRule>>
Field: id
Type: Optional<String>

}

TargetGrant

(Type)

type TargetGrant:
  | TargetGrant
      grantee: Grantee
      permission: BucketLogsPermission

TargetGrant

(Constructor)

Argument:

Record {

Field: grantee
Type: Grantee
Field: permission
Type: BucketLogsPermission

}

WebsiteConfiguration

(Type)

type WebsiteConfiguration:
  | WebsiteConfiguration
      routingRules: Optional<List<RoutingRule>>
      errorDocumentKey: Optional<String>
      indexDocumentSuffix: Optional<String>
      redirectAllRequestsToHostName: Optional<String>
      redirectProtocol: Optional<Protocol>

WebsiteConfiguration

(Constructor)

Argument:

Record {

Field: routingRules
Type: Optional<List<RoutingRule>>
Field: errorDocumentKey
Type: Optional<String>
Field: indexDocumentSuffix
Type: Optional<String>
Field: redirectAllRequestsToHostName
Type: Optional<String>
Field: redirectProtocol
Type: Optional<Protocol>

}