Home
last modified time | relevance | path

Searched refs:service_connection (Results 1 – 25 of 60) sorted by relevance

123

/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/iam/
Dtest_connection.py47 response = self.service_connection.create_saml_provider('document', 'name')
88 response = self.service_connection.list_saml_providers()
121 self.service_connection.get_saml_provider('arn')
148 self.service_connection.update_saml_provider('arn', 'doc')
167 self.service_connection.delete_saml_provider('arn')
201 self.service_connection.create_role('a_name')
211 self.service_connection.host = 'iam.cn-north-1.amazonaws.com.cn'
212 self.service_connection.create_role('a_name')
222 self.service_connection.create_role(
236 self.service_connection.create_role(
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/sqs/
Dtest_connection.py61 self.service_connection.auth_service_name = 'service_override'
63 self.service_connection.create_queue('my_queue')
72 self.assertEqual(self.service_connection.AuthServiceName, 'sqs')
74 self.service_connection.create_queue('my_queue')
84 self.service_connection = SQSConnection(
92 self.service_connection.create_queue('my_queue')
100 self.service_connection.auth_service_name = 'service_name'
101 self.service_connection.auth_region_name = 'region_name'
103 self.assertEqual(self.service_connection.auth_service_name,
105 self.assertEqual(self.service_connection.auth_region_name, 'region_name')
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/emr/
Dtest_connection.py94 response = self.service_connection.list_clusters()
126 response = self.service_connection.list_clusters(created_before=date)
138 response = self.service_connection.list_clusters(created_after=date)
148 response = self.service_connection.list_clusters(cluster_states=[
224 self.service_connection.list_instance_groups()
226 response = self.service_connection.list_instance_groups(cluster_id='j-123')
329 self.service_connection.list_instances()
331 response = self.service_connection.list_instances(cluster_id='j-123')
351 response = self.service_connection.list_instances(
364 response = self.service_connection.list_instances(
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/sns/
Dtest_connection.py55 self.service_connection.subscribe_sqs_queue('topic_arn', queue)
80 self.service_connection.subscribe_sqs_queue('topic_arn', queue)
96 self.service_connection.publish('topic', 'message', 'subject')
107 self.service_connection.publish(topic='topic',
120 self.service_connection.publish(target_arn='target_arn',
133 self.service_connection.create_platform_application(
154 self.service_connection.set_platform_application_attributes(
170 self.service_connection.create_platform_endpoint(
187 self.service_connection.set_endpoint_attributes(
204 self.service_connection.publish(topic='topic', subject='subject')
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/cloudformation/
Dtest_connection.py56 api_response = self.service_connection.create_stack(
94 api_response = self.service_connection.create_stack('stack_name')
107 with self.assertRaisesRegexp(self.service_connection.ResponseError,
109 api_response = self.service_connection.create_stack(
117 api_response = self.service_connection.create_stack(
134 api_response = self.service_connection.update_stack(
174 api_response = self.service_connection.update_stack('stack_name')
187 with self.assertRaises(self.service_connection.ResponseError):
188 api_response = self.service_connection.update_stack(
201 api_response = self.service_connection.delete_stack('stack_name')
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/ec2/autoscale/
Dtest_group.py62 self.service_connection.create_auto_scaling_group(autoscale)
79 self.service_connection.create_auto_scaling_group(autoscale)
91 self.service_connection.create_auto_scaling_group(autoscale)
103 self.service_connection.create_auto_scaling_group(autoscale)
125 self.service_connection.set_desired_capacity('foo', 10, True)
151 self.service_connection.create_scheduled_group_action('foo',
220 response = self.service_connection.get_all_groups(names=['test_group'])
264 response = self.service_connection.get_termination_policies()
313 response = self.service_connection.get_all_launch_configurations()
338 …response = self.service_connection.get_all_launch_configurations(max_records=10, names=["my-test1"…
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/vpc/
Dtest_routetable.py79 api_response = self.service_connection.get_all_route_tables(
137 api_response = self.service_connection.associate_route_table(
163 api_response = self.service_connection.disassociate_route_table('rtbassoc-fdad4894')
199 api_response = self.service_connection.create_route_table('vpc-11ad4878')
228 api_response = self.service_connection.delete_route_table('rtb-e4ad488d')
252 api_response = self.service_connection.replace_route_table_assocation(
265 api_response = self.service_connection.replace_route_table_association_with_assoc(
291 api_response = self.service_connection.create_route(
305 api_response = self.service_connection.create_route(
319 api_response = self.service_connection.create_route(
[all …]
Dtest_networkacl.py126 response = self.service_connection.get_all_network_acls(['acl-5566953c', 'acl-5d659634'],
242 response = self.service_connection.associate_network_acl('acl-5fb85d36', 'subnet-ff669596')
259 response = self.service_connection.disassociate_network_acl('subnet-ff669596',
308 response = self.service_connection.create_network_acl('vpc-11ad4878')
332 response = self.service_connection.delete_network_acl('acl-2cb85d45')
356 response = self.service_connection.create_network_acl_entry(
376 response = self.service_connection.create_network_acl_entry(
409 response = self.service_connection.replace_network_acl_entry(
429 response = self.service_connection.replace_network_acl_entry(
461 response = self.service_connection.delete_network_acl_entry('acl-2cb85d45', 100,
[all …]
Dtest_vpngateway.py37 api_response = self.service_connection.get_all_vpn_gateways(
77 api_response = self.service_connection.create_vpn_gateway('ipsec.1', 'us-east-1a')
103 api_response = self.service_connection.delete_vpn_gateway('vgw-8db04f81')
130 api_response = self.service_connection.attach_vpn_gateway('vgw-8db04f81', 'vpc-1a2b3c4d')
157 api_response = self.service_connection.detach_vpn_gateway('vgw-8db04f81', 'vpc-1a2b3c4d')
182 api_response = self.service_connection.disable_vgw_route_propagation(
208 api_response = self.service_connection.enable_vgw_route_propagation(
Dtest_internetgateway.py32 api_response = self.service_connection.get_all_internet_gateways(
66 api_response = self.service_connection.create_internet_gateway()
90 api_response = self.service_connection.delete_internet_gateway('igw-eaad4883')
114 api_response = self.service_connection.attach_internet_gateway(
140 api_response = self.service_connection.detach_internet_gateway(
Dtest_vpc.py35 api_response = self.service_connection.get_all_vpcs()
64 api_response = self.service_connection.create_vpc('10.0.0.0/16', 'default')
94 api_response = self.service_connection.delete_vpc('vpc-1a2b3c4d')
118 api_response = self.service_connection.modify_vpc_attribute(
131 api_response = self.service_connection.modify_vpc_attribute(
173 response = self.service_connection.get_all_classic_link_vpcs()
182 self.service_connection.get_all_classic_link_vpcs(
203 self.vpc = VPC(self.service_connection)
Dtest_vpnconnection.py103 api_response = self.service_connection.get_all_vpn_connections(
161 api_response = self.service_connection.create_vpn_connection(
192 api_response = self.service_connection.delete_vpn_connection('vpn-44a8938f')
216 api_response = self.service_connection.create_vpn_connection_route(
242 api_response = self.service_connection.delete_vpn_connection_route(
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/cloudsearch2/
Dtest_connection.py45 self.service_connection.create_domain('demo')
58 api_response = self.service_connection.create_domain('demo')
75 api_response = self.service_connection.create_domain('demo')
88 api_response = self.service_connection.create_domain('demo')
98 api_response = self.service_connection.create_domain('demo')
111 api_response = self.service_connection.create_domain('demo')
163 self.service_connection.delete_domain('demo')
220 self.service_connection.index_documents('demo')
235 api_response = self.service_connection.index_documents('demo')
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/s3/
Dtest_bucket.py25 bucket = self.service_connection.create_bucket('mybucket_create')
30 bucket = Bucket(self.service_connection, 'mybucket_constructor')
35 bucket = self.service_connection.create_bucket('mybucket')
40 bucket = self.service_connection.create_bucket('mybucket')
48 bucket = self.service_connection.create_bucket('mybucket')
55 bucket = self.service_connection.create_bucket('mybucket')
62 bucket = self.service_connection.create_bucket('mybucket')
122 bucket = self.service_connection.create_bucket('mybucket')
125 self.service_connection.get_bucket('mybucket', validate=True)
140 bucket = self.service_connection.get_bucket('mybucket')
[all …]
Dtest_key.py50 b = Bucket(self.service_connection, 'mybucket')
59 b = Bucket(self.service_connection, 'mybucket')
70 b = Bucket(self.service_connection, 'mybucket')
77 b = Bucket(self.service_connection, 'mybucket')
83 b = Bucket(self.service_connection, 'mybucket')
108 b = Bucket(self.service_connection, 'mybucket')
132 b = Bucket(self.service_connection, 'mybucket')
169 b = Bucket(self.service_connection, 'mybucket')
180 b = Bucket(self.service_connection, 'mybucket')
196 b = Bucket(self.service_connection, 'mybucket')
[all …]
Dtest_connection.py37 self.service_connection._required_auth_capability(),
58 self.service_connection._required_auth_capability(),
61 self.assertEqual(self.service_connection.host, 's3.amazonaws.com')
188 self.service_connection.get_all_buckets()
200 buck = self.service_connection.head_bucket('my-test-bucket')
208 self.service_connection.head_bucket('cant-touch-this')
219 self.service_connection.head_bucket('totally-doesnt-exist')
230 self.service_connection.head_bucket('you-broke-it')
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/cloudsearch/
Dtest_connection.py43 api_response = self.service_connection.create_domain('demo')
55 api_response = self.service_connection.create_domain('demo')
72 api_response = self.service_connection.create_domain('demo')
83 api_response = self.service_connection.create_domain('demo')
91 api_response = self.service_connection.create_domain('demo')
102 api_response = self.service_connection.create_domain('demo')
151 api_response = self.service_connection.delete_domain('demo')
205 api_response = self.service_connection.index_documents('demo')
219 api_response = self.service_connection.index_documents('demo')
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/ec2/
Dtest_ec2object.py34 taggedEC2Object = TaggedEC2Object(self.service_connection)
55 taggedEC2Object = TaggedEC2Object(self.service_connection)
86 taggedEC2Object = TaggedEC2Object(self.service_connection)
106 taggedEC2Object = TaggedEC2Object(self.service_connection)
125 taggedEC2Object = TaggedEC2Object(self.service_connection)
146 taggedEC2Object = TaggedEC2Object(self.service_connection)
168 taggedEC2Object = TaggedEC2Object(self.service_connection)
190 taggedEC2Object = TaggedEC2Object(self.service_connection)
Dtest_spotinstance.py29 response = self.service_connection.cancel_spot_instance_requests(['sir-1a2b3c4d',
75 response = self.service_connection.get_spot_price_history(
93 response = self.service_connection.get_spot_price_history(
103 response = self.service_connection.get_spot_price_history(
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/glacier/
Dtest_layer1.py30 self.service_connection.create_vault(self.vault_name)
38 api_response = self.service_connection.list_vaults()
46 api_response = self.service_connection.describe_vault(self.vault_name)
51 self.service_connection.delete_vault(self.vault_name)
70 api_response = self.service_connection.initiate_job(self.vault_name,
78 response = self.service_connection.get_job_output(self.vault_name,
91 self.service_connection.connection.request.side_effect = \
93 self.service_connection.upload_archive('vault_name', fake_data, 'linear_hash',
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/route53/
Dtest_connection.py61 self.service_connection.get_all_hosted_zones()
89 orig_retry = self.service_connection._retry_handler
90 self.service_connection._retry_handler = incr_retry_handler(
97 self.service_connection.get_all_hosted_zones()
102 self.service_connection._retry_handler = orig_retry
110 self.service_connection.create_hosted_zone("example.com.",
153 response = self.service_connection.create_zone("example.com.")
161 response = self.service_connection.create_hosted_zone("example.com.",
219 r = self.service_connection.create_hosted_zone("example.com.",
273 response = self.service_connection.get_all_hosted_zones()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/rds/
Dtest_connection.py137 response = self.service_connection.get_all_dbinstances('instance_id')
266 db = self.service_connection.create_dbinstance(
311 db = self.service_connection.create_dbinstance(
397 db = self.service_connection.restore_dbinstance_from_point_in_time(
424 db = self.service_connection.restore_dbinstance_from_point_in_time(
441 VPCSecurityGroupMembership(self.service_connection, 'active', 'sg-1'),
442 VPCSecurityGroupMembership(self.service_connection, None, 'sg-2')]
444 db = self.service_connection.create_dbinstance(
477 VPCSecurityGroupMembership(self.service_connection, 'active', sg1.name),
478 VPCSecurityGroupMembership(self.service_connection, None, sg2.name)]
[all …]
Dtest_snapshot.py81 response = self.service_connection.get_all_dbsnapshots(instance_id='simcoprod01')
132 response = self.service_connection.create_dbsnapshot('mydbsnapshot', 'simcoprod01')
174 … response = self.service_connection.copy_dbsnapshot('myautomaticdbsnapshot', 'mycopieddbsnapshot')
216 response = self.service_connection.delete_dbsnapshot('mysnapshot2')
271 response = self.service_connection.restore_dbinstance_from_dbsnapshot('mydbsnapshot',
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/mws/
Dtest_connection.py108 func = getattr(self.service_connection, func)
136 func = self.service_connection.method_for('GetFeedSubmissionList')
139 ideal = self.service_connection.get_feed_submission_list
143 func = self.service_connection.method_for('NotHereNorThere')
147 connection = self.service_connection
173 self.service_connection.get_service_status()
181 self.service_connection._mexe = MagicMock(
186 self.service_connection.get_lowest_offer_listings_for_asin(
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/ses/
Dtest_identity.py70 response = self.service_connection\
120 response = self.service_connection\
135 response = self.service_connection\
166 response = self.service_connection\
180 response = self.service_connection\

123