public void Route53GetHostedZone()
        {
            #region to-get-information-about-a-hosted-zone-1481752361124

            var response = client.GetHostedZone(new GetHostedZoneRequest
            {
                Id = "Z3M3LMPEXAMPLE"
            });

            DelegationSet delegationSet = response.DelegationSet;
            HostedZone    hostedZone    = response.HostedZone;

            #endregion
        }
Esempio n. 2
0
 /// <summary>
 /// Encode delegationSet and return the encoding.
 /// Your derived class should override.
 /// </summary>
 ///
 /// <param name="delegationSet">The DelegationSet object to encode.</param>
 /// <returns>A Blob containing the encoding.</returns>
 /// <exception cref="System.NotSupportedException">for unimplemented if the derivedclass does not override.</exception>
 public virtual Blob encodeDelegationSet(DelegationSet delegationSet)
 {
     throw new NotSupportedException(
               "encodeDelegationSet is not implemented");
 }
Esempio n. 3
0
 /// <summary>
 /// Decode input as a delegation set and set the fields of the
 /// delegationSet object.  Your derived class should override.
 /// </summary>
 ///
 /// <param name="delegationSet">The DelegationSet object whose fields are updated.</param>
 /// <param name="input"></param>
 /// <exception cref="System.NotSupportedException">for unimplemented if the derivedclass does not override.</exception>
 /// <exception cref="EncodingException">For invalid encoding.</exception>
 public virtual void decodeDelegationSet(DelegationSet delegationSet,
                                         ByteBuffer input)
 {
     throw new NotSupportedException(
               "decodeDelegationSet is not implemented");
 }
Esempio n. 4
0
 /// <summary>
 /// Decode input as a delegation set and set the fields of the
 /// delegationSet object. Copy from the input when making new Blob values. Your
 /// derived class should override.
 /// </summary>
 ///
 /// <param name="delegationSet">The DelegationSet object whose fields are updated.</param>
 /// <param name="input"></param>
 /// <exception cref="System.NotSupportedException">for unimplemented if the derivedclass does not override.</exception>
 /// <exception cref="EncodingException">For invalid encoding.</exception>
 public void decodeDelegationSet(DelegationSet delegationSet,
                                 ByteBuffer input)
 {
     decodeDelegationSet(delegationSet, input, true);
 }