Exemple #1
0
class DescribeNetworkAclAssociationBySubnetResponseSchema(
        schema.ResponseSchema):
    """DescribeNetworkAclAssociationBySubnet - 获取子网的ACL绑定信息"""

    fields = {
        "Association": models.AssociationInfoSchema(),
    }
Exemple #2
0
class CreateNetworkAclAssociationResponseSchema(schema.ResponseSchema):
    """CreateNetworkAclAssociation - 创建ACL的绑定关系"""

    fields = {
        "AssociationId": fields.Str(required=True, load_from="AssociationId"),
        "PrevAssociation": models.AssociationInfoSchema(),
    }
Exemple #3
0
class DescribeNetworkAclAssociationResponseSchema(schema.ResponseSchema):
    """DescribeNetworkAclAssociation - 获取网络ACL的绑定关系列表"""

    fields = {
        "AssociationList":
        fields.List(
            models.AssociationInfoSchema(),
            required=True,
            load_from="AssociationList",
        ),
    }