anyscale 0.26.2__py3-none-any.whl → 0.26.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- anyscale/client/README.md +1 -33
- anyscale/client/openapi_client/__init__.py +0 -20
- anyscale/client/openapi_client/api/default_api.py +114 -1544
- anyscale/client/openapi_client/models/__init__.py +0 -20
- anyscale/version.py +1 -1
- {anyscale-0.26.2.dist-info → anyscale-0.26.3.dist-info}/METADATA +1 -1
- {anyscale-0.26.2.dist-info → anyscale-0.26.3.dist-info}/RECORD +12 -32
- anyscale/client/openapi_client/models/aica_endpoint.py +0 -527
- anyscale/client/openapi_client/models/aica_endpoint_event.py +0 -433
- anyscale/client/openapi_client/models/aica_endpoint_event_level.py +0 -103
- anyscale/client/openapi_client/models/aica_endpoint_event_type.py +0 -120
- anyscale/client/openapi_client/models/aica_endpoint_scope.py +0 -102
- anyscale/client/openapi_client/models/aica_model.py +0 -398
- anyscale/client/openapi_client/models/aica_model_accelerator_map.py +0 -123
- anyscale/client/openapi_client/models/aica_model_configuration.py +0 -209
- anyscale/client/openapi_client/models/aica_observability_urls.py +0 -178
- anyscale/client/openapi_client/models/aicaendpoint_list_response.py +0 -147
- anyscale/client/openapi_client/models/aicaendpoint_response.py +0 -121
- anyscale/client/openapi_client/models/aicaendpointevent_list_response.py +0 -147
- anyscale/client/openapi_client/models/aicamodel_list_response.py +0 -147
- anyscale/client/openapi_client/models/aicamodel_response.py +0 -121
- anyscale/client/openapi_client/models/aws_credentials.py +0 -181
- anyscale/client/openapi_client/models/create_aica_endpoint.py +0 -210
- anyscale/client/openapi_client/models/import_aica_model.py +0 -241
- anyscale/client/openapi_client/models/named_entity.py +0 -148
- anyscale/client/openapi_client/models/update_endpoint.py +0 -152
- anyscale/client/openapi_client/models/update_model_deployment.py +0 -152
- {anyscale-0.26.2.dist-info → anyscale-0.26.3.dist-info}/LICENSE +0 -0
- {anyscale-0.26.2.dist-info → anyscale-0.26.3.dist-info}/NOTICE +0 -0
- {anyscale-0.26.2.dist-info → anyscale-0.26.3.dist-info}/WHEEL +0 -0
- {anyscale-0.26.2.dist-info → anyscale-0.26.3.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.2.dist-info → anyscale-0.26.3.dist-info}/top_level.txt +0 -0
@@ -1,147 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
Managed Ray API
|
5
|
-
|
6
|
-
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
|
7
|
-
|
8
|
-
The version of the OpenAPI document: 0.1.0
|
9
|
-
Generated by: https://openapi-generator.tech
|
10
|
-
"""
|
11
|
-
|
12
|
-
|
13
|
-
import pprint
|
14
|
-
import re # noqa: F401
|
15
|
-
|
16
|
-
import six
|
17
|
-
|
18
|
-
from openapi_client.configuration import Configuration
|
19
|
-
|
20
|
-
|
21
|
-
class AicaendpointeventListResponse(object):
|
22
|
-
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
|
-
Ref: https://openapi-generator.tech
|
24
|
-
|
25
|
-
Do not edit the class manually.
|
26
|
-
"""
|
27
|
-
|
28
|
-
"""
|
29
|
-
Attributes:
|
30
|
-
openapi_types (dict): The key is attribute name
|
31
|
-
and the value is attribute type.
|
32
|
-
attribute_map (dict): The key is attribute name
|
33
|
-
and the value is json key in definition.
|
34
|
-
"""
|
35
|
-
openapi_types = {
|
36
|
-
'results': 'list[AicaEndpointEvent]',
|
37
|
-
'metadata': 'ListResponseMetadata'
|
38
|
-
}
|
39
|
-
|
40
|
-
attribute_map = {
|
41
|
-
'results': 'results',
|
42
|
-
'metadata': 'metadata'
|
43
|
-
}
|
44
|
-
|
45
|
-
def __init__(self, results=None, metadata=None, local_vars_configuration=None): # noqa: E501
|
46
|
-
"""AicaendpointeventListResponse - a model defined in OpenAPI""" # noqa: E501
|
47
|
-
if local_vars_configuration is None:
|
48
|
-
local_vars_configuration = Configuration()
|
49
|
-
self.local_vars_configuration = local_vars_configuration
|
50
|
-
|
51
|
-
self._results = None
|
52
|
-
self._metadata = None
|
53
|
-
self.discriminator = None
|
54
|
-
|
55
|
-
self.results = results
|
56
|
-
if metadata is not None:
|
57
|
-
self.metadata = metadata
|
58
|
-
|
59
|
-
@property
|
60
|
-
def results(self):
|
61
|
-
"""Gets the results of this AicaendpointeventListResponse. # noqa: E501
|
62
|
-
|
63
|
-
|
64
|
-
:return: The results of this AicaendpointeventListResponse. # noqa: E501
|
65
|
-
:rtype: list[AicaEndpointEvent]
|
66
|
-
"""
|
67
|
-
return self._results
|
68
|
-
|
69
|
-
@results.setter
|
70
|
-
def results(self, results):
|
71
|
-
"""Sets the results of this AicaendpointeventListResponse.
|
72
|
-
|
73
|
-
|
74
|
-
:param results: The results of this AicaendpointeventListResponse. # noqa: E501
|
75
|
-
:type: list[AicaEndpointEvent]
|
76
|
-
"""
|
77
|
-
if self.local_vars_configuration.client_side_validation and results is None: # noqa: E501
|
78
|
-
raise ValueError("Invalid value for `results`, must not be `None`") # noqa: E501
|
79
|
-
|
80
|
-
self._results = results
|
81
|
-
|
82
|
-
@property
|
83
|
-
def metadata(self):
|
84
|
-
"""Gets the metadata of this AicaendpointeventListResponse. # noqa: E501
|
85
|
-
|
86
|
-
|
87
|
-
:return: The metadata of this AicaendpointeventListResponse. # noqa: E501
|
88
|
-
:rtype: ListResponseMetadata
|
89
|
-
"""
|
90
|
-
return self._metadata
|
91
|
-
|
92
|
-
@metadata.setter
|
93
|
-
def metadata(self, metadata):
|
94
|
-
"""Sets the metadata of this AicaendpointeventListResponse.
|
95
|
-
|
96
|
-
|
97
|
-
:param metadata: The metadata of this AicaendpointeventListResponse. # noqa: E501
|
98
|
-
:type: ListResponseMetadata
|
99
|
-
"""
|
100
|
-
|
101
|
-
self._metadata = metadata
|
102
|
-
|
103
|
-
def to_dict(self):
|
104
|
-
"""Returns the model properties as a dict"""
|
105
|
-
result = {}
|
106
|
-
|
107
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
108
|
-
value = getattr(self, attr)
|
109
|
-
if isinstance(value, list):
|
110
|
-
result[attr] = list(map(
|
111
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
112
|
-
value
|
113
|
-
))
|
114
|
-
elif hasattr(value, "to_dict"):
|
115
|
-
result[attr] = value.to_dict()
|
116
|
-
elif isinstance(value, dict):
|
117
|
-
result[attr] = dict(map(
|
118
|
-
lambda item: (item[0], item[1].to_dict())
|
119
|
-
if hasattr(item[1], "to_dict") else item,
|
120
|
-
value.items()
|
121
|
-
))
|
122
|
-
else:
|
123
|
-
result[attr] = value
|
124
|
-
|
125
|
-
return result
|
126
|
-
|
127
|
-
def to_str(self):
|
128
|
-
"""Returns the string representation of the model"""
|
129
|
-
return pprint.pformat(self.to_dict())
|
130
|
-
|
131
|
-
def __repr__(self):
|
132
|
-
"""For `print` and `pprint`"""
|
133
|
-
return self.to_str()
|
134
|
-
|
135
|
-
def __eq__(self, other):
|
136
|
-
"""Returns true if both objects are equal"""
|
137
|
-
if not isinstance(other, AicaendpointeventListResponse):
|
138
|
-
return False
|
139
|
-
|
140
|
-
return self.to_dict() == other.to_dict()
|
141
|
-
|
142
|
-
def __ne__(self, other):
|
143
|
-
"""Returns true if both objects are not equal"""
|
144
|
-
if not isinstance(other, AicaendpointeventListResponse):
|
145
|
-
return True
|
146
|
-
|
147
|
-
return self.to_dict() != other.to_dict()
|
@@ -1,147 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
Managed Ray API
|
5
|
-
|
6
|
-
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
|
7
|
-
|
8
|
-
The version of the OpenAPI document: 0.1.0
|
9
|
-
Generated by: https://openapi-generator.tech
|
10
|
-
"""
|
11
|
-
|
12
|
-
|
13
|
-
import pprint
|
14
|
-
import re # noqa: F401
|
15
|
-
|
16
|
-
import six
|
17
|
-
|
18
|
-
from openapi_client.configuration import Configuration
|
19
|
-
|
20
|
-
|
21
|
-
class AicamodelListResponse(object):
|
22
|
-
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
|
-
Ref: https://openapi-generator.tech
|
24
|
-
|
25
|
-
Do not edit the class manually.
|
26
|
-
"""
|
27
|
-
|
28
|
-
"""
|
29
|
-
Attributes:
|
30
|
-
openapi_types (dict): The key is attribute name
|
31
|
-
and the value is attribute type.
|
32
|
-
attribute_map (dict): The key is attribute name
|
33
|
-
and the value is json key in definition.
|
34
|
-
"""
|
35
|
-
openapi_types = {
|
36
|
-
'results': 'list[AicaModel]',
|
37
|
-
'metadata': 'ListResponseMetadata'
|
38
|
-
}
|
39
|
-
|
40
|
-
attribute_map = {
|
41
|
-
'results': 'results',
|
42
|
-
'metadata': 'metadata'
|
43
|
-
}
|
44
|
-
|
45
|
-
def __init__(self, results=None, metadata=None, local_vars_configuration=None): # noqa: E501
|
46
|
-
"""AicamodelListResponse - a model defined in OpenAPI""" # noqa: E501
|
47
|
-
if local_vars_configuration is None:
|
48
|
-
local_vars_configuration = Configuration()
|
49
|
-
self.local_vars_configuration = local_vars_configuration
|
50
|
-
|
51
|
-
self._results = None
|
52
|
-
self._metadata = None
|
53
|
-
self.discriminator = None
|
54
|
-
|
55
|
-
self.results = results
|
56
|
-
if metadata is not None:
|
57
|
-
self.metadata = metadata
|
58
|
-
|
59
|
-
@property
|
60
|
-
def results(self):
|
61
|
-
"""Gets the results of this AicamodelListResponse. # noqa: E501
|
62
|
-
|
63
|
-
|
64
|
-
:return: The results of this AicamodelListResponse. # noqa: E501
|
65
|
-
:rtype: list[AicaModel]
|
66
|
-
"""
|
67
|
-
return self._results
|
68
|
-
|
69
|
-
@results.setter
|
70
|
-
def results(self, results):
|
71
|
-
"""Sets the results of this AicamodelListResponse.
|
72
|
-
|
73
|
-
|
74
|
-
:param results: The results of this AicamodelListResponse. # noqa: E501
|
75
|
-
:type: list[AicaModel]
|
76
|
-
"""
|
77
|
-
if self.local_vars_configuration.client_side_validation and results is None: # noqa: E501
|
78
|
-
raise ValueError("Invalid value for `results`, must not be `None`") # noqa: E501
|
79
|
-
|
80
|
-
self._results = results
|
81
|
-
|
82
|
-
@property
|
83
|
-
def metadata(self):
|
84
|
-
"""Gets the metadata of this AicamodelListResponse. # noqa: E501
|
85
|
-
|
86
|
-
|
87
|
-
:return: The metadata of this AicamodelListResponse. # noqa: E501
|
88
|
-
:rtype: ListResponseMetadata
|
89
|
-
"""
|
90
|
-
return self._metadata
|
91
|
-
|
92
|
-
@metadata.setter
|
93
|
-
def metadata(self, metadata):
|
94
|
-
"""Sets the metadata of this AicamodelListResponse.
|
95
|
-
|
96
|
-
|
97
|
-
:param metadata: The metadata of this AicamodelListResponse. # noqa: E501
|
98
|
-
:type: ListResponseMetadata
|
99
|
-
"""
|
100
|
-
|
101
|
-
self._metadata = metadata
|
102
|
-
|
103
|
-
def to_dict(self):
|
104
|
-
"""Returns the model properties as a dict"""
|
105
|
-
result = {}
|
106
|
-
|
107
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
108
|
-
value = getattr(self, attr)
|
109
|
-
if isinstance(value, list):
|
110
|
-
result[attr] = list(map(
|
111
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
112
|
-
value
|
113
|
-
))
|
114
|
-
elif hasattr(value, "to_dict"):
|
115
|
-
result[attr] = value.to_dict()
|
116
|
-
elif isinstance(value, dict):
|
117
|
-
result[attr] = dict(map(
|
118
|
-
lambda item: (item[0], item[1].to_dict())
|
119
|
-
if hasattr(item[1], "to_dict") else item,
|
120
|
-
value.items()
|
121
|
-
))
|
122
|
-
else:
|
123
|
-
result[attr] = value
|
124
|
-
|
125
|
-
return result
|
126
|
-
|
127
|
-
def to_str(self):
|
128
|
-
"""Returns the string representation of the model"""
|
129
|
-
return pprint.pformat(self.to_dict())
|
130
|
-
|
131
|
-
def __repr__(self):
|
132
|
-
"""For `print` and `pprint`"""
|
133
|
-
return self.to_str()
|
134
|
-
|
135
|
-
def __eq__(self, other):
|
136
|
-
"""Returns true if both objects are equal"""
|
137
|
-
if not isinstance(other, AicamodelListResponse):
|
138
|
-
return False
|
139
|
-
|
140
|
-
return self.to_dict() == other.to_dict()
|
141
|
-
|
142
|
-
def __ne__(self, other):
|
143
|
-
"""Returns true if both objects are not equal"""
|
144
|
-
if not isinstance(other, AicamodelListResponse):
|
145
|
-
return True
|
146
|
-
|
147
|
-
return self.to_dict() != other.to_dict()
|
@@ -1,121 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
Managed Ray API
|
5
|
-
|
6
|
-
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
|
7
|
-
|
8
|
-
The version of the OpenAPI document: 0.1.0
|
9
|
-
Generated by: https://openapi-generator.tech
|
10
|
-
"""
|
11
|
-
|
12
|
-
|
13
|
-
import pprint
|
14
|
-
import re # noqa: F401
|
15
|
-
|
16
|
-
import six
|
17
|
-
|
18
|
-
from openapi_client.configuration import Configuration
|
19
|
-
|
20
|
-
|
21
|
-
class AicamodelResponse(object):
|
22
|
-
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
|
-
Ref: https://openapi-generator.tech
|
24
|
-
|
25
|
-
Do not edit the class manually.
|
26
|
-
"""
|
27
|
-
|
28
|
-
"""
|
29
|
-
Attributes:
|
30
|
-
openapi_types (dict): The key is attribute name
|
31
|
-
and the value is attribute type.
|
32
|
-
attribute_map (dict): The key is attribute name
|
33
|
-
and the value is json key in definition.
|
34
|
-
"""
|
35
|
-
openapi_types = {
|
36
|
-
'result': 'AicaModel'
|
37
|
-
}
|
38
|
-
|
39
|
-
attribute_map = {
|
40
|
-
'result': 'result'
|
41
|
-
}
|
42
|
-
|
43
|
-
def __init__(self, result=None, local_vars_configuration=None): # noqa: E501
|
44
|
-
"""AicamodelResponse - a model defined in OpenAPI""" # noqa: E501
|
45
|
-
if local_vars_configuration is None:
|
46
|
-
local_vars_configuration = Configuration()
|
47
|
-
self.local_vars_configuration = local_vars_configuration
|
48
|
-
|
49
|
-
self._result = None
|
50
|
-
self.discriminator = None
|
51
|
-
|
52
|
-
self.result = result
|
53
|
-
|
54
|
-
@property
|
55
|
-
def result(self):
|
56
|
-
"""Gets the result of this AicamodelResponse. # noqa: E501
|
57
|
-
|
58
|
-
|
59
|
-
:return: The result of this AicamodelResponse. # noqa: E501
|
60
|
-
:rtype: AicaModel
|
61
|
-
"""
|
62
|
-
return self._result
|
63
|
-
|
64
|
-
@result.setter
|
65
|
-
def result(self, result):
|
66
|
-
"""Sets the result of this AicamodelResponse.
|
67
|
-
|
68
|
-
|
69
|
-
:param result: The result of this AicamodelResponse. # noqa: E501
|
70
|
-
:type: AicaModel
|
71
|
-
"""
|
72
|
-
if self.local_vars_configuration.client_side_validation and result is None: # noqa: E501
|
73
|
-
raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501
|
74
|
-
|
75
|
-
self._result = result
|
76
|
-
|
77
|
-
def to_dict(self):
|
78
|
-
"""Returns the model properties as a dict"""
|
79
|
-
result = {}
|
80
|
-
|
81
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
82
|
-
value = getattr(self, attr)
|
83
|
-
if isinstance(value, list):
|
84
|
-
result[attr] = list(map(
|
85
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
86
|
-
value
|
87
|
-
))
|
88
|
-
elif hasattr(value, "to_dict"):
|
89
|
-
result[attr] = value.to_dict()
|
90
|
-
elif isinstance(value, dict):
|
91
|
-
result[attr] = dict(map(
|
92
|
-
lambda item: (item[0], item[1].to_dict())
|
93
|
-
if hasattr(item[1], "to_dict") else item,
|
94
|
-
value.items()
|
95
|
-
))
|
96
|
-
else:
|
97
|
-
result[attr] = value
|
98
|
-
|
99
|
-
return result
|
100
|
-
|
101
|
-
def to_str(self):
|
102
|
-
"""Returns the string representation of the model"""
|
103
|
-
return pprint.pformat(self.to_dict())
|
104
|
-
|
105
|
-
def __repr__(self):
|
106
|
-
"""For `print` and `pprint`"""
|
107
|
-
return self.to_str()
|
108
|
-
|
109
|
-
def __eq__(self, other):
|
110
|
-
"""Returns true if both objects are equal"""
|
111
|
-
if not isinstance(other, AicamodelResponse):
|
112
|
-
return False
|
113
|
-
|
114
|
-
return self.to_dict() == other.to_dict()
|
115
|
-
|
116
|
-
def __ne__(self, other):
|
117
|
-
"""Returns true if both objects are not equal"""
|
118
|
-
if not isinstance(other, AicamodelResponse):
|
119
|
-
return True
|
120
|
-
|
121
|
-
return self.to_dict() != other.to_dict()
|
@@ -1,181 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
Managed Ray API
|
5
|
-
|
6
|
-
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
|
7
|
-
|
8
|
-
The version of the OpenAPI document: 0.1.0
|
9
|
-
Generated by: https://openapi-generator.tech
|
10
|
-
"""
|
11
|
-
|
12
|
-
|
13
|
-
import pprint
|
14
|
-
import re # noqa: F401
|
15
|
-
|
16
|
-
import six
|
17
|
-
|
18
|
-
from openapi_client.configuration import Configuration
|
19
|
-
|
20
|
-
|
21
|
-
class AWSCredentials(object):
|
22
|
-
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
|
-
Ref: https://openapi-generator.tech
|
24
|
-
|
25
|
-
Do not edit the class manually.
|
26
|
-
"""
|
27
|
-
|
28
|
-
"""
|
29
|
-
Attributes:
|
30
|
-
openapi_types (dict): The key is attribute name
|
31
|
-
and the value is attribute type.
|
32
|
-
attribute_map (dict): The key is attribute name
|
33
|
-
and the value is json key in definition.
|
34
|
-
"""
|
35
|
-
openapi_types = {
|
36
|
-
'aws_access_key_id': 'str',
|
37
|
-
'aws_secret_access_key': 'str',
|
38
|
-
'aws_session_token': 'str'
|
39
|
-
}
|
40
|
-
|
41
|
-
attribute_map = {
|
42
|
-
'aws_access_key_id': 'AWS_ACCESS_KEY_ID',
|
43
|
-
'aws_secret_access_key': 'AWS_SECRET_ACCESS_KEY',
|
44
|
-
'aws_session_token': 'AWS_SESSION_TOKEN'
|
45
|
-
}
|
46
|
-
|
47
|
-
def __init__(self, aws_access_key_id=None, aws_secret_access_key=None, aws_session_token=None, local_vars_configuration=None): # noqa: E501
|
48
|
-
"""AWSCredentials - a model defined in OpenAPI""" # noqa: E501
|
49
|
-
if local_vars_configuration is None:
|
50
|
-
local_vars_configuration = Configuration()
|
51
|
-
self.local_vars_configuration = local_vars_configuration
|
52
|
-
|
53
|
-
self._aws_access_key_id = None
|
54
|
-
self._aws_secret_access_key = None
|
55
|
-
self._aws_session_token = None
|
56
|
-
self.discriminator = None
|
57
|
-
|
58
|
-
self.aws_access_key_id = aws_access_key_id
|
59
|
-
self.aws_secret_access_key = aws_secret_access_key
|
60
|
-
self.aws_session_token = aws_session_token
|
61
|
-
|
62
|
-
@property
|
63
|
-
def aws_access_key_id(self):
|
64
|
-
"""Gets the aws_access_key_id of this AWSCredentials. # noqa: E501
|
65
|
-
|
66
|
-
AWS access key id # noqa: E501
|
67
|
-
|
68
|
-
:return: The aws_access_key_id of this AWSCredentials. # noqa: E501
|
69
|
-
:rtype: str
|
70
|
-
"""
|
71
|
-
return self._aws_access_key_id
|
72
|
-
|
73
|
-
@aws_access_key_id.setter
|
74
|
-
def aws_access_key_id(self, aws_access_key_id):
|
75
|
-
"""Sets the aws_access_key_id of this AWSCredentials.
|
76
|
-
|
77
|
-
AWS access key id # noqa: E501
|
78
|
-
|
79
|
-
:param aws_access_key_id: The aws_access_key_id of this AWSCredentials. # noqa: E501
|
80
|
-
:type: str
|
81
|
-
"""
|
82
|
-
if self.local_vars_configuration.client_side_validation and aws_access_key_id is None: # noqa: E501
|
83
|
-
raise ValueError("Invalid value for `aws_access_key_id`, must not be `None`") # noqa: E501
|
84
|
-
|
85
|
-
self._aws_access_key_id = aws_access_key_id
|
86
|
-
|
87
|
-
@property
|
88
|
-
def aws_secret_access_key(self):
|
89
|
-
"""Gets the aws_secret_access_key of this AWSCredentials. # noqa: E501
|
90
|
-
|
91
|
-
AWS access key # noqa: E501
|
92
|
-
|
93
|
-
:return: The aws_secret_access_key of this AWSCredentials. # noqa: E501
|
94
|
-
:rtype: str
|
95
|
-
"""
|
96
|
-
return self._aws_secret_access_key
|
97
|
-
|
98
|
-
@aws_secret_access_key.setter
|
99
|
-
def aws_secret_access_key(self, aws_secret_access_key):
|
100
|
-
"""Sets the aws_secret_access_key of this AWSCredentials.
|
101
|
-
|
102
|
-
AWS access key # noqa: E501
|
103
|
-
|
104
|
-
:param aws_secret_access_key: The aws_secret_access_key of this AWSCredentials. # noqa: E501
|
105
|
-
:type: str
|
106
|
-
"""
|
107
|
-
if self.local_vars_configuration.client_side_validation and aws_secret_access_key is None: # noqa: E501
|
108
|
-
raise ValueError("Invalid value for `aws_secret_access_key`, must not be `None`") # noqa: E501
|
109
|
-
|
110
|
-
self._aws_secret_access_key = aws_secret_access_key
|
111
|
-
|
112
|
-
@property
|
113
|
-
def aws_session_token(self):
|
114
|
-
"""Gets the aws_session_token of this AWSCredentials. # noqa: E501
|
115
|
-
|
116
|
-
AWS session token # noqa: E501
|
117
|
-
|
118
|
-
:return: The aws_session_token of this AWSCredentials. # noqa: E501
|
119
|
-
:rtype: str
|
120
|
-
"""
|
121
|
-
return self._aws_session_token
|
122
|
-
|
123
|
-
@aws_session_token.setter
|
124
|
-
def aws_session_token(self, aws_session_token):
|
125
|
-
"""Sets the aws_session_token of this AWSCredentials.
|
126
|
-
|
127
|
-
AWS session token # noqa: E501
|
128
|
-
|
129
|
-
:param aws_session_token: The aws_session_token of this AWSCredentials. # noqa: E501
|
130
|
-
:type: str
|
131
|
-
"""
|
132
|
-
if self.local_vars_configuration.client_side_validation and aws_session_token is None: # noqa: E501
|
133
|
-
raise ValueError("Invalid value for `aws_session_token`, must not be `None`") # noqa: E501
|
134
|
-
|
135
|
-
self._aws_session_token = aws_session_token
|
136
|
-
|
137
|
-
def to_dict(self):
|
138
|
-
"""Returns the model properties as a dict"""
|
139
|
-
result = {}
|
140
|
-
|
141
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
142
|
-
value = getattr(self, attr)
|
143
|
-
if isinstance(value, list):
|
144
|
-
result[attr] = list(map(
|
145
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
146
|
-
value
|
147
|
-
))
|
148
|
-
elif hasattr(value, "to_dict"):
|
149
|
-
result[attr] = value.to_dict()
|
150
|
-
elif isinstance(value, dict):
|
151
|
-
result[attr] = dict(map(
|
152
|
-
lambda item: (item[0], item[1].to_dict())
|
153
|
-
if hasattr(item[1], "to_dict") else item,
|
154
|
-
value.items()
|
155
|
-
))
|
156
|
-
else:
|
157
|
-
result[attr] = value
|
158
|
-
|
159
|
-
return result
|
160
|
-
|
161
|
-
def to_str(self):
|
162
|
-
"""Returns the string representation of the model"""
|
163
|
-
return pprint.pformat(self.to_dict())
|
164
|
-
|
165
|
-
def __repr__(self):
|
166
|
-
"""For `print` and `pprint`"""
|
167
|
-
return self.to_str()
|
168
|
-
|
169
|
-
def __eq__(self, other):
|
170
|
-
"""Returns true if both objects are equal"""
|
171
|
-
if not isinstance(other, AWSCredentials):
|
172
|
-
return False
|
173
|
-
|
174
|
-
return self.to_dict() == other.to_dict()
|
175
|
-
|
176
|
-
def __ne__(self, other):
|
177
|
-
"""Returns true if both objects are not equal"""
|
178
|
-
if not isinstance(other, AWSCredentials):
|
179
|
-
return True
|
180
|
-
|
181
|
-
return self.to_dict() != other.to_dict()
|