Beispiel #1
0
	def __init__(self):
		RpcRequest.__init__(self, 'Sts', '2015-04-01', 'GetCallerIdentity')
		self.set_protocol_type('https')
		self.set_method('POST')
		if hasattr(self, "endpoint_map"):
			setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
		if hasattr(self, "endpoint_regional"):
			setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
Beispiel #2
0
 def __init__(self):
     RpcRequest.__init__(self, 'Sts', '2015-04-01', 'AssumeRoleWithSAML',
                         'sts')
     self.set_protocol_type('https')
     self.set_method('POST')
     if hasattr(self, "endpoint_map"):
         setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
     if hasattr(self, "endpoint_regional"):
         setattr(self, "endpoint_regional",
                 endpoint_data.getEndpointRegional())