Services

Acm

awspice.services.acm.AcmService.list_certificates([…]) List all certificates
awspice.services.acm.AcmService.get_certificate_by(…) Get certificate filtering by domain
awspice.services.acm.AcmService.get_certificate(arn) Get certificate using CertificateArn (Ceritificate Identifier)

CostExplorer

awspice.services.ce.CostExplorerService.get_cost([…]) Get the cost of account or its elements.

Ec2

awspice.services.ec2.Ec2Service.set_tag(…) Set tag for an instance
awspice.services.ec2.Ec2Service.get_amis([…]) Get all images
awspice.services.ec2.Ec2Service.get_ami_by(filters) Get an ami for one or more regions that matches with filter
awspice.services.ec2.Ec2Service.get_amis_by(filters) Get list of amis for one or more regions that matches with filter
awspice.services.ec2.Ec2Service.get_amis_by_distribution(distrib) Get one or more Images filtering by distribution
awspice.services.ec2.Ec2Service.get_instances([…]) Get all instances for one or more regions.
awspice.services.ec2.Ec2Service.get_instance_by(filters) Get an instance for one or more regions that matches with filter
awspice.services.ec2.Ec2Service.get_instances_by(filters) Get an instance for one or more regions that matches with filter
awspice.services.ec2.Ec2Service.get_instances_status([…])
awspice.services.ec2.Ec2Service.get_instance_status_by(filters)
awspice.services.ec2.Ec2Service.get_instances_status_by(filters)
awspice.services.ec2.Ec2Service.create_instances(…) Create a new instance
awspice.services.ec2.Ec2Service.start_instances(…) Stops an Amazon EC2 instance
awspice.services.ec2.Ec2Service.stop_instances(…) Stops an Amazon EC2 instance
awspice.services.ec2.Ec2Service.get_volumes([…]) Get all volumes for one or more regions
awspice.services.ec2.Ec2Service.get_volume_by(filters) Get a volume for one or more regions that matches with filters
awspice.services.ec2.Ec2Service.get_volumes_by(filters) Get volumes for one or more regions that matches with filters
awspice.services.ec2.Ec2Service.get_snapshots() Get all snapshots owned by self for the current region
awspice.services.ec2.Ec2Service.get_snapshot_by(filters) Get a snapshot for a region tha matches with filters
awspice.services.ec2.Ec2Service.get_snapshots_by(filters) Get all snapshots for the current region that matches with filters
awspice.services.ec2.Ec2Service.get_secgroups([…]) Get all security groups for the current region
awspice.services.ec2.Ec2Service.get_secgroup_by(filters) Get security group for a region that matches with filters
awspice.services.ec2.Ec2Service.get_secgroups_by(filters) Get all security groups for a region that matches with filters
awspice.services.ec2.Ec2Service.create_security_group(…) Create a new Security Group
awspice.services.ec2.Ec2Service.delete_security_group(…) Delete an existing Security Group
awspice.services.ec2.Ec2Service.get_addresses([…]) Get all IP Addresses for a region
awspice.services.ec2.Ec2Service.get_address_by(filters) Get IP Addresses for a region that matches with filters
awspice.services.ec2.Ec2Service.get_vpcs([…]) Get all VPCs for a region
awspice.services.ec2.Ec2Service.get_default_vpc() Get default Security Group

Elb

awspice.services.elb.ElbService.get_loadbalancers([…]) Get all Elastic Load Balancers for a region
awspice.services.elb.ElbService.get_loadbalancers_by(…) Get loadbalancers which match with the filters
awspice.services.elb.ElbService.get_loadbalancer_by(…) Get a load balancer for a region that matches with filter

Route53

awspice.services.route53.Route53Service.list_hosted_zones() List all hosted zones
awspice.services.route53.Route53Service.list_records(…) List all records for a hosted zone
awspice.services.route53.Route53Service.list_records_by_domain(domain) List all records of a hosted-zone domain

S3

awspice.services.s3.S3Service.upload_string_as_file(…) Upload string as a file to S3 bucket
awspice.services.s3.S3Service.get_buckets() Get all buckets in S3
awspice.services.s3.S3Service.get_bucket_acl(…)
awspice.services.s3.S3Service.get_public_buckets() Get all public buckets and its permissions
awspice.services.s3.S3Service.list_bucket_objects(bucket) List objects stored in a bucket