Skip to content

Commit c1a3abf

Browse files
committed
Supported Brand.
1 parent 8409405 commit c1a3abf

File tree

59 files changed

+2659
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+2659
-1
lines changed

aliyun-python-sdk-eiam/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-10-20 Version: 1.0.4
2+
- Supported Brand.
3+
14
2025-08-25 Version: 1.0.3
25
- Generated 2021-12-01 for `Eiam`.
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.0.3'
1+
__version__ = '1.0.4'
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
22+
class AddApplicationAccountToUserRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'Eiam', '2021-12-01', 'AddApplicationAccountToUser','eiam')
26+
self.set_protocol_type('https')
27+
self.set_method('POST')
28+
29+
def get_UserId(self): # String
30+
return self.get_query_params().get('UserId')
31+
32+
def set_UserId(self, UserId): # String
33+
self.add_query_param('UserId', UserId)
34+
def get_ApplicationId(self): # String
35+
return self.get_query_params().get('ApplicationId')
36+
37+
def set_ApplicationId(self, ApplicationId): # String
38+
self.add_query_param('ApplicationId', ApplicationId)
39+
def get_InstanceId(self): # String
40+
return self.get_query_params().get('InstanceId')
41+
42+
def set_InstanceId(self, InstanceId): # String
43+
self.add_query_param('InstanceId', InstanceId)
44+
def get_ApplicationUsername(self): # String
45+
return self.get_query_params().get('ApplicationUsername')
46+
47+
def set_ApplicationUsername(self, ApplicationUsername): # String
48+
self.add_query_param('ApplicationUsername', ApplicationUsername)
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
22+
class CreateApplicationFederatedCredentialRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'Eiam', '2021-12-01', 'CreateApplicationFederatedCredential','eiam')
26+
self.set_protocol_type('https')
27+
self.set_method('POST')
28+
29+
def get_Description(self): # String
30+
return self.get_query_params().get('Description')
31+
32+
def set_Description(self, Description): # String
33+
self.add_query_param('Description', Description)
34+
def get_AttributeMappings(self): # Array
35+
return self.get_query_params().get('AttributeMappings')
36+
37+
def set_AttributeMappings(self, AttributeMappings): # Array
38+
for index1, value1 in enumerate(AttributeMappings):
39+
if value1.get('SourceValueExpression') is not None:
40+
self.add_query_param('AttributeMappings.' + str(index1 + 1) + '.SourceValueExpression', value1.get('SourceValueExpression'))
41+
if value1.get('TargetField') is not None:
42+
self.add_query_param('AttributeMappings.' + str(index1 + 1) + '.TargetField', value1.get('TargetField'))
43+
def get_FederatedCredentialProviderId(self): # String
44+
return self.get_query_params().get('FederatedCredentialProviderId')
45+
46+
def set_FederatedCredentialProviderId(self, FederatedCredentialProviderId): # String
47+
self.add_query_param('FederatedCredentialProviderId', FederatedCredentialProviderId)
48+
def get_ApplicationId(self): # String
49+
return self.get_query_params().get('ApplicationId')
50+
51+
def set_ApplicationId(self, ApplicationId): # String
52+
self.add_query_param('ApplicationId', ApplicationId)
53+
def get_ApplicationFederatedCredentialName(self): # String
54+
return self.get_query_params().get('ApplicationFederatedCredentialName')
55+
56+
def set_ApplicationFederatedCredentialName(self, ApplicationFederatedCredentialName): # String
57+
self.add_query_param('ApplicationFederatedCredentialName', ApplicationFederatedCredentialName)
58+
def get_InstanceId(self): # String
59+
return self.get_query_params().get('InstanceId')
60+
61+
def set_InstanceId(self, InstanceId): # String
62+
self.add_query_param('InstanceId', InstanceId)
63+
def get_VerificationCondition(self): # String
64+
return self.get_query_params().get('VerificationCondition')
65+
66+
def set_VerificationCondition(self, VerificationCondition): # String
67+
self.add_query_param('VerificationCondition', VerificationCondition)
68+
def get_ApplicationFederatedCredentialType(self): # String
69+
return self.get_query_params().get('ApplicationFederatedCredentialType')
70+
71+
def set_ApplicationFederatedCredentialType(self, ApplicationFederatedCredentialType): # String
72+
self.add_query_param('ApplicationFederatedCredentialType', ApplicationFederatedCredentialType)
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
22+
class CreateApplicationTokenRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'Eiam', '2021-12-01', 'CreateApplicationToken','eiam')
26+
self.set_protocol_type('https')
27+
self.set_method('POST')
28+
29+
def get_ExpirationTime(self): # Long
30+
return self.get_query_params().get('ExpirationTime')
31+
32+
def set_ExpirationTime(self, ExpirationTime): # Long
33+
self.add_query_param('ExpirationTime', ExpirationTime)
34+
def get_ApplicationId(self): # String
35+
return self.get_query_params().get('ApplicationId')
36+
37+
def set_ApplicationId(self, ApplicationId): # String
38+
self.add_query_param('ApplicationId', ApplicationId)
39+
def get_ApplicationTokenType(self): # String
40+
return self.get_query_params().get('ApplicationTokenType')
41+
42+
def set_ApplicationTokenType(self, ApplicationTokenType): # String
43+
self.add_query_param('ApplicationTokenType', ApplicationTokenType)
44+
def get_InstanceId(self): # String
45+
return self.get_query_params().get('InstanceId')
46+
47+
def set_InstanceId(self, InstanceId): # String
48+
self.add_query_param('InstanceId', InstanceId)
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
22+
class CreateBrandRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'Eiam', '2021-12-01', 'CreateBrand','eiam')
26+
self.set_protocol_type('https')
27+
self.set_method('POST')
28+
29+
def get_BrandName(self): # String
30+
return self.get_query_params().get('BrandName')
31+
32+
def set_BrandName(self, BrandName): # String
33+
self.add_query_param('BrandName', BrandName)
34+
def get_InstanceId(self): # String
35+
return self.get_query_params().get('InstanceId')
36+
37+
def set_InstanceId(self, InstanceId): # String
38+
self.add_query_param('InstanceId', InstanceId)
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
22+
class CreateFederatedCredentialProviderRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'Eiam', '2021-12-01', 'CreateFederatedCredentialProvider','eiam')
26+
self.set_protocol_type('https')
27+
self.set_method('POST')
28+
29+
def get_OidcProviderConfig(self): # Struct
30+
return self.get_query_params().get('OidcProviderConfig')
31+
32+
def set_OidcProviderConfig(self, OidcProviderConfig): # Struct
33+
if OidcProviderConfig.get('JwksSource') is not None:
34+
self.add_query_param('OidcProviderConfig.JwksSource', OidcProviderConfig.get('JwksSource'))
35+
if OidcProviderConfig.get('StaticJwks') is not None:
36+
self.add_query_param('OidcProviderConfig.StaticJwks', OidcProviderConfig.get('StaticJwks'))
37+
if OidcProviderConfig.get('TrustCondition') is not None:
38+
self.add_query_param('OidcProviderConfig.TrustCondition', OidcProviderConfig.get('TrustCondition'))
39+
if OidcProviderConfig.get('JwksUri') is not None:
40+
self.add_query_param('OidcProviderConfig.JwksUri', OidcProviderConfig.get('JwksUri'))
41+
if OidcProviderConfig.get('Audiences') is not None:
42+
for index1, value1 in enumerate(OidcProviderConfig.get('Audiences')):
43+
self.add_query_param('OidcProviderConfig.Audiences.' + str(index1 + 1), value1)
44+
if OidcProviderConfig.get('Issuer') is not None:
45+
self.add_query_param('OidcProviderConfig.Issuer', OidcProviderConfig.get('Issuer'))
46+
def get_FederatedCredentialProviderName(self): # String
47+
return self.get_query_params().get('FederatedCredentialProviderName')
48+
49+
def set_FederatedCredentialProviderName(self, FederatedCredentialProviderName): # String
50+
self.add_query_param('FederatedCredentialProviderName', FederatedCredentialProviderName)
51+
def get_Description(self): # String
52+
return self.get_query_params().get('Description')
53+
54+
def set_Description(self, Description): # String
55+
self.add_query_param('Description', Description)
56+
def get_NetworkAccessEndpointId(self): # String
57+
return self.get_query_params().get('NetworkAccessEndpointId')
58+
59+
def set_NetworkAccessEndpointId(self, NetworkAccessEndpointId): # String
60+
self.add_query_param('NetworkAccessEndpointId', NetworkAccessEndpointId)
61+
def get_PrivateCaProviderConfig(self): # Struct
62+
return self.get_query_params().get('PrivateCaProviderConfig')
63+
64+
def set_PrivateCaProviderConfig(self, PrivateCaProviderConfig): # Struct
65+
if PrivateCaProviderConfig.get('Certificates') is not None:
66+
for index1, value1 in enumerate(PrivateCaProviderConfig.get('Certificates')):
67+
if value1.get('Content') is not None:
68+
self.add_query_param('PrivateCaProviderConfig.Certificates.' + str(index1 + 1) + '.Content', value1.get('Content'))
69+
if PrivateCaProviderConfig.get('TrustCondition') is not None:
70+
self.add_query_param('PrivateCaProviderConfig.TrustCondition', PrivateCaProviderConfig.get('TrustCondition'))
71+
if PrivateCaProviderConfig.get('TrustAnchorSource') is not None:
72+
self.add_query_param('PrivateCaProviderConfig.TrustAnchorSource', PrivateCaProviderConfig.get('TrustAnchorSource'))
73+
def get_FederatedCredentialProviderType(self): # String
74+
return self.get_query_params().get('FederatedCredentialProviderType')
75+
76+
def set_FederatedCredentialProviderType(self, FederatedCredentialProviderType): # String
77+
self.add_query_param('FederatedCredentialProviderType', FederatedCredentialProviderType)
78+
def get_InstanceId(self): # String
79+
return self.get_query_params().get('InstanceId')
80+
81+
def set_InstanceId(self, InstanceId): # String
82+
self.add_query_param('InstanceId', InstanceId)
83+
def get_Pkcs7ProviderConfig(self): # Struct
84+
return self.get_query_params().get('Pkcs7ProviderConfig')
85+
86+
def set_Pkcs7ProviderConfig(self, Pkcs7ProviderConfig): # Struct
87+
if Pkcs7ProviderConfig.get('SigningTimeValueExpression') is not None:
88+
self.add_query_param('Pkcs7ProviderConfig.SigningTimeValueExpression', Pkcs7ProviderConfig.get('SigningTimeValueExpression'))
89+
if Pkcs7ProviderConfig.get('Certificates') is not None:
90+
for index1, value1 in enumerate(Pkcs7ProviderConfig.get('Certificates')):
91+
if value1.get('Content') is not None:
92+
self.add_query_param('Pkcs7ProviderConfig.Certificates.' + str(index1 + 1) + '.Content', value1.get('Content'))
93+
if Pkcs7ProviderConfig.get('TrustCondition') is not None:
94+
self.add_query_param('Pkcs7ProviderConfig.TrustCondition', Pkcs7ProviderConfig.get('TrustCondition'))
95+
if Pkcs7ProviderConfig.get('CmsVerificationMode') is not None:
96+
self.add_query_param('Pkcs7ProviderConfig.CmsVerificationMode', Pkcs7ProviderConfig.get('CmsVerificationMode'))
97+
if Pkcs7ProviderConfig.get('TrustAnchorSource') is not None:
98+
self.add_query_param('Pkcs7ProviderConfig.TrustAnchorSource', Pkcs7ProviderConfig.get('TrustAnchorSource'))
99+
if Pkcs7ProviderConfig.get('SignatureEffectiveTime') is not None:
100+
self.add_query_param('Pkcs7ProviderConfig.SignatureEffectiveTime', Pkcs7ProviderConfig.get('SignatureEffectiveTime'))
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
22+
class CreateNetworkZoneRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'Eiam', '2021-12-01', 'CreateNetworkZone','eiam')
26+
self.set_protocol_type('https')
27+
self.set_method('POST')
28+
29+
def get_NetworkZoneType(self): # String
30+
return self.get_query_params().get('NetworkZoneType')
31+
32+
def set_NetworkZoneType(self, NetworkZoneType): # String
33+
self.add_query_param('NetworkZoneType', NetworkZoneType)
34+
def get_ClientToken(self): # String
35+
return self.get_query_params().get('ClientToken')
36+
37+
def set_ClientToken(self, ClientToken): # String
38+
self.add_query_param('ClientToken', ClientToken)
39+
def get_Ipv6Cidrs(self): # Array
40+
return self.get_query_params().get('Ipv6Cidrs')
41+
42+
def set_Ipv6Cidrs(self, Ipv6Cidrs): # Array
43+
for index1, value1 in enumerate(Ipv6Cidrs):
44+
self.add_query_param('Ipv6Cidrs.' + str(index1 + 1), value1)
45+
def get_Description(self): # String
46+
return self.get_query_params().get('Description')
47+
48+
def set_Description(self, Description): # String
49+
self.add_query_param('Description', Description)
50+
def get_NetworkZoneName(self): # String
51+
return self.get_query_params().get('NetworkZoneName')
52+
53+
def set_NetworkZoneName(self, NetworkZoneName): # String
54+
self.add_query_param('NetworkZoneName', NetworkZoneName)
55+
def get_Ipv4Cidrs(self): # Array
56+
return self.get_query_params().get('Ipv4Cidrs')
57+
58+
def set_Ipv4Cidrs(self, Ipv4Cidrs): # Array
59+
for index1, value1 in enumerate(Ipv4Cidrs):
60+
self.add_query_param('Ipv4Cidrs.' + str(index1 + 1), value1)
61+
def get_InstanceId(self): # String
62+
return self.get_query_params().get('InstanceId')
63+
64+
def set_InstanceId(self, InstanceId): # String
65+
self.add_query_param('InstanceId', InstanceId)
66+
def get_VpcId(self): # String
67+
return self.get_query_params().get('VpcId')
68+
69+
def set_VpcId(self, VpcId): # String
70+
self.add_query_param('VpcId', VpcId)

0 commit comments

Comments
 (0)