View Source Faker.Aws.En (Faker v0.18.0)

Functions for generating AWS information in English

Summary

Functions

Returns an AWS EC2 Action

Returns an AWS RDS Action

Returns a random region code available on AWS

Returns a random region name available on AWS

Returns an AWS S3 Action

Returns a random AWS service

Functions

@spec ec2_action() :: String.t()

Returns an AWS EC2 Action

Example

iex> Faker.Aws.En.ec2_action() "CreateVpcEndpoint" iex> Faker.Aws.En.ec2_action() "RevokeSecurityGroupEgress" iex> Faker.Aws.En.ec2_action() "GetTransitGatewayRouteTableAssociations" iex> Faker.Aws.En.ec2_action() "RunScheduledInstances"

@spec rds_action() :: String.t()

Returns an AWS RDS Action

Example

iex> Faker.Aws.En.rds_action() "DeleteDBClusterEndpoint" iex> Faker.Aws.En.rds_action() "CopyDBSnapshot" iex> Faker.Aws.En.rds_action() "ModifyDBParameterGroup" iex> Faker.Aws.En.rds_action() "DescribeDBClusterSnapshots"

@spec region_code() :: String.t()

Returns a random region code available on AWS

Examples

iex> Faker.Aws.En.region_code()
"ap-northeast-1"
iex> Faker.Aws.En.region_code()
"us-east-2"
iex> Faker.Aws.En.region_code()
"eu-south-1"
iex> Faker.Aws.En.region_code()
"af-south-1"
@spec region_name() :: String.t()

Returns a random region name available on AWS

Examples

iex> Faker.Aws.En.region_name()
"Asia Pacific (Tokyo)"
iex> Faker.Aws.En.region_name()
"US East (Ohio)"
iex> Faker.Aws.En.region_name()
"Europe (Milan)"
iex> Faker.Aws.En.region_name()
"Africa (Cape Town)"
@spec s3_action() :: String.t()

Returns an AWS S3 Action

Example

iex> Faker.Aws.En.s3_action() "DeleteBucketTagging" iex> Faker.Aws.En.s3_action() "DeleteObjects" iex> Faker.Aws.En.s3_action() "PutPublicAccessBlock" iex> Faker.Aws.En.s3_action() "PutBucketReplication"

@spec service() :: String.t()

Returns a random AWS service

Examples

iex> Faker.Aws.En.service() "AWS Compute Optimizer" iex> Faker.Aws.En.service() "Ground Station" iex> Faker.Aws.En.service() "Neptune" iex> Faker.Aws.En.service() "DataSync"